/* ==========================================================================
   YonoRummy Game — "The Royal Card Room"
   pages.css — hero, app mockup, sections, library, details, page systems
   ========================================================================== */

/* ===============================================================
   HERO — "Take Your Seat"
   =============================================================== */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(90% 70% at 78% 22%, rgba(30, 122, 130, .30), transparent 62%),
    radial-gradient(70% 60% at 12% 78%, rgba(20, 84, 61, .38), transparent 65%),
    linear-gradient(165deg, #06221A 0%, #0B3D2E 42%, #072B31 78%, #04171B 100%);
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 5px);
}
.hero-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  grid-template-areas:
    "lede   mock"
    "actions mock";
  gap: clamp(1.2rem, 3vw, 2.2rem) clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.hero-lede { grid-area: lede; align-self: end; }
.mockup-stage { grid-area: mock; }
.hero-actions { grid-area: actions; align-self: start; }

/* Ambient breathing glow behind hero */
.hero-lamp {
  position: absolute;
  width: 62vw; height: 62vw;
  max-width: 780px; max-height: 780px;
  right: -12%; top: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 122, 130, .40) 0%, rgba(23, 94, 100, .14) 44%, transparent 72%);
  filter: blur(46px);
  animation: lampBreathe 8.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
.hero-lamp--2 {
  left: -16%; top: auto; bottom: -22%;
  background: radial-gradient(circle, rgba(201, 162, 39, .18) 0%, transparent 68%);
  animation-delay: -3.6s;
}
@keyframes lampBreathe {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.09); }
}

/* Headline reveal via gold shimmer wipe */
.hero h1 {
  margin-bottom: .9rem;
  line-height: 1.06;
  font-size: clamp(2.05rem, 4.3vw, 3.35rem);
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineRise .95s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: .25s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .42s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .58s; }
@keyframes lineRise { to { transform: translateY(0); } }

.wipe { position: relative; display: inline-block; }
.wipe::after {
  content: "";
  position: absolute;
  inset: -6% -4%;
  background: linear-gradient(100deg, transparent 20%, rgba(247, 235, 194, .55) 48%, transparent 76%);
  transform: translateX(-115%);
  animation: goldWipe 2.6s var(--ease-out) .8s forwards;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes goldWipe { to { transform: translateX(120%); } }

.hero-sub {
  font-size: clamp(.97rem, 1.35vw, 1.06rem);
  line-height: 1.68;
  color: var(--ink-mut);
  max-width: 540px;
  margin-bottom: 1.35rem;
  animation: fadeUp .9s var(--ease-out) .72s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-eyebrow { animation: fadeUp .8s var(--ease-out) .12s both; }
.hero .btn-row { animation: fadeUp .9s var(--ease-out) 1.05s both; }
.hero-trust { animation: fadeUp .9s var(--ease-out) 1.25s both; }

/* No JS: skip the choreography entirely, show the hero as-is */
html:not(.js) .hero h1 .line > span,
html:not(.js) .hero-eyebrow,
html:not(.js) .hero-sub,
html:not(.js) .hero .bonus-plaque,
html:not(.js) .hero .btn-row,
html:not(.js) .hero-trust { animation: none !important; transform: none !important; opacity: 1 !important; }
html:not(.js) .hero .wipe::after { display: none; }

/* Hold the hero choreography until the card-flip loader has cleared */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line > span,
  .hero .wipe::after,
  .hero-eyebrow,
  .hero-sub,
  .hero .bonus-plaque,
  .hero .btn-row,
  .hero-trust {
    animation-play-state: paused;
  }
  body.ready .hero h1 .line > span,
  body.ready .hero .wipe::after,
  body.ready .hero-eyebrow,
  body.ready .hero-sub,
  body.ready .hero .bonus-plaque,
  body.ready .hero .btn-row,
  body.ready .hero-trust {
    animation-play-state: running;
  }
}

/* Bonus plaque — ornate gold card border */
.bonus-plaque {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.25rem 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(201, 162, 39, .5);
  background: linear-gradient(140deg, rgba(11, 61, 46, .85), rgba(6, 39, 43, .9));
  box-shadow: var(--sh-2), inset 0 0 34px rgba(201, 162, 39, .08);
  margin-bottom: 1.4rem;
  max-width: 500px;
  overflow: hidden;
  animation: fadeUp .9s var(--ease-out) .88s both;
}
.bonus-plaque::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 162, 39, .26);
  border-radius: calc(var(--r-lg) - 5px);
  pointer-events: none;
}
.bonus-plaque-ico {
  flex: none;
  width: 60px; height: 60px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(201, 162, 39, .28), rgba(12, 58, 63, .6));
  border: 1px solid rgba(201, 162, 39, .45);
  color: var(--gd-200);
  font-size: 1.7rem;
}
.bonus-plaque-txt { min-width: 0; }
.bonus-plaque .k {
  display: block;
  font-family: var(--f-royal);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gd-400);
  margin-bottom: .1rem;
}
.bonus-amount {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.2vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  letter-spacing: -.02em;
}
.bonus-plaque .s { font-size: .82rem; color: var(--ink-mut); display: block; margin-top: .25rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201, 162, 39, .18);
}
.hero-trust div { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-mut); }
.hero-trust svg { width: 17px; height: 17px; color: var(--gd-400); flex: none; }

/* ---------------------------------------------------------------
   APP MOCKUP — floating premium phone
   --------------------------------------------------------------- */
.mockup-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  perspective: 1400px;
}
.mockup-halo {
  position: absolute;
  width: 118%; height: 88%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 122, 130, .40), rgba(201, 162, 39, .10) 45%, transparent 70%);
  filter: blur(40px);
  animation: lampBreathe 7s ease-in-out infinite;
}
.mockup-ring {
  position: absolute;
  width: 420px; height: 420px;
  max-width: 92%;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .22);
  animation: ringSpin 26s linear infinite;
}
.mockup-ring::before {
  content: "♠";
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  color: var(--gd-500);
  font-size: 1.1rem;
  background: #072B31;
  padding: 0 6px;
}
.mockup-ring--2 {
  width: 330px; height: 330px;
  border-style: dashed;
  border-color: rgba(201, 162, 39, .14);
  animation-direction: reverse;
  animation-duration: 34s;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.phone {
  position: relative;
  z-index: 4;
  width: clamp(238px, 25vw, 306px);
  aspect-ratio: 9 / 19.2;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(155deg, #F0D98C 0%, #A8851F 18%, #2A2417 42%, #1A1710 60%, #C9A227 88%, #6E5615 100%);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, .62),
    0 0 60px rgba(30, 122, 130, .30),
    inset 0 0 0 1px rgba(247, 235, 194, .3);
  animation: phoneFloat 6.5s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
}
.mockup-stage:hover .phone { transform: rotateY(-7deg) rotateX(3deg) scale(1.02); }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-16px) rotate(1.2deg); }
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #04170E;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 20px;
  background: #0A0A0A;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-notch::after {
  content: "";
  position: absolute;
  right: 16px; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #17323a;
  box-shadow: inset 0 0 3px #000;
}
.phone-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .13) 44%, rgba(255, 255, 255, .04) 52%, transparent 66%);
  pointer-events: none;
  animation: glareRun 7s ease-in-out infinite;
}
@keyframes glareRun {
  0%, 60% { transform: translateX(-60%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(60%); opacity: 0; }
}
.phone-side {
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--gd-600), var(--gd-800));
}
.phone-side--a { top: 128px; height: 58px; }
.phone-side--b { top: 200px; height: 34px; }

/* Floating cards + chips orbiting the phone */
.float-card {
  position: absolute;
  z-index: 6;
  width: 74px; height: 104px;
  border-radius: 9px;
  background: linear-gradient(150deg, #FDFBF3, #E4E0D2);
  border: 1px solid rgba(201, 162, 39, .6);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-family: var(--f-display);
  animation: cardBob 5.5s ease-in-out infinite;
}
.float-card b {
  position: absolute;
  top: 5px; left: 7px;
  font-size: .72rem;
  font-family: var(--f-body);
  font-weight: 700;
  letter-spacing: 0;
}
.float-card--red { color: #B3202F; }
.float-card--dark { color: #12271D; }
.fc-1 { top: 6%; left: -4%; transform: rotate(-16deg); animation-delay: -.4s; }
.fc-2 { bottom: 12%; left: -7%; transform: rotate(12deg); animation-delay: -2.1s; }
.fc-3 { top: 16%; right: -5%; transform: rotate(15deg); animation-delay: -3.3s; }
@keyframes cardBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.float-chip {
  position: absolute;
  z-index: 6;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: conic-gradient(var(--gd-600) 0 25%, var(--em-700) 0 50%, var(--gd-600) 0 75%, var(--em-700) 0);
  border: 3px solid var(--gd-300);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 0 0 6px rgba(4, 23, 14, .55);
  display: grid; place-items: center;
  font-family: var(--f-royal);
  font-size: .62rem;
  font-weight: 700;
  color: var(--gd-100);
  animation: chipSpin 9s linear infinite, cardBob 6s ease-in-out infinite;
}
.chip-1 { bottom: 6%; right: 2%; animation-delay: -1.2s, -1.2s; }
@keyframes chipSpin { to { rotate: 360deg; } }

/* Live pill floating on mockup */
.mock-tag {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(4, 23, 14, .88);
  border: 1px solid rgba(201, 162, 39, .45);
  backdrop-filter: blur(8px);
  font-size: .72rem;
  color: var(--ink);
  box-shadow: var(--sh-2);
  white-space: nowrap;
  animation: cardBob 6.5s ease-in-out infinite;
}
.mock-tag b { color: var(--gd-200); font-family: var(--f-display); font-size: .88rem; }
.mock-tag--tl { top: 4%; right: 4%; animation-delay: -1.8s; }
.mock-tag--bl { bottom: 20%; left: -8%; animation-delay: -3.9s; }

/* ===============================================================
   HOUSE STATS STRIP
   =============================================================== */
.stats-strip {
  background: linear-gradient(90deg, var(--em-900), var(--tl-900) 50%, var(--em-900));
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  position: relative;
  overflow: hidden;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat { position: relative; padding: .4rem 1rem; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 12%;
  width: 1px; height: 76%;
  background: linear-gradient(transparent, rgba(201, 162, 39, .35), transparent);
}
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  display: block;
}
.stat-lbl {
  font-family: var(--f-royal);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mut);
  margin-top: .35rem;
  display: block;
}

/* ===============================================================
   CATEGORY TABLES — "Choose Your Table"
   =============================================================== */
.tables-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.8rem, 1.8vw, 1.3rem);
}
.table-card {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hair);
  background: linear-gradient(165deg, rgba(11, 61, 46, .8), rgba(6, 39, 43, .92));
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem 1.15rem;
  transition: transform .55s var(--ease), border-color .4s, box-shadow .55s;
  isolation: isolate;
}
.table-card--hero { grid-column: span 3; grid-row: span 2; min-height: 380px; padding: 2rem 1.8rem; }
.table-card--wide { grid-column: span 3; }
.table-card--half { grid-column: span 2; }
.table-card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .34;
  transition: transform .9s var(--ease), opacity .5s;
}
.table-card-bg img { width: 100%; height: 100%; object-fit: cover; }
.table-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 23, 14, .25) 0%, rgba(4, 23, 14, .78) 55%, rgba(4, 23, 14, .95) 100%);
}
.table-card:hover { transform: translateY(-8px); border-color: var(--hair-2); box-shadow: var(--sh-3), 0 0 40px rgba(30, 122, 130, .32); }
.table-card:hover .table-card-bg { transform: scale(1.09); opacity: .5; }
.table-card h3 { margin-bottom: .35rem; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.table-card--hero h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.table-card p { font-size: .86rem; color: var(--ink-mut); margin: 0 0 .9rem; }
.table-card--hero p { font-size: .98rem; max-width: 420px; }
.table-card .tc-count {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gd-300);
  border: 1px solid rgba(201, 162, 39, .35);
  background: rgba(4, 23, 14, .7);
  padding: .25rem .6rem;
  border-radius: 999px;
}
.tc-suit {
  position: absolute;
  top: 1.1rem; left: 1.15rem;
  font-size: 1.5rem;
  color: var(--gd-500);
  opacity: .75;
}
.table-card--hero .tc-suit { font-size: 2.3rem; }
.tc-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gd-300);
  font-weight: 600;
}
.tc-link::after { content: "→"; transition: transform .35s var(--ease); }
.table-card:hover .tc-link::after { transform: translateX(5px); }

/* ===============================================================
   FANNED HAND CAROUSEL
   =============================================================== */
.fan-wrap { position: relative; }
.fan-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2.4rem .3rem 1.6rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fan-rail::-webkit-scrollbar { display: none; }
.fan-item {
  flex: 0 0 clamp(168px, 20vw, 210px);
  scroll-snap-align: center;
  transition: transform .6s var(--ease-out), filter .5s;
  transform-origin: bottom center;
}
/* Fan spread */
.fan-rail .fan-item:nth-child(odd) { transform: rotate(-2.6deg) translateY(6px); }
.fan-rail .fan-item:nth-child(even) { transform: rotate(2.6deg) translateY(-4px); }
.fan-wrap:hover .fan-item:nth-child(odd) { transform: rotate(-5.5deg) translateY(0); }
.fan-wrap:hover .fan-item:nth-child(even) { transform: rotate(5.5deg) translateY(-12px); }
.fan-item:hover { transform: rotate(0deg) translateY(-20px) scale(1.06) !important; z-index: 6; }
.fan-nav { display: flex; gap: .6rem; justify-content: center; margin-top: 1.2rem; }
.fan-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hair-2);
  background: rgba(11, 61, 46, .6);
  color: var(--gd-300);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.1rem;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.fan-btn:hover { transform: translateY(-3px); box-shadow: var(--glow-teal); background: rgba(20, 84, 61, .7); color: var(--gd-100); }

/* ===============================================================
   DEALT STEPS — "Join the Table in 4 Deals"
   =============================================================== */
.deal-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  position: relative;
}
.deal-steps::before {
  content: "";
  position: absolute;
  top: 54px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .5) 12%, rgba(201, 162, 39, .5) 88%, transparent);
  z-index: 0;
}
.deal-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.6rem 1.2rem;
  border-radius: var(--r-card);
  border: 1px solid var(--hair);
  background: linear-gradient(165deg, rgba(11, 61, 46, .75), rgba(6, 39, 43, .9));
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.deal-step:hover { transform: translateY(-8px) rotate(-1.2deg); border-color: var(--hair-2); box-shadow: var(--sh-2), var(--glow-teal); }
.deal-num {
  width: 68px; height: 92px;
  margin: 0 auto 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--gd-600);
  background: linear-gradient(150deg, rgba(247, 235, 194, .95), rgba(214, 231, 220, .75));
  color: var(--em-900);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .45);
  position: relative;
  transition: transform .55s var(--ease);
}
.deal-num::before, .deal-num::after {
  position: absolute;
  font-size: .68rem;
  font-weight: 700;
  color: var(--em-700);
}
.deal-num::before { content: attr(data-suit); top: 5px; left: 7px; }
.deal-num::after { content: attr(data-suit); bottom: 5px; right: 7px; transform: rotate(180deg); }
.deal-step:hover .deal-num { transform: rotate(-6deg) translateY(-4px) scale(1.05); }
.deal-step h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.deal-step p { font-size: .9rem; color: var(--ink-mut); margin: 0; }

/* ===============================================================
   SCREENSHOT SLIDER
   =============================================================== */
.shots {
  position: relative;
  padding: 1rem 0 0;
}
.shots-viewport { overflow: hidden; padding: 1.5rem 0; }
.shots-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  transition: transform .8s var(--ease-out);
  will-change: transform;
}
.shot {
  flex: 0 0 auto;
  width: clamp(190px, 22vw, 262px);
  border-radius: 22px;
  padding: 9px;
  background: linear-gradient(155deg, #E3C55F, #8A6D1F 35%, #1A1710 55%, #C9A227 90%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .55);
  transition: transform .6s var(--ease), box-shadow .5s, filter .5s;
  cursor: pointer;
  filter: saturate(.92);
}
.shot img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top center;
  border-radius: 15px;
  background: #04170E;
}
.shot:hover, .shot.is-active {
  transform: translateY(-14px) scale(1.03);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 42px rgba(30, 122, 130, .4);
  filter: saturate(1.06);
}
.shots-ctl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
}
.shots-dots { display: flex; gap: .45rem; align-items: center; }
.shots-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--gd-600);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: width .35s var(--ease), background .35s;
}
.shots-dots button.on { width: 26px; border-radius: 6px; background: var(--grad-gold); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(3, 12, 9, .92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 4vh 1.2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.lightbox.on { opacity: 1; visibility: visible; }
.lightbox img {
  max-height: 88vh;
  width: auto;
  border-radius: 16px;
  border: 1px solid var(--hair-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
.lightbox-x {
  position: absolute;
  top: 3vh; right: 4vw;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hair-2);
  background: rgba(11, 61, 46, .7);
  color: var(--gd-200);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ===============================================================
   OG BANNER SHOWCASE
   =============================================================== */
.og-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, .45);
  box-shadow: var(--sh-3), inset 0 0 0 1px rgba(247, 235, 194, .08);
  background: #04170E;
}
.og-band img { width: 100%; height: auto; display: block; transition: transform 1.2s var(--ease); }
.og-band:hover img { transform: scale(1.03); }
.og-band::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, .25);
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
  z-index: 3;
}
.og-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: linear-gradient(0deg, rgba(4, 23, 14, .95), rgba(4, 23, 14, .6) 55%, transparent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.og-overlay h3 { margin: 0 0 .2rem; font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
.og-overlay p { margin: 0; font-size: .88rem; color: var(--ink-mut); }
.og-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-top: 1.2rem;
}
.og-chip {
  padding: .9rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--hair);
  background: rgba(6, 39, 43, .6);
  text-align: center;
}
.og-chip b { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--gd-200); }
.og-chip span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }

/* ===============================================================
   TESTIMONIAL / ENDORSEMENT CARDS
   =============================================================== */
.endorse { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.endorse-card {
  position: relative;
  padding: 1.8rem 1.5rem 1.5rem;
  border-radius: var(--r-card);
  border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(11, 61, 46, .7), rgba(6, 34, 26, .9));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.endorse-card::before {
  content: "❝";
  position: absolute;
  top: .4rem; right: 1.1rem;
  font-family: var(--f-display);
  font-size: 3.4rem;
  color: var(--gd-600);
  opacity: .22;
  line-height: 1;
}
.endorse-card:hover { transform: translateY(-6px) rotate(-.8deg); border-color: var(--hair-2); box-shadow: var(--sh-2); }
.endorse-stars { color: var(--gd-400); letter-spacing: .18em; font-size: .9rem; margin-bottom: .8rem; }
.endorse-card p { font-size: .95rem; color: var(--ink-soft); font-style: italic; }
.endorse-who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(214, 231, 220, .1); }
.endorse-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gd-600), var(--em-700));
  color: var(--em-950);
  font-family: var(--f-display);
  font-weight: 700;
  border: 1px solid rgba(247, 235, 194, .35);
  flex: none;
}
.endorse-who b { display: block; font-size: .92rem; color: var(--ink); }
.endorse-who span { font-size: .76rem; color: var(--ink-dim); }

/* ===============================================================
   GAMES LIBRARY — "The Floor"
   =============================================================== */
.lib-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  background: rgba(6, 39, 43, .6);
  backdrop-filter: blur(8px);
  margin-bottom: 1.6rem;
}
.lib-search { position: relative; flex: 1 1 260px; min-width: 0; }
.lib-search input {
  width: 100%;
  padding: .8rem 1rem .8rem 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 231, 220, .14);
  background: rgba(4, 23, 14, .6);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: .92rem;
}
.lib-search input:focus { outline: none; border-color: var(--gd-600); box-shadow: 0 0 0 3px rgba(201, 162, 39, .12); }
.lib-search svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--gd-500); }
.lib-sort { display: flex; align-items: center; gap: .6rem; }
.lib-sort label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mut); font-family: var(--f-royal); }
.lib-sort select {
  padding: .65rem 2.2rem .65rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 231, 220, .14);
  background: rgba(4, 23, 14, .6);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: .86rem;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gd-400) 50%), linear-gradient(135deg, var(--gd-400) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.lib-sort select option { background: var(--em-900); }

.tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  margin-bottom: 1.4rem;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: .62rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(11, 61, 46, .45);
  color: var(--ink-mut);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  cursor: pointer;
  white-space: nowrap;
  transition: all .35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--f-body);
}
.tab i { font-style: normal; color: var(--gd-500); }
.tab small { font-size: .68rem; opacity: .7; }
.tab:hover { color: var(--gd-200); border-color: var(--hair-2); transform: translateY(-2px); }
.tab.on {
  background: var(--grad-gold-soft);
  color: var(--em-950);
  border-color: var(--gd-400);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 22px rgba(201, 162, 39, .3);
}
.tab.on i, .tab.on small { color: var(--em-900); opacity: .8; }

.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(.9rem, 1.8vw, 1.4rem);
}
.lib-grid .gcard { animation: flipIn .6s var(--ease-out) both; }
@keyframes flipIn {
  from { opacity: 0; transform: rotateY(-58deg) translateY(20px); }
  to { opacity: 1; transform: none; }
}
.lib-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--ink-mut);
  border: 1px dashed var(--hair);
  border-radius: var(--r-md);
}
.lib-empty span { font-size: 2.6rem; display: block; margin-bottom: .8rem; color: var(--gd-600); }
.lib-count { font-size: .82rem; color: var(--ink-dim); letter-spacing: .08em; }
.lib-more { display: flex; justify-content: center; margin-top: 2.4rem; }

/* ===============================================================
   GAME DETAILS
   =============================================================== */
.gd-hero {
  position: relative;
  padding: clamp(2.6rem, 5vw, 4rem) 0;
  background: linear-gradient(160deg, var(--em-900), var(--tl-900) 60%, var(--em-950));
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}
.gd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .17;
  filter: blur(28px) saturate(1.3);
  transform: scale(1.15);
}
.gd-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.gd-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: center;
}
.gd-art {
  position: relative;
  border-radius: var(--r-lg);
  padding: 10px;
  background: linear-gradient(155deg, #F0D98C, #A8851F 30%, #1A1710 52%, #C9A227 88%);
  box-shadow: var(--sh-3), 0 0 50px rgba(30, 122, 130, .3);
  animation: phoneFloat 7s ease-in-out infinite;
}
.gd-art img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 13px; }
.gd-art .gcard-hot { top: 18px; left: 18px; }
.gd-info h1 { margin-bottom: .5rem; }
.gd-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.gd-spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
  margin: 1.5rem 0;
}
.gd-spec div {
  padding: .85rem .7rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--hair);
  background: rgba(4, 23, 14, .5);
  text-align: center;
}
.gd-spec b { display: block; font-family: var(--f-display); color: var(--gd-200); font-size: 1.08rem; }
.gd-spec span { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }

.gd-tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--hair); margin-bottom: 1.8rem; overflow-x: auto; scrollbar-width: none; }
.gd-tabs::-webkit-scrollbar { display: none; }
.gd-tab {
  flex: none;
  padding: .9rem 1.4rem;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-mut);
  font-family: var(--f-royal);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .35s, border-color .35s;
  white-space: nowrap;
}
.gd-tab:hover { color: var(--gd-200); }
.gd-tab.on { color: var(--gd-300); border-bottom-color: var(--gd-500); }
.gd-pane { display: none; animation: dealIn .5s var(--ease-out); }
.gd-pane.on { display: block; }

.gd-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.gd-shots figure { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hair); background: #04170E; cursor: pointer; transition: transform .5s var(--ease), box-shadow .5s; }
.gd-shots figure:hover { transform: translateY(-6px); box-shadow: var(--sh-2), var(--glow-teal); }
.gd-shots img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top center; }

.gd-side .panel + .panel { margin-top: 1.2rem; }
.gd-layout { display: grid; grid-template-columns: 1fr 330px; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }
.gd-sticky { position: sticky; top: calc(var(--nav-h) + 20px); }

.kv { list-style: none; padding: 0; margin: 0; }
.kv li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(214, 231, 220, .08);
  font-size: .88rem;
  margin: 0;
}
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--ink-dim); }
.kv b { color: var(--gd-200); font-weight: 600; }

/* ===============================================================
   ABOUT — timeline of stacked cards
   =============================================================== */
.timeline { position: relative; padding-left: 0; list-style: none; margin: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 162, 39, .5) 8%, rgba(201, 162, 39, .5) 92%, transparent);
}
.tl-item { position: relative; padding-left: 76px; margin-bottom: 1.6rem; }
.tl-dot {
  position: absolute;
  left: 0; top: 2px;
  width: 56px; height: 76px;
  border-radius: 8px;
  border: 1px solid var(--gd-600);
  background: linear-gradient(150deg, rgba(247, 235, 194, .95), rgba(214, 231, 220, .78));
  color: var(--em-800);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
  transition: transform .5s var(--ease);
}
.tl-item:hover .tl-dot { transform: rotate(-7deg) scale(1.05); }
.tl-body {
  padding: 1.3rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(11, 61, 46, .6), rgba(6, 39, 43, .82));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.tl-item:hover .tl-body { transform: translateX(7px); border-color: var(--hair-2); box-shadow: var(--sh-1); }
.tl-body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.tl-body p { margin: 0; font-size: .93rem; color: var(--ink-mut); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair-2); box-shadow: var(--sh-3); }
.split-media img { width: 100%; height: auto; }

/* Value pillars */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.pillar {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  background: rgba(6, 39, 43, .45);
  transition: transform .45s var(--ease), border-color .4s;
}
.pillar:hover { transform: translateY(-5px); border-color: var(--hair-2); }
.pillar-ico {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(201, 162, 39, .2), rgba(12, 58, 63, .55));
  border: 1px solid rgba(201, 162, 39, .35);
  color: var(--gd-300);
}
.pillar-ico svg { width: 22px; height: 22px; }
.pillar h4 { margin-bottom: .3rem; font-size: 1.04rem; }
.pillar p { margin: 0; font-size: .89rem; color: var(--ink-mut); }

/* ===============================================================
   DOWNLOAD PAGE
   =============================================================== */
.dl-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(80% 70% at 20% 20%, rgba(30, 122, 130, .28), transparent 60%),
    linear-gradient(165deg, #06221A, #0B3D2E 45%, #04171B);
  overflow: hidden;
}
.dl-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: center; position: relative; z-index: 3; }

/* Twin-phone angled mockup */
.dl-mock { position: relative; min-height: 560px; display: grid; place-items: center; perspective: 1500px; }
.dl-phone {
  position: relative;
  width: clamp(200px, 21vw, 258px);
  aspect-ratio: 9 / 19.2;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(155deg, #F0D98C, #A8851F 20%, #221E14 46%, #C9A227 86%, #6E5615);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .62), 0 0 60px rgba(30, 122, 130, .26);
  transition: transform .8s var(--ease);
}
.dl-phone .phone-screen { border-radius: 29px; }
.dl-phone--front {
  z-index: 4;
  transform: rotateY(-16deg) rotateX(4deg) translateX(-8%);
  animation: dlFloatA 7s ease-in-out infinite;
}
.dl-phone--back {
  position: absolute;
  z-index: 3;
  transform: rotateY(-16deg) rotateX(4deg) translate(38%, -7%) scale(.9);
  opacity: .82;
  animation: dlFloatB 7s ease-in-out infinite;
}
@keyframes dlFloatA {
  0%, 100% { transform: rotateY(-16deg) rotateX(4deg) translateX(-8%) translateY(0); }
  50% { transform: rotateY(-11deg) rotateX(2deg) translateX(-8%) translateY(-18px); }
}
@keyframes dlFloatB {
  0%, 100% { transform: rotateY(-16deg) rotateX(4deg) translate(38%, -7%) scale(.9); }
  50% { transform: rotateY(-11deg) rotateX(2deg) translate(38%, -2%) scale(.9); }
}
.dl-mock .float-card { z-index: 6; }

.dl-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.6rem 0; }
.dl-badge {
  padding: 1rem .8rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--hair);
  background: rgba(4, 23, 14, .5);
  text-align: center;
}
.dl-badge b { display: block; font-family: var(--f-display); color: var(--gd-200); font-size: 1.02rem; }
.dl-badge span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }

.install-steps { display: grid; gap: 1rem; counter-reset: ins; }
.install-step {
  display: flex;
  gap: 1.2rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(11, 61, 46, .6), rgba(6, 39, 43, .85));
  position: relative;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.install-step:hover { transform: translateX(8px); border-color: var(--hair-2); box-shadow: var(--sh-1), var(--glow-teal); }
.install-step .n {
  flex: none;
  counter-increment: ins;
  width: 50px; height: 68px;
  border-radius: 8px;
  border: 1px solid var(--gd-600);
  background: linear-gradient(150deg, rgba(247, 235, 194, .95), rgba(214, 231, 220, .75));
  color: var(--em-800);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
}
.install-step .n::before { content: counter(ins); }
.install-step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.install-step p { margin: 0; font-size: .92rem; color: var(--ink-mut); }

/* ===============================================================
   CONTACT PAGE
   =============================================================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 3.5vw, 3rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  background: rgba(6, 39, 43, .5);
  transition: transform .45s var(--ease), border-color .4s, box-shadow .45s;
  position: relative;
  overflow: hidden;
}
.contact-card:hover { transform: translateY(-5px); border-color: var(--hair-2); box-shadow: var(--sh-2), var(--glow-teal); }
.contact-card .ci {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(201, 162, 39, .2), rgba(12, 58, 63, .6));
  border: 1px solid rgba(201, 162, 39, .35);
  color: var(--gd-300);
}
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card h4 { margin-bottom: .25rem; font-size: 1.02rem; }
.contact-card p { margin: 0; font-size: .89rem; color: var(--ink-mut); }
.contact-card a { font-size: .89rem; }

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "lede" "mock" "actions";
    text-align: center;
  }
  .hero-lede, .hero-actions { align-self: auto; }
  .hero { min-height: auto; }
  .hero-sub { margin-inline: auto; }
  .hero .btn-row, .hero-trust { justify-content: center; }
  .hero .eyebrow::after { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gd-600), transparent); }
  .mockup-stage { min-height: 480px; }
  .tables-grid { grid-template-columns: repeat(4, 1fr); }
  .table-card--hero { grid-column: span 4; grid-row: span 1; min-height: 300px; }
  .table-card--wide, .table-card--half { grid-column: span 2; }
  .gd-layout { grid-template-columns: 1fr; }
  .gd-sticky { position: static; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-mock { order: -1; min-height: 470px; }
  .contact-grid { grid-template-columns: 1fr; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .stat:nth-child(3)::before { display: none; }
  .deal-steps { grid-template-columns: repeat(2, 1fr); }
  .deal-steps::before { display: none; }
  .endorse { grid-template-columns: 1fr; }
  .gd-grid { grid-template-columns: 1fr; }
  .gd-art { max-width: 320px; margin-inline: auto; }
  .gd-spec { grid-template-columns: repeat(2, 1fr); }
  .og-strip { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .lib-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 620px) {
  .tables-grid { grid-template-columns: repeat(2, 1fr); }
  .table-card--hero, .table-card--wide { grid-column: span 2; }
  .table-card--half { grid-column: span 1; }
  .table-card { min-height: 190px; padding: 1rem .9rem; }
  .deal-steps { grid-template-columns: 1fr; }
  .dl-badges { grid-template-columns: 1fr; }
  .dl-phone--back { display: none; }
  .dl-phone--front { transform: none; animation: phoneFloat 6.5s ease-in-out infinite; }
  .mockup-ring { display: none; }
  .float-card { width: 56px; height: 80px; font-size: 1.4rem; }
  .fc-3 { display: none; }
  .mock-tag--bl { left: -2%; }
  .install-step { flex-direction: column; gap: .9rem; }
  .install-step:hover { transform: translateY(-4px); }
  .lib-controls { padding: .9rem; }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .gd-spec { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .tl-item { padding-left: 58px; }
  .tl-dot { width: 42px; height: 58px; font-size: .8rem; }
}
