/* ==========================================================================
   PAGES — layered on top of styles.css. The athlete's official channels.

   The hero puts the fighter under a red rim with his networks drifting round
   him; below, the Dialed Moods deal in gold and one tile per network, each
   lighting up in its own colours. Nothing is written behind anything else.
   ========================================================================== */

.page-pages{
  --gold:#d9b45f;
  --gold-hi:#f6e3a1;
  --gold-lo:#a9812f;
}
body.page-pages{ height:auto; min-height:100%; overflow-x:hidden; overflow-y:auto; overscroll-behavior:auto; }
.sprite{ position:absolute; width:0; height:0; overflow:hidden; }

/* The header turns solid once the page moves, so nothing shows through its letters. */
.page-pages .hud--top{ transition:background .4s var(--ease), padding .4s var(--ease); }
.page-pages.is-scrolled .hud--top{
  padding-top:12px; padding-bottom:12px;
  background:rgba(5,5,5,.9); box-shadow:0 1px 0 rgba(242,243,245,.07);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
}
.page-pages .hud--top .nav{ margin-left:auto; }
.dash{ display:inline-block; width:34px; height:1px; background:var(--blood-lift); }

/* ------------------------------------------------------------------ hero */

.hero{
  position:relative; overflow:hidden;
  min-height:min(100svh, 1000px);
  display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
  align-items:end; column-gap:clamp(20px, 3vw, 60px);
  padding:clamp(96px, 12vh, 130px) var(--gut) 0;
  background:
    radial-gradient(42% 62% at 74% 58%, rgba(210,10,10,.4), transparent 72%),
    radial-gradient(60% 50% at 0% 100%, rgba(210,10,10,.1), transparent 70%),
    var(--ink);
}
.hero::after{ /* the floor the fighter stands on */
  content:""; position:absolute; left:0; right:0; bottom:0; height:22%;
  background:linear-gradient(to top, var(--ink), transparent);
  pointer-events:none; z-index:1;
}
.hero__copy{ position:relative; z-index:2; align-self:center; padding-bottom:clamp(40px, 8vh, 100px); }
.hero__title{
  margin:.22em 0 .3em;
  font-family:var(--display); font-weight:900; text-transform:uppercase;
  font-size:clamp(4.2rem, 10.6vw, 12rem); line-height:.95; letter-spacing:.004em;
}
.hero__row{ display:block; animation:rise 1.1s var(--ease) both; }
.hero__row + .hero__row{ animation-delay:.12s; }
.hero__title em{ font-style:normal; color:var(--blood-lift); text-shadow:0 0 48px rgba(255,38,38,.35); }
.hero .eyebrow{ animation:rise .9s var(--ease) both; }
.hero__lede{ max-width:38ch; margin:0 0 clamp(22px, 3vh, 32px); color:var(--bone-dim); font-size:clamp(.95rem, 1.1vw, 1.1rem); line-height:1.6; animation:rise 1s .22s var(--ease) both; }
.hero__handle{
  display:inline-flex; align-items:center; gap:.8em;
  padding:.95em 1.5em; border:1px solid rgba(242,243,245,.3); border-radius:999px;
  font-family:var(--label); font-weight:600; font-size:.78rem; letter-spacing:.24em;
  color:var(--bone); text-decoration:none;
  transition:background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  animation:rise 1s .3s var(--ease) both;
}
.hero__handle:hover{ background:var(--bone); color:var(--ink); border-color:var(--bone); }
.hero__handle:focus-visible{ outline:2px solid var(--blood-lift); outline-offset:3px; }
@keyframes rise{ from{ opacity:0; transform:translateY(34px); } }

.hero__fighter{ position:relative; align-self:stretch; display:flex; justify-content:center; align-items:flex-end; min-height:0; }
.hero__fighter picture{ display:block; height:100%; max-height:calc(min(100svh, 1000px) - clamp(96px, 12vh, 130px)); animation:lift 1.4s .1s var(--ease) both; }
.hero__fighter img{
  display:block; height:100%; width:auto; max-width:100%; object-fit:contain; object-position:bottom;
  /* a red rim and a hot glow behind him, like the FIGHTER page */
  filter:drop-shadow(0 0 1.5px rgba(255,70,70,.95)) drop-shadow(0 0 26px rgba(210,10,10,.55)) brightness(.92) contrast(1.06);
}
@keyframes lift{ from{ opacity:0; transform:translateY(40px) scale(.98); } }

/* His networks drift round him like notifications. */
.orbit{ position:absolute; inset:0; margin:0; padding:0; list-style:none; pointer-events:none; }
.orbit__dot{
  --c:#fff;
  position:absolute; display:grid; place-items:center;
  width:clamp(44px, 4.4vw, 64px); aspect-ratio:1; border-radius:50%;
  background:var(--c); color:#fff;
  box-shadow:0 14px 34px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12) inset;
  animation:bob 5.6s ease-in-out infinite, pop .7s var(--ease) both;
}
.orbit__dot svg{ width:46%; height:46%; fill:currentColor; }
.orbit__dot--youtube{ --c:#ff0033; left:6%; top:18%; animation-delay:0s, .5s; }
.orbit__dot--instagram{ --c:linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); left:80%; top:10%; animation-delay:-1.2s, .6s; }
.orbit__dot--tiktok{ --c:#111; left:88%; top:44%; animation-delay:-2.4s, .7s; box-shadow:-3px 0 0 #25f4ee, 3px 0 0 #fe2c55, 0 14px 34px -10px rgba(0,0,0,.8); }
.orbit__dot--facebook{ --c:#0866ff; left:0; top:52%; animation-delay:-3.1s, .8s; }
.orbit__dot--x{ --c:#f2f3f5; color:#050505; left:14%; top:78%; animation-delay:-4s, .9s; }
.orbit__dot--threads{ --c:#1b1b1d; left:76%; top:74%; animation-delay:-.7s, 1s; }
.orbit__dot--instagram{ background:linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
@keyframes bob{ 0%, 100%{ translate:0 0; } 50%{ translate:0 -14px; } }
@keyframes pop{ from{ opacity:0; scale:.4; } }

/* ----------------------------------------------------------------- links */

.links{ max-width:1440px; margin:0 auto; padding:clamp(56px, 9vh, 110px) var(--gut) clamp(90px, 12vh, 140px); }
.grid{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:clamp(10px, 1.1vw, 16px); }
.tile-wrap{ min-width:0; display:flex; }
.tile-wrap--deal{ grid-column:span 2; }
[data-reveal]{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in{ opacity:1; transform:none; }

/* The Dialed Moods deal, in gold. */
.deal{
  position:relative; isolation:isolate; overflow:hidden;
  flex:1; display:grid; grid-template-columns:minmax(0, 1fr) auto; grid-template-rows:auto auto 1fr auto; column-gap:24px;
  min-height:clamp(300px, 30vw, 380px); padding:clamp(24px, 2.6vw, 40px);
  border-radius:12px; border:1px solid rgba(217,180,95,.45);
  background:
    radial-gradient(80% 90% at 100% 100%, rgba(217,180,95,.26), transparent 70%),
    radial-gradient(60% 70% at 0% 0%, rgba(217,180,95,.1), transparent 70%),
    #0e0c08;
  color:var(--bone); text-decoration:none;
  transition:transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.deal::after{ /* a sheen that sweeps across on hover */
  content:""; position:absolute; inset:-40% -60%; z-index:-1;
  background:linear-gradient(105deg, transparent 42%, rgba(246,227,161,.16) 50%, transparent 58%);
  transform:translateX(-60%); transition:transform 1.1s var(--ease);
}
.deal:hover{ transform:translateY(-4px); border-color:var(--gold); box-shadow:0 30px 70px -30px rgba(217,180,95,.45); }
.deal:hover::after{ transform:translateX(60%); }
.deal:focus-visible{ outline:2px solid var(--gold-hi); outline-offset:3px; }
.deal__tag{ grid-column:1 / -1; font-family:var(--label); font-weight:600; font-size:.66rem; letter-spacing:.3em; color:var(--gold); }
.deal__logo{ grid-column:1; display:block; margin-top:18px; max-width:min(380px, 100%); }
.deal__logo img{ display:block; width:100%; height:auto; filter:drop-shadow(0 10px 22px rgba(0,0,0,.6)); }
.deal__off{
  grid-column:2; grid-row:2 / 4; align-self:center; justify-self:end;
  font-family:var(--display); font-weight:900; font-size:clamp(3rem, 5.4vw, 6.4rem); line-height:.95; text-align:right;
  color:var(--bone);
}
.deal__off b{
  display:block; font-size:1.55em; font-weight:900;
  background:linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 22px rgba(217,180,95,.25));
}
.deal__line{ grid-column:1; align-self:end; max-width:40ch; margin-top:18px; font-size:.92rem; line-height:1.55; color:var(--bone-dim); }
.deal__go{
  grid-column:1 / -1; justify-self:start; margin-top:20px;
  display:inline-flex; align-items:center; gap:.7em;
  padding:1em 1.8em; border-radius:999px;
  background:linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); color:#161005;
  font-family:var(--label); font-weight:600; font-size:.74rem; letter-spacing:.24em;
  box-shadow:0 10px 30px -12px rgba(217,180,95,.7);
}

/* One tile per network: dark at rest, its own colours on hover. */
.social{
  --brand:#fff; --fill:var(--brand); --on:#fff;
  position:relative; isolation:isolate; overflow:hidden;
  flex:1; display:grid; grid-template-columns:minmax(0, 1fr) auto; grid-template-rows:auto 1fr auto auto;
  min-height:clamp(210px, 17vw, 250px); padding:clamp(20px, 2vw, 28px);
  border-radius:12px; border:1px solid rgba(242,243,245,.09);
  background:#0c0c0e; color:var(--bone); text-decoration:none;
  transition:transform .5s var(--ease), border-color .4s var(--ease), color .35s var(--ease);
}
.social::before{ content:""; position:absolute; inset:0; z-index:-1; background:var(--fill); opacity:0; transition:opacity .45s var(--ease); }
.social::after{ /* a soft light that follows the pointer (src/pages/main.js) */
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 60%);
}
.social__icon{ grid-column:1; grid-row:1; width:clamp(38px, 3.2vw, 48px); height:clamp(38px, 3.2vw, 48px); fill:var(--brand); transition:fill .35s var(--ease), transform .5s var(--ease); }
.social__go{ grid-column:2; grid-row:1; align-self:start; font-family:var(--label); font-weight:600; font-size:.64rem; letter-spacing:.24em; color:var(--bone-dim); transition:color .35s var(--ease); }
.social__name{ grid-column:1 / -1; grid-row:3; font-family:var(--display); font-weight:900; font-size:clamp(2rem, 2.8vw, 3rem); line-height:.9; letter-spacing:.01em; }
.social__handle{ grid-column:1 / -1; grid-row:4; margin-top:.55em; font-family:var(--label); font-weight:500; font-size:.78rem; letter-spacing:.1em; color:var(--bone-dim); transition:color .35s var(--ease); overflow-wrap:anywhere; }
.social:hover, .social:focus-visible{ transform:translateY(-4px); border-color:transparent; color:var(--on); }
.social:hover::before, .social:focus-visible::before{ opacity:1; }
.social:hover .social__icon, .social:focus-visible .social__icon{ fill:var(--on); transform:scale(1.08) rotate(-4deg); }
.social:hover .social__go, .social:hover .social__handle,
.social:focus-visible .social__go, .social:focus-visible .social__handle{ color:var(--on); }
.social:focus-visible{ outline:2px solid var(--bone); outline-offset:3px; }

.social--youtube{ --brand:#ff0033; }
.social--instagram{ --brand:#e1306c; --fill:linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.social--tiktok{ --brand:#25f4ee; --fill:linear-gradient(135deg, #25f4ee -30%, #0b0b0d 38%, #0b0b0d 62%, #fe2c55 130%); }
.social--facebook{ --brand:#2d7dff; --fill:#0866ff; }
.social--x{ --brand:#f2f3f5; --fill:#f2f3f5; --on:#050505; }
.social--threads{ --brand:#f2f3f5; --fill:linear-gradient(135deg, #f2f3f5, #a7a7ae); --on:#050505; }
.social--onlyfans{ --brand:#00aff0; }
.social--onlyfans .social__go{ color:#00aff0; }

/* ------------------------------------------------------------------ foot */

.foot{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 30px;
  padding:36px var(--gut) calc(36px + env(safe-area-inset-bottom));
  border-top:1px solid rgba(242,243,245,.07);
}
.foot__mark{ margin:0; font-family:var(--display); font-weight:800; font-size:1.1rem; letter-spacing:.14em; }
.foot__mark em{ font-style:normal; color:var(--blood-lift); margin-left:.35em; }
.foot__fine{ margin:0; max-width:64ch; color:var(--bone-faint); font-size:.8rem; line-height:1.55; }

/* ------------------------------------------------------------ age check */

.gate{
  width:min(460px, calc(100vw - 32px)); padding:clamp(26px, 4vw, 40px);
  border:1px solid rgba(0,175,240,.4); border-radius:14px;
  background:#0b0d10; color:var(--bone); text-align:center;
}
.gate[open]{ animation:gate-in .45s var(--ease); }
.gate::backdrop{ background:rgba(0,0,0,.78); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
@keyframes gate-in{ from{ opacity:0; transform:translateY(20px) scale(.97); } }
.gate__badge{
  display:inline-grid; place-items:center; width:74px; height:74px; margin:0 auto 14px; border-radius:50%;
  border:2px solid #00aff0; color:#00aff0;
  font-family:var(--display); font-weight:900; font-size:1.8rem;
}
.gate__title{ margin:0; font-family:var(--display); font-weight:900; font-size:2.4rem; line-height:.9; }
.gate__text{ margin:.9em auto 1.5em; max-width:34ch; color:var(--bone-dim); font-size:.92rem; line-height:1.55; }
.gate__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.gate .btn{ cursor:pointer; font-family:var(--label); background:transparent; gap:.6em; }
.gate .btn--solid{ background:#00aff0; border-color:#00aff0; color:#04121a; }
.gate .btn--solid:hover{ background:#3cc6f7; border-color:#3cc6f7; }

/* --------------------------------------------------------------- narrower */

@media (max-width:1100px){
  .grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .tile-wrap--deal{ grid-column:1 / -1; }
}

/* Phones: the copy, then the fighter under it (never behind it); the links as a list. */
@media (max-width:760px), (max-aspect-ratio:4/5){
  .hero{ grid-template-columns:1fr; min-height:0; padding-top:calc(76px + 24px); }
  .hero__copy{ padding-bottom:10px; }
  .hero__title{ font-size:clamp(4rem, 22vw, 7.4rem); }
  .hero__fighter{ height:clamp(360px, 108vw, 560px); }
  .hero__fighter picture{ max-height:none; }
  .orbit__dot{ width:48px; }
}
@media (max-width:760px){
  .page-pages .hud--top{ padding-top:12px; padding-bottom:12px; }
  .grid{ grid-template-columns:1fr; gap:10px; }
  .deal{ grid-template-columns:1fr; grid-template-rows:none; min-height:0; row-gap:4px; }
  .deal__logo{ margin-top:14px; max-width:260px; }
  .deal__off{ grid-column:1; grid-row:auto; justify-self:start; text-align:left; margin-top:14px; font-size:3.2rem; }
  .deal__off b{ display:inline; font-size:1.3em; margin-right:.12em; }
  .deal__line{ margin-top:10px; }
  .deal__go{ justify-self:stretch; justify-content:center; }
  /* each network as a row: mark, name and handle, action */
  .social{ grid-template-columns:auto minmax(0, 1fr) auto; grid-template-rows:auto auto; column-gap:16px; min-height:0; align-items:center; padding:16px 18px; border-left:3px solid var(--brand); }
  .social__icon{ grid-column:1; grid-row:1 / 3; width:36px; height:36px; }
  .social__name{ grid-column:2; grid-row:1; font-size:1.7rem; }
  .social__handle{ grid-column:2; grid-row:2; margin-top:.2em; font-size:.72rem; }
  .social__go{ grid-column:3; grid-row:1 / 3; align-self:center; }
  .social:hover{ transform:none; }
}

/* A phone held sideways: the fighter beside the copy, smaller. */
@media (orientation:landscape) and (max-height:520px){
  .hero{ min-height:0; padding-top:76px; }
  .hero__title{ font-size:clamp(3rem, 16vh, 5rem); }
  .hero__fighter picture{ max-height:calc(100svh - 76px); }
}

@media (prefers-reduced-motion:reduce){
  .hero__row, .hero .eyebrow, .hero__lede, .hero__handle, .hero__fighter picture, .orbit__dot, .gate[open]{ animation:none; }
  [data-reveal]{ opacity:1; transform:none; transition:none; }
}
