/* HOMEPAGE PREMIUM MAX — FOUNDATION R1
   Step 1: visual system alignment with the Premium Academy subpages.
   Structure/content intentionally preserved. */

.homepage-premium-max{
  --hp-bg:#041713;
  --hp-bg-deep:#03110e;
  --hp-panel:#071f1a;
  --hp-panel-2:#041511;
  --hp-teal:#63ddc3;
  --hp-teal-deep:#0d6957;
  --hp-teal-strong:#128871;
  --hp-gold:#f3d994;
  --hp-text:#edf3ef;
  --hp-muted:#aebdb6;
}

html{background:var(--hp-bg)!important}

body.homepage-premium-max{
  background:
    radial-gradient(circle at 18% 8%,rgba(16,104,91,.16),transparent 30%),
    radial-gradient(circle at 82% 16%,rgba(9,87,92,.13),transparent 26%),
    linear-gradient(180deg,#03110e 0%,#041814 42%,#05211c 100%)!important;
}

body.homepage-premium-max::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 16% 10%,rgba(18,120,102,.16),transparent 30%),
    radial-gradient(circle at 84% 20%,rgba(8,92,104,.12),transparent 27%),
    linear-gradient(180deg,#03110e 0%,#041914 46%,#05231e 100%);
  pointer-events:none;
}

body.homepage-premium-max::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.10) 40%,rgba(0,0,0,.20));
  pointer-events:none;
}

/* Header — same frameless premium language as the Academy pages. */
.homepage-premium-max .site-header{
  border:0!important;
  background:rgba(3,17,14,.90)!important;
  backdrop-filter:blur(14px);
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}

.homepage-premium-max .header-inner{
  width:min(1510px,calc(100% - 48px))!important;
}

.homepage-premium-max .icon-btn,
.homepage-premium-max .btn--head,
.homepage-premium-max .dropdown,
.homepage-premium-max .menu-panel,
.homepage-premium-max .soon{
  border:0!important;
}

.homepage-premium-max .dropdown{
  background:linear-gradient(145deg,rgba(7,38,31,.98),rgba(3,18,15,.99))!important;
  box-shadow:0 18px 40px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025)!important;
}

.homepage-premium-max .nav-link.is-active{
  color:var(--hp-gold)!important;
}

/* Hero — preserve exact layout, replace old framed look with premium surfaces. */
.homepage-premium-max .hero{
  background:transparent!important;
}

.homepage-premium-max .hero-grid{
  width:min(1510px,calc(100% - 48px))!important;
}

.homepage-premium-max .panel,
.homepage-premium-max .status-panel,
.homepage-premium-max .next-panel{
  border:0!important;
  outline:0!important;
  background:
    radial-gradient(circle at 0 0,rgba(49,176,143,.10),transparent 34%),
    linear-gradient(145deg,rgba(7,38,31,.97),rgba(3,18,15,.995))!important;
  box-shadow:0 24px 56px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.025)!important;
}

.homepage-premium-max .hero-title,
.homepage-premium-max .next-title,
.homepage-premium-max .discover-title{
  color:var(--hp-gold)!important;
  letter-spacing:-.035em;
}

.homepage-premium-max .hero-sub,
.homepage-premium-max .hero-lead,
.homepage-premium-max .next-lead,
.homepage-premium-max .discover-lead{
  color:#d9e3de!important;
}

.homepage-premium-max .pill-live{
  border:0!important;
  background:rgba(18,111,89,.28)!important;
  color:#c9f3e7!important;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.09)!important;
}

.homepage-premium-max .pill-live .dot{
  background:#2ce3ac!important;
  box-shadow:0 0 12px rgba(44,227,172,.5)!important;
}

/* Status rows — frameless, lighter, closer to Academy modules. */
.homepage-premium-max .status-card{
  border:0!important;
  border-radius:16px!important;
  background:
    linear-gradient(90deg,rgba(10,72,58,.36),rgba(4,28,23,.60))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}

.homepage-premium-max .status-card:hover{
  background:
    linear-gradient(90deg,rgba(13,91,72,.48),rgba(4,31,25,.66))!important;
  transform:translateY(-1px);
}

.homepage-premium-max .status-title{
  color:#f3dda0!important;
}

.homepage-premium-max .status-desc{
  color:#b9c9c1!important;
}

.homepage-premium-max .next-brand span,
.homepage-premium-max .brand-word span{
  color:#f21a34!important;
}

/* Buttons — teal system, gold reserved as typography/accent. */
.homepage-premium-max .btn--outline,
.homepage-premium-max .btn--gold,
.homepage-premium-max .btn--next,
.homepage-premium-max .btn--news,
.homepage-premium-max .modal-ok{
  border:0!important;
  background:linear-gradient(135deg,var(--hp-teal-deep),var(--hp-teal-strong))!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(0,0,0,.16)!important;
}

.homepage-premium-max .btn--outline:hover,
.homepage-premium-max .btn--gold:hover,
.homepage-premium-max .btn--next:hover,
.homepage-premium-max .btn--news:hover{
  filter:brightness(1.06);
}

/* Discover section — one visual language with Poradniki and Academy. */
.homepage-premium-max .discover{
  background:transparent!important;
}

.homepage-premium-max .discover-inner{
  width:min(1360px,calc(100% - 64px))!important;
}

.homepage-premium-max .tile{
  border:0!important;
  border-radius:20px!important;
  overflow:hidden;
  background:
    radial-gradient(circle at 0 0,rgba(37,155,126,.08),transparent 36%),
    linear-gradient(145deg,rgba(7,38,31,.95),rgba(3,18,15,.99))!important;
  box-shadow:0 18px 40px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.02)!important;
}

.homepage-premium-max .tile:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 52px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.025)!important;
}

.homepage-premium-max .tile-title{
  color:#f2dda2!important;
}

.homepage-premium-max .tile-desc{
  color:#b8c8c0!important;
}

.homepage-premium-max .tile-cta{
  color:var(--hp-teal)!important;
}

/* Footer parity with premium subpages. */
.homepage-premium-max .site-footer{
  border:0!important;
  background:linear-gradient(180deg,rgba(3,17,14,.95),rgba(2,10,8,.98))!important;
}

.homepage-premium-max .footer-grid,
.homepage-premium-max .footer-bottom{
  width:min(1360px,calc(100% - 64px))!important;
}

.homepage-premium-max .footer-title{
  color:var(--hp-gold)!important;
}

.homepage-premium-max .footer-news input{
  border:0!important;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.10)!important;
  background:#061712!important;
}

.homepage-premium-max .footer-bottom{
  border:0!important;
}

.homepage-premium-max .social-btn{
  border:0!important;
  background:rgba(99,221,195,.07)!important;
}

/* Modal parity. */
.homepage-premium-max .modal-box{
  border:0!important;
  background:
    radial-gradient(circle at 0 0,rgba(36,161,129,.12),transparent 38%),
    linear-gradient(145deg,#082d25,#041813)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.035)!important;
}

.homepage-premium-max .modal-x{
  border:0!important;
  background:rgba(255,255,255,.05)!important;
}

/* Focus + responsive parity. */
.homepage-premium-max a:focus-visible,
.homepage-premium-max button:focus-visible,
.homepage-premium-max input:focus-visible{
  outline:2px solid #78e4ca!important;
  outline-offset:3px!important;
}

@media(max-width:1180px){
  .homepage-premium-max .header-inner,
  .homepage-premium-max .hero-grid{
    width:min(1120px,calc(100% - 32px))!important;
  }

  .homepage-premium-max .menu-panel{
    background:rgba(3,17,14,.98)!important;
  }

  .homepage-premium-max .discover-inner,
  .homepage-premium-max .footer-grid,
  .homepage-premium-max .footer-bottom{
    width:calc(100% - 32px)!important;
  }
}

@media(max-width:560px){
  .homepage-premium-max .header-inner,
  .homepage-premium-max .hero-grid,
  .homepage-premium-max .discover-inner{
    width:calc(100% - 20px)!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .homepage-premium-max *{
    transition:none!important;
    scroll-behavior:auto!important;
  }
}


/* HOMEPAGE PREMIUM MAX — HERO R2 */
.homepage-premium-max .home-hero-premium{
  position:relative;
  padding:34px 0 44px;
  overflow:hidden;
  background:transparent!important;
}

.homepage-premium-max .home-hero-premium::before{
  content:"";
  position:absolute;
  width:680px;
  height:680px;
  right:-130px;
  top:-170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(38,182,146,.12),rgba(38,182,146,.035) 36%,transparent 70%);
  pointer-events:none;
}

.homepage-premium-max .home-hero-premium__grid{
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(590px,1.08fr)!important;
  gap:60px!important;
  align-items:center!important;
  min-height:680px;
}

.home-hero-premium__copy{
  position:relative;
  z-index:2;
  min-width:0;
  padding:38px 0 40px 18px;
}

.home-hero-premium__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  color:#71e2c7;
  font:800 11px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:.14em;
  text-transform:uppercase;
}

.home-hero-premium__eyebrow>span{
  display:block;
  width:34px;
  height:1px;
  background:linear-gradient(90deg,#71e2c7,transparent);
}

.home-hero-premium__title{
  max-width:720px;
  margin:0;
  color:#f5e0a4;
  font:800 clamp(54px,5.15vw,82px)/.98 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.055em;
}

.home-hero-premium__brand{
  display:block;
  margin-bottom:12px;
  color:#fff;
  font-size:.54em;
  letter-spacing:-.055em;
}

.home-hero-premium__brand span{color:#f21a34}

.home-hero-premium__lead{
  max-width:710px;
  margin:24px 0 0;
  color:#cbd8d2;
  font-size:17px;
  line-height:1.72;
}

.home-hero-premium__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.home-hero-premium__primary,
.home-hero-premium__secondary{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:12px;
  align-items:center;
  min-width:230px;
  min-height:66px;
  padding:8px 21px 8px 9px;
  border:0;
  border-radius:999px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  transition:transform .18s ease,filter .18s ease,background .18s ease;
}

.home-hero-premium__primary{
  background:linear-gradient(135deg,#0c5f4d,#0f7a64);
  color:#fff;
}

.home-hero-premium__secondary{
  background:rgba(8,47,38,.78);
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.10),0 12px 28px rgba(0,0,0,.12);
}

.home-hero-premium__primary:hover,
.home-hero-premium__secondary:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
}

.home-hero-premium__primary svg,
.home-hero-premium__secondary svg{
  width:48px;
  height:48px;
  padding:9px;
  border-radius:50%;
  background:rgba(2,17,13,.24);
}

.home-hero-premium__primary span,
.home-hero-premium__secondary span{
  display:block;
  font-weight:850;
  line-height:1.12;
}

.home-hero-premium__primary small,
.home-hero-premium__secondary small{
  display:block;
  margin-top:4px;
  color:#eefaf5;
  font-size:11px;
  font-weight:600;
}

.home-hero-premium__features{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  max-width:720px;
  margin:32px 0 0;
  padding:0;
  list-style:none;
  border-top:1px solid rgba(99,221,195,.10);
}

.home-hero-premium__features li{
  position:relative;
  padding:17px 15px 0 0;
}

.home-hero-premium__features li:not(:last-child)::after{
  content:"";
  position:absolute;
  right:13px;
  top:18px;
  bottom:2px;
  width:1px;
  background:linear-gradient(180deg,rgba(99,221,195,.14),transparent);
}

.home-hero-premium__features strong,
.home-hero-premium__features span{
  display:block;
}

.home-hero-premium__features strong{
  color:#f1d99a;
  font-size:12.5px;
}

.home-hero-premium__features span{
  margin-top:4px;
  color:#82968d;
  font-size:11px;
  line-height:1.3;
}

.home-hero-premium__visual{
  position:relative;
  min-height:620px;
  isolation:isolate;
}

.home-hero-premium__glow{
  position:absolute;
  inset:72px 68px 62px 66px;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%,rgba(31,146,119,.17),rgba(8,45,36,.08) 42%,transparent 72%);
  filter:blur(2px);
  z-index:-2;
}

.home-hero-premium__center{
  position:absolute;
  left:50%;
  top:50%;
  width:250px;
  height:250px;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  align-content:center;
  border-radius:50%;
  background:
    radial-gradient(circle at 32% 25%,rgba(75,215,177,.15),transparent 31%),
    linear-gradient(145deg,rgba(7,40,32,.95),rgba(3,18,15,.98));
  box-shadow:
    0 34px 80px rgba(0,0,0,.32),
    inset 0 0 0 1px rgba(99,221,195,.08),
    0 0 90px rgba(28,152,120,.08);
}

.home-hero-premium__center::before,
.home-hero-premium__center::after{
  content:"";
  position:absolute;
  inset:-42px;
  border-radius:50%;
  border:1px solid rgba(99,221,195,.055);
}

.home-hero-premium__center::after{inset:-92px;border-color:rgba(99,221,195,.03)}

.home-hero-premium__center-logo{
  color:#fff;
  font:800 42px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.055em;
}

.home-hero-premium__center-logo span{color:#f21a34}

.home-hero-premium__center small{
  margin-top:11px;
  color:#6f8f84;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.home-game-card{
  position:absolute;
  z-index:2;
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 24px;
  gap:12px;
  align-items:center;
  width:270px;
  min-height:102px;
  padding:15px;
  border:0;
  border-radius:18px;
  background:
    radial-gradient(circle at 0 0,rgba(44,179,143,.09),transparent 42%),
    linear-gradient(145deg,rgba(7,36,29,.96),rgba(3,18,14,.99));
  box-shadow:0 18px 42px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.025);
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.home-game-card:hover{
  transform:translateY(-4px);
  background:
    radial-gradient(circle at 0 0,rgba(53,203,161,.13),transparent 42%),
    linear-gradient(145deg,rgba(9,46,36,.98),rgba(3,20,16,.995));
  box-shadow:0 24px 50px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.035);
}

.home-game-card--poker{left:1%;top:6%}
.home-game-card--tysiac{right:0;top:25%}
.home-game-card--warcaby{left:0;bottom:23%}
.home-game-card--gomoku{right:1%;bottom:4%}

.home-game-card__art,
.home-game-card__board{
  width:64px;
  height:64px;
  border-radius:13px;
  box-shadow:0 10px 20px rgba(0,0,0,.28);
}

.home-game-card__art{
  position:relative;
  display:grid;
  align-content:center;
  justify-items:center;
  background:linear-gradient(155deg,#f7f0dd,#cdbb91);
  color:#141414;
  transform:rotate(-5deg);
}

.home-game-card__art--red{color:#a61f2a;transform:rotate(5deg)}

.home-game-card__art b{
  font:900 24px/1 Georgia,serif;
}

.home-game-card__art i{
  margin-top:1px;
  font-style:normal;
  font-size:21px;
  line-height:1;
}

.home-game-card__board{
  position:relative;
  overflow:hidden;
}

.home-game-card__board--checkers{
  background:conic-gradient(#c79c62 25%,#3f2d25 0 50%,#c79c62 0 75%,#3f2d25 0) 0 0/22px 22px;
}

.home-game-card__board--checkers i{
  position:absolute;
  width:16px;
  height:16px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 28%,#f8ebc6,#a77c42 70%);
  box-shadow:0 3px 7px rgba(0,0,0,.34);
}
.home-game-card__board--checkers i:nth-child(1){left:10px;top:12px}
.home-game-card__board--checkers i:nth-child(2){right:8px;top:30px;background:radial-gradient(circle at 35% 28%,#3c3c3c,#0b0b0b 72%)}
.home-game-card__board--checkers i:nth-child(3){left:23px;bottom:7px}

.home-game-card__board--gomoku{
  background-color:#b98d55;
  background-image:
    repeating-linear-gradient(to right,transparent 0 12px,rgba(66,42,19,.50) 12px 13px),
    repeating-linear-gradient(to bottom,transparent 0 12px,rgba(66,42,19,.50) 12px 13px);
}

.home-game-card__board--gomoku i{
  position:absolute;
  width:12px;
  height:12px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 28%,#444,#0c0c0c 72%);
  box-shadow:0 2px 5px rgba(0,0,0,.35);
}
.home-game-card__board--gomoku i:nth-child(1){left:13px;top:25px}
.home-game-card__board--gomoku i:nth-child(2){left:26px;top:25px;background:radial-gradient(circle at 35% 28%,#fffaf0,#c6bba8 72%)}
.home-game-card__board--gomoku i:nth-child(3){left:39px;top:25px}
.home-game-card__board--gomoku i:nth-child(4){left:26px;top:38px;background:radial-gradient(circle at 35% 28%,#fffaf0,#c6bba8 72%)}
.home-game-card__board--gomoku i:nth-child(5){left:39px;top:38px}

.home-game-card__copy small,
.home-game-card__copy strong,
.home-game-card__copy em{
  display:block;
}

.home-game-card__copy small{
  color:#61ddc1;
  font-size:11px;
  font-weight:850;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.home-game-card__copy strong{
  margin-top:4px;
  color:#f4dfa6;
  font:800 18px/1.08 var(--font-display,Montserrat,sans-serif);
}

.home-game-card__copy em{
  margin-top:6px;
  color:#899d94;
  font-size:11px;
  font-style:normal;
  line-height:1.35;
}

.home-game-card__arrow{
  color:#dfbf68;
  font-size:18px;
}

.home-hero-premium__status{
  position:absolute;
  left:50%;
  bottom:0;
  display:flex;
  align-items:center;
  gap:9px;
  transform:translateX(-50%);
  margin:0;
  color:#80958c;
  font-size:11px;
  white-space:nowrap;
}

.home-hero-premium__status span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#29daa6;
  box-shadow:0 0 9px rgba(41,218,166,.48);
}

@media(max-width:1320px){
  .homepage-premium-max .home-hero-premium__grid{
    grid-template-columns:minmax(0,.95fr) minmax(520px,1.05fr)!important;
    gap:30px!important;
  }
  .home-game-card{width:248px}
  .home-game-card--poker{left:0}
  .home-game-card--tysiac{right:0}
  .home-game-card--warcaby{left:0}
  .home-game-card--gomoku{right:0}
}

@media(max-width:1080px){
  .homepage-premium-max .home-hero-premium__grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
    min-height:0;
  }
  .home-hero-premium__copy{
    padding:34px 0 8px;
    text-align:center;
  }
  .home-hero-premium__eyebrow,
  .home-hero-premium__actions{
    justify-content:center;
  }
  .home-hero-premium__title,
  .home-hero-premium__lead,
  .home-hero-premium__features{
    margin-left:auto;
    margin-right:auto;
  }
  .home-hero-premium__visual{
    min-height:590px;
    max-width:720px;
    width:100%;
    margin:0 auto;
  }
}

@media(max-width:720px){
  .homepage-premium-max .home-hero-premium{padding-top:18px}
  .home-hero-premium__copy{padding-top:26px}
  .home-hero-premium__title{
    font-size:clamp(44px,12vw,64px);
  }
  .home-hero-premium__lead{
    font-size:15px;
    line-height:1.65;
  }
  .home-hero-premium__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .home-hero-premium__primary,
  .home-hero-premium__secondary{
    width:100%;
    min-width:0;
  }
  .home-hero-premium__features{
    grid-template-columns:1fr 1fr;
  }
  .home-hero-premium__features li:nth-child(2)::after{display:none}
  .home-hero-premium__visual{
    min-height:720px;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    padding-top:190px;
  }
  .home-hero-premium__center{
    top:85px;
    width:160px;
    height:160px;
  }
  .home-hero-premium__center::before{inset:-25px}
  .home-hero-premium__center::after{inset:-52px}
  .home-hero-premium__center-logo{font-size:30px}
  .home-game-card{
    position:relative;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    width:100%;
    min-height:92px;
  }
  .home-hero-premium__status{
    bottom:-4px;
  }
}

@media(max-width:420px){
  .home-hero-premium__title{font-size:42px}
  .home-hero-premium__brand{font-size:.58em}
  .home-game-card{
    grid-template-columns:56px minmax(0,1fr) 18px;
    padding:12px;
  }
  .home-game-card__art,
  .home-game-card__board{
    width:56px;
    height:56px;
  }
  .home-game-card__copy strong{font-size:16px}
}


/* HOMEPAGE PREMIUM MAX — ACADEMY SHOWCASE R3 */
.homepage-premium-max .academy-showcase{
  position:relative;
  padding:58px 0 72px;
  background:transparent!important;
}

.homepage-premium-max .academy-showcase::before{
  content:"";
  position:absolute;
  left:-180px;
  top:90px;
  width:520px;
  height:520px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(31,150,121,.08),transparent 70%);
  pointer-events:none;
}

.academy-showcase__header{
  max-width:890px;
  margin:0 auto 34px;
  text-align:center;
}

.academy-showcase__eyebrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0 0 13px;
  color:#68dfc4;
  font:800 11px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:.14em;
  text-transform:uppercase;
}

.academy-showcase__eyebrow span{
  width:28px;
  height:1px;
  background:linear-gradient(90deg,transparent,#68dfc4);
}

.academy-showcase__header h2{
  margin:0;
  color:#f3dc9e;
  font:800 clamp(34px,3.25vw,50px)/1.06 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.045em;
}

.academy-showcase__header h2 span{
  color:#fff;
  white-space:nowrap;
}

.academy-showcase__header h2 span::first-letter{color:#fff}

.academy-showcase__header p:last-child{
  max-width:760px;
  margin:16px auto 0;
  color:#aebfb7;
  font-size:15px;
  line-height:1.72;
}

.academy-showcase__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.academy-tile{
  min-width:0;
  border:0;
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(circle at 0 0,rgba(46,183,147,.08),transparent 34%),
    linear-gradient(145deg,rgba(7,37,30,.96),rgba(3,17,14,.995));
  box-shadow:0 20px 46px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.academy-tile:hover{
  transform:translateY(-4px);
  background:
    radial-gradient(circle at 0 0,rgba(58,208,166,.11),transparent 35%),
    linear-gradient(145deg,rgba(9,46,37,.98),rgba(3,20,16,.995));
  box-shadow:0 28px 58px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.03);
}

.academy-tile__link{
  display:grid;
  grid-template-columns:minmax(240px,.88fr) minmax(0,1.12fr);
  min-height:310px;
  color:inherit;
}

.academy-tile__visual{
  position:relative;
  min-height:310px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 44%,rgba(39,151,122,.13),transparent 48%),
    linear-gradient(155deg,#08251e,#041410 72%);
}

.academy-tile__visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent 64%,rgba(3,17,14,.86));
  pointer-events:none;
}

.academy-tile__badge{
  position:absolute;
  left:18px;
  top:17px;
  z-index:3;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(3,20,16,.64);
  color:#73e2c8;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.08);
}

.academy-tile__visual-caption{
  position:absolute;
  left:18px;
  bottom:17px;
  z-index:3;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(3,20,16,.72);
  color:#cfe6dd;
  font-size:10px;
  font-weight:750;
  letter-spacing:.04em;
}

.academy-tile__body{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:30px 28px 27px;
}

.academy-tile__number{
  color:#65dec3;
  font-size:10px;
  font-weight:850;
  letter-spacing:.10em;
}

.academy-tile__body h3{
  margin:8px 0 10px;
  color:#f2dca0;
  font:800 27px/1.05 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.035em;
}

.academy-tile__body p{
  margin:0;
  color:#b4c4bc;
  font-size:13px;
  line-height:1.65;
}

.academy-tile__body ul{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:16px 0 0;
  padding:0;
  list-style:none;
}

.academy-tile__body li{
  padding:6px 9px;
  border-radius:999px;
  background:rgba(99,221,195,.065);
  color:#92aca1;
  font-size:11px;
  font-weight:750;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.055);
}

.academy-tile__cta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:19px;
  color:#66dfc4;
  font-size:12px;
  font-weight:850;
}

.academy-tile__cta b{
  color:#e2c16c;
  font-size:16px;
  transition:transform .18s ease;
}

.academy-tile:hover .academy-tile__cta b{transform:translateX(4px)}

/* Poker visual */
.academy-poker-table{
  position:absolute;
  left:50%;
  top:52%;
  width:190px;
  height:118px;
  transform:translate(-50%,-50%) rotate(-2deg);
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 42%,rgba(20,109,82,.95),rgba(7,55,40,.98) 56%,#041a13 58%);
  box-shadow:0 24px 44px rgba(0,0,0,.32),inset 0 0 0 8px #18231e,inset 0 0 0 10px rgba(238,202,118,.22);
}

.academy-card{
  position:absolute;
  display:grid;
  align-content:center;
  justify-items:center;
  width:54px;
  height:76px;
  border-radius:8px;
  background:linear-gradient(155deg,#fff9ea,#cfc4aa);
  box-shadow:0 10px 22px rgba(0,0,0,.33);
  font-style:normal;
}

.academy-card b{font:900 20px/1 Georgia,serif}
.academy-card i{margin-top:2px;font-size:18px;font-style:normal}

.academy-card--a{left:54px;top:22px;color:#111;transform:rotate(-8deg)}
.academy-card--k{right:53px;top:22px;color:#a3212b;transform:rotate(8deg)}
.academy-chip{position:absolute;width:20px;height:20px;border-radius:50%;background:repeating-conic-gradient(#e9d8a4 0 12deg,#2f6a59 12deg 24deg);box-shadow:0 4px 9px rgba(0,0,0,.32)}
.academy-chip--1{left:26px;bottom:10px}
.academy-chip--2{left:41px;bottom:5px}
.academy-chip--3{right:31px;bottom:8px;background:repeating-conic-gradient(#e9d8a4 0 12deg,#7d2d35 12deg 24deg)}

/* Tysiac visual */
.academy-tysiac-scene{
  position:absolute;
  inset:58px 24px 48px;
  border-radius:22px;
  background:
    radial-gradient(circle at 50% 48%,rgba(18,112,84,.66),rgba(5,42,31,.85) 58%,rgba(3,24,18,.95));
  box-shadow:inset 0 0 0 1px rgba(238,202,118,.10),0 18px 34px rgba(0,0,0,.24);
}

.academy-card--q{left:30%;top:52%;color:#9f1d29;transform:translate(-50%,-50%) rotate(-10deg)}
.academy-card--king{left:52%;top:50%;color:#9f1d29;transform:translate(-50%,-50%) rotate(7deg)}
.academy-score{
  position:absolute;
  right:16px;
  top:16px;
  display:grid;
  place-items:center;
  width:68px;
  height:68px;
  border-radius:50%;
  background:rgba(3,19,15,.72);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.09);
}
.academy-score small{color:#70e0c6;font-size:10px;text-transform:uppercase}
.academy-score strong{color:#f1d693;font:800 20px/1 var(--font-display,Montserrat,sans-serif)}

/* Warcaby visual */
.academy-checkers-board{
  position:absolute;
  left:50%;
  top:52%;
  width:188px;
  aspect-ratio:1;
  transform:translate(-50%,-50%) rotate(-4deg);
  border-radius:14px;
  overflow:hidden;
  background:conic-gradient(#c69b61 25%,#402e25 0 50%,#c69b61 0 75%,#402e25 0) 0 0/47px 47px;
  box-shadow:0 22px 42px rgba(0,0,0,.34);
}

.acp{
  position:absolute;
  width:30px;
  height:30px;
  border-radius:50%;
  box-shadow:0 5px 11px rgba(0,0,0,.36);
}
.acp--light{background:radial-gradient(circle at 35% 28%,#f9edca,#a77d43 72%)}
.acp--dark{background:radial-gradient(circle at 35% 28%,#4a4a4a,#0c0c0c 72%)}
.acp1{left:31px;top:31px}.acp2{right:31px;top:78px}.acp3{left:78px;bottom:31px}.acp4{right:31px;bottom:31px}

/* Gomoku visual */
.academy-gomoku-board{
  position:absolute;
  left:50%;
  top:52%;
  width:194px;
  aspect-ratio:1;
  transform:translate(-50%,-50%) rotate(2deg);
  border-radius:13px;
  background-color:#b98d55;
  background-image:
    repeating-linear-gradient(to right,transparent 0 24px,rgba(66,42,19,.49) 24px 25px),
    repeating-linear-gradient(to bottom,transparent 0 24px,rgba(66,42,19,.49) 24px 25px);
  box-shadow:0 22px 42px rgba(0,0,0,.32);
}

.ags{
  position:absolute;
  width:20px;
  height:20px;
  border-radius:50%;
  box-shadow:0 4px 8px rgba(0,0,0,.34);
}
.ags--b{background:radial-gradient(circle at 35% 28%,#444,#0b0b0b 72%)}
.ags--w{background:radial-gradient(circle at 35% 28%,#fffaf0,#c6bba8 72%)}
.ag1{left:62px;top:62px}.ag2{left:87px;top:62px}.ag3{left:112px;top:62px}.ag4{left:87px;top:87px}.ag5{left:112px;top:87px}.ag6{left:137px;top:87px}

/* Showcase footer */
.academy-showcase__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-top:20px;
  padding:23px 26px;
  border-radius:18px;
  background:
    radial-gradient(circle at 0 0,rgba(42,170,137,.08),transparent 36%),
    linear-gradient(145deg,rgba(6,34,27,.92),rgba(3,17,14,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}

.academy-showcase__footer>div:first-child strong,
.academy-showcase__footer>div:first-child span{
  display:block;
}

.academy-showcase__footer>div:first-child strong{
  color:#f1d99a;
  font-size:14px;
}

.academy-showcase__footer>div:first-child span{
  margin-top:4px;
  color:#82978e;
  font-size:11px;
}

.academy-showcase__footer-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
}

.academy-showcase__footer-actions a{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  background:rgba(99,221,195,.07);
  color:#cae7df;
  font-size:11px;
  font-weight:800;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.07);
}

.academy-showcase__footer-actions a:first-child{
  background:linear-gradient(135deg,#0e6b58,#12856e);
  color:#fff;
  box-shadow:none;
}

@media(max-width:1180px){
  .academy-tile__link{
    grid-template-columns:minmax(210px,.78fr) minmax(0,1.22fr);
  }
}

@media(max-width:980px){
  .academy-showcase__grid{grid-template-columns:1fr}
  .academy-tile__link{grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr)}
  .academy-tile__visual{min-height:280px}
}

@media(max-width:680px){
  .homepage-premium-max .academy-showcase{padding-top:42px}
  .academy-showcase__header{text-align:left}
  .academy-showcase__eyebrow{justify-content:flex-start}
  .academy-showcase__eyebrow span{background:linear-gradient(90deg,#68dfc4,transparent)}
  .academy-showcase__header h2{font-size:34px}
  .academy-showcase__header p:last-child{font-size:14px}
  .academy-tile__link{grid-template-columns:1fr}
  .academy-tile__visual{min-height:230px}
  .academy-tile__visual::after{
    background:linear-gradient(180deg,transparent 65%,rgba(3,17,14,.86));
  }
  .academy-tile__body{padding:24px 21px 25px}
  .academy-tile__body h3{font-size:24px}
  .academy-showcase__footer{
    align-items:flex-start;
    flex-direction:column;
    padding:20px;
  }
  .academy-showcase__footer-actions{width:100%}
  .academy-showcase__footer-actions a{flex:1;justify-content:center}
}

@media(max-width:420px){
  .academy-showcase__header h2{font-size:30px}
  .academy-showcase__footer-actions{display:grid;grid-template-columns:1fr}
  .academy-showcase__footer-actions a{width:100%}
}


/* HOMEPAGE PREMIUM MAX — HERO EXPANDED R4 */
.homepage-premium-max .home-hero-premium{
  padding-bottom:34px;
}

.home-hero-premium__sublead{
  max-width:700px;
  margin:12px 0 0;
  color:#8fa59b;
  font-size:13px;
  line-height:1.68;
}

.home-hero-premium__platform{
  width:min(1510px,calc(100% - 48px));
  margin:-6px auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.home-platform-card{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  min-height:126px;
  padding:18px 19px;
  border:0;
  border-radius:18px;
  background:
    radial-gradient(circle at 0 0,rgba(54,190,153,.08),transparent 40%),
    linear-gradient(145deg,rgba(7,37,30,.95),rgba(3,18,15,.99));
  color:inherit;
  text-align:left;
  box-shadow:0 16px 36px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.022);
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.home-platform-card:hover{
  transform:translateY(-3px);
  background:
    radial-gradient(circle at 0 0,rgba(68,222,176,.11),transparent 40%),
    linear-gradient(145deg,rgba(9,47,37,.97),rgba(3,20,16,.995));
  box-shadow:0 22px 46px rgba(0,0,0,.21),inset 0 1px 0 rgba(255,255,255,.03);
}

.home-platform-card__icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:rgba(99,221,195,.075);
  color:#6de2c7;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.07);
}

.home-platform-card__icon svg{
  width:28px;
  height:28px;
}

.home-platform-card__content{
  min-width:0;
}

.home-platform-card__content small,
.home-platform-card__content strong,
.home-platform-card__content em{
  display:block;
}

.home-platform-card__content small{
  color:#63ddc3;
  font-size:11px;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.home-platform-card__content strong{
  margin-top:5px;
  color:#f2dca0;
  font:800 15px/1.2 var(--font-display,Montserrat,sans-serif);
}

.home-platform-card__content em{
  margin-top:6px;
  color:#81968d;
  font-size:11px;
  font-style:normal;
  line-height:1.45;
}

.home-platform-card__meta{
  display:flex;
  align-items:center;
  gap:7px;
  color:#728a80;
  font-size:11px;
  font-weight:850;
  letter-spacing:.09em;
  white-space:nowrap;
}

.home-platform-card--live .home-platform-card__meta{color:#6fe0c6}
.home-platform-card--knowledge .home-platform-card__meta{color:#d8be76}
.home-platform-card--next .home-platform-card__meta{color:#859b91}

.home-platform-card__meta b{
  color:#e2c16c;
  font-size:15px;
}

.home-hero-premium__rail{
  width:min(1510px,calc(100% - 48px));
  margin:12px auto 0;
  display:flex;
  align-items:center;
  gap:7px;
  padding:8px;
  overflow-x:auto;
  border-radius:999px;
  background:rgba(3,20,16,.58);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.045);
  scrollbar-width:none;
}

.home-hero-premium__rail::-webkit-scrollbar{display:none}

.home-hero-premium__rail-label{
  flex:none;
  padding:0 12px;
  color:#637b71;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.home-hero-premium__rail a{
  flex:none;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  color:#9aada4;
  font-size:11px;
  font-weight:750;
  transition:background .16s ease,color .16s ease;
}

.home-hero-premium__rail a:hover{
  background:rgba(99,221,195,.07);
  color:#e8f1ed;
}

.home-hero-premium__rail b{
  color:#d9bd72;
  font-size:12px;
}

@media(min-width:1081px){
  .homepage-premium-max .home-hero-premium__grid{
    min-height:720px;
  }
}

@media(max-width:1180px){
  .home-hero-premium__platform,
  .home-hero-premium__rail{
    width:min(1120px,calc(100% - 32px));
  }
  .home-hero-premium__platform{
    grid-template-columns:1fr 1fr;
  }
  .home-platform-card--next{
    grid-column:1/-1;
  }
}

@media(max-width:760px){
  .home-hero-premium__platform{
    grid-template-columns:1fr;
  }
  .home-platform-card--next{
    grid-column:auto;
  }
  .home-platform-card{
    grid-template-columns:48px minmax(0,1fr);
  }
  .home-platform-card__meta{
    grid-column:2;
    margin-top:-4px;
  }
  .home-hero-premium__rail{
    border-radius:16px;
  }
}

@media(max-width:560px){
  .home-hero-premium__platform,
  .home-hero-premium__rail{
    width:calc(100% - 20px);
  }
  .home-hero-premium__sublead{
    font-size:12px;
  }
  .home-platform-card{
    min-height:0;
    padding:16px;
  }
  .home-hero-premium__rail-label{
    display:none;
  }
}


/* HOMEPAGE PREMIUM MAX — HERO DENSE R5 */
.homepage-premium-max .home-hero-premium--dense{
  padding:34px 0 46px;
  overflow:hidden;
}

.homepage-premium-max .home-hero-premium--dense::before{
  content:"";
  position:absolute;
  width:620px;
  height:620px;
  right:-100px;
  top:-170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(40,185,149,.11),rgba(40,185,149,.035) 40%,transparent 72%);
  pointer-events:none;
}

.home-hero-premium__shell{
  position:relative;
  z-index:1;
  width:min(1510px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(560px,1.08fr);
  gap:28px;
  align-items:stretch;
}

.home-hero-premium--dense .home-hero-premium__copy{
  padding:40px 24px 34px 10px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.home-hero-premium--dense .home-hero-premium__title{
  max-width:710px;
  font-size:clamp(56px,4.7vw,78px);
  line-height:.98;
}

.home-hero-premium--dense .home-hero-premium__lead{
  max-width:680px;
  margin-top:21px;
  font-size:16px;
  line-height:1.68;
}

.home-hero-premium__stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:27px;
  padding:16px 0 0;
  border-top:1px solid rgba(99,221,195,.10);
}

.home-hero-premium__stats>div{
  position:relative;
  min-width:0;
  padding-right:16px;
}

.home-hero-premium__stats>div:not(:last-child)::after{
  content:"";
  position:absolute;
  right:10px;
  top:2px;
  bottom:2px;
  width:1px;
  background:linear-gradient(180deg,rgba(99,221,195,.14),transparent);
}

.home-hero-premium__stats strong,
.home-hero-premium__stats span{
  display:block;
}

.home-hero-premium__stats strong{
  color:#f2d99b;
  font:800 15px/1.1 var(--font-display,Montserrat,sans-serif);
}

.home-hero-premium__stats span{
  margin-top:5px;
  color:#81958c;
  font-size:11px;
  line-height:1.35;
}

.home-hero-premium__promise{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:center;
  margin-top:20px;
  max-width:680px;
  padding:13px 15px;
  border-radius:15px;
  background:linear-gradient(90deg,rgba(10,68,54,.30),rgba(5,28,22,.16));
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.05);
}

.home-hero-premium__promise-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(99,221,195,.07);
}

.home-hero-premium__promise-icon svg{
  width:24px;
  height:24px;
}

.home-hero-premium__promise>span:last-child strong,
.home-hero-premium__promise>span:last-child small{
  display:block;
}

.home-hero-premium__promise>span:last-child strong{
  color:#dce9e3;
  font-size:12px;
}

.home-hero-premium__promise>span:last-child small{
  margin-top:4px;
  color:#7f958b;
  font-size:11px;
  line-height:1.4;
}

.home-hero-premium__hub{
  min-width:0;
  padding:20px;
  border-radius:24px;
  background:
    radial-gradient(circle at 100% 0,rgba(59,214,174,.10),transparent 33%),
    linear-gradient(145deg,rgba(7,38,31,.98),rgba(3,17,14,.995));
  box-shadow:0 26px 58px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.025);
}

.home-hero-premium__hub-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:4px 4px 16px;
}

.home-hero-premium__hub-head small{
  color:#64dec2;
  font-size:11px;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.home-hero-premium__hub-head h2{
  margin:5px 0 0;
  color:#f2dca0;
  font:800 26px/1.05 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.035em;
}

.home-hero-premium__hub-head>span{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(99,221,195,.065);
  color:#8ea69c;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}

.home-hero-premium__hub-head>span i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2de0aa;
  box-shadow:0 0 9px rgba(45,224,170,.48);
}

.home-hero-premium__hub-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.home-hub-card{
  position:relative;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 18px;
  gap:11px;
  align-items:center;
  min-height:126px;
  padding:14px;
  border-radius:16px;
  background:
    radial-gradient(circle at 0 0,rgba(55,193,155,.07),transparent 43%),
    linear-gradient(145deg,rgba(5,29,23,.94),rgba(2,14,11,.97));
  color:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.home-hub-card:hover{
  transform:translateY(-3px);
  background:
    radial-gradient(circle at 0 0,rgba(69,222,177,.11),transparent 44%),
    linear-gradient(145deg,rgba(8,42,33,.97),rgba(2,17,13,.99));
  box-shadow:0 16px 34px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.025);
}

.home-hub-card__visual{
  position:relative;
  width:58px;
  height:72px;
  border-radius:11px;
  overflow:hidden;
  box-shadow:0 9px 18px rgba(0,0,0,.26);
}

.home-hub-card__visual--card{
  display:grid;
  align-content:center;
  justify-items:center;
  background:linear-gradient(155deg,#f7f0dd,#cdbb91);
  color:#121212;
  transform:rotate(-4deg);
}

.home-hub-card__visual--red{
  color:#a51e29;
  transform:rotate(4deg);
}

.home-hub-card__visual--card b{
  font:900 23px/1 Georgia,serif;
}

.home-hub-card__visual--card i{
  margin-top:2px;
  font-size:20px;
  font-style:normal;
}

.home-hub-card__visual--board{
  height:58px;
  align-self:center;
}

.home-hub-card__visual--checkers{
  background:conic-gradient(#c69b61 25%,#402e25 0 50%,#c69b61 0 75%,#402e25 0) 0 0/20px 20px;
}

.home-hub-card__visual--checkers i{
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  box-shadow:0 3px 6px rgba(0,0,0,.34);
}

.home-hub-card__visual--checkers i:nth-child(1){left:9px;top:9px;background:radial-gradient(circle at 35% 28%,#f8ebc6,#a77c42 72%)}
.home-hub-card__visual--checkers i:nth-child(2){right:8px;top:25px;background:radial-gradient(circle at 35% 28%,#444,#0b0b0b 72%)}
.home-hub-card__visual--checkers i:nth-child(3){left:24px;bottom:7px;background:radial-gradient(circle at 35% 28%,#f8ebc6,#a77c42 72%)}

.home-hub-card__visual--gomoku{
  background-color:#b98d55;
  background-image:
    repeating-linear-gradient(to right,transparent 0 13px,rgba(66,42,19,.50) 13px 14px),
    repeating-linear-gradient(to bottom,transparent 0 13px,rgba(66,42,19,.50) 13px 14px);
}

.home-hub-card__visual--gomoku i{
  position:absolute;
  width:11px;
  height:11px;
  border-radius:50%;
  box-shadow:0 2px 5px rgba(0,0,0,.3);
}
.home-hub-card__visual--gomoku i:nth-child(1){left:15px;top:15px;background:#111}
.home-hub-card__visual--gomoku i:nth-child(2){left:29px;top:15px;background:#f4efe3}
.home-hub-card__visual--gomoku i:nth-child(3){left:29px;top:29px;background:#111}
.home-hub-card__visual--gomoku i:nth-child(4){left:43px;top:29px;background:#f4efe3}

.home-hub-card__text{
  min-width:0;
}

.home-hub-card__text small,
.home-hub-card__text strong,
.home-hub-card__text em{
  display:block;
}

.home-hub-card__text small{
  color:#61ddc1;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.home-hub-card__text strong{
  margin-top:5px;
  color:#f1d99a;
  font:800 14px/1.2 var(--font-display,Montserrat,sans-serif);
}

.home-hub-card__text em{
  margin-top:5px;
  color:#7f948a;
  font-size:11px;
  font-style:normal;
  line-height:1.35;
}

.home-hub-card__arrow{
  color:#dabb6b;
  font-size:16px;
}

.home-hero-premium__hub-bottom{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:10px;
}

.home-hero-premium__hub-bottom>a,
.home-hero-premium__hub-bottom>button{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-height:70px;
  padding:11px 12px;
  border:0;
  border-radius:13px;
  background:rgba(99,221,195,.045);
  color:inherit;
  text-align:left;
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.035);
}

.home-hero-premium__hub-bottom svg{
  width:26px;
  height:26px;
}

.home-hero-premium__hub-bottom strong,
.home-hero-premium__hub-bottom small{
  display:block;
}

.home-hero-premium__hub-bottom strong{
  color:#dbe7e1;
  font-size:11px;
}

.home-hero-premium__hub-bottom small{
  margin-top:3px;
  color:#8aa398;
  font-size:11px;
  line-height:1.35;
}

@media(max-width:1180px){
  .home-hero-premium__shell{
    width:min(1120px,calc(100% - 32px));
    grid-template-columns:1fr;
  }
  .home-hero-premium--dense .home-hero-premium__copy{
    padding:30px 0 12px;
    text-align:center;
  }
  .home-hero-premium--dense .home-hero-premium__eyebrow,
  .home-hero-premium--dense .home-hero-premium__actions{
    justify-content:center;
  }
  .home-hero-premium--dense .home-hero-premium__title,
  .home-hero-premium--dense .home-hero-premium__lead,
  .home-hero-premium__promise{
    margin-left:auto;
    margin-right:auto;
  }
  .home-hero-premium__stats{
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
    width:100%;
  }
}

@media(max-width:760px){
  .home-hero-premium__hub-grid{
    grid-template-columns:1fr;
  }
  .home-hero-premium__hub-bottom{
    grid-template-columns:1fr;
  }
  .home-hero-premium__hub-head{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:560px){
  .home-hero-premium__shell{
    width:calc(100% - 20px);
  }
  .home-hero-premium--dense .home-hero-premium__title{
    font-size:42px;
  }
  .home-hero-premium__stats{
    grid-template-columns:1fr 1fr;
    gap:12px 0;
  }
  .home-hero-premium__stats>div:nth-child(2)::after{display:none}
  .home-hero-premium__hub{
    padding:14px;
    border-radius:19px;
  }
  .home-hub-card{
    min-height:108px;
  }
}


/* HOMEPAGE PREMIUM MAX — HEADER NO BRAND R6 */
.homepage-premium-max .site-header .main-nav{
  margin-left:0!important;
}
.homepage-premium-max .site-header .menu-panel{
  flex:1 1 auto;
}
@media(max-width:1179px){
  .homepage-premium-max .site-header .search-btn--mobile{
    margin-left:auto;
  }
}


/* HOMEPAGE PREMIUM MAX — HEADER LOGO RESTORE / HERO BRAND REMOVE R7 */
.homepage-premium-max .site-header .main-nav{
  margin-left:calc(38 * var(--u))!important;
}

.homepage-premium-max .site-header .menu-panel{
  flex:1 1 auto;
}

.home-hero-premium--dense .home-hero-premium__title{
  padding-top:2px;
}

@media(max-width:1179px){
  .homepage-premium-max .site-header .search-btn--mobile{
    margin-left:auto;
  }
  .homepage-premium-max .site-header .main-nav{
    margin-left:0!important;
  }
}


/* HOMEPAGE PREMIUM MAX — FORCE HEADER LOGO R8 */
.homepage-premium-max .site-header .home-header-logo{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  min-width:max-content!important;
  margin:0 38px 0 0!important;
  padding:0!important;
  position:relative!important;
  z-index:20!important;
  visibility:visible!important;
  opacity:1!important;
  color:#fff!important;
  font-family:var(--display,Montserrat,sans-serif)!important;
  font-size:42px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.homepage-premium-max .site-header .home-header-logo span{
  color:#f21a34!important;
}
.homepage-premium-max .site-header .main-nav{
  margin-left:0!important;
}
@media(max-width:1179px){
  .homepage-premium-max .site-header .home-header-logo{
    margin-right:auto!important;
    font-size:34px!important;
  }
}


/* HOMEPAGE PREMIUM MAX — COMPACT WIDTH R9 */
/* Keep the homepage visually focused on wide desktop screens. */
.homepage-premium-max .header-inner{
  width:min(1360px,calc(100% - 48px))!important;
}

.homepage-premium-max .home-hero-premium__shell{
  width:min(1340px,calc(100% - 48px))!important;
}

.homepage-premium-max .discover-inner,
.homepage-premium-max .footer-grid,
.homepage-premium-max .footer-bottom{
  width:min(1360px,calc(100% - 48px))!important;
}

@media(min-width:1180px) and (max-width:1439px){
  .homepage-premium-max .header-inner,
  .homepage-premium-max .home-hero-premium__shell,
  .homepage-premium-max .discover-inner,
  .homepage-premium-max .footer-grid,
  .homepage-premium-max .footer-bottom{
    width:calc(100% - 40px)!important;
  }
}

@media(max-width:1179px){
  .homepage-premium-max .header-inner,
  .homepage-premium-max .home-hero-premium__shell,
  .homepage-premium-max .discover-inner,
  .homepage-premium-max .footer-grid,
  .homepage-premium-max .footer-bottom{
    width:calc(100% - 32px)!important;
  }
}

@media(max-width:560px){
  .homepage-premium-max .header-inner,
  .homepage-premium-max .home-hero-premium__shell,
  .homepage-premium-max .discover-inner{
    width:calc(100% - 20px)!important;
  }
  .homepage-premium-max .footer-grid,
  .homepage-premium-max .footer-bottom{
    width:calc(100% - 32px)!important;
  }
}


/* HOMEPAGE PREMIUM MAX — HERO / NEXT SECTION GAP FIX R10 */
/* Remove legacy fixed hero height from home.css and pull the next section closer. */
.homepage-premium-max .home-hero-premium{
  height:auto!important;
  min-height:0!important;
  padding-bottom:18px!important;
}

.homepage-premium-max .home-hero-premium__shell{
  min-height:0!important;
}

.homepage-premium-max .academy-showcase{
  margin-top:0!important;
  padding-top:24px!important;
}

@media(max-width:760px){
  .homepage-premium-max .home-hero-premium{
    padding-bottom:12px!important;
  }
  .homepage-premium-max .academy-showcase{
    padding-top:18px!important;
  }
}


/* HOMEPAGE PREMIUM MAX — KNOWLEDGE CENTER R11 */
.homepage-premium-max .knowledge-premium{
  position:relative;
  padding:28px 0 76px;
  background:
    radial-gradient(circle at 14% 12%,rgba(32,145,118,.07),transparent 30%),
    transparent;
}

.knowledge-premium__inner{
  width:min(1360px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);
  gap:20px;
  align-items:stretch;
}

.knowledge-premium__intro,
.knowledge-premium__library{
  border-radius:22px;
  background:
    radial-gradient(circle at 0 0,rgba(48,184,148,.08),transparent 36%),
    linear-gradient(145deg,rgba(7,37,30,.96),rgba(3,17,14,.995));
  box-shadow:0 20px 46px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.023);
}

.knowledge-premium__intro{
  padding:34px 32px 30px;
}

.knowledge-premium__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  color:#68dfc4;
  font:800 11px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:.14em;
  text-transform:uppercase;
}

.knowledge-premium__eyebrow span{
  width:28px;
  height:1px;
  background:linear-gradient(90deg,#68dfc4,transparent);
}

.knowledge-premium__intro h2{
  max-width:610px;
  margin:0;
  color:#f3dc9e;
  font:800 clamp(34px,3vw,48px)/1.06 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.045em;
}

.knowledge-premium__intro>p:last-of-type{
  max-width:640px;
  margin:16px 0 0;
  color:#acbeb5;
  font-size:14px;
  line-height:1.72;
}

.knowledge-premium__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.knowledge-premium__primary,
.knowledge-premium__secondary{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-height:60px;
  padding:8px 17px 8px 9px;
  border-radius:999px;
  color:#fff;
}

.knowledge-premium__primary{
  background:linear-gradient(135deg,#0c5f4d,#0f7a64);
  box-shadow:0 12px 25px rgba(0,0,0,.18);
}

.knowledge-premium__secondary{
  background:rgba(8,47,38,.75);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.09);
}

.knowledge-premium__primary svg,
.knowledge-premium__secondary svg{
  width:42px;
  height:42px;
  padding:8px;
  border-radius:50%;
  background:rgba(2,17,13,.24);
}

.knowledge-premium__primary span,
.knowledge-premium__secondary span{
  display:block;
  font-size:11.5px;
  font-weight:850;
  line-height:1.2;
}

.knowledge-premium__primary small,
.knowledge-premium__secondary small{
  display:block;
  margin-top:3px;
  color:#eefaf5;
  font-size:11px;
  font-weight:600;
}

.knowledge-premium__paths{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:28px;
}

.knowledge-premium__paths>div{
  padding:15px;
  border-radius:14px;
  background:rgba(2,15,12,.48);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.035);
}

.knowledge-premium__paths span,
.knowledge-premium__paths strong,
.knowledge-premium__paths small{
  display:block;
}

.knowledge-premium__paths span{
  color:#61ddc1;
  font-size:11px;
  font-weight:850;
}

.knowledge-premium__paths strong{
  margin-top:8px;
  color:#e7eee9;
  font-size:11px;
}

.knowledge-premium__paths small{
  margin-top:5px;
  color:#72877e;
  font-size:11px;
  line-height:1.42;
}

.knowledge-premium__library{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  padding:20px;
}

.knowledge-card{
  display:grid;
  grid-template-columns:50px minmax(0,1fr) 18px;
  gap:11px;
  align-items:center;
  min-height:112px;
  padding:14px;
  border-radius:15px;
  background:
    radial-gradient(circle at 0 0,rgba(58,199,159,.065),transparent 42%),
    linear-gradient(145deg,rgba(5,29,23,.93),rgba(2,14,11,.97));
  color:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.knowledge-card:hover{
  transform:translateY(-3px);
  background:
    radial-gradient(circle at 0 0,rgba(70,225,179,.105),transparent 42%),
    linear-gradient(145deg,rgba(8,43,34,.97),rgba(2,17,13,.99));
  box-shadow:0 16px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}

.knowledge-card__icon{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:linear-gradient(155deg,#f4ead0,#c9b785);
  color:#111;
  font:800 25px/1 Georgia,serif;
  box-shadow:0 8px 17px rgba(0,0,0,.24);
}

.knowledge-card__icon--red{color:#a51e29}
.knowledge-card__icon--board{
  background:linear-gradient(145deg,#aa7e48,#d5ac70);
  color:#2f2117;
  font-family:var(--font-display,Montserrat,sans-serif);
}

.knowledge-card__body{
  min-width:0;
}

.knowledge-card__body small,
.knowledge-card__body strong,
.knowledge-card__body em{
  display:block;
}

.knowledge-card__body small{
  color:#61ddc1;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.knowledge-card__body strong{
  margin-top:5px;
  color:#f0d99b;
  font:800 13px/1.25 var(--font-display,Montserrat,sans-serif);
}

.knowledge-card__body em{
  margin-top:5px;
  color:#778d83;
  font-size:11px;
  font-style:normal;
  line-height:1.38;
}

.knowledge-card__arrow{
  color:#dbba68;
  font-size:16px;
}

.knowledge-premium__finder{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-top:1px;
  padding:18px 19px;
  border-radius:15px;
  background:
    radial-gradient(circle at 0 0,rgba(58,199,159,.08),transparent 42%),
    rgba(2,15,12,.5);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.04);
}

.knowledge-premium__finder small,
.knowledge-premium__finder strong,
.knowledge-premium__finder p{
  display:block;
}

.knowledge-premium__finder small{
  color:#62ddc2;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.knowledge-premium__finder strong{
  margin-top:4px;
  color:#e8eee9;
  font-size:13px;
}

.knowledge-premium__finder p{
  margin:4px 0 0;
  color:#758a81;
  font-size:11px;
  line-height:1.4;
}

.knowledge-premium__finder>a{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#0e6b58,#12856e);
  color:#fff;
  font-size:11px;
  font-weight:850;
}

@media(max-width:1180px){
  .knowledge-premium__inner{
    width:calc(100% - 32px);
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .knowledge-premium__library{
    grid-template-columns:1fr;
  }
  .knowledge-premium__finder{
    grid-column:1;
    align-items:flex-start;
    flex-direction:column;
  }
  .knowledge-premium__finder>a{
    width:100%;
  }
  .knowledge-premium__paths{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .homepage-premium-max .knowledge-premium{
    padding-top:18px;
    padding-bottom:54px;
  }
  .knowledge-premium__inner{
    width:calc(100% - 20px);
  }
  .knowledge-premium__intro{
    padding:26px 20px 22px;
  }
  .knowledge-premium__intro h2{
    font-size:30px;
  }
  .knowledge-premium__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .knowledge-premium__primary,
  .knowledge-premium__secondary{
    width:100%;
  }
  .knowledge-premium__library{
    padding:14px;
  }
}


/* HOMEPAGE PREMIUM MAX — COMMUNITY / NEXT R12 */
.homepage-premium-max .community-premium{
  position:relative;
  padding:16px 0 78px;
  background:
    radial-gradient(circle at 83% 18%,rgba(33,143,120,.08),transparent 31%),
    transparent;
}

.community-premium__inner{
  width:min(1360px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(560px,1.22fr);
  gap:20px;
  align-items:stretch;
}

.community-premium__copy,
.community-premium__roadmap{
  border-radius:22px;
  background:
    radial-gradient(circle at 0 0,rgba(50,187,150,.075),transparent 36%),
    linear-gradient(145deg,rgba(7,37,30,.96),rgba(3,17,14,.995));
  box-shadow:0 20px 46px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.022);
}

.community-premium__copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px 32px 30px;
}

.community-premium__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  color:#68dfc4;
  font:800 11px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:.14em;
  text-transform:uppercase;
}

.community-premium__eyebrow span{
  width:28px;
  height:1px;
  background:linear-gradient(90deg,#68dfc4,transparent);
}

.community-premium__copy h2{
  max-width:580px;
  margin:0;
  color:#f3dc9e;
  font:800 clamp(34px,3vw,48px)/1.06 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.045em;
}

.community-premium__copy>p{
  max-width:620px;
  margin:16px 0 0;
  color:#acbeb5;
  font-size:14px;
  line-height:1.72;
}

.community-premium__status{
  margin-top:23px;
  padding:15px 16px;
  border-radius:15px;
  background:linear-gradient(90deg,rgba(10,68,54,.30),rgba(5,28,22,.16));
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.045);
}

.community-premium__status span,
.community-premium__status strong,
.community-premium__status small{
  display:block;
}

.community-premium__status span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#65dfc4;
  font-size:11px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.community-premium__status i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#e2bd65;
  box-shadow:0 0 9px rgba(226,189,101,.36);
}

.community-premium__status strong{
  margin-top:8px;
  color:#e6eee9;
  font-size:12px;
}

.community-premium__status small{
  margin-top:5px;
  color:#9db3a9;
  font-size:11px;
  line-height:1.45;
}

.community-premium__actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px;
}

.community-premium__primary,
.community-premium__secondary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:58px;
  padding:9px 16px 9px 18px;
  border:0;
  border-radius:999px;
  color:#fff;
  text-align:left;
  cursor:pointer;
}

.community-premium__primary{
  min-width:220px;
  background:linear-gradient(135deg,#0b5a49,#0e7560);
  box-shadow:0 11px 24px rgba(0,0,0,.18);
}

.community-premium__secondary{
  min-width:225px;
  background:rgba(8,47,38,.72);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.075);
}

.community-premium__primary span,
.community-premium__secondary span{
  display:block;
  font-size:11.5px;
  font-weight:850;
}

.community-premium__primary small,
.community-premium__secondary small{
  display:block;
  margin-top:3px;
  color:#eefaf5;
  font-size:11px;
  font-weight:600;
}

.community-premium__primary b,
.community-premium__secondary b{
  color:#fde9b0;
  font-size:17px;
}

.community-premium__roadmap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  padding:20px;
}

.community-feature{
  position:relative;
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:start;
  min-height:148px;
  padding:17px;
  border-radius:15px;
  background:
    radial-gradient(circle at 0 0,rgba(58,199,159,.06),transparent 42%),
    linear-gradient(145deg,rgba(5,29,23,.93),rgba(2,14,11,.97));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}

.community-feature__number{
  position:absolute;
  right:13px;
  top:11px;
  color:#7e968c;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
}

.community-feature__icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(99,221,195,.065);
  color:#68dfc4;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.05);
}

.community-feature__icon svg{
  width:22px;
  height:22px;
}

.community-feature div{
  min-width:0;
  padding-right:8px;
}

.community-feature small,
.community-feature strong,
.community-feature p{
  display:block;
}

.community-feature small{
  color:#61ddc1;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.community-feature strong{
  margin-top:5px;
  color:#f0d99b;
  font:800 13px/1.25 var(--font-display,Montserrat,sans-serif);
}

.community-feature p{
  margin:6px 0 0;
  color:#748980;
  font-size:11px;
  line-height:1.45;
}

.community-feature em{
  grid-column:1/-1;
  justify-self:start;
  margin-top:4px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(99,221,195,.05);
  color:#8aa398;
  font-size:11px;
  font-style:normal;
  font-weight:850;
  letter-spacing:.08em;
}

.community-premium__next-card{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:88px;
  padding:17px 19px;
  border-radius:15px;
  background:
    radial-gradient(circle at 0 0,rgba(57,199,159,.08),transparent 42%),
    rgba(2,15,12,.5);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.04);
}

.community-premium__next-card small,
.community-premium__next-card strong,
.community-premium__next-card p{
  display:block;
}

.community-premium__next-card small{
  color:#62ddc2;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.community-premium__next-card strong{
  margin-top:4px;
  color:#e8eee9;
  font-size:13px;
}

.community-premium__next-card p{
  margin:4px 0 0;
  color:#758a81;
  font-size:11px;
}

.community-premium__next-card>a{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#0e6b58,#12856e);
  color:#fff;
  font-size:11px;
  font-weight:850;
}

@media(max-width:1180px){
  .community-premium__inner{
    width:calc(100% - 32px);
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .community-premium__roadmap{
    grid-template-columns:1fr;
  }
  .community-premium__next-card{
    grid-column:1;
    align-items:flex-start;
    flex-direction:column;
  }
  .community-premium__next-card>a{
    width:100%;
  }
}

@media(max-width:560px){
  .homepage-premium-max .community-premium{
    padding-top:8px;
    padding-bottom:54px;
  }
  .community-premium__inner{
    width:calc(100% - 20px);
  }
  .community-premium__copy{
    padding:26px 20px 22px;
  }
  .community-premium__copy h2{
    font-size:30px;
  }
  .community-premium__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .community-premium__primary,
  .community-premium__secondary{
    width:100%;
    min-width:0;
  }
  .community-premium__roadmap{
    padding:14px;
  }
}


/* HOMEPAGE PREMIUM MAX — FINAL QA R13 */
/* Final spacing, overflow, accessibility and responsive hardening. */
.homepage-premium-max{
  overflow-x:clip;
}

.homepage-premium-max main{
  min-width:0;
}

.homepage-premium-max .academy-showcase{
  padding-bottom:50px!important;
}

.homepage-premium-max .knowledge-premium{
  padding-top:10px!important;
  padding-bottom:52px!important;
}

.homepage-premium-max .community-premium{
  padding-top:6px!important;
  padding-bottom:58px!important;
}

.homepage-premium-max .academy-showcase__inner,
.homepage-premium-max .knowledge-premium__inner,
.homepage-premium-max .community-premium__inner{
  width:min(1360px,calc(100% - 48px))!important;
}

.homepage-premium-max .home-hero-premium__copy,
.homepage-premium-max .home-hero-premium__hub,
.homepage-premium-max .academy-tile,
.homepage-premium-max .academy-tile__body,
.homepage-premium-max .knowledge-premium__intro,
.homepage-premium-max .knowledge-premium__library,
.homepage-premium-max .community-premium__copy,
.homepage-premium-max .community-premium__roadmap,
.homepage-premium-max .community-feature{
  min-width:0;
}

.homepage-premium-max h1,
.homepage-premium-max h2,
.homepage-premium-max h3,
.homepage-premium-max strong,
.homepage-premium-max small{
  overflow-wrap:break-word;
}

/* Fifth roadmap item spans the row so the 5-card layout does not leave a visual hole. */
.homepage-premium-max .community-premium__roadmap>.community-feature:nth-of-type(5){
  grid-column:1/-1;
  min-height:122px;
}

/* One interaction contract across the complete homepage. */
.homepage-premium-max .academy-tile__link,
.homepage-premium-max .knowledge-card,
.homepage-premium-max .knowledge-premium__finder>a,
.homepage-premium-max .community-premium__primary,
.homepage-premium-max .community-premium__secondary,
.homepage-premium-max .community-premium__next-card>a{
  touch-action:manipulation;
}

.homepage-premium-max .academy-tile__link:focus-visible,
.homepage-premium-max .knowledge-card:focus-visible,
.homepage-premium-max .knowledge-premium__finder>a:focus-visible,
.homepage-premium-max .community-premium__primary:focus-visible,
.homepage-premium-max .community-premium__secondary:focus-visible,
.homepage-premium-max .community-premium__next-card>a:focus-visible{
  outline:2px solid #78e4ca!important;
  outline-offset:3px!important;
}

/* R20 — the Academy tile link fills an overflow:hidden card, which clipped its outset focus ring.
   Draw the ring INSIDE the card instead (never clipped, no layout shift). */
.homepage-premium-max .academy-tile__link:focus-visible{
  border-radius:inherit;
  outline-offset:-6px!important;
}

/* Avoid cramped desktop header between tablet and wide desktop. */
@media(min-width:1180px) and (max-width:1439px){
  .homepage-premium-max .site-header .home-header-logo{
    margin-right:24px!important;
    font-size:36px!important;
  }
  .homepage-premium-max .site-header .nav-list{
    gap:18px!important;
  }
  .homepage-premium-max .site-header .header-actions{
    gap:10px!important;
  }
  .homepage-premium-max .site-header .btn--head{
    width:auto!important;
    min-width:92px!important;
    padding-inline:14px!important;
  }
}

/* Tablet/mobile: all premium sections share the same page gutters. */
@media(max-width:1179px){
  .homepage-premium-max .academy-showcase__inner,
  .homepage-premium-max .knowledge-premium__inner,
  .homepage-premium-max .community-premium__inner{
    width:calc(100% - 32px)!important;
  }
}

@media(max-width:760px){
  .homepage-premium-max .academy-showcase{
    padding-bottom:38px!important;
  }
  .homepage-premium-max .knowledge-premium{
    padding-top:4px!important;
    padding-bottom:40px!important;
  }
  .homepage-premium-max .community-premium{
    padding-top:2px!important;
    padding-bottom:46px!important;
  }
  .homepage-premium-max .community-premium__roadmap>.community-feature:nth-of-type(5){
    grid-column:1;
    min-height:0;
  }
}

@media(max-width:560px){
  .homepage-premium-max .academy-showcase__inner,
  .homepage-premium-max .knowledge-premium__inner,
  .homepage-premium-max .community-premium__inner{
    width:calc(100% - 20px)!important;
  }
}

/* Respect reduced-motion preference in every new Premium section. */
@media(prefers-reduced-motion:reduce){
  .homepage-premium-max .academy-tile,
  .homepage-premium-max .academy-tile__cta b,
  .homepage-premium-max .knowledge-card,
  .homepage-premium-max .home-hub-card,
  .homepage-premium-max .home-hero-premium__primary,
  .homepage-premium-max .home-hero-premium__secondary{
    transition:none!important;
    transform:none!important;
  }
}


/* HOMEPAGE PREMIUM MAX — HERO ACADEMY PROGRESS R14 */
.home-academy-progress{
  width:min(1340px,calc(100% - 48px));
  margin:14px auto 0;
  padding:14px 16px 12px;
  border-radius:18px;
  background:
    radial-gradient(circle at 0 0,rgba(55,196,157,.075),transparent 34%),
    linear-gradient(145deg,rgba(6,33,27,.95),rgba(3,17,14,.985));
  box-shadow:0 15px 34px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.022);
}

.home-academy-progress__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:22px;
  padding:2px 3px 12px;
}

.home-academy-progress__head small,
.home-academy-progress__head strong{
  display:block;
}

.home-academy-progress__head small{
  color:#62ddc2;
  font-size:11px;
  font-weight:850;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.home-academy-progress__head strong{
  margin-top:4px;
  color:#f1d99a;
  font:800 18px/1.1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.025em;
}

.home-academy-progress__overall{
  display:flex;
  align-items:center;
  gap:10px;
  color:#82978e;
  font-size:11px;
}

.home-academy-progress__overall span{
  padding:6px 9px;
  border-radius:999px;
  background:rgba(99,221,195,.06);
  white-space:nowrap;
}

.home-academy-progress__overall b{
  color:#70e2c7;
  font-size:11px;
}

.home-academy-progress__overall em{
  font-style:normal;
  color:#9db3a9;
}

.home-academy-progress__games{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

.home-progress-game{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 12px;
  min-width:0;
  padding:11px 12px 10px;
  border-radius:13px;
  background:rgba(2,15,12,.47);
  color:inherit;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.035);
  transition:transform .16s ease,background .16s ease;
}

.home-progress-game:hover{
  transform:translateY(-2px);
  background:rgba(8,48,38,.58);
}

.home-progress-game__name{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}

.home-progress-game__name i{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  flex:0 0 24px;
  border-radius:7px;
  background:rgba(99,221,195,.07);
  color:#e5d29a;
  font-style:normal;
  font-size:12px;
}

.home-progress-game__name i.is-red{color:#da727d}

.home-progress-game__name strong{
  min-width:0;
  color:#dfe9e4;
  font-size:11px;
}

.home-progress-game__bar{
  grid-column:1/-1;
  height:5px;
  overflow:hidden;
  border-radius:999px;
  background:#10251f;
}

.home-progress-game__bar>span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#1aa27f,#71e7cd);
  transition:width .35s ease;
}

.home-progress-game__meta{
  grid-column:2;
  grid-row:1;
  display:flex;
  align-items:center;
  gap:7px;
  align-self:center;
}

.home-progress-game__meta b{
  color:#69dfc5;
  font-size:11px;
}

.home-progress-game__meta em{
  color:#d8bc70;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}

.home-academy-progress__status{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:10px;
  padding:8px 3px 0;
  border-top:1px solid rgba(99,221,195,.055);
}

.home-academy-progress__status>span{
  display:flex;
  align-items:center;
  gap:6px;
  color:#6f857b;
  font-size:11px;
}

.home-academy-progress__status i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#65cbb2;
}

.home-academy-progress__status i.is-live{
  background:#2ee0aa;
  box-shadow:0 0 8px rgba(46,224,170,.4);
}

.home-academy-progress__status i.is-future{
  background:#d0ad5a;
}

.home-academy-progress__status strong{
  font-size:11px;
  font-weight:750;
  color:#8aa398;
}

@media(max-width:1179px){
  .home-academy-progress{
    width:calc(100% - 32px);
  }
  .home-academy-progress__games{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:680px){
  .home-academy-progress__head{
    align-items:flex-start;
    flex-direction:column;
  }
  .home-academy-progress__overall{
    width:100%;
    justify-content:space-between;
  }
  .home-academy-progress__games{
    grid-template-columns:1fr;
  }
  .home-academy-progress__status{
    flex-wrap:wrap;
    gap:8px 14px;
  }
}

@media(max-width:560px){
  .home-academy-progress{
    width:calc(100% - 20px);
    padding:13px;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-progress-game,
  .home-progress-game__bar>span{
    transition:none!important;
  }
}


/* HOMEPAGE PREMIUM MAX — AI POKER FLAGSHIP R15 */
.homepage-premium-max .ai-poker-premium{
  position:relative;
  padding:4px 0 50px;
  background:
    radial-gradient(circle at 84% 20%,rgba(35,145,121,.085),transparent 29%),
    transparent;
}

.ai-poker-premium__inner{
  width:min(1360px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(540px,1.12fr);
  gap:20px;
  align-items:stretch;
}

.ai-poker-premium__copy,
.ai-poker-premium__console{
  min-width:0;
  border-radius:22px;
  background:
    radial-gradient(circle at 0 0,rgba(50,187,150,.08),transparent 36%),
    linear-gradient(145deg,rgba(7,37,30,.97),rgba(3,17,14,.995));
  box-shadow:0 20px 46px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.022);
}

.ai-poker-premium__copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px 32px 30px;
}

.ai-poker-premium__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  color:#68dfc4;
  font:800 11px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:.14em;
  text-transform:uppercase;
}

.ai-poker-premium__eyebrow span{
  width:28px;
  height:1px;
  background:linear-gradient(90deg,#68dfc4,transparent);
}

.ai-poker-premium__copy h2{
  margin:0;
  color:#f3dc9e;
  font:800 clamp(38px,3.4vw,54px)/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.05em;
}

.ai-poker-premium__lead{
  max-width:620px;
  margin:16px 0 0;
  color:#bac9c2;
  font-size:15px;
  line-height:1.72;
}

.ai-poker-premium__status{
  margin-top:21px;
  padding:15px 16px;
  border-radius:15px;
  background:linear-gradient(90deg,rgba(10,68,54,.30),rgba(5,28,22,.16));
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.045);
}

.ai-poker-premium__status span,
.ai-poker-premium__status strong,
.ai-poker-premium__status small{
  display:block;
}

.ai-poker-premium__status span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#65dfc4;
  font-size:11px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.ai-poker-premium__status span i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2ee0aa;
  box-shadow:0 0 9px rgba(46,224,170,.4);
}

.ai-poker-premium__status strong{
  margin-top:8px;
  color:#e8eee9;
  font-size:12px;
}

.ai-poker-premium__status small{
  margin-top:5px;
  color:#9db3a9;
  font-size:11px;
  line-height:1.5;
}

.ai-poker-premium__available{
  margin-top:20px;
}

.ai-poker-premium__available>small{
  color:#63ddc3;
  font-size:11px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.ai-poker-premium__available ul{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:9px 0 0;
  padding:0;
  list-style:none;
}

.ai-poker-premium__available li{
  padding:6px 9px;
  border-radius:999px;
  background:rgba(99,221,195,.055);
  color:#8fa59b;
  font-size:11px;
  font-weight:750;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.04);
}

.ai-poker-premium__actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px;
}

.ai-poker-premium__primary,
.ai-poker-premium__secondary{
  min-height:58px;
  border-radius:999px;
}

.ai-poker-premium__primary{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-width:260px;
  padding:8px 18px 8px 9px;
  background:linear-gradient(135deg,#0c5f4d,#0f7a64);
  color:#fff;
  box-shadow:0 12px 25px rgba(0,0,0,.18);
}

.ai-poker-premium__primary svg{
  width:42px;
  height:42px;
  padding:8px;
  border-radius:50%;
  background:rgba(2,17,13,.24);
}

.ai-poker-premium__primary span{
  display:block;
  font-size:11.5px;
  font-weight:850;
}

.ai-poker-premium__primary small{
  display:block;
  margin-top:3px;
  color:#eefaf5;
  font-size:11px;
  font-weight:600;
}

.ai-poker-premium__secondary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-width:170px;
  padding:0 17px;
  background:rgba(8,47,38,.72);
  color:#e9f2ed;
  font-size:11px;
  font-weight:800;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.075);
}

.ai-poker-premium__secondary b{
  color:#e0c06c;
  font-size:16px;
}

.ai-poker-premium__console{
  padding:20px;
}

.ai-poker-console__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:3px 4px 15px;
}

.ai-poker-console__head small,
.ai-poker-console__head strong{
  display:block;
}

.ai-poker-console__head small{
  color:#62ddc2;
  font-size:11px;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.ai-poker-console__head strong{
  margin-top:5px;
  color:#f1d99a;
  font:800 20px/1.15 var(--font-display,Montserrat,sans-serif);
}

.ai-poker-console__head>span{
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(226,189,101,.07);
  color:#a89972;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  white-space:nowrap;
}

.ai-poker-console__head>span i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#d0ad5a;
}

.ai-poker-console__table{
  padding:8px 7px 10px;
}

.ai-poker-console__felt{
  position:relative;
  height:205px;
  overflow:hidden;
  border-radius:46%;
  background:
    radial-gradient(circle at 50% 45%,rgba(21,117,86,.97),rgba(7,59,42,.99) 58%,#041c14 60%);
  box-shadow:
    inset 0 0 0 11px #15231d,
    inset 0 0 0 13px rgba(239,203,119,.18),
    0 22px 40px rgba(0,0,0,.27);
}

.ai-poker-card{
  position:absolute;
  top:50%;
  width:58px;
  height:80px;
  display:grid;
  align-content:center;
  justify-items:center;
  border-radius:9px;
  background:linear-gradient(155deg,#fff9ea,#cfc4aa);
  color:#111;
  box-shadow:0 10px 22px rgba(0,0,0,.33);
}

.ai-poker-card b{
  font:900 21px/1 Georgia,serif;
}

.ai-poker-card i{
  margin-top:2px;
  font-size:19px;
  font-style:normal;
}

.ai-poker-card--a{
  left:42%;
  transform:translate(-50%,-50%) rotate(-7deg);
}

.ai-poker-card--k{
  left:54%;
  transform:translate(-50%,-50%) rotate(7deg);
}

.ai-poker-console__pot{
  position:absolute;
  left:50%;
  top:21px;
  transform:translateX(-50%);
  padding:7px 10px;
  border-radius:999px;
  background:rgba(2,18,14,.56);
  color:#8aa398;
  font-size:10px;
  font-weight:800;
}

.ai-poker-console__pot b{
  margin-left:5px;
  color:#e6cd8b;
}

.ai-poker-console__seat{
  position:absolute;
  width:44px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(2,18,14,.62);
  color:#81968d;
  font-size:10px;
  font-weight:850;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.05);
}

.ai-poker-console__seat--1{left:21px;top:50%;transform:translateY(-50%)}
.ai-poker-console__seat--2{right:21px;top:50%;transform:translateY(-50%)}
.ai-poker-console__seat--3{left:50%;bottom:17px;transform:translateX(-50%)}

.ai-poker-console__streets{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:9px;
}

.ai-poker-console__streets>div{
  position:relative;
  min-width:0;
  padding:12px;
  border-radius:13px;
  background:rgba(2,15,12,.48);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.035);
}

.ai-poker-console__streets span,
.ai-poker-console__streets strong,
.ai-poker-console__streets small,
.ai-poker-console__streets em{
  display:block;
}

.ai-poker-console__streets span{
  color:#7e968c;
  font-size:10px;
  font-weight:850;
}

.ai-poker-console__streets strong{
  margin-top:6px;
  color:#ead79f;
  font-size:11px;
}

.ai-poker-console__streets small{
  min-height:26px;
  margin-top:4px;
  color:#8aa398;
  font-size:11px;
  line-height:1.35;
}

.ai-poker-console__streets em{
  margin-top:8px;
  color:#8c825f;
  font-size:11px;
  font-style:normal;
  font-weight:850;
  letter-spacing:.07em;
}

.ai-poker-console__streets em.is-ready{
  color:#62d9bf;
}

.ai-poker-console__analysis{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-top:9px;
  padding:15px 16px;
  border-radius:13px;
  background:
    radial-gradient(circle at 0 0,rgba(54,191,153,.08),transparent 42%),
    rgba(2,15,12,.5);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.04);
}

.ai-poker-console__analysis small,
.ai-poker-console__analysis strong,
.ai-poker-console__analysis p{
  display:block;
}

.ai-poker-console__analysis small{
  color:#62ddc2;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ai-poker-console__analysis strong{
  margin-top:4px;
  color:#e8eee9;
  font-size:11.5px;
}

.ai-poker-console__analysis p{
  max-width:470px;
  margin:4px 0 0;
  color:#748980;
  font-size:11px;
  line-height:1.45;
}

.ai-poker-console__signal{
  flex:none;
  display:flex;
  align-items:flex-end;
  gap:3px;
  height:28px;
}

.ai-poker-console__signal i{
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,#71e5ca,#155c4b);
}

.ai-poker-console__signal i:nth-child(1){height:8px}
.ai-poker-console__signal i:nth-child(2){height:16px}
.ai-poker-console__signal i:nth-child(3){height:25px}
.ai-poker-console__signal i:nth-child(4){height:19px}
.ai-poker-console__signal i:nth-child(5){height:12px}

@media(max-width:1180px){
  .ai-poker-premium__inner{
    width:calc(100% - 32px);
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .ai-poker-console__streets{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:560px){
  .homepage-premium-max .ai-poker-premium{
    padding-bottom:40px;
  }
  .ai-poker-premium__inner{
    width:calc(100% - 20px);
  }
  .ai-poker-premium__copy{
    padding:26px 20px 22px;
  }
  .ai-poker-premium__copy h2{
    font-size:34px;
  }
  .ai-poker-premium__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .ai-poker-premium__primary,
  .ai-poker-premium__secondary{
    width:100%;
    min-width:0;
  }
  .ai-poker-premium__secondary{
    min-height:48px;
  }
  .ai-poker-premium__console{
    padding:14px;
  }
  .ai-poker-console__head{
    align-items:flex-start;
    flex-direction:column;
  }
  .ai-poker-console__felt{
    height:180px;
  }
  .ai-poker-console__analysis{
    align-items:flex-start;
  }
}


/* HOMEPAGE PREMIUM MAX — WHAT’S NEW R16 */
.homepage-premium-max .updates-premium{
  position:relative;
  padding:2px 0 66px;
  background:
    radial-gradient(circle at 15% 15%,rgba(33,143,120,.065),transparent 30%),
    transparent;
}

.updates-premium__inner{
  width:min(1360px,calc(100% - 48px));
  margin:0 auto;
  padding:24px;
  border-radius:22px;
  background:
    radial-gradient(circle at 0 0,rgba(50,187,150,.07),transparent 34%),
    linear-gradient(145deg,rgba(7,37,30,.96),rgba(3,17,14,.995));
  box-shadow:0 20px 46px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.022);
}

.updates-premium__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:26px;
  padding:4px 4px 18px;
}

.updates-premium__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  color:#68dfc4;
  font:800 11px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:.14em;
  text-transform:uppercase;
}

.updates-premium__eyebrow span{
  width:28px;
  height:1px;
  background:linear-gradient(90deg,#68dfc4,transparent);
}

.updates-premium__head h2{
  margin:0;
  color:#f3dc9e;
  font:800 clamp(30px,2.6vw,42px)/1.05 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.04em;
}

.updates-premium__head p:last-child{
  max-width:660px;
  margin:10px 0 0;
  color:#8fa49a;
  font-size:12px;
  line-height:1.55;
}

.updates-premium__all{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:43px;
  padding:0 15px;
  border:0;
  border-radius:999px;
  background:rgba(99,221,195,.055);
  color:#dfe8e3;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.055);
}

.updates-premium__all span{
  color:#dfbf6a;
  font-size:15px;
}

.updates-premium__grid{
  display:grid;
  grid-template-columns:1.2fr repeat(3,minmax(0,1fr));
  gap:9px;
}

.home-update-card{
  appearance:none;
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:12px;
  min-width:0;
  min-height:184px;
  padding:17px;
  border:0;
  border-radius:15px;
  background:
    radial-gradient(circle at 0 0,rgba(58,199,159,.055),transparent 43%),
    linear-gradient(145deg,rgba(5,29,23,.93),rgba(2,14,11,.97));
  color:inherit;
  text-align:left;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}

.home-update-card--featured{
  background:
    radial-gradient(circle at 0 0,rgba(225,186,94,.075),transparent 44%),
    radial-gradient(circle at 100% 0,rgba(58,199,159,.07),transparent 42%),
    linear-gradient(145deg,rgba(7,34,27,.96),rgba(2,14,11,.98));
}

.home-update-card__icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(99,221,195,.065);
  color:#6de0c5;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.05);
}

.home-update-card--featured .home-update-card__icon{
  background:rgba(226,189,101,.07);
  color:#e1c271;
}

.home-update-card__icon svg{
  width:24px;
  height:24px;
}

.home-update-card__content{
  min-width:0;
}

.home-update-card__content small,
.home-update-card__content strong,
.home-update-card__content p,
.home-update-card__content em{
  display:block;
}

.home-update-card__content small{
  display:flex;
  align-items:center;
  gap:6px;
  color:#61ddc1;
  font-size:11px;
  font-weight:850;
  letter-spacing:.09em;
}

.home-update-card__content small i{
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:#2ee0aa;
  box-shadow:0 0 7px rgba(46,224,170,.34);
}

.home-update-card--future .home-update-card__content small{
  color:#b09c69;
}

.home-update-card--future .home-update-card__content small i{
  background:#d0ad5a;
  box-shadow:none;
}

.home-update-card__content strong{
  margin-top:8px;
  color:#efd898;
  font:800 14px/1.24 var(--font-display,Montserrat,sans-serif);
}

.home-update-card__content p{
  margin:7px 0 0;
  color:#788d83;
  font-size:11px;
  line-height:1.48;
}

.home-update-card__content em{
  margin-top:13px;
  color:#bda561;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}

.home-update-card__content em b{
  margin-left:4px;
  font-size:12px;
}

.updates-premium__footer{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px 18px;
  margin-top:12px;
  padding:11px 4px 0;
  border-top:1px solid rgba(99,221,195,.05);
}

.updates-premium__footer>span{
  display:flex;
  align-items:center;
  gap:6px;
  color:#8aa398;
  font-size:11px;
}

.updates-premium__footer strong{
  color:#899e94;
}

.updates-premium__footer i{
  width:6px;
  height:6px;
  border-radius:50%;
}

.updates-premium__footer i.is-live{
  background:#2ee0aa;
  box-shadow:0 0 7px rgba(46,224,170,.35);
}

.updates-premium__footer i.is-future{
  background:#d0ad5a;
}

/* Static hover treatment: illuminate, do not move cards or icons. */
.home-update-card:hover,
.home-update-card:focus-visible{
  background:
    radial-gradient(circle at 0 0,rgba(67,220,176,.085),transparent 44%),
    linear-gradient(145deg,rgba(8,42,33,.97),rgba(2,17,13,.99));
}

.home-update-card:focus-visible,
.updates-premium__all:focus-visible{
  outline:2px solid #78e4ca;
  outline-offset:3px;
}

@media(max-width:1180px){
  .updates-premium__inner{
    width:calc(100% - 32px);
  }
  .updates-premium__grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .updates-premium__head{
    align-items:flex-start;
    flex-direction:column;
  }
  .updates-premium__all{
    width:100%;
  }
}

@media(max-width:620px){
  .homepage-premium-max .updates-premium{
    padding-bottom:48px;
  }
  .updates-premium__inner{
    width:calc(100% - 20px);
    padding:14px;
  }
  .updates-premium__grid{
    grid-template-columns:1fr;
  }
  .home-update-card{
    min-height:0;
  }
}


/* HOMEPAGE PREMIUM MAX — POPULAR PLACES R17 */
.homepage-premium-max .popular-premium{
  position:relative;
  padding:4px 0 48px;
  background:
    radial-gradient(circle at 18% 10%,rgba(32,145,118,.055),transparent 30%),
    transparent;
}

.popular-premium__inner{
  width:min(1360px,calc(100% - 48px));
  margin:0 auto;
  padding:24px;
  border-radius:22px;
  background:
    radial-gradient(circle at 0 0,rgba(50,187,150,.065),transparent 35%),
    linear-gradient(145deg,rgba(7,37,30,.96),rgba(3,17,14,.995));
  box-shadow:0 20px 46px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.022);
}

.popular-premium__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:26px;
  padding:4px 4px 18px;
}

.popular-premium__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  color:#68dfc4;
  font:800 11px/1 var(--font-display,Montserrat,sans-serif);
  letter-spacing:.14em;
  text-transform:uppercase;
}

.popular-premium__eyebrow span{
  width:28px;
  height:1px;
  background:linear-gradient(90deg,#68dfc4,transparent);
}

.popular-premium__head h2{
  margin:0;
  color:#f3dc9e;
  font:800 clamp(30px,2.6vw,42px)/1.05 var(--font-display,Montserrat,sans-serif);
  letter-spacing:-.04em;
}

.popular-premium__head p:last-child{
  max-width:640px;
  margin:10px 0 0;
  color:#8fa49a;
  font-size:12px;
  line-height:1.55;
}

.popular-premium__all{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:43px;
  padding:0 15px;
  border-radius:999px;
  background:rgba(99,221,195,.055);
  color:#dfe8e3;
  font-size:11px;
  font-weight:850;
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.055);
}

.popular-premium__all span{
  color:#dfbf6a;
  font-size:15px;
}

.popular-premium__grid{
  display:grid;
  grid-template-columns:1.25fr repeat(2,minmax(0,1fr));
  gap:9px;
}

.popular-card{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-width:0;
  min-height:148px;
  padding:17px;
  border-radius:15px;
  background:
    radial-gradient(circle at 0 0,rgba(58,199,159,.055),transparent 43%),
    linear-gradient(145deg,rgba(5,29,23,.93),rgba(2,14,11,.97));
  color:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}

.popular-card--featured{
  grid-row:span 2;
  min-height:305px;
  grid-template-columns:150px minmax(0,1fr);
  background:
    radial-gradient(circle at 8% 8%,rgba(226,189,101,.075),transparent 42%),
    radial-gradient(circle at 100% 0,rgba(58,199,159,.065),transparent 43%),
    linear-gradient(145deg,rgba(7,34,27,.97),rgba(2,14,11,.98));
}

.popular-card__visual{
  width:84px;
  height:84px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background:rgba(99,221,195,.05);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.045);
}

.popular-card--featured .popular-card__visual{
  width:150px;
  height:190px;
  border-radius:18px;
}

.popular-card__visual--poker{
  background:
    radial-gradient(circle at 50% 45%,rgba(26,112,84,.92),rgba(7,46,34,.98));
  box-shadow:
    inset 0 0 0 1px rgba(226,189,101,.1),
    0 16px 30px rgba(0,0,0,.22);
}

.popular-playing-card{
  position:absolute;
  width:68px;
  height:96px;
  display:grid;
  align-content:center;
  justify-items:center;
  border-radius:10px;
  background:linear-gradient(155deg,#fff8e7,#cfc2a5);
  color:#111;
  box-shadow:0 10px 20px rgba(0,0,0,.32);
  font-style:normal;
}

.popular-playing-card b{
  font:900 22px/1 Georgia,serif;
}

.popular-playing-card em{
  margin-top:3px;
  font-size:20px;
  font-style:normal;
}

.popular-playing-card--a{
  left:28px;
  transform:rotate(-9deg);
}

.popular-playing-card--k{
  right:28px;
  transform:rotate(9deg);
}

.popular-card__visual--card>i{
  width:58px;
  height:76px;
  display:grid;
  align-content:center;
  justify-items:center;
  border-radius:9px;
  background:linear-gradient(155deg,#fff8e7,#cfc2a5);
  color:#a51f2d;
  box-shadow:0 10px 18px rgba(0,0,0,.26);
  font-style:normal;
}

.popular-card__visual--card b{
  font:900 20px/1 Georgia,serif;
}

.popular-card__visual--card em{
  margin-top:2px;
  font-size:18px;
  font-style:normal;
}

.popular-card__visual--board{
  background-color:#b68b53;
  box-shadow:0 10px 18px rgba(0,0,0,.24);
}

.popular-card__visual--checkers{
  background:conic-gradient(#c59a60 25%,#412f25 0 50%,#c59a60 0 75%,#412f25 0) 0 0/28px 28px;
}

.popular-card__visual--checkers i{
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50%;
  box-shadow:0 3px 6px rgba(0,0,0,.35);
}

.popular-card__visual--checkers i:nth-child(1){left:15px;top:14px;background:radial-gradient(circle at 35% 28%,#f8ebc6,#a77c42 72%)}
.popular-card__visual--checkers i:nth-child(2){right:13px;top:34px;background:radial-gradient(circle at 35% 28%,#444,#0b0b0b 72%)}
.popular-card__visual--checkers i:nth-child(3){left:35px;bottom:11px;background:radial-gradient(circle at 35% 28%,#f8ebc6,#a77c42 72%)}

.popular-card__visual--gomoku{
  background-color:#b98d55;
  background-image:
    repeating-linear-gradient(to right,transparent 0 20px,rgba(66,42,19,.48) 20px 21px),
    repeating-linear-gradient(to bottom,transparent 0 20px,rgba(66,42,19,.48) 20px 21px);
}

.popular-card__visual--gomoku i{
  position:absolute;
  width:13px;
  height:13px;
  border-radius:50%;
  box-shadow:0 2px 5px rgba(0,0,0,.3);
}
.popular-card__visual--gomoku i:nth-child(1){left:22px;top:22px;background:#111}
.popular-card__visual--gomoku i:nth-child(2){left:43px;top:22px;background:#f4efe3}
.popular-card__visual--gomoku i:nth-child(3){left:43px;top:43px;background:#111}
.popular-card__visual--gomoku i:nth-child(4){left:64px;top:43px;background:#f4efe3}

.popular-card__visual--icon svg{
  width:42px;
  height:42px;
  color:#6de0c5;
}

.popular-card__copy{
  min-width:0;
}

.popular-card__copy small,
.popular-card__copy strong,
.popular-card__copy p,
.popular-card__copy em{
  display:block;
}

.popular-card__copy small{
  color:#61ddc1;
  font-size:11px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.popular-card--featured .popular-card__copy small{
  color:#d9bd72;
}

.popular-card__copy strong{
  margin-top:7px;
  color:#efd898;
  font:800 15px/1.2 var(--font-display,Montserrat,sans-serif);
}

.popular-card--featured .popular-card__copy strong{
  font-size:22px;
}

.popular-card__copy p{
  margin:7px 0 0;
  color:#788d83;
  font-size:11px;
  line-height:1.48;
}

.popular-card--featured .popular-card__copy p{
  font-size:11px;
  line-height:1.55;
}

.popular-card__copy em{
  margin-top:13px;
  color:#bda561;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}

.popular-card__copy em b{
  margin-left:4px;
  font-size:12px;
}

/* Hover is intentionally static: no card/icon movement. */
.popular-card:hover,
.popular-card:focus-visible{
  background:
    radial-gradient(circle at 0 0,rgba(67,220,176,.085),transparent 44%),
    linear-gradient(145deg,rgba(8,42,33,.97),rgba(2,17,13,.99));
}

.popular-card:focus-visible,
.popular-premium__all:focus-visible{
  outline:2px solid #78e4ca;
  outline-offset:3px;
}

@media(max-width:1180px){
  .popular-premium__inner{
    width:calc(100% - 32px);
  }
  .popular-premium__grid{
    grid-template-columns:1fr 1fr;
  }
  .popular-card--featured{
    grid-row:auto;
    grid-column:1/-1;
    min-height:220px;
  }
}

@media(max-width:760px){
  .popular-premium__head{
    align-items:flex-start;
    flex-direction:column;
  }
  .popular-premium__all{
    width:100%;
  }
  .popular-premium__grid{
    grid-template-columns:1fr;
  }
  .popular-card--featured{
    grid-column:1;
  }
}

@media(max-width:560px){
  .homepage-premium-max .popular-premium{
    padding-bottom:40px;
  }
  .popular-premium__inner{
    width:calc(100% - 20px);
    padding:14px;
  }
  .popular-card,
  .popular-card--featured{
    grid-template-columns:72px minmax(0,1fr);
    min-height:0;
  }
  .popular-card__visual,
  .popular-card--featured .popular-card__visual{
    width:72px;
    height:72px;
    border-radius:13px;
  }
  .popular-playing-card{
    width:36px;
    height:52px;
    border-radius:6px;
  }
  .popular-playing-card b{font-size:13px}
  .popular-playing-card em{font-size:12px}
  .popular-playing-card--a{left:10px}
  .popular-playing-card--k{right:10px}
  .popular-card--featured .popular-card__copy strong{
    font-size:17px;
  }
}


/* HOMEPAGE PREMIUM MAX — HERO WHY R18 */
/* Compact value proposition placed directly below the three hero shortcuts. */
.home-hero-why{
  margin-top:10px;
  padding:14px;
  border-radius:14px;
  background:
    radial-gradient(circle at 0 0,rgba(61,203,163,.055),transparent 44%),
    rgba(2,15,12,.48);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.035);
}

.home-hero-why__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:0 2px 11px;
}

.home-hero-why__head small,
.home-hero-why__head strong{
  display:block;
}

.home-hero-why__head small{
  color:#62ddc2;
  font-size:11px;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.home-hero-why__head strong{
  margin-top:4px;
  color:#e8d493;
  font:800 14px/1.18 var(--font-display,Montserrat,sans-serif);
}

.home-hero-why__head>a{
  flex:none;
  display:flex;
  align-items:center;
  gap:6px;
  color:#9eae77;
  font-size:11px;
  font-weight:800;
}

.home-hero-why__head>a span{
  color:#d7b75f;
  font-size:12px;
}

.home-hero-why__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}

.home-hero-why__item{
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-width:0;
  min-height:62px;
  padding:9px 10px;
  border-radius:11px;
  background:rgba(6,35,28,.5);
  box-shadow:inset 0 0 0 1px rgba(99,221,195,.028);
}

.home-hero-why__item>span{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:rgba(99,221,195,.06);
  color:#d9bb68;
}

.home-hero-why__item svg{
  width:18px;
  height:18px;
}

.home-hero-why__item strong,
.home-hero-why__item small{
  display:block;
}

.home-hero-why__item strong{
  color:#dfe9e4;
  font-size:11px;
  line-height:1.2;
}

.home-hero-why__item small{
  margin-top:3px;
  color:#8aa398;
  font-size:11px;
  line-height:1.35;
}

/* Deliberately static on hover: no jumping icons or cards. */
.home-hero-why__item:hover{
  background:rgba(8,46,36,.58);
}

.home-hero-why__head>a:focus-visible,
.home-hero-why__item:focus-within{
  outline:2px solid #78e4ca;
  outline-offset:2px;
}

@media(max-width:760px){
  .home-hero-why__head{
    align-items:flex-start;
    flex-direction:column;
  }
  .home-hero-why__grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .home-hero-why{
    padding:12px;
  }
}


/* HOMEPAGE PREMIUM MAX — FINAL POLISH R19 */
/* One calm interaction language across the finished homepage. */
.homepage-premium-max .tile,
.homepage-premium-max .academy-tile,
.homepage-premium-max .home-hub-card,
.homepage-premium-max .knowledge-card,
.homepage-premium-max .home-progress-game,
.homepage-premium-max .popular-card,
.homepage-premium-max .home-update-card,
.homepage-premium-max .home-hero-premium__primary,
.homepage-premium-max .home-hero-premium__secondary{
  transition:background .18s ease,box-shadow .18s ease,color .18s ease,filter .18s ease!important;
}

.homepage-premium-max .tile:hover,
.homepage-premium-max .tile:focus-visible,
.homepage-premium-max .academy-tile:hover,
.homepage-premium-max .academy-tile:focus-visible,
.homepage-premium-max .home-hub-card:hover,
.homepage-premium-max .home-hub-card:focus-visible,
.homepage-premium-max .knowledge-card:hover,
.homepage-premium-max .knowledge-card:focus-visible,
.homepage-premium-max .home-progress-game:hover,
.homepage-premium-max .home-progress-game:focus-visible,
.homepage-premium-max .popular-card:hover,
.homepage-premium-max .popular-card:focus-visible,
.homepage-premium-max .home-update-card:hover,
.homepage-premium-max .home-update-card:focus-visible,
.homepage-premium-max .home-hero-premium__primary:hover,
.homepage-premium-max .home-hero-premium__primary:focus-visible,
.homepage-premium-max .home-hero-premium__secondary:hover,
.homepage-premium-max .home-hero-premium__secondary:focus-visible{
  transform:none!important;
}

.homepage-premium-max .academy-tile:hover .academy-tile__cta b,
.homepage-premium-max .academy-tile:focus-visible .academy-tile__cta b{
  transform:none!important;
}

/* Premium static hover: brighter surface, never jumping UI. */
.homepage-premium-max .academy-tile:hover,
.homepage-premium-max .home-hub-card:hover,
.homepage-premium-max .knowledge-card:hover,
.homepage-premium-max .home-progress-game:hover{
  box-shadow:0 14px 30px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025)!important;
  filter:brightness(1.035);
}

/* Keep the long homepage compact and visually rhythmic. */
.homepage-premium-max .home-hero-premium{
  padding-bottom:12px!important;
}

.homepage-premium-max .home-hero-premium--dense .home-hero-premium__copy{
  padding:30px 20px 22px 8px!important;
}

.homepage-premium-max .home-hero-premium__hub{
  padding:18px!important;
}

.homepage-premium-max .home-academy-progress{
  margin-top:10px;
  padding-top:12px;
  padding-bottom:10px;
}

.homepage-premium-max .academy-showcase{
  padding-top:18px!important;
  padding-bottom:42px!important;
}

.homepage-premium-max .ai-poker-premium{
  padding-top:0!important;
  padding-bottom:42px!important;
}

.homepage-premium-max .knowledge-premium{
  padding-top:0!important;
  padding-bottom:42px!important;
}

.homepage-premium-max .popular-premium{
  padding-top:0!important;
  padding-bottom:42px!important;
}

.homepage-premium-max .community-premium{
  padding-top:0!important;
  padding-bottom:44px!important;
}

.homepage-premium-max .updates-premium{
  padding-top:0!important;
  padding-bottom:42px!important;
}

/* Every major block uses the same desktop and mobile page geometry. */
.homepage-premium-max .academy-showcase__inner,
.homepage-premium-max .ai-poker-premium__inner,
.homepage-premium-max .knowledge-premium__inner,
.homepage-premium-max .popular-premium__inner,
.homepage-premium-max .community-premium__inner,
.homepage-premium-max .updates-premium__inner{
  width:min(1360px,calc(100% - 48px))!important;
}

#academy,
#ai-poker-academy,
#centrum-wiedzy,
#popularne-teraz,
#spolecznosc-next,
#co-nowego{
  scroll-margin-top:92px;
}

/* Reduce repeated-card bulk while preserving hierarchy. */
.homepage-premium-max .popular-card{
  min-height:138px;
}

.homepage-premium-max .popular-card--featured{
  min-height:288px;
}

.homepage-premium-max .home-update-card{
  min-height:170px;
}

.homepage-premium-max .community-feature{
  min-height:138px;
}

/* Flagship section receives a subtle premium emphasis without a frame. */
.homepage-premium-max .ai-poker-premium__copy,
.homepage-premium-max .ai-poker-premium__console{
  background:
    radial-gradient(circle at 0 0,rgba(58,196,158,.095),transparent 36%),
    radial-gradient(circle at 100% 0,rgba(226,189,101,.035),transparent 35%),
    linear-gradient(145deg,rgba(7,37,30,.975),rgba(3,17,14,.995));
}

/* Footer should follow naturally after the final editorial block. */
.homepage-premium-max .site-footer{
  margin-top:0!important;
}

/* Consistent keyboard treatment for all prominent homepage actions. */
.homepage-premium-max .home-hub-card:focus-visible,
.homepage-premium-max .home-progress-game:focus-visible,
.homepage-premium-max .popular-card:focus-visible,
.homepage-premium-max .home-update-card:focus-visible,
.homepage-premium-max .ai-poker-premium__primary:focus-visible,
.homepage-premium-max .ai-poker-premium__secondary:focus-visible,
.homepage-premium-max .popular-premium__all:focus-visible,
.homepage-premium-max .updates-premium__all:focus-visible,
.homepage-premium-max .home-hero-why__head>a:focus-visible{
  outline:2px solid #78e4ca!important;
  outline-offset:3px!important;
}

@media(max-width:1179px){
  .homepage-premium-max .home-hero-premium--dense .home-hero-premium__copy{
    padding:28px 0 12px!important;
  }

  .homepage-premium-max .academy-showcase__inner,
  .homepage-premium-max .ai-poker-premium__inner,
  .homepage-premium-max .knowledge-premium__inner,
  .homepage-premium-max .popular-premium__inner,
  .homepage-premium-max .community-premium__inner,
  .homepage-premium-max .updates-premium__inner{
    width:calc(100% - 32px)!important;
  }
}

@media(max-width:760px){
  .homepage-premium-max .academy-showcase,
  .homepage-premium-max .ai-poker-premium,
  .homepage-premium-max .knowledge-premium,
  .homepage-premium-max .popular-premium,
  .homepage-premium-max .community-premium,
  .homepage-premium-max .updates-premium{
    padding-bottom:34px!important;
  }

  .homepage-premium-max .popular-card,
  .homepage-premium-max .popular-card--featured,
  .homepage-premium-max .home-update-card,
  .homepage-premium-max .community-feature{
    min-height:0!important;
  }
}

@media(max-width:560px){
  .homepage-premium-max .home-hero-premium__hub{
    padding:14px!important;
  }

  .homepage-premium-max .academy-showcase__inner,
  .homepage-premium-max .ai-poker-premium__inner,
  .homepage-premium-max .knowledge-premium__inner,
  .homepage-premium-max .popular-premium__inner,
  .homepage-premium-max .community-premium__inner,
  .homepage-premium-max .updates-premium__inner{
    width:calc(100% - 20px)!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .homepage-premium-max *,
  .homepage-premium-max *::before,
  .homepage-premium-max *::after{
    scroll-behavior:auto!important;
  }
}

/* HOMEPAGE FOOTER — newsletter progress must never overlap the legal row. */
/* home.css used a fixed four-column footer height before newsletter consent
   and asynchronous status were added to the footer form. Keep the original
   minimum silhouette, but let the real grid content determine its height. */
@media (min-width:1180px){
  .homepage-premium-max .site-footer .footer-grid{
    height:auto;
    min-height:calc(158 * var(--u));
    padding-bottom:max(24px,calc(24 * var(--u)));
  }
}

/* The generic .footer-news p rule must not turn the progress text white.
   Keep progress and failure messages in the form's own grid row. */
.homepage-premium-max .footer-news .footer-newsletter-status{
  margin:0;
  max-width:100%;
  overflow-wrap:anywhere;
  color:#8de7df;
  font-size:.72rem;
  line-height:1.4;
}
.homepage-premium-max .footer-news .footer-newsletter-status.is-error{
  color:#ff8d97;
}
