* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0; 
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial; 
  color: #e9eef7; 
  background: linear-gradient(180deg, rgba(12,15,22,.3) 0%, rgba(10,13,20,.5) 100%), url('../theme.jpg') center/cover fixed no-repeat;
}

:root {
  --text: #e9eef7;
  --muted: #a0adbd;
  --brand: #6aa0ff;
  --brand-2: #9a7bff;
  --surface: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.12);
  --radius: 16px;
  --shadow: 0 8px 30px rgba(0,0,0,.35);
  --container: 1200px;
}

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
img { max-width: 100%; display: block; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(12, 15, 22, 0.55); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .25rem; }
.logo { font-weight: 700; font-size: 1.25rem; color: #fff; display: inline-flex; align-items: center; gap: .5rem; }
.logo span { color: var(--brand); }

.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border); border-radius: 10px; color: #fff; align-items: center; justify-content: center; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: #fff; margin: 3px 0; }
.nav-toggle-checkbox { display: none; }

.nav-menu ul { list-style: none; display: flex; gap: 1.1rem; align-items: center; padding: 0; margin: 0; }
.nav-menu a { color: #dfe7f5; font-weight: 500; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; }
.nav-menu a:hover { background: rgba(255,255,255,.08); }
.nav-menu a.active { background: linear-gradient(90deg, rgba(106,160,255,.18), rgba(154,123,255,.18)); color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; top: 72px; right: -100%; width: min(320px, 85vw); height: calc(100vh - 72px); background: rgba(19, 24, 39, .98); border-left: 1px solid var(--border); backdrop-filter: blur(6px); transition: right .25s ease; padding: 1rem; }
  .nav-menu ul { flex-direction: column; gap: .5rem; align-items: flex-start; }
  .nav-toggle-checkbox:checked + .nav-menu { right: 0; }
}

.section { padding: 3.5rem 0; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.hero { padding: 5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem; }
.hero-copy h1 { font-size: clamp(2rem, 3.5vw + 1rem, 3.2rem); line-height: 1.1; margin: 0 0 .5rem; background: linear-gradient(90deg, #fff, #cfe0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { color: var(--muted); margin: 0 0 1.2rem; max-width: 52ch; }

.hero-media { display: grid; gap: 1rem; }
.media-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.media-card img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 4/3; }
.media-card.watch img { aspect-ratio: 1/1; }
.media-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); }
.media-card .label { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; display: flex; align-items: baseline; justify-content: space-between; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.5)); }

.btn { display: inline-block; font-weight: 600; padding: .8rem 1rem; border-radius: 12px; border: 1px solid transparent; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 6px 20px rgba(106,160,255,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

.card { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.008)); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-media { background: #f7f6f6; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 4/3; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1rem; }
.card-body h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.price { color: #cfe0ff; font-weight: 700; margin-bottom: .7rem; }

.reviews { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.review-item { display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 14px; padding: .8rem; }
.review-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.stars { color: #ffd36e; letter-spacing: 1px; font-size: .95rem; }

.reviews-slider { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 16px; padding: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.reviews-slider .track { display: flex; gap: 1rem; align-items: stretch; animation: reviews-scroll 40s linear infinite; }
.reviews-slider .slide { flex: 0 0 320px; }
@media (max-width: 600px) {
  .reviews-slider .slide { flex-basis: 260px; }
}
@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer { border-top: 1px solid var(--border); margin-top: 2rem; padding: 2rem 0; background: rgba(12, 15, 22, 0.35); backdrop-filter: blur(8px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer a { color: #dfe7f5; text-decoration: none; }
.footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.header { animation: fade-up .6s ease-out both; }
.section-header { animation: fade-up .75s ease-out both; }
.hero-copy { animation: fade-up .8s .05s ease-out both; }
.hero .media-card { animation: fade-up .9s ease-out both; }
.hero .media-card:nth-child(2) { animation-delay: .2s; }

.grid .card { animation: fade-up .8s ease-out both; }
.grid .value { animation: fade-up .8s ease-out both; }
.grid .card:nth-child(1) { animation-delay: .05s; }
.grid .card:nth-child(2) { animation-delay: .10s; }
.grid .card:nth-child(3) { animation-delay: .15s; }
.grid .card:nth-child(4) { animation-delay: .20s; }
.grid .card:nth-child(5) { animation-delay: .25s; }
.grid .card:nth-child(6) { animation-delay: .30s; }
.grid .card:nth-child(7) { animation-delay: .35s; }
.grid .card:nth-child(8) { animation-delay: .40s; }
.grid .card:nth-child(9) { animation-delay: .45s; }

.media-card:hover { transform: translateY(-2px); }
.media-card:hover img { transform: scale(1.05); }

.btn { transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { 
  filter: brightness(1.07); 
  box-shadow: 0 10px 28px rgba(106,160,255,.35); 
}

.nav-menu a { 
  position: relative; 
  overflow: hidden; 
  text-decoration: none;
}
.nav-menu a::after { 
  content: ""; 
  position: absolute; 
  left: .8rem; 
  right: .8rem; 
  bottom: .35rem; 
  height: 2px; 
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); 
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform .25s ease; 
  border-radius: 2px; 
}
.nav-menu a:hover::after, 
.nav-menu a.active::after { 
  transform: scaleX(1); 
}

.logo img { animation: floaty 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.size-select {
  width: 100%;
  padding: .6rem;
  margin: .2rem 0 .7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: #020202;
  font-weight: bold;
}

.toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  z-index: 2000;
}
.toast {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  color: #e9eef7;
  padding: .75rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ===============================
   FORCE SAME LOOK ON DESKTOP & MOBILE
   =============================== */

html, body {
  width: 100%;
  overflow-x: hidden;
}

.page-wrapper {
  transform-origin: top left;
}

/* Scale the entire site down on smaller screens */
@media (max-width: 1200px) {
  .page-wrapper {
    transform: scale(calc(100vw / 1200));
    width: 1200px;
  }
}

/* Disable responsive reflows */
@media (max-width: 900px) {
  .grid-2, .grid-3, .hero-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .nav-toggle, .nav-toggle-checkbox {
    display: none !important;
  }

  .nav-menu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    justify-content: flex-end;
  }
}

/* ===============================
   REMOVE UNDERLINES ONLY
   =============================== */
a {
  text-decoration: none !important;
}
