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

:root {
  --bg: #130f12;
  --bg-soft: #21191c;
  --red: #d92828;
  --red-light: #ff4b4b;
  --silver: #f2f2f2;
  --muted: #c7bfc0;
  --glass: rgba(255, 255, 255, 0.08);
  --red-2: #ff5a5a;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: white;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 64, 64, 0.25),
      transparent 32%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 120, 120, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, #1b1518, #2b1b1f 45%, #120f11);
  z-index: -3;
}

.lightning {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 48%,
      rgba(255, 80, 80, 0.18) 49%,
      transparent 50%
    ),
    linear-gradient(
      70deg,
      transparent 0%,
      transparent 62%,
      rgba(255, 255, 255, 0.08) 63%,
      transparent 64%
    );
  background-size: 320px 320px;
  opacity: 0.45;
  animation: moveBg 14s linear infinite;
  z-index: -2;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff5a5a, #a11212);
  border-radius: 999px;
  border: 2px solid rgba(20, 15, 17, 0.9);
  box-shadow: 0 0 14px rgba(255, 90, 90, 0.35);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff7a7a, #cf1d1d);
}

@keyframes moveBg {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-320px);
  }
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(20, 14, 16, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: 5px;
  color: var(--silver);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(255, 70, 70, 0.65);
  position: relative;
}

.logo span {
  color: var(--red-2);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 28px;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: white;
  text-shadow: 0 0 12px var(--red-light);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px rgba(255, 75, 75, 0.6);
}

.hero-image {
  width: 100%;
  margin: 81px 0 0;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero {
  min-height: 100vh;
  padding: 70px 8% 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #ffe0e0;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(217, 40, 40, 0.22);
}

h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff, #dedede 42%, #8f8f8f);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 55, 55, 0.35));
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 34px;
}

.actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  padding: 15px 28px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: white;
  background: linear-gradient(135deg, #ff4b4b, #9f1111);
  box-shadow: 0 12px 35px rgba(217, 40, 40, 0.35);
  transition: 0.3s;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 18px 45px rgba(255, 75, 75, 0.42);
}

.hero-card {
  position: relative;
  min-height: 440px;
  border-radius: 34px;
  padding: 32px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(255, 55, 55, 0.38);
  filter: blur(70px);
  right: -60px;
  top: -40px;
}

.shield {
  width: 210px;
  height: 210px;
  margin: 40px auto 25px;
  background: linear-gradient(145deg, #ffffff, #868686 52%, #3b3b3b);
  clip-path: polygon(50% 0, 95% 18%, 82% 78%, 50% 100%, 18% 78%, 5% 18%);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.35),
    0 0 40px rgba(255, 60, 60, 0.55);
}

.shield span {
  font-family: "Orbitron", sans-serif;
  font-size: 72px;
  color: #941414;
  text-shadow: 0 0 10px white;
}

.hero-card h3 {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 25px;
  margin-bottom: 12px;
}

.hero-card p {
  text-align: center;
  margin: auto;
  font-size: 15px;
}

section {
  padding: 90px 8%;
}

.section-title {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 18px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 55px;
  line-height: 1.8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  padding: 34px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--red-light),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.45s;
}

.card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.card:hover::after {
  transform: translateX(0);
}

.icon {
  font-size: 46px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px rgba(255, 75, 75, 0.7));
}

.card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.best-seller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  min-height: 330px;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.055)
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.18),
    transparent 80%
  );
  transform: translateX(-120%);
  transition: 0.65s;
  z-index: 2;
  pointer-events: none;
}

.product-card:hover::before {
  transform: translateX(120%);
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(255, 90, 90, 0.55);
  box-shadow: 0 30px 90px rgba(217, 40, 40, 0.24);
}

.product-image {
  height: 235px;
  background: #0f0d0f;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.55s ease;
  filter: contrast(1.04) brightness(1.05);
}

.product-card:hover img {
  transform: scale(1.08);
}

.category-chip {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--red-2), #991313);
  box-shadow: 0 10px 22px rgba(217, 40, 40, 0.35);
}

.product-info {
  padding: 22px 20px 24px;
  text-align: center;
}

.product-info h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 19px;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 90, 90, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 30px rgba(217, 40, 40, 0.18);
}

.product-stat strong {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 90, 90, 0.45);
}

.product-stat span {
  color: #ffe1e1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 18%,
    rgba(255, 255, 255, 0.16),
    transparent 78%
  );
  transform: translateX(-120%);
  transition: 0.65s ease;
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 90, 90, 0.48);
  background: linear-gradient(
    145deg,
    rgba(255, 90, 90, 0.18),
    rgba(255, 255, 255, 0.075)
  );
  box-shadow: 0 24px 60px rgba(217, 40, 40, 0.22);
}

.feature:hover::after {
  transform: translateX(120%);
}

.feature strong {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
  color: white;
}

.feature span {
  color: var(--muted);
  line-height: 1.7;
}

.cta {
  margin: 80px 8%;
  padding: 70px 30px;
  text-align: center;
  border-radius: 36px;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 75, 0.22),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.cta h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  margin-bottom: 18px;
}

.cta p {
  color: var(--muted);
  margin-bottom: 28px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  width: min(1050px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--red-2) rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: linear-gradient(
    145deg,
    rgba(48, 37, 42, 0.98),
    rgba(23, 18, 21, 0.98)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 35px 120px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(217, 40, 40, 0.2);
  position: relative;
  animation: modalOpen 0.35s ease forwards;
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  background: rgba(255, 255, 255, 0.11);
  cursor: pointer;
  font-size: 24px;
  z-index: 5;
  transition: 0.3s;
}

.close-btn:hover {
  background: var(--red);
  transform: rotate(90deg);
}

.modal-content {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
}

.modal-image {
  max-height: 550px;
  background: #111;
  position: relative;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
}

.modal-details {
  padding: 62px 46px 46px;
}

.modal-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 0 22px rgba(255, 80, 80, 0.35);
}

.modal-category {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-2), #9e1515);
  font-weight: 800;
  margin-bottom: 28px;
}

.info-block {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  margin-bottom: 18px;
}

.info-block h4 {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  margin-bottom: 10px;
  font-size: 17px;
}

.info-block p {
  color: var(--muted);
  line-height: 1.75;
}

.modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

footer {
  padding: 35px 8%;
  text-align: center;
  color: #a89fa1;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .hero,
  .features {
    grid-template-columns: 1fr;
  }

  .best-seller-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-image {
    min-height: 360px;
  }

  .modal-details {
    padding: 38px 24px 28px;
  }
}

@media (max-width: 650px) {
  header {
    padding: 18px 5%;
  }

  nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 5%;
    display: grid;
    min-width: 190px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(20, 14, 16, 0.94);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav a {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-image {
    margin-top: 81px;
  }

  .hero {
    padding: 55px 5% 50px;
  }

  section {
    padding: 70px 5%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .best-seller-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .hero-card {
    min-height: auto;
  }

  .modal-overlay {
    padding: 12px;
    align-items: center;
    justify-content: center;
  }

  .modal {
    border-radius: 24px;
    max-height: calc(100vh - 24px);
    width: 100%;
  }

  .modal-image {
    height: clamp(220px, 58vw, 300px);
    min-height: 0;
    max-height: none;
    background: #0f0d0f;
  }

  .modal-image img {
    object-fit: contain;
  }

  .close-btn {
    top: 12px;
    right: 12px;
  }
}
