/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.4px;
  min-height: 100vh;
}

/* ========== LOGO WRAPPER ========== */
.logo-wrapper {
  background: #000;
  padding: 2rem 2rem 0;
  text-align: center;
}

.logo {
  max-width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ========== HEADER ========== */
header {
  background-color: #000;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #222;
}

nav a {
  color: #aaa;
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #e50914;
}

/* ========== HERO ========== */
.hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background-color: #000;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  animation: glitch 2.5s infinite;
  text-transform: uppercase;
}

.hero p {
  color: #999;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== PRODUCTS GRID ========== */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #000;
}

.product-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: scale(1.015);
  box-shadow: 0 0 40px rgba(229, 9, 20, 0.08);
}

.product-card img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  border: 1px solid #1a1a1a;
}

.product-card h3 {
  color: #f0f0f0;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.product-card p {
  color: #e50914;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ========== BUY BUTTON ========== */
.buy-button {
  background-color: transparent;
  color: #e50914;
  border: 1px solid #e50914;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-button:hover {
  background-color: #e50914;
  color: #fff;
}

/* ========== PRODUCT DETAIL PAGE ========== */
.product-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.product-image img {
  max-width: 100%;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  margin-bottom: 2rem;
  filter: grayscale(100%);
}

.product-info {
  text-align: center;
}

.product-info h1 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  animation: glitch 2.5s infinite;
}

.product-info .price {
  font-size: 1.2rem;
  color: #e50914;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.product-info .description {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== ABOUT PAGE ========== */
.about-page {
  max-width: 700px;
  margin: 5rem auto;
  padding: 0 2rem;
  text-align: center;
}

.about-page h1 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: glitch 2.5s infinite;
}

.about-page p {
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
footer {
  background-color: #000;
  color: #444;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #111;
}

/* ========== GLITCH ANIMATION ========== */
@keyframes glitch {
  0% {
    text-shadow: 1px 0 #e50914, -1px 0 #fff;
  }
  20% {
    text-shadow: -2px 1px #fff, 2px -1px #e50914;
  }
  40% {
    text-shadow: 2px 2px #fff, -2px -2px #e50914;
  }
  60% {
    text-shadow: -1px 1px #e50914, 1px -1px #fff;
  }
  80% {
    text-shadow: 2px 0 #fff, -2px 0 #e50914;
  }
  100% {
    text-shadow: none;
  }
}
