/* Triple H Gaming css */

:root{
  /* Kids palette */
  --kid-blue: #29A6DF;
  --kid-pink: #FF4FA3;
  --kid-red:  #FF3B30;

  /* Base */
  --bg0:#070A12;
  --bg1:#0B1020;

  --text:#EAF0FF;
  --muted: rgba(234,240,255,.72);
  --muted2: rgba(234,240,255,.52);

  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);

  --stroke: rgba(255,255,255,.12);
  --stroke2: rgba(255,255,255,.18);

  --shadow: 0 18px 60px rgba(0,0,0,.45);

  --radius: 18px;
  --radius2: 26px;

  --title-font: marvin, ui-sans-serif, system-ui;
  --ui-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{box-sizing:border-box}
html,body{height:100%}

/* Put the gradient background on html to avoid Chrome “seam/repeat” artifacts */
html{
  min-height:100%;
  background:
    radial-gradient(1500px 600px at 10% 10%, rgba(41,166,223,.22), transparent 60%),
    radial-gradient(1500px 600px at 88% 92%, rgba(255,79,163,.20), transparent 58%),
    radial-gradient(1000px 600px at 35% 75%, rgba(255,59,48,.12), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
}

/* Keep body transparent so html’s background shows through */
body{
  margin:0;
  font-family: var(--ui-font);
  color:var(--text);
  background: transparent;
}

/* Subtle texture layer (attach to html, not body) */
html::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.08;
  background:
    radial-gradient(2px 2px at 18% 22%, rgba(255,255,255,.30), transparent 60%),
    radial-gradient(2px 2px at 72% 44%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(2px 2px at 38% 78%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(2px 2px at 85% 82%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(2px 2px at 55% 16%, rgba(255,255,255,.14), transparent 60%);
  filter: blur(.25px);
  z-index:0;
}

/* Ensure content sits above the texture layer */
body > *{
  position:relative;
  z-index:1;
}


a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
img{max-width:100%; display:block}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* Accessibility */
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:20px; top:20px; width:auto; height:auto;
  padding:10px 12px;
  background:rgba(0,0,0,.75);
  border:1px solid var(--stroke2);
  border-radius:12px;
  z-index:9999;
}

/* =========================
   Top nav (tight + centered, CTAs pinned right)
   ========================= */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(8,10,18,.78), rgba(8,10,18,.35));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Layout: [center band] [CTA] */
.nav-inner{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  --cta-w: 130px;
}

/* left pad matches CTA width so center is truly centered */
.nav-pad{
  width: var(--cta-w, 0px);
  height: 1px; /* doesn't affect layout height */
}

/* Center band holds: left links + brand + right links (keeps things from spreading) */
.nav-center{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;            /* controls “spread out” feeling */
  flex: 1;
  min-width: 0;
}

/* Left / right groups stay tight */
.nav-left,
.nav-right{
  display: flex;
  align-items: center;
  gap: 18px;            /* tighter than 28 */
  white-space: nowrap;
}

/* Links: less sterile, more “cool” */
.nav-left a,
.nav-right a{
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.92;
  transition: opacity 160ms ease, color 160ms ease;
  position: relative;
}

/* Hover */
.nav-left a:hover,
.nav-right a:hover{
  opacity: 1;
  color: #fff;
}

/* Short, centered underline (cleaner than full-width) */
.nav-left a::after,
.nav-right a::after{
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, #29A6DF, #FF4FA3);
  border-radius: 999px;
  opacity: 0.95;
  transition: transform 180ms ease;
}

/* Hover underline */
.nav-left a:hover::after,
.nav-right a:hover::after{
  transform: scaleX(1);
}

/* Active page state (add class="active" on the current nav link) */
.nav-left a.active,
.nav-right a.active{
  opacity: 1;
  color: #fff;
}

.nav-left a.active::after,
.nav-right a.active::after{
  transform: scaleX(1);
}

/* Keyboard focus (polished, not ugly default outline) */
.nav-left a:focus-visible,
.nav-right a:focus-visible{
  outline: none;
  opacity: 1;
}

.nav-left a:focus-visible::after,
.nav-right a:focus-visible::after{
  transform: scaleX(1);
}


/* Brand in the center */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: unset; /* neutralize old grid assumptions */
  text-align: left;
}

.brand-logo{
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 16px;
  filter:
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 18px rgba(41, 166, 223, 0.18));
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover .brand-logo{
  transform: translateY(-2px) scale(1.03);
  filter:
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 26px rgba(41, 166, 223, 0.26));
}

/* Optional brand text (if you use it) */
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong{
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text span{
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted2);
  opacity: 0.82;
}

/* CTAs pinned right */
.nav-cta{
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.nav-links{
  display:flex; align-items:center; gap:14px;
}
.nav-links a {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover {
  opacity: 1;
  color: #29A6DF;
}

.nav-cta{
  display:flex; align-items:center; gap:10px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:650;
  font-size:14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.22)}
.btn.primary{
  border:1px solid rgba(255,255,255,.18);
  outline: none;
  background: linear-gradient(135deg, var(--kid-blue), var(--kid-pink));
  box-shadow:
    0 18px 60px rgba(41,166,223,.16),
    0 18px 60px rgba(255,79,163,.12),
    0 10px 30px rgba(0,0,0,.22);
  background-clip: padding-box;
}
.btn:focus,
.btn:focus-visible{
  outline: none;
}

.btn:focus-visible{
  box-shadow:
    0 0 0 3px rgba(41,166,223,.25),
    0 0 0 6px rgba(255,79,163,.18),
    0 18px 60px rgba(0,0,0,.35);
}
.btn.primary:hover{transform: translateY(-2px); filter:brightness(1.03)}
.btn.ghost{
  background:transparent;
  box-shadow:none;
}

/* =========================
   Responsive header + mobile menu
   ========================= */

/* Hamburger (hidden on desktop) */
.hamburger{
  display:none;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:var(--text);
  cursor:pointer;
}
.hamburger:hover{ background:rgba(255,255,255,.11); }

/* Mobile menu panel (inserted in header markup as #mobile-menu) */
.mobile-menu{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  padding:14px 0 18px;
  background: linear-gradient(180deg, rgba(8,10,18,.96), rgba(8,10,18,.88));
  border-bottom:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-menu-inner{
  max-width:520px;
  margin:0 auto;
  padding:0 16px;
  display:grid;
  gap:12px;
  justify-items:center;
  text-align:center;
}
.mobile-link{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.95);
  font-weight:700;
  letter-spacing:0.07em;
  text-transform:uppercase;
  text-decoration:none;
}
.mobile-link:hover{ background:rgba(255,255,255,.10); }
.mobile-cta{
  width:100%;
  padding-top:6px;
  display:grid;
  gap:10px;
  justify-items:center;
}
.mobile-cta .btn{
  width:100%;
  justify-content:center;
}

/* Mobile: centered logo + hamburger right */
@media (max-width: 880px){
  /* Remove desktop centering pad + hide desktop link groups */
  .nav-pad{ display:none; }
  .nav-left,
  .nav-right{ display:none; }

  /* Hide YouTube CTA in header (it appears in the mobile menu) */
  .nav-cta .btn.primary{ display:none; }

  /* Make header a stable positioning context */
  .nav-inner{
    --cta-w: 0px;
    position: relative;
    min-height: 86px; /* accommodates 72px logo comfortably */
  }

  /* Center the logo perfectly */
  .brand{
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
  }

  .brand-logo{
    width:72px;
    height:72px;
  }

  /* Push hamburger hard right */
  .nav-cta{
    position:absolute;
    right:16px;
    top:50%;
    transform: translateY(-50%);
    display:flex;
    align-items:center;
  }

  .hamburger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  /* Keep nav-center from affecting layout */
  .nav-center{
    justify-content:center;
    gap:0;
  }
}

/* Hero */
.hero{
  padding:58px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}

.hero-card{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(620px 260px at 18% 10%, rgba(41,166,223,.18), transparent 65%),
    radial-gradient(620px 260px at 82% 20%, rgba(255,79,163,.16), transparent 62%),
    radial-gradient(680px 300px at 55% 100%, rgba(255,59,48,.12), transparent 62%),
    rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding:30px;
  overflow:hidden;
  position:relative;
}
.hero-card:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 320px at 25% 15%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(700px 320px at 80% 40%, rgba(255,255,255,.06), transparent 55%);
  pointer-events:none;
}

.hero-title{
  position:relative;
  font-family: var(--title-font);
  font-weight: 400;
  font-size:42px;
  line-height:1.03;
  letter-spacing:.2px;
  margin:0 0 12px;
}
@media (max-width: 520px){
  .hero-title{font-size:34px}
}

.hero-sub{
  position:relative;
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  max-width:62ch;
}

.hero-actions{
  position:relative;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}

.pills{
  position:relative;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.pill{
  font-size:12px;
  color:rgba(255,255,255,.80);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.pill strong{color:rgba(255,255,255,.92)}

.side-card{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding:22px;
}
.side-card h3{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:-.2px;
}
.side-card p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}
.checklist{
  display:grid;
  gap:10px;
  margin:12px 0 0;
  padding:0;
  list-style:none;
}
.checklist li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:rgba(255,255,255,.84);
  font-size:13px;
  line-height:1.4;
}
.dot{
  width:18px; height:18px;
  border-radius:8px;
  background: rgba(41,166,223,.16);
  border:1px solid rgba(41,166,223,.35);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  margin-top:1px;
}
.dot:before{
  content:"✓";
  font-size:12px;
  color:rgba(41,166,223,.95);
}

/* Sections */
.section{
  padding:22px 0;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.section-head h2{
  margin:0;
  font-family: var(--title-font);
  font-weight: 400;
  font-size:20px;
  letter-spacing:.2px;
}
.section-head p{
  margin:0;
  color:var(--muted2);
  font-size:13px;
}

/* Grids & cards */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 980px){
  .grid{grid-template-columns: 1fr}
}

.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  padding:18px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  position:relative;
  overflow:hidden;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.055);
}

/* Image cards */
.card.has-media{padding:0}
.card-media{
  height:168px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  position:relative;
  overflow:hidden;
}
.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  transition: transform .25s ease;
  filter:saturate(1.10) contrast(1.04);
}
.card.has-media:hover .card-media img{
  transform: scale(1.055);
}
.card-media:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.42));
  pointer-events:none;
}
.card-body{padding:18px}
.card h3{
  margin:12px 0 8px;
  font-size:16px;
  letter-spacing:-.2px;
}
.card p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.actions{display:flex; gap:10px; flex-wrap:wrap}

/* Badge (clean, readable) */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  color:#0b1220;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.90);
  border:1px solid rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.badge .spark{
  width:9px;
  height:9px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--kid-blue), var(--kid-pink));
  box-shadow: 0 0 10px rgba(41,166,223,.25);
}
.media-badge{
  position:absolute;
  left:14px;
  bottom:14px;
  z-index:2;
}

/* Subtle shine sweep */
.card.has-media:before{
  content:"";
  position:absolute;
  top:0;
  left:-160%;
  width:55%;
  height:100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.10) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  transition: left .85s ease;
  pointer-events:none;
}
.card.has-media:hover:before{left:170%}

/* Featured video */
.featured{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(900px 260px at 20% 20%, rgba(41,166,223,.12), transparent 60%),
    rgba(255,255,255,.04);
  padding:18px;
}
.video-embed{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius: var(--radius2);
  overflow:hidden;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 60px rgba(0,0,0,.42);
}
.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* Trust strip */
.trust{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(900px 240px at 18% 10%, rgba(255,79,163,.10), transparent 65%),
    rgba(255,255,255,.04);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.trust strong{font-size:14px}
.trust span{color:var(--muted); font-size:13px}
@media (max-width: 820px){
  .trust{flex-direction:column; align-items:flex-start}
}

/* Footer */
.footer{
  padding:28px 0 40px;
  margin-top:26px;
  border-top:1px solid rgba(255,255,255,.08);
  color:var(--muted2);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer a{color:rgba(234,240,255,.78)}
.footer a:hover{color:rgba(234,240,255,.92)}
.small{font-size:12px; color:var(--muted2)}

/* =========================
   1) Nav glow (only after scroll)
   ========================= */
/* Make sure .nav can host the pseudo element */
.nav {
  position: sticky; /* already is, but harmless */
  top: 0;           /* already is, but harmless */
}

/* Stronger but still tasteful */
.nav.is-scrolled {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(41, 166, 223, 0.16),
    0 0 42px rgba(41, 166, 223, 0.26),
    0 0 92px rgba(41, 166, 223, 0.12);
}

/* Glow strip (this is what makes it “read” as glow, not just shadow) */
.nav::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(41, 166, 223, 0.65),
    transparent
  );
  filter: blur(5px);
  transition: opacity 180ms ease;
}

.nav.is-scrolled::after {
  opacity: 1;
}

/* Slightly reduce the “hard line” feeling if nav has a bottom border */
.nav.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}

/* =========================
   2) Series card hover glow (shape-following, not a big blob)
   ========================= */
.card--blue { --card-accent: #29A6DF; }
.card--pink { --card-accent: #FF4FA3; }
.card--red  { --card-accent: #FF3B30; }

@media (hover: hover) and (pointer: fine) {
  .card--blue,
  .card--pink,
  .card--red {
    transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
    will-change: transform, filter;
  }

  .card--blue:hover,
  .card--pink:hover,
  .card--red:hover {
    transform: translateY(-4px);
    /* keeps depth consistent */
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);

    /* THIS is the glow: follows the rounded card shape */
    filter:
      drop-shadow(0 0 14px color-mix(in srgb, var(--card-accent) 28%, transparent))
      drop-shadow(0 0 34px color-mix(in srgb, var(--card-accent) 18%, transparent));
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card--blue,
  .card--pink,
  .card--red {
    transition: none;
  }
  .card--blue:hover,
  .card--pink:hover,
  .card--red:hover {
    transform: none;
    filter: none;
  }
}


/* =========================
   3) Subtle background-glow parallax (NO seam / no body gradients)
   - Adds html::after as a glow layer.
   - Does NOT touch html background-attachment fixed.
   - Uses transforms only (safe vs background-position jitter).
   ========================= */

/* Your texture is already on html::before; we add html::after for glows */
html {
  --bg-parallax-x: 0px;
  --bg-parallax-y: 0px;
}

/* Ensure glow layer sits beneath content but above base html background */
html::after {
  content: "";
  position: fixed;
  inset: -10vmax; /* oversized so drifting never shows edges */
  pointer-events: none;
  z-index: 0;     /* your body > * already z-index:1 */
  opacity: 0.55;
  transform: translate3d(var(--bg-parallax-x), var(--bg-parallax-y), 0);
  will-change: transform;

  /* Soft, brand-consistent glow blobs (subtle) */
  background:
    radial-gradient(60vmax 45vmax at 18% 12%,
      rgba(41, 166, 223, 0.18) 0%,
      rgba(41, 166, 223, 0.08) 38%,
      transparent 62%),
    radial-gradient(52vmax 40vmax at 78% 18%,
      rgba(255, 79, 163, 0.16) 0%,
      rgba(255, 79, 163, 0.07) 40%,
      transparent 64%),
    radial-gradient(60vmax 44vmax at 62% 82%,
      rgba(255, 59, 48, 0.13) 0%,
      rgba(255, 59, 48, 0.06) 42%,
      transparent 68%);
  filter: blur(10px);
}

/* If you use mix-blend-mode elsewhere and it gets too strong, keep it off.
   If you WANT it a hair richer, uncomment the next line:
   html::after { mix-blend-mode: screen; }
*/

@media (prefers-reduced-motion: reduce) {
  html::after {
    transform: none;
  }
}

/* =========================
   4) Hero typography tuning (Marvin scale + spacing)
   Clean, premium, parent-readable
   ========================= */

/* Title: keep Marvin but tighten behavior */
.hero-title {
  /* don’t change your font stack globally; just refine this block */
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;

  /* Premium scaling: keeps mobile tidy, desktop strong */
  font-size: clamp(2.05rem, 4.2vw, 3.55rem);
}

/* Sub: improve readability & breathing room */
.hero-sub {
  line-height: 1.45;
  margin-top: 0;
  max-width: 54ch; /* keeps it from feeling “wide and shouty” */
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  opacity: 0.92;
}

/* Optional: if hero title/sub are too tight inside cards */
.hero-card {
  /* only additive padding tuning; keep your layout intact */
  gap: 0.85rem;
}

/* If you have a “featured” or “trust” line in hero, keep it calm */
.featured,
.trust {
  letter-spacing: 0.01em;
}

/* --- Contact page form polish (scoped) --- */
.contact-page .contact-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 820px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.contact-page .field-full { grid-column: 1 / -1; }

.contact-page .field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-page .muted { opacity: .7; font-weight: 500; }
.contact-page .req { color: #FF3B30; }

/* IMPORTANT: do NOT style checkboxes like text inputs */
.contact-page .field input:not([type="checkbox"]),
.contact-page .field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.92);
  outline: none;
}

.contact-page .field textarea { min-height: 160px; }

.contact-page .field input::placeholder,
.contact-page .field textarea::placeholder {
  color: rgba(255,255,255,.55);
}

.contact-page .field input:focus:not([type="checkbox"]),
.contact-page .field textarea:focus {
  border-color: rgba(41,166,223,.55);
  box-shadow: 0 0 0 3px rgba(41,166,223,.18);
}

/* Checkbox alignment (box to the LEFT of words) */
.contact-page .checkline {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.contact-page .checkline input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: translateY(1px);
}

.contact-page .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.contact-page .field-error {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 3px solid #FF3B30;
  opacity: .95;
}

/* --- About Page Enhancements --- */

.about-page .about-hero {
  position: relative;
  overflow: hidden;
}

.about-page .about-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,79,163,.25) 0%, transparent 70%);
  pointer-events: none;
}

.about-page .about-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-weight: 600;
  opacity: .95;
}

.about-page .about-trust-strip {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.about-page .about-sub {
  margin-top: 8px;
  opacity: .8;
}

.about-page .vibe-card .badge {
  margin-bottom: 10px;
}

.about-page .vibe-blue { border-color: rgba(41,166,223,.4); }
.about-page .vibe-pink { border-color: rgba(255,79,163,.4); }
.about-page .vibe-red  { border-color: rgba(255,59,48,.4); }

/* --- About Hero Layout --- */

.about-page .about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-page .about-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-page .about-hero-art {
  text-align: center;
}

.about-page .about-hero-art img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
}

.about-page .about-hero-content h1 {
  margin-top: 12px;
}

.about-page .about-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
  font-weight: 600;
  opacity: .95;
}

/* =========================
   ABOUT HERO PUNCH EFFECT
========================= */

.about-page .hero-punch {
  position: relative;
  overflow: visible;
}

.about-page .about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-page .about-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* Right side image */
.about-page .about-hero-art {
  position: relative;
  text-align: center;
}

@media (min-width: 900px) {
  .about-page .about-hero-art {
    transform: translateX(40px); /* punch outside card */
  }
}

.about-page .about-hero-art img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 25px 45px rgba(0,0,0,.5));
}

/* Soft brand glow behind kids */
.about-page .about-hero-art::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(41,166,223,.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,79,163,.35), transparent 60%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* Hero spacing tweaks */
.about-page .about-hero-content h1 {
  margin-top: 12px;
}

.about-page .about-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
  font-weight: 600;
  opacity: .95;
}

/* --- About hero punch (force visible overflow) --- */
.about-page .about-hero.hero-punch {
  overflow: visible !important; /* overrides card defaults */
}

/* If your .card has a pseudo-element or inner layer that clips, this helps too */
.about-page .about-hero.hero-punch::before,
.about-page .about-hero.hero-punch::after {
  pointer-events: none;
}

/* Punch the art outside the right edge on desktop */
@media (min-width: 900px) {
  .about-page .about-hero.hero-punch .about-hero-art {
    margin-right: -70px;     /* pushes image past card edge */
    padding-right: 10px;     /* keeps it from touching the viewport */
  }
}


/* =========================
   HOME: Full-width hero w/ kids art (matches About punch)
   ========================= */
.home-page .home-hero.hero-punch{
  overflow: visible !important;
}

.home-page .home-hero-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

@media (min-width: 920px){
  /* hero card spans full width, promise card tucks to the right below */
  .home-page .home-hero{
    grid-column: 1 / -1;
  }
  .home-page .home-promise{
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: end;
  }

  .home-page .home-hero-inner{
    grid-template-columns: 1.08fr .92fr;
    gap: 22px;
  }
}

.home-page .home-hero-art{
  position: relative;
  text-align: center;
}

@media (min-width: 920px){
  .home-page .home-hero-art{
    margin-right: -70px; /* hero punch */
    padding-right: 10px;
  }
}

.home-page .home-hero-art img{
  position: relative;
  z-index: 2;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,.55));
}

/* soft brand glow behind kids */
.home-page .home-hero-art::before{
  content:"";
  position:absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(41,166,223,.32), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,79,163,.28), transparent 62%);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(42px);
  z-index: 1;
  pointer-events:none;
}

/* =========================
   ABOUT: Kid hero cards (Ezra / Abi / Hannah)
   ========================= */
.about-page .kid-hero-grid{
  align-items: stretch;
}

.about-page .kid-card{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.about-page .kid-card .badge{
  width: fit-content;
}

.about-page .kid-art{
  position: relative;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  min-height: 240px;
  margin-bottom: 2px;
}

.about-page .kid-art img{
  max-height: 260px;
  width: auto;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.55));
}

/* vibe borders */
.about-page .kid-ezra{ border-color: rgba(255,59,48,.32); }
.about-page .kid-abi{ border-color: rgba(255,79,163,.30); }
.about-page .kid-hannah{ border-color: rgba(41,166,223,.30); }

/* subtle glow per kid */
.about-page .kid-art::before{
  content:"";
  position:absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  opacity: .9;
  z-index: 0;
  pointer-events:none;
}

.about-page .kid-ezra .kid-art::before{
  background: radial-gradient(circle, rgba(255,59,48,.22), transparent 62%);
}
.about-page .kid-abi .kid-art::before{
  background: radial-gradient(circle, rgba(255,79,163,.22), transparent 62%);
}
.about-page .kid-hannah .kid-art::before{
  background: radial-gradient(circle, rgba(41,166,223,.22), transparent 62%);
}

/* =========================
   HOME: Hero punch + full-width promise band
   ========================= */

/* Make home hero layout single-column (hero then promise band) */
.home-page .hero-grid.home-hero-grid{
  grid-template-columns: 1fr;
}

/* Tighten hero card vertical space */
.home-page .home-hero.hero-card{
  padding-top: 22px;
  padding-bottom: 22px;
}

/* Lift the kids so they bust out of the top */
@media (min-width: 920px){
  .home-page .home-hero-art{
    margin-right: -90px;  /* a bit more punch right */
    margin-top: -44px;    /* bust out top */
    padding-right: 10px;
  }

  .home-page .home-hero-art img{
    max-width: 112%;
  }
}

/* Full-width promise band (not a card) */
.home-page .home-promise-wide{
  margin-top: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

.home-page .home-promise-wide::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 260px at 14% 20%, rgba(41,166,223,.12), transparent 60%),
    radial-gradient(700px 260px at 86% 40%, rgba(255,79,163,.10), transparent 60%);
  pointer-events:none;
}

.home-page .home-promise-head{
  position: relative;
  display:flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.home-page .home-promise-head h3{
  margin: 0 0 6px;
}

.home-page .home-promise-head p{
  margin: 0;
  color: var(--muted);
}

/* 2-column checklist on desktop */
.home-page .home-promise-list{
  position: relative;
  margin-top: 10px;
}

@media (min-width: 920px){
  .home-page .home-promise-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }
}

.home-page .home-promise-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   HOME HERO: true top bust + less bottom space
   (override prior absolute-position attempt)
   ========================= */

.home-page .home-hero.hero-card{
  padding-top: 14px;      /* tighter top */
  padding-bottom: 12px;   /* tighter bottom */
  overflow: visible !important;
  position: relative;
}

/* Undo absolute layout (keep art in grid so it stays large) */
@media (min-width: 920px){
  .home-page .home-hero .home-hero-art{
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;

    /* the punch */
    margin-right: -90px;   /* bust out RIGHT */
    margin-top: -110px;    /* bust out TOP */
    align-self: start;
    justify-self: end;
  }

  .home-page .home-hero .home-hero-art img{
    width: min(520px, 46vw); /* keeps it BIG */
    height: auto;
    max-width: none;
    filter: drop-shadow(0 28px 55px rgba(0,0,0,.55));
  }
}

/* Reduce extra “air” in the lower part of the hero */
.home-page .home-hero .hero-actions{ margin-top: 14px; }
.home-page .home-hero .pills{ margin-top: 10px; gap: 10px; }
.home-page .home-hero .hero-sub{ margin-bottom: 10px; }

/* Remove extra space where badge used to be */
.home-page .home-hero .hero-title{
  margin-top: 0;
  letter-spacing: .5px;
}

/* =========================
   ABOUT: Vibe strip (no cards)
   ========================= */

.about-page .vibe-strip{
  padding-top: 6px;
}

.about-page .vibes-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 920px){
  .about-page .vibes-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }
}

/* Each vibe block uses the same baseline */
.about-page .vibe{
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 360px; /* ensures bottom text lines up across columns */
}

/* Art zone: consistent height across all three, solves alignment */
.about-page .vibe-art{
  height: 210px;               /* fixed zone aligns everything */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  margin-top: -10px;           /* slight lift */
}

.about-page .vibe-art img{
  width: 320px;
  max-width: 120%;
  height: auto;
  transform: translateY(-18px);
  filter: drop-shadow(0 26px 52px rgba(0,0,0,.55));
}

/* Per-vibe tuning for different PNG shapes */
@media (min-width: 920px){
  .about-page .vibe-red .vibe-art img{ width: 330px; transform: translateY(-26px); }
  .about-page .vibe-pink .vibe-art img{ width: 360px; transform: translateY(-18px); }
  .about-page .vibe-blue .vibe-art img{ width: 340px; transform: translateY(-20px); }
}

.about-page .vibe-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  width: fit-content;
  margin-top: 10px;
  font-weight: 600;
  font-size: 13px;
}

/* Tiny color dot like your pills */
.about-page .vibe-pill::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent, #29A6DF);
  box-shadow: 0 0 0 3px rgba(255,255,255,.07);
}

/* Set per-vibe accent */
.about-page .vibe-red{ 
    --accent: #FF3B30; }
.about-page .vibe-pink{
    --accent: #FF4FA3; }
.about-page .vibe-blue{
    --accent: #29A6DF; }

.about-page .vibe h3{
  margin: 12px 0 8px;
}

.about-page .vibe p{
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.about-page .vibe-strip{
  margin-top: 50px;
}

@media (min-width: 920px){
  .about-page .vibe-strip{
    margin-top: 120px;
  }
}

/* =========================
   ABOUT: Vibe strip — FORCE mobile card + pill
   (Safari + specificity resistant)
   ========================= */

@media (max-width: 919px){

  /* Make each vibe look like a glass card */
  .vibe-strip .vibe{
    display: block !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.045) !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.45) !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  /* Art zone control so Ezra doesn't take over the whole screen */
  .vibe-strip .vibe-art{
    height: 200px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    overflow: visible !important;
    margin: 0 !important;
  }

  .vibe-strip .vibe-art img{
    width: min(340px, 92vw) !important;
    height: auto !important;
    transform: translateY(-8px) !important;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,.55)) !important;
  }

  /* ALWAYS render the vibe label as a pill */
  .vibe-strip .vibe-pill{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    width: fit-content !important;
    margin-top: 12px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: rgba(255,255,255,.92) !important;
  }

  .vibe-strip .vibe-pill::before{
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: var(--accent, #29A6DF) !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,.07) !important;
  }

  
  /* Accent colors */
  .vibe-strip .vibe-red  { --accent: #FF3B30 !important; }
  .vibe-strip .vibe-pink { --accent: #FF4FA3 !important; }
  .vibe-strip .vibe-blue { --accent: #29A6DF !important; }
}

/* =========================
   ABOUT: mobile — remove outer card so art isn't clipped
   ========================= */
@media (max-width: 919px){

  /* Let the vibe wrapper be transparent + un-clipped */
  .about-page .vibe-strip .vibe{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-top: 60px;
  }

  /* Keep art big and free */
  .about-page .vibe-strip .vibe-art{
    height: 240px; /* tweak 220–260 if needed */
    margin: 0 0 10px;
    overflow: visible;
    height: 260px;
  }

  .about-page .vibe-strip .vibe-art img{
    width: min(360px, 94vw);
    transform: translateY(-2px);
  }

  /* New inner “card” just for the text/pill */
  .about-page .vibe-strip .vibe-body{
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    box-shadow: 0 18px 55px rgba(0,0,0,.35);
    padding: 16px;
  }
  
    /* Add extra vertical spacing ONLY to Abi & Hannah */
  .about-page .vibe-strip .vibe:nth-child(2),
  .about-page .vibe-strip .vibe:nth-child(3){
    margin-top: 120px;
  }
}

/* =========================
   Mobile menu click fix (Series/Parents overlay issue)
   ========================= */

/* Keep header above all page content */
.site-header,
header {
  position: relative;
  z-index: 9999;
}

/* Make sure the actual tap targets are on top */
.menu-toggle,
.hamburger,
.nav-toggle,
.mobile-toggle,
#menuToggle,
#hamburger,
button[aria-controls="mobile-menu"] {
  position: relative;
  z-index: 10000;
}

/* Common overlay culprits: pseudo elements and decorative layers */
.hero::before,
.hero::after,
.section::before,
.section::after,
.card::before,
.card::after {
  pointer-events: none;
}

/* If Series/Parents use big images/graphics near top, never let them steal taps */
.hero img,
.section img {
  pointer-events: none;
}
/* ===== Promise Split Layout ===== */

.home-promise-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.home-promise-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-promise-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  .home-promise-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-promise-image {
    order: -1; /* image above text on tablet/mobile */
  }
}

/* Mobile */
@media (max-width: 640px) {
  .home-promise-image img {
    max-width: 320px;
  }
}


/* =========================
   Clean Gaming – Promise Band FINAL
   ========================= */

/* Remove inherited section padding just for this block */
.clean-gaming-page .section--promise {
  padding-top: 32px;
  padding-bottom: 48px;
}

/* Ensure no extra spacing from section defaults */
.clean-gaming-page .section--promise.section {
  padding-top: 32px;
}

/* Tighten hero-to-promise spacing */
.clean-gaming-page .hero + .section--promise {
  margin-top: 18px;
  margin-bottom: 0;
}

@media (min-width: 920px) {
  .clean-gaming-page .hero + .section--promise {
    margin-top: -40px;
    margin-bottom: 0;
  }
}