:root{
  --gs-bg:#140022;
  --gs-bg-deep:#0b0014;
  --gs-surface:#220438;
  --gs-surface-2:#2c0848;
  --gs-surface-3:#3a0d5b;
  --gs-border:#612080;
  --gs-border-soft:rgba(185,82,255,.28);
  --gs-text:#fff;
  --gs-muted:#c7b6d4;
  --gs-yellow:#ffe600;
  --gs-yellow-soft:#fff36a;
  --gs-green:#00df78;
  --gs-green-dark:#00ad5b;
  --gs-pink:#f00067;
  --gs-cyan:#23ddff;
  --gs-shadow:0 18px 44px rgba(4,0,12,.42);
}

html{background:var(--gs-bg-deep);color:var(--gs-text)}
body{
  color:var(--gs-text);
  font-family:Poppins,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 15% 4%,rgba(116,15,174,.32),transparent 30rem),
    radial-gradient(circle at 88% 18%,rgba(74,0,151,.26),transparent 34rem),
    linear-gradient(180deg,#180029 0%,#11001e 52%,#090011 100%);
}
body::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.18;
  background:
    repeating-linear-gradient(112deg,transparent 0 86px,rgba(255,255,255,.035) 87px 88px),
    radial-gradient(circle at 70% 40%,rgba(255,230,0,.16),transparent 1px 3px,transparent 4px);
  background-size:auto,90px 90px;
}
a{color:var(--gs-yellow)}
a:hover{color:#fff}
.container{max-width:1280px;padding-inline:20px}

/* Header and original brand */
.site-header{
  min-height:78px;
  background:rgba(17,0,31,.96);
  border:0;
  border-bottom:2px solid var(--gs-yellow);
  box-shadow:0 12px 36px rgba(0,0,0,.48);
  backdrop-filter:blur(14px);
}
.header-inner{height:78px;padding-right:62px}
.brand-logo{display:inline-flex;align-items:center;color:#fff;line-height:0}
.brand-logo img{
  display:block;width:96px;height:60px;object-fit:contain;object-position:left center;
  filter:drop-shadow(0 0 12px rgba(255,230,0,.18));
}
.header-actions{gap:8px}
.btn{
  min-height:40px;padding:10px 19px;border-radius:7px;
  font-size:.86rem;font-weight:850;letter-spacing:.02em;text-transform:uppercase;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-outline{
  color:#fff;background:#2a093f;border:1px solid #70418b;
}
.btn-outline:hover{color:var(--gs-yellow);background:#3a1154;border-color:var(--gs-yellow)}
.btn-primary{
  color:#07150e;background:linear-gradient(180deg,#21f58b,#00c668);
  border:1px solid #57ffae;box-shadow:0 7px 20px rgba(0,223,120,.25);
}
.btn-primary:hover{color:#06130c;background:linear-gradient(180deg,#5cffaf,#00df78);box-shadow:0 9px 26px rgba(0,223,120,.36)}
.mandatory-header-burger-nav{
  position:absolute!important;top:16px;
  right:max(16px,calc((100vw - 1280px)/2 + 16px));
}
.mandatory-header-burger--wide .mandatory-header-burger__button,
.mandatory-header-burger--rail .mandatory-header-burger__button{
  width:46px;height:46px;border-radius:7px;background:#2b0a42;color:var(--gs-yellow);
  border:1px solid #70418b;box-shadow:none;
}
.mandatory-header-burger__button:hover{background:#3b1158;border-color:var(--gs-yellow)}
.mandatory-header-burger--wide .mandatory-header-burger__panel,
.mandatory-header-burger--rail .mandatory-header-burger__panel{
  top:82px;padding:12px;border-radius:10px;border:1px solid var(--gs-border);
  background:rgba(24,2,40,.98);box-shadow:0 24px 70px rgba(0,0,0,.64);backdrop-filter:blur(16px);
}
.mandatory-header-burger--rail .mandatory-header-burger__panel{top:58px;right:0}
.mandatory-header-burger--wide .mandatory-header-burger__panel a,
.mandatory-header-burger--rail .mandatory-header-burger__panel a{
  color:#fff!important;background:#2a0a40;border:1px solid #482060;border-radius:6px;
}
.mandatory-header-burger--wide .mandatory-header-burger__panel a:hover,
.mandatory-header-burger--rail .mandatory-header-burger__panel a:hover{
  color:#13001f!important;background:var(--gs-yellow);border-color:var(--gs-yellow);
}

/* Casino-style hero */
.hero{padding:24px 0 10px;border:0;background:none}
.hero-box{
  min-height:420px;padding:44px 42px;position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;
  background:
    linear-gradient(90deg,rgba(15,0,28,.98) 0%,rgba(24,0,46,.92) 42%,rgba(24,0,46,.28) 72%,rgba(24,0,46,.10) 100%),
    url("/assets/branding/great-slots-hero.webp") center right/cover no-repeat;
  border:1px solid #5a1b77;border-radius:12px;
  box-shadow:var(--gs-shadow),inset 0 1px 0 rgba(255,255,255,.07);
}
.hero-box::after{
  content:"";position:absolute;inset:auto 0 0;height:4px;
  background:linear-gradient(90deg,var(--gs-yellow),var(--gs-pink),var(--gs-green));
}
.hero-box>p,.hero-box>h1,.hero-box>.hero-badge,.hero-box>.offer-frame,.hero-box>.meta-editorial-bar{position:relative;z-index:1;max-width:650px}
.hero-badge{
  align-self:flex-start;margin-bottom:14px;padding:6px 11px;border-radius:4px;
  color:#fff;background:var(--gs-pink);border:1px solid #ff4a93;
  font-size:.72rem;letter-spacing:.055em;
}
.hero h1{
  color:var(--gs-yellow);font-size:clamp(2.7rem,5.4vw,5.3rem);line-height:.88;
  letter-spacing:-.045em;text-shadow:0 5px 0 #7f3900,0 12px 28px rgba(0,0,0,.55);
}
.hero-box>p{color:#f3eafb;font-size:1rem;line-height:1.62;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.offer-frame{
  margin:18px 0 12px;padding:18px 20px;
  background:rgba(32,3,52,.9);border:2px solid var(--gs-yellow);border-radius:9px;
  box-shadow:0 12px 30px rgba(0,0,0,.32);
}
.offer-title{color:var(--gs-yellow);font-size:1.3rem;line-height:1.25}
.offer-sub{color:#d6c6e2}
.btn-lg{min-height:48px;padding:14px 24px}
.meta-editorial-bar{background:rgba(20,0,34,.76);border-left:4px solid var(--gs-cyan);color:#cbbbd8;border-radius:6px}
.meta-editorial-bar p{color:#cbbbd8}

/* Compact game navigation */
.toc-bar{
  margin:12px 0 20px;padding:10px;gap:7px;
  background:#210437;border:1px solid #4d1768;border-radius:9px;box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.toc-pill{
  padding:9px 14px;border-radius:5px;background:#30094b;border:1px solid #562171;
  color:#f7effc;font-size:.82rem;
}
.toc-pill:hover{color:#170020;background:var(--gs-yellow);border-color:var(--gs-yellow)}

/* Content panels */
.section-card,
.template-assembled-main{
  color:var(--gs-text);background:linear-gradient(180deg,rgba(39,6,61,.98),rgba(27,3,45,.98));
  border:1px solid var(--gs-border-soft);border-radius:11px;box-shadow:0 12px 34px rgba(0,0,0,.27);
}
.section-card{padding:28px;margin-bottom:20px}
.template-assembled-main{max-width:1280px!important;margin:24px auto 46px!important;padding:32px!important}
.section-card h2,
.template-assembled-content h2{
  color:#fff;border-bottom:1px solid #582070;padding-bottom:12px;font-weight:850;
}
.section-card h2::before,
.template-assembled-content h2::before{
  content:"";display:inline-block;width:6px;height:1em;margin-right:10px;
  background:var(--gs-yellow);vertical-align:-.1em;box-shadow:0 0 14px rgba(255,230,0,.3);
}
.template-assembled-content>h1{
  margin-top:0;color:var(--gs-yellow);font-size:clamp(2.15rem,5vw,4.7rem);font-weight:950;
  line-height:.96;letter-spacing:-.035em;text-shadow:0 5px 0 #7f3900,0 12px 26px rgba(0,0,0,.45);
}
.section-card h3,.template-assembled-content h3{color:var(--gs-yellow)}
.section-card p,.section-card li,.template-assembled-content p,.template-assembled-content li{color:#e5d9ed}
.section-card strong,.template-assembled-content strong{color:#fff}
.answer-grid{gap:11px}
.answer-box{
  position:relative;padding:16px;background:linear-gradient(145deg,#390b58,#25043c);
  border:1px solid #61227e;border-top:3px solid var(--gs-yellow);border-radius:8px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.answer-box:nth-child(2n){border-top-color:var(--gs-green)}
.answer-label{color:var(--gs-yellow);letter-spacing:.045em}
.table-scroll-wrap{background:#170026;border:1px solid #5a1d74;border-radius:8px}
table{background:#210337;color:#f5eff8}
th,td{border-bottom:1px solid #522069;color:#eadff0}
tr:first-child td,th{background:#3b0a58;color:var(--gs-yellow)}
tr:nth-child(even):not(:first-child){background:#2b0843}
tr:hover:not(:first-child){background:#391051}
.catalog-header{margin-top:10px}
.game-grid{gap:12px}
.game-tile{
  aspect-ratio:1.22/1;border:2px solid #612080;border-radius:8px;
  color:#fff;background:
    radial-gradient(circle at 70% 20%,rgba(255,0,151,.27),transparent 32%),
    linear-gradient(145deg,#5d0b79 0%,#26043f 57%,#12001f 100%);
  box-shadow:inset 0 0 30px rgba(133,0,255,.18),0 8px 22px rgba(0,0,0,.25);
}
.game-tile:nth-child(2n){background:radial-gradient(circle at 70% 20%,rgba(0,235,125,.24),transparent 32%),linear-gradient(145deg,#1c6750,#26043f 57%,#12001f)}
.game-tile:nth-child(3n){background:radial-gradient(circle at 70% 20%,rgba(255,230,0,.22),transparent 32%),linear-gradient(145deg,#6b4510,#26043f 57%,#12001f)}
.game-tile:hover{color:#fff;border-color:var(--gs-yellow);transform:translateY(-4px);box-shadow:0 13px 32px rgba(0,0,0,.42),0 0 18px rgba(255,230,0,.16)}
.game-tile svg{color:var(--gs-yellow);filter:drop-shadow(0 0 8px rgba(255,230,0,.38))}
.game-tile-cta{color:#07150e;background:var(--gs-green);border-radius:4px}
.howto-steps{background:#31094b;border-left-color:var(--gs-yellow)}
.app-showcase{background:#31094b;border:1px solid #662382;border-radius:9px}
.age-pill{background:#4b0928;border-color:#ff4a74;color:#ff8aa6}
.sticky-cta{background:rgba(25,1,40,.97);border-top:2px solid var(--gs-yellow);box-shadow:0 -8px 28px rgba(0,0,0,.4)}
.sticky-close{border-color:#70418b;color:#fff}

/* Footer */
.site-footer{
  color:#bfaecb;background:linear-gradient(180deg,#10001c,#07000d);
  border-top:3px solid var(--gs-yellow);padding-top:42px;
}
.trust-badge,.responsible-badge-links a{background:#23043a;border-color:#53206d;color:#c7b6d4}
.footer-author-card{background:#220438!important;border-color:#572071!important;box-shadow:0 12px 30px rgba(0,0,0,.34)!important}
.site-footer a{color:#e9dcf0}.site-footer a:hover{color:var(--gs-yellow)}

@media(max-width:1024px){
  .hero-box{min-height:460px;background-position:62% center}
  .hero-box>p,.hero-box>h1,.hero-box>.hero-badge,.hero-box>.offer-frame,.hero-box>.meta-editorial-bar{max-width:610px}
  .game-tile{aspect-ratio:1.08/1}
}
@media(max-width:768px){
  .container{padding-inline:13px}
  .site-header{min-height:66px}.header-inner{height:66px;padding-right:50px}
  .brand-logo img{width:72px;height:48px}
  .header-actions{gap:5px}.header-actions .btn{min-height:36px;padding:8px 10px;font-size:.71rem}
  .mandatory-header-burger-nav{top:12px;right:7px!important}
  .mandatory-header-burger--wide .mandatory-header-burger__button,.mandatory-header-burger--rail .mandatory-header-burger__button{width:42px;height:42px}
  .mandatory-header-burger--wide .mandatory-header-burger__panel{top:72px;background:#19022a}
  .hero{padding-top:14px}
  .hero-box{min-height:0;padding:28px 18px;background:linear-gradient(90deg,rgba(16,0,29,.97),rgba(25,1,44,.83)),url("/assets/branding/great-slots-hero.webp") 60% center/cover no-repeat}
  .hero h1{font-size:2.75rem}.hero-box>p{font-size:.92rem}
  .offer-frame{padding:16px}.offer-title{font-size:1.1rem}.offer-frame .btn-lg{width:100%}
  .meta-editorial-bar{display:none}
  .toc-bar{margin-inline:0}
  .section-card{padding:20px 15px;margin-bottom:14px}
  .template-assembled-main{width:calc(100% - 24px)!important;margin:16px auto 34px!important;padding:22px 16px!important}
  .answer-grid{grid-template-columns:1fr 1fr}
  .game-grid{grid-template-columns:repeat(2,1fr);gap:9px}
  .game-tile{aspect-ratio:1/1;padding:11px}
}
@media(max-width:520px){
  .header-actions .btn-outline{display:none}
  .brand-logo img{width:66px;height:44px}
  .hero h1{font-size:2.3rem}.hero-badge{font-size:.63rem}
  .answer-grid{grid-template-columns:1fr}
  .section-card{border-left:0;border-right:0;border-radius:0}
  main.container{padding-inline:0}
  .hero,.toc-bar{margin-inline:12px}
  .hero-box{padding:24px 15px}.offer-frame{margin-bottom:0}
  .game-tile-title{font-size:.82rem}
  .template-assembled-main{width:100%!important;border-left:0;border-right:0;border-radius:0}
  .footer-author-card{flex-direction:column;align-items:center!important;text-align:center!important}
}

/* Full-width top promotion, matching the reference landing page */
main.container>.hero{
  width:100vw;
  margin:0 0 14px calc(50% - 50vw);
  padding:0;
}
main.container>.hero .hero-box{
  min-height:540px;
  padding:54px max(24px,calc((100vw - 1240px)/2));
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr);
  grid-template-rows:auto auto auto auto;
  column-gap:clamp(34px,6vw,96px);
  align-content:center;
  border-left:0;
  border-right:0;
  border-radius:0;
  background:
    linear-gradient(90deg,rgba(13,0,25,.94) 0%,rgba(23,0,42,.70) 36%,rgba(23,0,42,.15) 60%,rgba(20,0,38,.74) 100%),
    url("/assets/branding/great-slots-hero.webp") center/cover no-repeat;
  box-shadow:0 20px 55px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.08);
}
main.container>.hero .hero-badge{grid-column:1;grid-row:1;justify-self:start}
main.container>.hero h1{grid-column:1;grid-row:2;max-width:660px;margin:8px 0 16px}
main.container>.hero .hero-box>p{grid-column:1;grid-row:3;max-width:610px;margin:0;padding:16px 18px;background:rgba(17,0,31,.62);border-left:4px solid var(--gs-yellow);border-radius:0 8px 8px 0;backdrop-filter:blur(4px)}
main.container>.hero .offer-frame{
  grid-column:2;
  grid-row:1/5;
  align-self:center;
  justify-self:end;
  display:block;
  width:min(100%,430px);
  max-width:430px;
  margin:0;
  padding:34px 30px 30px;
  text-align:center;
  background:linear-gradient(180deg,rgba(53,7,83,.96),rgba(25,1,42,.97));
  border:2px solid #8c2eb3;
  border-radius:18px;
  box-shadow:0 24px 58px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.09),0 0 32px rgba(117,25,183,.2);
}
main.container>.hero .offer-kicker{
  display:inline-flex;
  margin-bottom:17px;
  padding:6px 12px;
  color:#180020;
  background:var(--gs-yellow);
  border-radius:4px;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.065em;
  text-transform:uppercase;
}
main.container>.hero .offer-title{font-size:1.72rem;line-height:1.15;text-transform:uppercase;text-shadow:0 3px 12px rgba(0,0,0,.45)}
main.container>.hero .offer-sub{margin-top:13px;color:#ddcde8;font-size:.9rem;line-height:1.55}
main.container>.hero .offer-frame .btn-lg{width:100%;margin-top:23px;font-size:1rem}
main.container>.hero .meta-editorial-bar{display:none}

@media(max-width:900px){
  main.container>.hero .hero-box{
    min-height:0;
    padding:38px 24px;
    grid-template-columns:1fr;
    grid-template-rows:auto;
    gap:14px;
    background:linear-gradient(90deg,rgba(13,0,25,.93),rgba(22,0,42,.65)),url("/assets/branding/great-slots-hero.webp") 54% center/cover no-repeat;
  }
  main.container>.hero .hero-badge,
  main.container>.hero h1,
  main.container>.hero .hero-box>p,
  main.container>.hero .offer-frame{grid-column:1;grid-row:auto;justify-self:start}
  main.container>.hero .offer-frame{width:min(100%,560px);max-width:560px;margin-top:10px;text-align:left}
  main.container>.hero .offer-frame .btn-lg{width:auto;min-width:220px}
}
@media(max-width:520px){
  main.container>.hero{margin-bottom:10px}
  main.container>.hero .hero-box{padding:28px 15px;background:linear-gradient(180deg,rgba(15,0,28,.79),rgba(22,0,40,.94)),url("/assets/branding/great-slots-hero.webp") 52% top/auto 260px no-repeat}
  main.container>.hero .hero-badge{margin-top:160px}
  main.container>.hero .hero-box>p{padding:13px 14px;font-size:.88rem}
  main.container>.hero .offer-frame{padding:24px 18px 20px;border-radius:12px;text-align:center}
  main.container>.hero .offer-title{font-size:1.4rem}
  main.container>.hero .offer-frame .btn-lg{width:100%;min-width:0}
}

/* Header actions share one flex row, including the menu button */
.site-header .header-inner{padding-right:0}
.site-header .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}
.site-header .mandatory-header-burger-nav{
  position:static!important;
  top:auto!important;
  right:auto!important;
  transform:none!important;
  margin:0!important;
  flex:0 0 auto;
}
.site-header .mandatory-header-burger--wide .mandatory-header-burger__button,
.site-header .mandatory-header-burger--rail .mandatory-header-burger__button{
  width:42px;
  height:40px;
  border-radius:7px;
  color:#07150e;
  background:linear-gradient(180deg,#21f58b,#00c668);
  border:1px solid #57ffae;
  box-shadow:0 7px 20px rgba(0,223,120,.25);
}
.site-header .mandatory-header-burger__button span{background:#07150e}
.site-header .mandatory-header-burger__button:hover{
  color:#06130c;
  background:linear-gradient(180deg,#5cffaf,#00df78);
  border-color:#8bffc7;
  box-shadow:0 9px 26px rgba(0,223,120,.36);
}
@media(max-width:768px){
  .site-header .header-actions{gap:5px}
  .site-header .mandatory-header-burger--wide .mandatory-header-burger__button,
  .site-header .mandatory-header-burger--rail .mandatory-header-burger__button{width:38px;height:36px}
}

/* All header controls use one identical color treatment */
.site-header .header-actions>.btn,
.site-header .mandatory-header-burger--wide .mandatory-header-burger__button,
.site-header .mandatory-header-burger--rail .mandatory-header-burger__button{
  color:#07150e;
  background:linear-gradient(180deg,#21f58b,#00c668);
  border:1px solid #57ffae;
  box-shadow:0 7px 20px rgba(0,223,120,.25);
}
.site-header .header-actions>.btn:hover,
.site-header .mandatory-header-burger--wide .mandatory-header-burger__button:hover,
.site-header .mandatory-header-burger--rail .mandatory-header-burger__button:hover{
  color:#06130c;
  background:linear-gradient(180deg,#5cffaf,#00df78);
  border-color:#8bffc7;
  box-shadow:0 9px 26px rgba(0,223,120,.36);
}
