/* ===============================
   THEME
=================================*/
:root{
  --bg:#060606;           /* page background */
  --surface:#0b0b0b;      /* card surface */
  --text:#ecf8e9;         /* off-white w/ green tint */
  --muted:#b1dcb3;        /* subdued green */
  --brand:#39ff14;        /* neon green */
  --brand-2:#00c853;      /* deeper green */

  --radius:16px;
  --shadow:0 12px 34px rgba(0,0,0,.55);

  /* Social icon defaults (override inline per block) */
  --icon-btn: 36px;       /* outer circle/button size */
  --icon-size: 18px;      /* inner PNG size */
}
@media (prefers-color-scheme: light){
  :root{
    --bg:#0e1a10; --surface:#121c12; --text:#f1fff0; --muted:#c7f1c9;
    --brand:#39ff14; --brand-2:#00c853; --shadow:0 10px 26px rgba(0,0,0,.28);
  }
}

/* ===============================
   RESET / BASE
=================================*/
*{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans";
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  scroll-behavior:smooth;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block }
a{ color:inherit }

/* Seamless fixed gradient behind content */
html::before{
  content:"";
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(1200px 820px at 110% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent),
    radial-gradient(1000px 760px at -10% 110%, color-mix(in srgb, var(--brand-2) 20%, transparent), transparent),
    var(--bg);
  filter:saturate(105%) contrast(102%);
}

/* ===============================
   LAYOUT
=================================*/
.container{ width:min(1100px,92vw); margin:0 auto }
section{ padding:64px 0 }
hr.divider{ border:none; border-top:1px solid color-mix(in srgb, var(--text) 10%, transparent); margin:36px 0 }

/* Keep headings/anchors clear of sticky header */
:root{ --header-h: 72px; }
html, body{ scroll-padding-top: var(--header-h); }
section[id], h1[id], h2[id], h3[id]{ scroll-margin-top: var(--header-h); }
@media (max-width:640px){ :root{ --header-h: 84px; } }

/* ===============================
   HEADER / NAV (matches assets/nav.js)
=================================*/
.site-header, header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(120%) blur(10px);
  background:color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom:1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}

/* In nav.js, the container has both .container and .nav */
.nav{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{ display:flex; align-items:center; gap:12px; font-weight:800 }

/* New logo markup from nav.js:
   <a class="logo"><span class="logo-mark">X</span><span class="logo-text">...</span></a>
*/
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.logo-mark{
  width:36px; height:36px; border-radius:12px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12), var(--shadow);
  display:grid;
  place-items:center;
  color:#071207;
  font-weight:900;
}
.logo-text{ display:flex; flex-direction:column; line-height:1.1 }
.logo-title{ font-weight:900; letter-spacing:.2px }
.logo-sub{ font-size:12px; color:var(--muted); opacity:.9 }

.primary-nav{ position:relative }

/* Desktop menu */
.menu{
  display:flex;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
  align-items:center;
}
.menu > li > a,
.submenu-toggle{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  color:var(--text);
  text-decoration:none;
  opacity:.9;
  border:1px solid transparent;
  background:transparent;
  font:inherit;
  cursor:pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.menu > li > a:hover,
.submenu-toggle:hover{
  opacity:1;
  background:color-mix(in srgb, var(--brand) 12%, transparent);
}

.menu > li > a[aria-current="page"]{
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#071207;
  box-shadow:var(--shadow);
  opacity:1;
}

/* Dropdown */
.has-submenu{ position:relative }
.submenu{
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  padding:8px;
  margin-top:6px;
  list-style:none;
  border-radius:14px;
  background:color-mix(in srgb, var(--surface) 90%, transparent);
  border:1px solid color-mix(in srgb, var(--text) 12%, transparent);
  box-shadow:var(--shadow);
  z-index:999;
}
.submenu[hidden]{ display:none }
.submenu li a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  color:var(--text);
}
.submenu li a:hover{
  background:color-mix(in srgb, var(--brand) 12%, transparent);
}
.submenu li a[aria-current="page"]{
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#071207;
}

/* Hamburger button (nav.js outputs .nav-toggle) */
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  background:transparent;
  border:1px solid color-mix(in srgb, var(--text) 14%, transparent);
  color:var(--text);
  cursor:pointer;
}
.nav-toggle:focus-visible{
  outline:3px solid color-mix(in srgb, var(--brand) 40%, transparent);
  outline-offset:2px;
}

/* Mobile: turn .menu into a dropdown panel */
@media (max-width:820px){
  .nav-toggle{
    display:inline-flex;
    font-size:22px;
    line-height:1;
  }

  .menu{
    display:none;
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    width:min(92vw, 360px);
    padding:10px;
    border-radius:16px;
    background:color-mix(in srgb, var(--surface) 92%, transparent);
    border:1px solid color-mix(in srgb, var(--text) 12%, transparent);
    box-shadow:var(--shadow);
    flex-direction:column;
    gap:6px;
    z-index:999;
  }
  html.nav-open .menu{ display:flex; }

  .menu > li > a,
  .submenu-toggle{
    width:100%;
    text-align:left;
    padding:10px 12px;
    border-radius:12px;
  }

  /* Make dropdowns readable when stacked */
  .submenu{
    position:static;
    min-width:0;
    margin-top:6px;
  }
}

/* ===============================
   TYPOGRAPHY / HERO
=================================*/
.hero{ text-align:center; padding:84px 0 40px }
.eyebrow{
  display:inline-block; padding:6px 12px; border-radius:999px;
  font-size:12px; letter-spacing:.3px; text-transform:uppercase;
  color:#fff;
  background:color-mix(in srgb, var(--brand) 22%, transparent);
  border:1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
}
h1{ font-size:clamp(28px,4.2vw,44px); line-height:1.15; margin:14px 0 10px }
h2{ font-size:clamp(20px,3vw,28px); margin:8px 0 10px }
.sub{ max-width:760px; margin:0 auto; color:var(--muted); font-size:clamp(15px,1.6vw,18px) }
.row{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:26px }
.cta{
  padding:14px 18px; border-radius:12px; font-weight:700; text-decoration:none;
  display:inline-flex; align-items:center; gap:10px;
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#071207; box-shadow:var(--shadow);
}
.cta.secondary{
  background:transparent; color:var(--text);
  border:1px solid color-mix(in srgb, var(--text) 18%, transparent);
}

/* ===============================
   GRID / CARDS
=================================*/
.grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:18px }
.card{
  grid-column:span 12;
  background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), var(--surface));
  border:1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.card h3{ margin:4px 0 6px; font-size:20px }
.card p{ color:var(--muted) }
@media (min-width:720px){ .card{ grid-column:span 6 } }
@media (min-width:1000px){ .card{ grid-column:span 4 } }

/* ===============================
   ABOUT PANEL + AVATAR RING (single, consistent version)
=================================*/
.about-title{
  text-align:center;
  font-size:clamp(28px,4vw,40px);
  margin:8px 0 24px;
  letter-spacing:.5px;
}

.about-panel{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  padding:24px;
  border-radius:16px;
  background:
    radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent),
    color-mix(in srgb, var(--surface) 88%, transparent);
  border:1px solid color-mix(in srgb, var(--text) 10%, transparent);
  box-shadow:var(--shadow);
}
@media (min-width:980px){
  .about-panel{
    grid-template-columns:minmax(260px,.9fr) 1.1fr;
    align-items:center;
    padding:28px;
  }
}

.about-media{ display:flex; align-items:center; justify-content:center }

.avatar{
  position:relative;
  isolation:isolate;
  width:clamp(180px,24vw,320px);
  aspect-ratio:1/1;
  border-radius:50%;
}
.avatar::before{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:inherit;
  background: conic-gradient(from 210deg,
    color-mix(in srgb, var(--brand) 70%, transparent),
    color-mix(in srgb, var(--brand-2) 70%, transparent),
    color-mix(in srgb, var(--brand) 70%, transparent)
  );
  filter:blur(.5px);
  animation:ringSpin 12s linear infinite;
  z-index:0;
}
.avatar::after{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:inherit;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
  filter:blur(14px);
  z-index:0;
}
@keyframes ringSpin{ to{ transform:rotate(360deg) } }

.about-avatar{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  background:#000;
  border:3px solid rgba(255,255,255,.04);
}

.about-copy{ max-width:68ch }
.about-copy .lead{ color:var(--text); font-size:clamp(16px,1.9vw,19px) }
.about-copy p{ margin:0 0 12px; color:var(--muted) }

@media (prefers-reduced-motion:reduce){
  .avatar::before{ animation:none }
}

/* ===============================
   SOCIAL ICON ROW
=================================*/
.socials-icons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  margin:10px 0 0;
}
.icon-link{
  width:var(--icon-btn);
  height:var(--icon-btn);
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  overflow:hidden;
  color:transparent;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border:1px solid color-mix(in srgb, var(--text) 12%, transparent);
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.icon-link:hover,
.icon-link:focus-visible{
  transform:translateY(-2px);
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  border-color:transparent;
  outline:none;
  box-shadow: 0 10px 22px rgba(0,0,0,.36);
}
.icon{ width:var(--icon-size); height:var(--icon-size); display:block; object-fit:contain }

@media (max-width:420px){
  .icon-link{ width:44px; height:44px }
  .icon{ width:22px; height:22px }
}

/* ===============================
   FEATURE / GALLERY / EMBEDS
=================================*/
.feature{ display:grid; gap:26px; align-items:center; grid-template-columns:1fr }
@media (min-width:900px){ .feature{ grid-template-columns:1.2fr 1fr } }

.shot{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid color-mix(in srgb, var(--text) 10%, transparent);
  box-shadow:var(--shadow);
}
.shot img{ display:block; width:100%; height:auto }

.gallery{
  display:grid;
  gap:14px;
  grid-template-columns:1fr 1fr 1fr;
}
.gallery img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  border:1px solid color-mix(in srgb, var(--text) 10%, transparent);
  box-shadow:var(--shadow);
}
@media (max-width:900px){ .gallery{ grid-template-columns:1fr 1fr } }
@media (max-width:600px){ .gallery{ grid-template-columns:1fr } }

.embed-16x9{
  position:relative;
  width:100%;
  max-width:960px;
  margin:0 auto;
  padding-top:56.25%;
  border-radius:16px;
  overflow:hidden;
  border:1px solid color-mix(in srgb, var(--text) 10%, transparent);
  box-shadow:var(--shadow);
}
.embed-16x9 iframe{ position:absolute; inset:0; width:100%; height:100% }

/* ===============================
   MODS PAGE – gallery layout (single copy)
=================================*/
.mods-grid.gallery-style{
  display:grid;
  gap:28px;
  grid-template-columns: repeat(3, 1fr);
  align-items:start;
}
@media (max-width:1100px){
  .mods-grid.gallery-style{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:680px){
  .mods-grid.gallery-style{ grid-template-columns: 1fr; }
}
.mod-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
}
.mod-photo{
  width:min(100%, 320px);
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
  background: var(--surface);
  border:1px solid color-mix(in srgb, var(--text) 10%, transparent);
  box-shadow: var(--shadow);
}
.mod-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  image-rendering:auto;
}
.mod-name{
  margin:6px 0 4px;
  font-size:clamp(18px, 2.4vw, 24px);
  letter-spacing:.06em;
  text-transform:uppercase;
}
.mod-bio{
  max-width:42ch;
  color:var(--muted);
  font-size:clamp(14px, 1.6vw, 16px);
  margin:0;
}
.mod-item:hover .mod-photo{
  border-color: color-mix(in srgb, var(--brand) 28%, transparent);
}

/* ===============================
   PRICING (kept from your patches, simplified)
=================================*/
.pricing-stack{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.price-card{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  padding:20px;
  background:
    radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent),
    color-mix(in srgb, var(--surface) 88%, transparent);
  border:1px solid color-mix(in srgb, var(--text) 10%, transparent);
  box-shadow: var(--shadow);
}
.price-card .badge{
  display:inline-block;
  font-size:12px;
  line-height:1;
  padding:6px 10px;
  border-radius:999px;
  color:#fff;
  background: color-mix(in srgb, var(--brand) 32%, transparent);
  border:1px solid rgba(255,255,255,.25);
  margin-bottom:10px;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
}
.price{
  font-size:clamp(28px,4.2vw,36px);
  font-weight:800;
  margin:4px 0 8px;
}
.price small{
  font-weight:600;
  opacity:.75;
  font-size:.6em;
}
.package-sub{ color:var(--muted); margin:0 0 10px; }
.price-card ul{ margin:8px 0 0; padding-left:18px; color:var(--muted); }
.price-card li{ margin:6px 0; }
.container.wide{ width:min(1150px,94vw); }

/* Optional price art support (only if you use --price-art on the card) */
.price-card[data-art]{ padding-right: clamp(24px, 12vw, 360px); }
.price-card[data-art]::after{
  content:"";
  position:absolute;
  top:50%;
  right: min(22px, 2.5vw);
  transform: translateY(-50%);
  width: clamp(140px, 28vw, 320px);
  aspect-ratio: 1 / 1;
  background: var(--price-art) center / contain no-repeat;
  opacity:.35;
  filter: saturate(110%) drop-shadow(0 18px 46px rgba(0,0,0,.55));
  pointer-events:none;
}
@media (max-width:900px){
  .price-card[data-art]{ padding-right: 20px; }
  .price-card[data-art]::after{ display:none; }
}

/* Old price styling (clean strikethrough) */
.price-old{
  color:#ff4d4d;
  font-weight:700;
  font-size:clamp(18px,2.4vw,20px);
  line-height:1;
  text-decoration:line-through;
  text-decoration-color:#fff;
  text-decoration-thickness:2px;
  text-decoration-skip-ink:none;
  opacity:.95;
}
.price-old::after{ content:none !important; }

/* ===============================
   VIDEO SECTION (centering helper)
=================================*/
.video-section{ text-align:center; }
.video-section .panel{ max-width:1100px; margin:0 auto; }

/* ===============================
   FOOTER
   (Site-wide footer removed; keep this empty intentionally)
=================================*/
/* footer styles intentionally omitted */

/* ===============================
   SMALL UTILITIES
=================================*/
.text-center{ text-align:center; }
