/*
Theme Name: Gaming Portal Theme
Author: Custom Development
Description: Responsive gaming portal theme based on the supplied UI reference.
Version: 7.4
Text Domain: gaming-portal
*/
:root{
 --bg:#080214;--bg2:#110326;--panel:#180735;--panel2:#23094b;
 --purple:#7d18d1;--purple2:#4d0c91;--gold:#ffd23f;--gold2:#ff9f1c;
 --text:#fff;--muted:#c9bddb;--line:rgba(255,255,255,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 50% -10%,#36106b 0,#120326 34%,#080214 72%);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}
button{font:inherit}
img{display:block;max-width:100%;height:auto}
.gp-container{width:min(1240px,calc(100% - 28px));margin:auto}

/* App bar */
.gp-app-download{background:linear-gradient(90deg,#241047,#46117d,#241047);border-bottom:1px solid var(--line);box-shadow:0 3px 18px rgba(0,0,0,.35)}
.gp-app-download__inner{min-height:42px;display:flex;align-items:center;gap:12px}
.gp-app-download__brand{font-weight:900;color:var(--gold);letter-spacing:.5px}
.gp-app-download__text{flex:1;font-size:13px;color:#eee}
.gp-app-download__button{padding:7px 17px;border-radius:999px;background:linear-gradient(180deg,#ffd84e,#f5a500);color:#291200;font-weight:900;font-size:12px;box-shadow:0 4px 12px rgba(255,174,0,.25)}
.gp-app-download__close{border:0;background:none;color:#fff;cursor:pointer;font-size:22px;line-height:1}

/* Header */
.gp-header{background:rgba(9,2,24,.88);border-bottom:1px solid rgba(255,255,255,.06);backdrop-filter:blur(8px)}
.gp-header__inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.gp-logo{font-size:32px;font-weight:1000;font-style:italic;color:var(--gold);text-shadow:0 2px 0 #6b2c00,0 0 18px rgba(255,205,55,.2)}
.gp-logo img{max-height:58px;width:auto}
.gp-header-links{display:flex;gap:10px}
.gp-header-link{display:flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid rgba(255,210,63,.24);border-radius:12px;background:linear-gradient(180deg,#29104d,#18072e);font-size:12px;font-weight:800}
.gp-header-link b{color:var(--gold)}

/* Hero */
.gp-hero{margin-top:14px}
.gp-hero-slider{position:relative;overflow:hidden;border-radius:18px;border:1px solid rgba(255,210,63,.22);background:linear-gradient(120deg,#30105b,#120326);min-height:250px;box-shadow:0 15px 40px rgba(0,0,0,.35)}
.gp-slide{position:relative;min-height:250px;display:flex;align-items:flex-end}
.gp-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}
.gp-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,2,20,.9),rgba(8,2,20,.15) 65%,rgba(8,2,20,.35))}
.gp-slide__content{position:relative;z-index:2;padding:30px;max-width:600px}
.gp-slide__content h1{margin:0 0 8px;font-size:clamp(25px,4vw,46px);line-height:1.05;color:#fff}
.gp-slide__content p{margin:0;color:#eee;max-width:480px}
.gp-slider-dots{position:absolute;z-index:4;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:7px}
.gp-slider-dots i{width:7px;height:7px;border-radius:50%;background:#fff;opacity:.4}
.gp-slider-dots i.active{opacity:1;background:var(--gold)}

/* Ticker */
.gp-ticker{margin-top:10px;padding:9px 13px;border-radius:12px;background:linear-gradient(90deg,#411080,#7016bb,#411080);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;gap:10px;overflow:hidden}
.gp-ticker__icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#24064d;flex:0 0 auto}
.gp-ticker__text{white-space:nowrap;overflow:hidden;flex:1;font-size:13px}
.gp-ticker__text span{display:block}

/* Actions */
.gp-actions{margin-top:12px;display:grid;grid-template-columns:repeat(6,1fr);gap:9px}
.gp-action{min-height:55px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:13px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg,#3a126b,#1c073d);font-weight:900;font-size:13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.gp-action--primary{background:linear-gradient(180deg,#ffd948,#ef9d00);color:#2b1500;border-color:#ffe985}
.gp-action small{display:block;font-size:18px}

/* Main */
.gp-main{margin-top:18px;display:grid;grid-template-columns:145px minmax(0,1fr);gap:14px}
.gp-category-sidebar{display:flex;flex-direction:column;gap:8px}
.gp-category{min-height:82px;border-radius:15px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#24104a,#14062c);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#e8dff0;font-weight:900}
.gp-category__icon{font-size:27px}
.gp-category.active{background:linear-gradient(180deg,#ffd74c,#e99500);color:#281400;box-shadow:0 8px 22px rgba(255,166,0,.18)}
.gp-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.gp-section-heading h2{margin:0;font-size:21px}
.gp-section-heading span{color:var(--muted);font-size:12px}

/* Games */
.gp-game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.gp-game-card{position:relative;overflow:hidden;border-radius:14px;background:linear-gradient(180deg,#211047,#130529);border:1px solid rgba(255,255,255,.07);transition:transform .18s ease,box-shadow .18s ease}
.gp-game-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(0,0,0,.35)}
.gp-game-card__media{position:relative;aspect-ratio:1.45/1;background:linear-gradient(135deg,#3a146e,#16052e);overflow:hidden}
.gp-game-card__media img{width:100%;height:100%;object-fit:cover}
.gp-game-card__badge{position:absolute;top:7px;left:7px;padding:4px 7px;border-radius:7px;background:linear-gradient(180deg,#ffd94c,#e99800);color:#251200;font-size:10px;font-weight:1000}
.gp-game-card__title{padding:9px 8px;text-align:center;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gp-game-card__provider{padding:0 8px 9px;text-align:center;color:#bbaaca;font-size:10px}

/* Promotion */
.gp-promo{margin:22px auto 28px}
.gp-lucky-wheel{min-height:230px;border-radius:18px;border:1px solid rgba(255,210,63,.18);background:radial-gradient(circle at 50% 40%,#48127c,#17052f 60%,#0d021d);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.gp-lucky-wheel h2{margin:0 0 10px;color:var(--gold)}
.gp-wheel{width:130px;height:130px;border-radius:50%;display:grid;place-items:center;border:10px solid var(--gold);background:conic-gradient(#7b16c5 0 45deg,#ffbf26 45deg 90deg,#471084 90deg 135deg,#ffbf26 135deg 180deg,#7b16c5 180deg 225deg,#ffbf26 225deg 270deg,#471084 270deg 315deg,#ffbf26 315deg);box-shadow:0 0 35px rgba(255,195,45,.22);font-weight:1000;color:#fff;text-shadow:0 2px 3px #000}
.gp-lucky-wheel p{margin:10px 0 0;color:#d7c9e4;font-size:13px}

/* Bottom */
.gp-bottom-nav{display:none}

/* Mobile */
@media(max-width:900px){
 .gp-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gp-main{grid-template-columns:105px minmax(0,1fr)}
 .gp-category{min-height:70px}
}
@media(max-width:640px){
 .gp-container{width:calc(100% - 16px)}
 .gp-app-download__inner{min-height:40px}
 .gp-app-download__text{font-size:11px}
 .gp-app-download__button{padding:6px 11px}
 .gp-header__inner{min-height:62px}
 .gp-logo{font-size:27px}
 .gp-header-link{padding:8px 9px;font-size:10px}
 .gp-header-link:first-child{display:none}
 .gp-hero,.gp-ticker,.gp-actions,.gp-main{margin-top:9px}
 .gp-hero-slider,.gp-slide{min-height:190px}
 .gp-slide__content{padding:20px}
 .gp-slide__content h1{font-size:27px}
 .gp-actions{grid-template-columns:repeat(3,1fr);gap:6px}
 .gp-action{min-height:48px;font-size:11px}
 .gp-main{grid-template-columns:1fr;gap:10px}
 .gp-category-sidebar{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;overflow:visible}
 .gp-category{min-height:65px;font-size:10px}
 .gp-category__icon{font-size:21px}
 .gp-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .gp-section-heading h2{font-size:17px}
 .gp-game-card__title{font-size:11px}
 .gp-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);left:0;right:0;bottom:0;z-index:9999;background:rgba(19,5,42,.98);border-top:1px solid rgba(255,210,63,.18);padding-bottom:env(safe-area-inset-bottom)}
 .gp-bottom-nav a{min-height:61px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;color:#cdbddd}
 .gp-bottom-nav a:first-child{color:var(--gold)}
 .gp-bottom-nav b{font-size:20px}
 body{padding-bottom:64px}
}

.gp-category{border:1px solid rgba(255,255,255,.08);cursor:pointer;color:inherit;font:inherit}
.gp-section-heading select{background:#211047;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:9px;padding:7px 10px;font-size:12px;max-width:170px}
.gp-games-loading{text-align:center;padding:18px;color:#d9cde4;font-size:13px}
.gp-empty-games{grid-column:1/-1;padding:35px;text-align:center;color:#cfc1db;background:#16062f;border-radius:14px}
#gp-game-grid{transition:opacity .18s ease}

.gp-promo-list{margin-top:22px;margin-bottom:22px}
.gp-promotion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gp-promotion-card{overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:linear-gradient(180deg,#24104b,#12052a)}
.gp-promotion-card>img{width:100%;aspect-ratio:2.2/1;object-fit:cover}
.gp-promotion-card__body{padding:15px}
.gp-promotion-card h3{margin:0 0 7px;font-size:17px}
.gp-promotion-card__content{color:#cdbfda;font-size:12px;line-height:1.65;margin-bottom:12px}
@media(max-width:640px){.gp-promotion-grid{grid-template-columns:1fr}.gp-promotion-card h3{font-size:15px}}

.gp-game-tools{display:flex;gap:7px;align-items:center}
.gp-game-tools input{width:150px;background:#211047;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:9px;padding:7px 10px;font-size:12px;outline:none}
.gp-game-tools input::placeholder{color:#a998b8}
.gp-load-more{display:block;margin:15px auto 0;padding:10px 24px;border:1px solid rgba(255,210,63,.28);border-radius:999px;background:linear-gradient(180deg,#ffd84a,#e99900);color:#2b1500;font-weight:900;cursor:pointer}
.gp-load-more:disabled{opacity:.55;cursor:wait}
.gp-section-heading>div:first-child span{display:block;margin-top:3px;color:#a995b8;font-size:11px}
@media(max-width:640px){
 .gp-section-heading{align-items:flex-start;gap:8px;flex-direction:column}
 .gp-game-tools{width:100%}
 .gp-game-tools input{flex:1;width:auto}
 .gp-game-tools select{max-width:140px}
}


/* =========================================================
   v1.9 VISUAL POLISH
   Screenshot-inspired spacing, depth, borders and mobile UX
   ========================================================= */

:root{
  --gp-gold-1:#fff0a8;
  --gp-gold-2:#f5c84b;
  --gp-gold-3:#b87912;
  --gp-purple-1:#26104b;
  --gp-purple-2:#16082f;
  --gp-purple-3:#0b0319;
  --gp-glow:0 0 24px rgba(185,115,255,.16);
  --gp-gold-glow:0 0 18px rgba(245,200,75,.18);
}

html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 50% -10%, rgba(125,48,205,.16), transparent 34rem),
    linear-gradient(180deg,#090218 0%,#06010f 100%);
}

.gp-container{
  width:min(1180px,calc(100% - 24px));
  margin-inline:auto;
}

.gp-app-download{
  min-height:42px;
  background:linear-gradient(90deg,#120326,#25104b,#120326);
  border-bottom:1px solid rgba(245,200,75,.18);
  box-shadow:0 4px 18px rgba(0,0,0,.22);
}

.gp-main-header{
  background:rgba(9,2,24,.94);
  border-bottom:1px solid rgba(245,200,75,.14);
  backdrop-filter:blur(14px);
  box-shadow:0 8px 30px rgba(0,0,0,.28);
}

.gp-main-header .gp-container{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:18px;
}

.gp-logo{
  text-shadow:0 0 16px rgba(245,200,75,.22);
}

.gp-hero{
  margin-top:16px;
  border:1px solid rgba(245,200,75,.26);
  border-radius:16px;
  overflow:hidden;
  background:#100522;
  box-shadow:0 12px 38px rgba(0,0,0,.36),var(--gp-gold-glow);
}

.gp-hero-slide img{
  width:100%;
  display:block;
  aspect-ratio:3/1;
  object-fit:cover;
}

.gp-hero-dots{
  bottom:10px;
}

.gp-hero-dot{
  width:8px;
  height:8px;
  border-radius:99px;
  border:1px solid rgba(255,255,255,.65);
  transition:.2s ease;
}

.gp-hero-dot.is-active{
  width:24px;
  background:var(--gp-gold-2);
  border-color:var(--gp-gold-2);
  box-shadow:0 0 10px rgba(245,200,75,.4);
}

.gp-ticker{
  margin-top:12px;
  border:1px solid rgba(245,200,75,.12);
  border-radius:12px;
  background:linear-gradient(90deg,rgba(39,15,74,.88),rgba(18,6,38,.94));
  box-shadow:var(--gp-glow);
}

.gp-quick-actions{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:14px 0 18px;
}

.gp-action{
  min-height:72px;
  border:1px solid rgba(245,200,75,.17);
  border-radius:14px;
  background:
    linear-gradient(180deg,rgba(46,18,86,.96),rgba(19,7,41,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.2);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.gp-action:hover{
  transform:translateY(-2px);
  border-color:rgba(245,200,75,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 26px rgba(0,0,0,.3),var(--gp-gold-glow);
}

.gp-action .icon,
.gp-action i{
  color:var(--gp-gold-2);
  filter:drop-shadow(0 0 7px rgba(245,200,75,.2));
}

.gp-main-layout{
  gap:16px;
}

.gp-category-sidebar{
  border:1px solid rgba(245,200,75,.14);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(32,12,61,.92),rgba(13,4,28,.94));
  box-shadow:0 10px 28px rgba(0,0,0,.25);
  overflow:hidden;
}

.gp-category-sidebar a,
.gp-category-sidebar button{
  transition:.18s ease;
}

.gp-category-sidebar .active,
.gp-category-sidebar a:hover,
.gp-category-sidebar button:hover{
  background:linear-gradient(90deg,rgba(116,44,187,.36),rgba(245,200,75,.08));
  color:#fff;
  box-shadow:inset 3px 0 0 var(--gp-gold-2);
}

.gp-games-area{
  min-width:0;
}

.gp-games-toolbar{
  gap:10px;
  margin-bottom:12px;
}

.gp-games-toolbar input,
.gp-games-toolbar select{
  min-height:42px;
  border:1px solid rgba(245,200,75,.17);
  border-radius:10px;
  background:#130627;
  color:#fff;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.gp-games-toolbar input:focus,
.gp-games-toolbar select:focus{
  border-color:rgba(245,200,75,.5);
  box-shadow:0 0 0 3px rgba(245,200,75,.06);
}

.gp-section-title{
  margin:0 0 12px;
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
}

.gp-section-title:after{
  content:"";
  display:block;
  width:44px;
  height:2px;
  margin-top:7px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--gp-gold-1),var(--gp-gold-3));
  box-shadow:0 0 8px rgba(245,200,75,.28);
}

.gp-game-grid{
  gap:10px;
}

.gp-game-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(245,200,75,.12);
  border-radius:12px;
  background:linear-gradient(180deg,#1d0b39,#0f0422);
  box-shadow:0 7px 20px rgba(0,0,0,.25);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.gp-game-card:hover{
  transform:translateY(-3px);
  border-color:rgba(245,200,75,.34);
  box-shadow:0 12px 28px rgba(0,0,0,.36),0 0 18px rgba(151,73,224,.12);
}

.gp-game-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
}

.gp-game-card:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 58%,rgba(5,1,12,.68));
}

.gp-game-card .gp-game-info{
  position:relative;
  z-index:2;
  padding:8px 9px 10px;
}

.gp-game-card .gp-game-title{
  color:#fff;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.gp-game-card .gp-game-provider{
  color:rgba(255,255,255,.56);
  font-size:11px;
}

.gp-game-badge{
  z-index:3;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}

.gp-promotions{
  margin-top:20px;
}

.gp-promotion-card{
  border:1px solid rgba(245,200,75,.16);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(44,16,82,.95),rgba(14,4,30,.96));
  box-shadow:0 10px 28px rgba(0,0,0,.25);
  overflow:hidden;
}

.gp-lucky-wheel{
  margin-top:20px;
  border:1px solid rgba(245,200,75,.16);
  border-radius:16px;
  background:
    radial-gradient(circle at 50% 35%,rgba(112,41,181,.2),transparent 45%),
    linear-gradient(180deg,#1b0835,#0c031a);
  box-shadow:0 12px 34px rgba(0,0,0,.3);
}

.gp-bottom-nav{
  border-top:1px solid rgba(245,200,75,.18);
  background:rgba(10,2,23,.96);
  box-shadow:0 -8px 28px rgba(0,0,0,.35);
  backdrop-filter:blur(14px);
}

.gp-bottom-nav a{
  min-height:60px;
  color:rgba(255,255,255,.66);
  transition:.18s ease;
}

.gp-bottom-nav a:hover,
.gp-bottom-nav a.is-active{
  color:var(--gp-gold-2);
  text-shadow:0 0 10px rgba(245,200,75,.22);
}

@media (min-width:641px){
  .gp-game-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (min-width:980px){
  .gp-game-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}

@media (max-width:760px){
  .gp-container{
    width:min(100% - 14px,1180px);
  }
  .gp-main-header .gp-container{
    min-height:62px;
    gap:10px;
  }
  .gp-hero{
    margin-top:10px;
    border-radius:12px;
  }
  .gp-hero-slide img{
    aspect-ratio:16/7;
  }
  .gp-quick-actions{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:6px;
  }
  .gp-action{
    min-height:60px;
    border-radius:10px;
    padding:7px 3px;
  }
  .gp-action .label{
    font-size:10px;
  }
  .gp-games-toolbar{
    flex-wrap:wrap;
  }
  .gp-games-toolbar input{
    flex:1 1 100%;
  }
  .gp-games-toolbar select{
    flex:1;
    min-width:0;
  }
}

@media (max-width:480px){
  .gp-app-download{
    min-height:38px;
  }
  .gp-game-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .gp-game-card{
    border-radius:10px;
  }
  .gp-game-card .gp-game-info{
    padding:7px;
  }
  .gp-quick-actions{
    gap:5px;
  }
  .gp-action{
    min-height:57px;
  }
  .gp-action .label{
    font-size:9px;
  }
  .gp-bottom-nav{
    padding-bottom:env(safe-area-inset-bottom);
  }
  body{
    padding-bottom:calc(66px + env(safe-area-inset-bottom));
  }
}

/* Prevent content from hiding behind fixed mobile navigation */
@media (max-width:760px){
  .gp-bottom-nav + *{
    margin-bottom:8px;
  }
}


/* =========================================================
   v2.0 MOBILE UX + PORTAL NAVIGATION
   ========================================================= */

/* Desktop category navigation */
.gp-category-sidebar{
  position:sticky;
  top:86px;
  align-self:flex-start;
  max-height:calc(100vh - 105px);
  overflow:auto;
  scrollbar-width:thin;
}

/* Compact portal section rhythm */
.gp-main-layout{
  align-items:start;
}

.gp-games-area{
  padding-bottom:24px;
}

.gp-games-toolbar{
  position:relative;
}

.gp-result-count{
  color:rgba(255,255,255,.52);
  font-size:12px;
}

/* Load-more button */
.gp-load-more{
  min-height:44px;
  margin:18px auto 4px;
  padding:0 24px;
  border:1px solid rgba(245,200,75,.32);
  border-radius:10px;
  color:#fff;
  background:linear-gradient(180deg,#5c248d,#2b0d4f);
  box-shadow:0 8px 22px rgba(0,0,0,.24);
  font-weight:700;
  transition:.18s ease;
}

.gp-load-more:hover{
  transform:translateY(-1px);
  border-color:rgba(245,200,75,.62);
  box-shadow:0 10px 26px rgba(0,0,0,.32),0 0 18px rgba(245,200,75,.12);
}

/* Provider/category controls feel like app chips */
.gp-category-tabs{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:2px 1px 7px;
  scrollbar-width:none;
}

.gp-category-tabs::-webkit-scrollbar{
  display:none;
}

.gp-category-tabs a,
.gp-category-tabs button{
  flex:0 0 auto;
  min-height:38px;
  padding:0 14px;
  border:1px solid rgba(245,200,75,.14);
  border-radius:999px;
  background:#17082d;
  color:rgba(255,255,255,.72);
  font-weight:700;
  white-space:nowrap;
}

.gp-category-tabs .active,
.gp-category-tabs a:hover,
.gp-category-tabs button:hover{
  color:#fff;
  border-color:rgba(245,200,75,.45);
  background:linear-gradient(180deg,#552080,#260b46);
  box-shadow:0 0 14px rgba(245,200,75,.08);
}

/* Small screens become a horizontal portal navigation */
@media (max-width:760px){
  .gp-main-layout{
    display:block;
  }

  .gp-category-sidebar{
    position:static;
    max-height:none;
    overflow:visible;
    margin-bottom:12px;
    border:0;
    background:transparent;
    box-shadow:none;
  }

  .gp-category-sidebar > *{
    display:flex;
    overflow-x:auto;
    gap:7px;
    padding:1px 1px 7px;
    scrollbar-width:none;
  }

  .gp-category-sidebar > *::-webkit-scrollbar{
    display:none;
  }

  .gp-category-sidebar a,
  .gp-category-sidebar button{
    flex:0 0 auto;
    min-width:74px;
    min-height:40px;
    padding:0 12px;
    border:1px solid rgba(245,200,75,.14);
    border-radius:999px;
    background:linear-gradient(180deg,#241047,#120527);
    box-shadow:0 4px 12px rgba(0,0,0,.18);
  }

  .gp-category-sidebar .active,
  .gp-category-sidebar a:hover,
  .gp-category-sidebar button:hover{
    box-shadow:inset 0 0 0 1px rgba(245,200,75,.25),0 5px 14px rgba(0,0,0,.22);
  }

  .gp-games-area{
    padding-bottom:18px;
  }
}

/* Very small phones: make the top action row easier to tap */
@media (max-width:390px){
  .gp-quick-actions{
    grid-template-columns:repeat(5,minmax(54px,1fr));
    overflow-x:auto;
    padding-bottom:3px;
  }

  .gp-action{
    min-width:54px;
  }

  .gp-game-grid{
    gap:7px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{
    transition:none !important;
    animation:none !important;
  }
}


/* v2.1 Hero controls */
.gp-hero-slide{display:none;position:relative}
.gp-hero-slide.is-active{display:block}
.gp-hero-slide>a{display:block;position:relative}
.gp-hero-cta{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:4;
  padding:9px 18px;
  border:1px solid rgba(255,240,168,.65);
  border-radius:9px;
  background:linear-gradient(180deg,#f5c84b,#a96b0d);
  color:#180b00;
  font-weight:800;
  box-shadow:0 5px 18px rgba(0,0,0,.28);
}
.gp-hero-prev,.gp-hero-next{
  position:absolute;
  top:50%;
  z-index:5;
  width:38px;height:38px;
  margin-top:-19px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:rgba(10,2,23,.62);
  color:#fff;
  font-size:27px;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.gp-hero-prev{left:12px}
.gp-hero-next{right:12px}
.gp-hero-prev:hover,.gp-hero-next:hover{
  border-color:rgba(245,200,75,.55);
  color:#f5c84b;
}
@media(max-width:760px){
  .gp-hero-cta{left:10px;bottom:10px;padding:7px 13px;font-size:12px}
  .gp-hero-prev,.gp-hero-next{width:31px;height:31px;margin-top:-15px;font-size:22px}
  .gp-hero-prev{left:7px}.gp-hero-next{right:7px}
}


/* v2.3 Provider Category Manager */
.gp-provider-logo{
  width:42px;
  height:20px;
  object-fit:contain;
  display:inline-block;
  vertical-align:middle;
  margin-right:5px;
}
.gp-category-tabs,
.gp-provider-tabs{
  -webkit-overflow-scrolling:touch;
}

/* v2.4 Homepage Builder uses existing front-end section styles; admin-only layout controls are isolated. */


/* v2.5 Brand Settings */
.gp-logo img{
  max-height:52px;
  width:auto;
  object-fit:contain;
}

/* v2.6 Media Library */
.gp-media-field img{max-width:180px}

/* v2.7 Portal Settings */
.gp-games-area{min-width:0}


/* =========================================================
   v2.8 FRONTEND UI MATCHING
   Portal-first visual system
   ========================================================= */

:root{
  --gp-surface-1:#1a0835;
  --gp-surface-2:#100320;
  --gp-surface-3:#240d48;
  --gp-line:rgba(255,255,255,.08);
  --gp-line-gold:rgba(245,200,75,.22);
  --gp-text:#fff;
  --gp-muted:rgba(255,255,255,.58);
}

/* Overall portal width and rhythm */
.gp-container{
  max-width:1200px;
  width:calc(100% - 20px);
}

.gp-app-download .gp-container,
.gp-main-header .gp-container,
.gp-hero,
.gp-ticker,
.gp-main-layout{
  max-width:1200px;
}

/* Header */
.gp-main-header{
  min-height:72px;
  background:
    linear-gradient(180deg,rgba(33,11,61,.98),rgba(10,2,22,.98));
  border-bottom:1px solid var(--gp-line-gold);
  box-shadow:0 5px 22px rgba(0,0,0,.32);
}

.gp-logo{
  flex:0 0 auto;
  font-weight:900;
  letter-spacing:.2px;
}

.gp-logo a{
  display:flex;
  align-items:center;
  gap:8px;
}

.gp-logo img{
  max-width:170px;
  max-height:52px;
}

.gp-header-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
}

/* Gold CTA treatment */
.gp-btn,
.gp-action-primary,
.gp-header-cta{
  border:1px solid rgba(255,235,147,.48);
  background:linear-gradient(180deg,#f6d35b 0%,#bc7d18 100%);
  color:#180a00;
  font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 5px 16px rgba(0,0,0,.22);
}

/* Hero */
.gp-hero{
  margin-top:12px;
  border-radius:13px;
  border:1px solid var(--gp-line-gold);
  box-shadow:0 12px 34px rgba(0,0,0,.35);
}

.gp-hero-slide img{
  aspect-ratio:3.15/1;
  object-fit:cover;
}

.gp-hero-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.gp-hero-dot{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  background:rgba(255,255,255,.42);
}

.gp-hero-dot.is-active{
  width:22px;
  background:#f5c84b;
}

/* Winner ticker */
.gp-ticker{
  min-height:38px;
  margin-top:9px;
  border-radius:9px;
  background:linear-gradient(90deg,#210b3f,#120522,#210b3f);
}

/* Quick actions */
.gp-quick-actions{
  gap:8px;
  margin:11px 0 14px;
}

.gp-action{
  min-height:68px;
  border-radius:11px;
  padding:8px 6px;
  background:linear-gradient(180deg,#32115e,#17062f);
  border:1px solid rgba(245,200,75,.16);
}

.gp-action .label{
  margin-top:4px;
  font-size:12px;
  font-weight:800;
}

/* Main category bar */
.gp-category-sidebar{
  border-radius:11px;
  background:linear-gradient(180deg,#1e0a3b,#110322);
  border:1px solid var(--gp-line);
}

.gp-category-sidebar a,
.gp-category-sidebar button{
  min-height:42px;
  font-weight:800;
}

/* Game area */
.gp-games-area{
  background:transparent;
}

.gp-games-toolbar{
  margin-bottom:9px;
}

.gp-games-toolbar input,
.gp-games-toolbar select{
  min-height:40px;
  border-radius:9px;
  background:#120522;
  border-color:rgba(255,255,255,.09);
}

.gp-game-grid{
  gap:8px;
}

.gp-game-card{
  border-radius:10px;
  border-color:rgba(255,255,255,.08);
  background:#130522;
  box-shadow:0 6px 18px rgba(0,0,0,.24);
}

.gp-game-card img{
  aspect-ratio:1/1;
}

.gp-game-card .gp-game-info{
  padding:7px 8px 8px;
}

.gp-game-card .gp-game-title{
  font-size:12px;
}

.gp-game-card .gp-game-provider{
  font-size:10px;
}

/* Promotions */
.gp-promotions{
  margin-top:16px;
}

.gp-promotion-card{
  border-radius:11px;
}

/* Wheel */
.gp-lucky-wheel{
  margin-top:16px;
  border-radius:13px;
}

/* Mobile */
@media(max-width:760px){
  .gp-container{
    width:calc(100% - 12px);
  }

  .gp-main-header{
    min-height:58px;
  }

  .gp-main-header .gp-container{
    min-height:58px;
  }

  .gp-logo img{
    max-width:125px;
    max-height:42px;
  }

  .gp-hero{
    margin-top:8px;
    border-radius:9px;
  }

  .gp-hero-slide img{
    aspect-ratio:1.9/1;
  }

  .gp-ticker{
    margin-top:7px;
    min-height:34px;
  }

  .gp-quick-actions{
    gap:5px;
    margin:8px 0 11px;
  }

  .gp-action{
    min-height:55px;
    padding:5px 2px;
    border-radius:8px;
  }

  .gp-action .label{
    font-size:9px;
  }

  .gp-category-sidebar{
    margin-bottom:8px;
  }

  .gp-category-sidebar a,
  .gp-category-sidebar button{
    min-height:36px;
    min-width:68px;
    padding:0 10px;
    font-size:11px;
  }

  .gp-games-toolbar{
    gap:6px;
  }

  .gp-game-grid{
    gap:6px;
  }

  .gp-game-card{
    border-radius:8px;
  }

  .gp-game-card .gp-game-info{
    padding:6px;
  }

  .gp-game-card .gp-game-title{
    font-size:11px;
  }

  .gp-game-card .gp-game-provider{
    font-size:9px;
  }
}

@media(max-width:390px){
  .gp-game-grid{gap:5px}
  .gp-game-card .gp-game-title{font-size:10px}
}

/* Keep fixed navigation visually separated from content */
@media(max-width:760px){
  .gp-bottom-nav{
    min-height:58px;
  }
}

.gp-action.is-pressed,.gp-bottom-nav a.is-pressed{transform:scale(.97);}


/* =========================================================
   v2.9 HEADER + NAVIGATION
   Unified portal header / CTA / mobile behavior
   ========================================================= */

.gp-main-header{
  position:sticky;
  top:0;
  z-index:100;
}

.gp-main-header .gp-container{
  position:relative;
}

.gp-header-actions{
  display:flex;
  align-items:center;
  gap:7px;
}

.gp-header-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 13px;
  border-radius:8px;
  border:1px solid rgba(245,200,75,.18);
  background:linear-gradient(180deg,#2e1157,#16052f);
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  transition:.18s ease;
}

.gp-header-actions a:hover{
  transform:translateY(-1px);
  border-color:rgba(245,200,75,.42);
  color:#fff;
  box-shadow:0 7px 18px rgba(0,0,0,.24);
}

.gp-header-actions a.gp-login{
  background:linear-gradient(180deg,#351565,#1b0737);
}

.gp-header-actions a.gp-register{
  border-color:rgba(255,232,130,.55);
  background:linear-gradient(180deg,#f6d35b,#ad7111);
  color:#170a00;
  box-shadow:0 5px 16px rgba(0,0,0,.22);
}

.gp-header-actions a.gp-bonus{
  border-color:rgba(174,91,255,.35);
}

.gp-header-live{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:rgba(255,255,255,.7);
  font-size:11px;
  white-space:nowrap;
}

.gp-header-live:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#64e68c;
  box-shadow:0 0 9px rgba(100,230,140,.5);
}

/* Header logo fallback */
.gp-logo a{
  color:#fff;
  text-decoration:none;
}

.gp-logo .brand-subtitle{
  display:block;
  margin-top:1px;
  color:rgba(255,255,255,.45);
  font-size:9px;
  font-weight:600;
}

/* App bar CTA */
.gp-app-download{
  position:relative;
}

.gp-app-download a{
  text-decoration:none;
}

.gp-app-download .gp-app-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:7px;
  border:1px solid rgba(245,200,75,.42);
  background:linear-gradient(180deg,#f4d15c,#a96d0f);
  color:#160900;
  font-size:11px;
  font-weight:900;
}

/* Desktop nav row */
.gp-primary-nav{
  display:flex;
  align-items:center;
  gap:5px;
  margin-left:auto;
}

.gp-primary-nav a{
  padding:8px 10px;
  border-radius:7px;
  color:rgba(255,255,255,.68);
  font-size:12px;
  font-weight:750;
  text-decoration:none;
}

.gp-primary-nav a:hover,
.gp-primary-nav a.is-active{
  color:#fff;
  background:rgba(119,47,190,.18);
}

/* Mobile header */
@media(max-width:760px){
  .gp-main-header{
    min-height:58px;
  }

  .gp-main-header .gp-container{
    min-height:58px;
  }

  .gp-header-actions{
    gap:4px;
  }

  .gp-header-actions a{
    min-height:34px;
    padding:0 8px;
    border-radius:7px;
    font-size:10px;
  }

  .gp-header-actions a.gp-bonus,
  .gp-header-live,
  .gp-primary-nav{
    display:none;
  }

  .gp-logo{
    min-width:0;
  }

  .gp-logo img{
    max-width:112px;
    max-height:38px;
  }

  .gp-logo .brand-subtitle{
    display:none;
  }
}

@media(max-width:390px){
  .gp-header-actions a{
    min-height:32px;
    padding:0 7px;
    font-size:9px;
  }

  .gp-logo img{
    max-width:98px;
  }
}

/* =========================================================
   v3.0 — Game Card + Game Detail
   ========================================================= */
.gp-game-card--v3 .gp-game-card__link{display:block;color:inherit;text-decoration:none;height:100%}
.gp-game-card--v3 .gp-game-card__media{position:relative;overflow:hidden}
.gp-game-card--v3 .gp-game-card__media img{display:block;transition:transform .25s ease,filter .25s ease}
.gp-game-card--v3:hover .gp-game-card__media img,.gp-game-card--v3:focus-within .gp-game-card__media img{transform:scale(1.055);filter:brightness(.7)}
.gp-game-card--v3 .gp-game-card__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-35%);opacity:0;pointer-events:none;white-space:nowrap;padding:8px 13px;border-radius:999px;background:linear-gradient(180deg,#ffd95a,#e99a00);color:#241000;font-size:11px;font-weight:1000;box-shadow:0 8px 20px rgba(0,0,0,.35);transition:opacity .2s ease,transform .2s ease}
.gp-game-card--v3:hover .gp-game-card__play,.gp-game-card--v3:focus-within .gp-game-card__play{opacity:1;transform:translate(-50%,-50%)}
.gp-game-card--v3 .gp-game-card__body{min-width:0}
.gp-game-card--v3 .gp-game-card__provider{display:flex;align-items:center;justify-content:center;gap:5px;min-height:18px}
.gp-game-card--v3 .gp-game-card__provider img{width:18px;height:18px;object-fit:contain;border-radius:3px}
.gp-game-card--v3 .gp-game-card__provider span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.gp-game-detail{padding:18px 0 70px}
.gp-game-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#a994b8;font-size:12px;margin-bottom:12px}
.gp-game-breadcrumb a{color:#d7c5df;text-decoration:none}
.gp-game-detail__back{margin-bottom:15px}
.gp-game-detail__back a{color:#e9d8ef;text-decoration:none;font-size:13px}
.gp-game-detail__hero{display:grid;grid-template-columns:minmax(260px,430px) 1fr;gap:28px;padding:22px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(145deg,rgba(47,20,77,.95),rgba(18,7,38,.98));box-shadow:0 18px 45px rgba(0,0,0,.25)}
.gp-game-detail__image-wrap{border-radius:15px;overflow:hidden;background:#17072b;aspect-ratio:1.45/1}
.gp-game-detail__image{display:block;width:100%;height:100%;object-fit:cover}
.gp-game-detail__content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.gp-game-detail__eyebrow{font-size:10px;letter-spacing:.18em;color:#e9a900;font-weight:1000}
.gp-game-detail__content h1{margin:5px 0 10px;font-size:clamp(26px,4vw,42px);line-height:1.12;color:#fff}
.gp-game-detail__provider{display:flex;align-items:center;gap:8px;color:#d9c8e2;font-size:14px}
.gp-game-detail__provider img{width:30px;height:30px;object-fit:contain;border-radius:6px;background:rgba(255,255,255,.06);padding:3px}
.gp-game-detail__tags{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}
.gp-game-detail__tags span{padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.07);color:#d8c8e2;font-size:11px}
.gp-game-detail__play{display:inline-flex;align-items:center;justify-content:center;margin-top:7px;min-height:48px;padding:0 23px;border-radius:12px;background:linear-gradient(180deg,#ffd95a,#e99a00);color:#251000;text-decoration:none;font-weight:1000;box-shadow:0 10px 25px rgba(233,154,0,.18)}
.gp-game-detail__meta{display:flex;gap:22px;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid rgba(255,255,255,.08);width:100%}
.gp-game-detail__meta div{display:flex;flex-direction:column;gap:3px}.gp-game-detail__meta span{font-size:10px;color:#9882a8}.gp-game-detail__meta b{font-size:12px;color:#eee}
.gp-game-detail__description,.gp-game-related{margin-top:28px;padding:22px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(24,9,45,.65)}
.gp-game-detail__description h2{font-size:20px;margin:0 0 15px}.gp-entry-content{color:#cbbbd5;line-height:1.8;font-size:14px}.gp-entry-content p:last-child{margin-bottom:0}
.gp-game-related .gp-section-heading{margin:0 0 15px}.gp-game-related .gp-section-heading h2{margin-bottom:3px}.gp-game-related .gp-section-heading span{font-size:11px;color:#a68fb3}

@media (max-width:767px){
  .gp-game-detail{padding:10px 0 85px}
  .gp-game-detail__hero{grid-template-columns:1fr;gap:18px;padding:14px;border-radius:16px}
  .gp-game-detail__image-wrap{max-height:none}
  .gp-game-detail__content{padding:2px 3px 4px}
  .gp-game-detail__content h1{font-size:25px}
  .gp-game-detail__play{width:100%}
  .gp-game-detail__meta{gap:15px}
  .gp-game-detail__description,.gp-game-related{padding:15px;border-radius:15px}
  .gp-game-card--v3 .gp-game-card__play{opacity:1;transform:translate(-50%,-50%);padding:6px 10px;font-size:10px}
}

/* =========================================================
   v3.1 — Favorites + Recently Played + Mobile Game Rail
   ========================================================= */
.gp-game-card--v31{position:relative}
.gp-game-favorite{position:absolute;right:7px;top:7px;z-index:4;width:31px;height:31px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(15,5,28,.72);backdrop-filter:blur(5px);color:#fff;font-size:19px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease}
.gp-game-favorite:hover{transform:scale(1.08);background:rgba(48,17,75,.9);border-color:rgba(245,200,75,.45)}
.gp-game-favorite.is-favorite{color:#ffd34e;border-color:rgba(245,200,75,.55);background:rgba(105,61,5,.45)}
.gp-game-favorite.is-favorite span{transform:scale(1.05)}
.gp-personal-games{margin:0 0 20px}
.gp-personal-games__panel{margin-bottom:18px;padding:15px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(25,9,45,.55)}
.gp-personal-games__heading{margin-bottom:12px!important}
.gp-personal-games__heading h2{font-size:17px!important}
.gp-personal-games__clear{border:0;background:transparent;color:#9f8aaa;font-size:11px;cursor:pointer;padding:5px 7px}
.gp-personal-games__clear:hover{color:#ffd34e}
.gp-personal-games__rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(145px,180px);gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 2px 7px}
.gp-personal-games__rail .gp-game-card{min-width:0}
.gp-personal-games__rail .gp-game-card__play{display:none}
.gp-personal-games__rail .gp-game-favorite{display:none}
.gp-personal-games__rail .gp-game-card__title{font-size:11px}
.gp-personal-games__rail .gp-game-card__provider{font-size:9px}
.gp-personal-games__rail .gp-game-card__media{aspect-ratio:1.45/1}
.gp-personal-games__rail .gp-game-card__media img{height:100%;object-fit:cover}
.gp-personal-games__rail .gp-game-card__body{padding:7px 6px}

@media(max-width:767px){
  .gp-personal-games{margin-bottom:12px}
  .gp-personal-games__panel{padding:11px;border-radius:13px}
  .gp-personal-games__rail{grid-auto-columns:minmax(132px,42vw);gap:8px}
  .gp-game-favorite{width:29px;height:29px;right:6px;top:6px;font-size:18px}
}

/* v3.1 detail actions + related carousel */
.gp-game-detail__actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:7px}
.gp-game-detail__actions .gp-game-detail__play{margin-top:0}
.gp-game-detail__favorite{position:static!important;width:auto!important;height:48px!important;border-radius:12px!important;padding:0 16px!important;gap:6px;font-size:12px}
.gp-game-detail__account-cta{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.gp-game-detail__account-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.1);border-radius:9px;color:#e6d8ec;background:rgba(255,255,255,.05);text-decoration:none;font-size:11px;font-weight:800}
.gp-game-detail__account-cta a.is-primary{background:linear-gradient(180deg,#ffd95a,#e99a00);border-color:transparent;color:#241000}
.gp-game-related .gp-game-grid{display:flex;gap:11px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 8px;scrollbar-width:thin}
.gp-game-related .gp-game-grid .gp-game-card{flex:0 0 190px;scroll-snap-align:start}
@media(max-width:767px){
 .gp-game-detail__actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
 .gp-game-detail__actions .gp-game-detail__play,.gp-game-detail__favorite{width:100%!important}
 .gp-game-detail__account-cta{width:100%}
 .gp-game-detail__account-cta a{flex:1}
 .gp-game-related .gp-game-grid .gp-game-card{flex-basis:145px}
}

/* =========================================================
   v3.2 — Provider + Category Directory / Taxonomy UX
   ========================================================= */
.gp-taxonomy-page{padding:26px 0 90px}
.gp-taxonomy-hero,.gp-archive-heading{position:relative;overflow:hidden;margin-bottom:16px;padding:22px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(135deg,rgba(48,18,76,.95),rgba(18,7,38,.98));box-shadow:0 15px 40px rgba(0,0,0,.2)}
.gp-taxonomy-identity{display:flex;align-items:center;gap:15px;position:relative;z-index:1}
.gp-taxonomy-logo{width:72px;height:72px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,215,90,.2);overflow:hidden;flex:0 0 auto}
.gp-taxonomy-logo img{width:100%;height:100%;object-fit:contain;padding:9px}.gp-taxonomy-logo span,.gp-taxonomy-logo--category{font-size:30px;font-weight:1000;color:#f6cf55}
.gp-taxonomy-kicker{font-size:10px;letter-spacing:.2em;color:#e9a900;font-weight:1000}
.gp-taxonomy-hero h1,.gp-archive-heading h1{margin:4px 0 2px;color:#fff;font-size:clamp(25px,4vw,38px);line-height:1.1}.gp-taxonomy-hero p,.gp-archive-heading p{margin:0;color:#aa97b7;font-size:12px}
.gp-taxonomy-description{position:relative;z-index:1;max-width:760px;margin:17px 0 0;color:#cdbed5;font-size:13px;line-height:1.7}.gp-taxonomy-description p{margin:0}
.gp-taxonomy-hero--category:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(18,7,38,.95),rgba(18,7,38,.72)),var(--gp-term-image);background-position:center;background-size:cover;opacity:.35}
.gp-taxonomy-tools{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.gp-taxonomy-back,.gp-taxonomy-all{font-size:12px;text-decoration:none;color:#cdbed5}.gp-taxonomy-all{padding:8px 13px;border-radius:9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.gp-subcategory-list,.gp-archive-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 11px;margin-bottom:8px;scrollbar-width:thin}.gp-subcategory-list a,.gp-archive-chips a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 11px;border-radius:999px;text-decoration:none;color:#ded1e4;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.07);font-size:11px}.gp-subcategory-list small,.gp-archive-chips small{font-size:9px;color:#9f8eaa}
.gp-provider-directory{margin:0 0 26px}.gp-provider-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.gp-provider-card{min-width:0;padding:13px 9px;text-align:center;border-radius:14px;text-decoration:none;color:#fff;background:linear-gradient(145deg,rgba(43,17,68,.9),rgba(23,8,40,.95));border:1px solid rgba(255,255,255,.07);transition:transform .18s ease,border-color .18s ease}.gp-provider-card:hover{transform:translateY(-2px);border-color:rgba(241,190,65,.32)}.gp-provider-card__logo{width:48px;height:48px;margin:0 auto 7px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:rgba(255,255,255,.06);overflow:hidden}.gp-provider-card__logo img{width:100%;height:100%;object-fit:contain;padding:5px}.gp-provider-card__logo span{font-size:20px;font-weight:1000;color:#f6cf55}.gp-provider-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.gp-provider-card small{display:block;margin-top:3px;color:#96839f;font-size:9px}
.gp-empty-state{grid-column:1/-1;padding:40px 15px;text-align:center;color:#9f8eaa;border:1px dashed rgba(255,255,255,.1);border-radius:14px}.gp-taxonomy-games .navigation.pagination{margin-top:24px}.gp-taxonomy-games .nav-links{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.gp-taxonomy-games .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 9px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);color:#d8c9df;text-decoration:none;font-size:11px}.gp-taxonomy-games .page-numbers.current{background:linear-gradient(180deg,#ffd95a,#e99a00);color:#241000;border-color:transparent;font-weight:900}.gp-archive-heading{margin-bottom:13px}
@media(max-width:1000px){.gp-provider-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){.gp-taxonomy-page{padding:12px 0 85px}.gp-taxonomy-hero,.gp-archive-heading{padding:15px;border-radius:16px}.gp-taxonomy-logo{width:58px;height:58px;border-radius:13px}.gp-taxonomy-logo span,.gp-taxonomy-logo--category{font-size:24px}.gp-taxonomy-hero h1,.gp-archive-heading h1{font-size:25px}.gp-provider-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gp-provider-card{padding:9px 5px;border-radius:11px}.gp-provider-card__logo{width:40px;height:40px}.gp-provider-card strong{font-size:10px}.gp-provider-card small{font-size:8px}.gp-taxonomy-description{font-size:12px}.gp-taxonomy-tools{margin-bottom:12px}}


/* =========================================================
   v3.3 — Full AJAX Search + Filter UX
   ========================================================= */
.gp-game-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.gp-game-tools select,.gp-game-tools input{min-height:36px}
.gp-game-filter-chips{display:flex;gap:7px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}
.gp-game-filter-chips::-webkit-scrollbar{display:none}
.gp-game-filter-chips button{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);color:#bfaec9;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;transition:.18s}
.gp-game-filter-chips button:hover,.gp-game-filter-chips button.is-active{color:#241000;border-color:transparent;background:linear-gradient(180deg,#ffd95a,#e99a00);box-shadow:0 5px 15px rgba(233,154,0,.16)}
@media(max-width:767px){.gp-game-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}.gp-game-tools input{grid-column:1/-1;width:100%}.gp-game-tools select{width:100%;font-size:10px}.gp-game-filter-chips{margin-top:2px}}

/* =========================================================
   v3.4 — External Bridge CTA
   Account/payment actions are external links only.
   ========================================================= */
.gp-bridge-floating{
  position:fixed;
  right:16px;
  bottom:78px;
  z-index:95;
  display:flex;
  flex-direction:column;
  gap:7px;
  width:132px;
}
.gp-bridge-floating a{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 10px;
  border:1px solid rgba(245,200,75,.28);
  border-radius:11px;
  background:linear-gradient(180deg,rgba(44,17,79,.98),rgba(17,5,35,.98));
  box-shadow:0 8px 22px rgba(0,0,0,.34);
  color:#fff;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
}
.gp-bridge-floating a:hover{transform:translateY(-1px);border-color:rgba(245,200,75,.55)}
.gp-bridge-floating__icon{width:22px;text-align:center;font-size:15px}
.gp-bridge-floating__label{white-space:nowrap}
.gp-bridge-floating .gp-bridge-register{
  background:linear-gradient(180deg,#f6d35b,#b87916);
  color:#180a00;
  border-color:rgba(255,238,145,.65);
}
.gp-bridge-floating .gp-bridge-chat{border-color:rgba(100,230,140,.28)}
@media(max-width:760px){
  .gp-bridge-floating{
    right:9px;
    bottom:67px;
    width:auto;
    flex-direction:row;
    max-width:calc(100vw - 18px);
    overflow-x:auto;
    padding:2px;
    scrollbar-width:none;
  }
  .gp-bridge-floating::-webkit-scrollbar{display:none}
  .gp-bridge-floating a{min-width:max-content;min-height:36px;padding:0 9px;border-radius:10px;font-size:10px}
}

/* =========================================================
   v3.5 — Homepage UI Final Polish
   ========================================================= */
.gp-main{padding-bottom:28px}
.gp-games-area{min-width:0}
.gp-quick-actions,.gp-actions{position:relative}
.gp-action{min-height:64px;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.gp-action:hover{transform:translateY(-2px);border-color:rgba(245,200,75,.28);box-shadow:0 9px 24px rgba(0,0,0,.24)}
.gp-action small{font-size:17px;line-height:1}
.gp-hero a{display:block;color:inherit;text-decoration:none}
.gp-hero-slide{position:relative}
.gp-hero-slide:after{content:"";position:absolute;inset:auto 0 0;height:32%;background:linear-gradient(transparent,rgba(7,1,16,.38));pointer-events:none}
.gp-hero-cta{position:absolute;right:18px;bottom:16px;z-index:2;padding:8px 14px;border-radius:999px;background:linear-gradient(180deg,#ffd95a,#e99a00);color:#251000;font-size:11px;font-weight:1000;box-shadow:0 8px 20px rgba(0,0,0,.28)}
.gp-category-sidebar{position:sticky;top:92px;align-self:start}
.gp-games-area .gp-game-section{min-width:0}
.gp-game-section{padding-bottom:8px}
.gp-section-heading h2{letter-spacing:-.2px}
.gp-game-grid{align-items:start}
.gp-game-card{box-shadow:0 5px 16px rgba(0,0,0,.16)}
.gp-game-card--v31 .gp-game-card__media{background:#17072b}
.gp-game-card--v31 .gp-game-card__body{padding-bottom:2px}
.gp-game-card--v31 .gp-game-card__badge{z-index:3}
.gp-game-favorite{z-index:4}
.gp-game-filter-chips button{font-family:inherit}
.gp-promo-list{padding-top:2px}
.gp-promotion-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.gp-promotion-card:hover{transform:translateY(-2px);border-color:rgba(245,200,75,.2);box-shadow:0 12px 28px rgba(0,0,0,.25)}
.gp-promotion-card__body .gp-app-download__button{display:inline-flex;text-decoration:none}
.gp-site-footer{margin-top:12px;padding:30px 0 90px;border-top:1px solid rgba(245,200,75,.12);background:linear-gradient(180deg,rgba(18,5,36,.82),rgba(7,1,16,.98))}
.gp-site-footer__grid{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:24px}
.gp-site-footer__brand{font-size:20px;font-weight:1000;color:#f6cf55;margin-bottom:7px}
.gp-site-footer p{margin:0;color:#9f8eaa;font-size:12px;line-height:1.8}
.gp-site-footer h3{margin:0 0 9px;color:#eee;font-size:13px}
.gp-site-footer__links{display:flex;flex-direction:column;gap:7px}
.gp-site-footer__links a{color:#bdaec8;text-decoration:none;font-size:11px}
.gp-site-footer__links a:hover{color:#f5c84b}
.gp-site-footer__bottom{margin-top:22px;padding-top:14px;border-top:1px solid rgba(255,255,255,.06);font-size:10px;color:#76677f}
@media(max-width:900px){
 .gp-category-sidebar{top:84px}
 .gp-site-footer__grid{grid-template-columns:1fr 1fr}
 .gp-site-footer__brand-col{grid-column:1/-1}
}
@media(max-width:767px){
 .gp-main{padding-bottom:15px}
 .gp-category-sidebar{position:static;overflow-x:auto;flex-direction:row;gap:7px;padding-bottom:8px;scrollbar-width:none}
 .gp-category-sidebar::-webkit-scrollbar{display:none}
 .gp-category{min-width:76px;min-height:58px;padding:5px 9px;border-radius:11px}
 .gp-category__icon{font-size:19px}
 .gp-hero{margin-top:10px;border-radius:12px}
 .gp-hero-slide img{aspect-ratio:2.25/1}
 .gp-hero-cta{right:10px;bottom:9px;padding:6px 10px;font-size:9px}
 .gp-quick-actions,.gp-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 13px}
 .gp-action{min-height:54px;padding:7px 4px;font-size:10px;border-radius:10px}
 .gp-action small{font-size:15px}
 .gp-game-grid{gap:7px}
 .gp-game-card{border-radius:11px}
 .gp-game-card__title{padding:7px 5px 4px;font-size:10px}
 .gp-game-card__provider{padding:0 5px 7px;font-size:9px}
 .gp-game-card__badge{top:5px;left:5px;padding:3px 5px;font-size:8px}
 .gp-site-footer{padding:24px 0 85px}
 .gp-site-footer__grid{grid-template-columns:1fr 1fr;gap:18px}
 .gp-site-footer__brand-col{grid-column:1/-1}
}
@media(max-width:390px){
 .gp-quick-actions,.gp-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .gp-action{font-size:9px}
}

/* =========================================================
   v3.6 SEO FOUNDATION — semantic helpers
   ========================================================= */
.gp-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* v3.7 — SEO breadcrumb + internal link UX */
.gp-breadcrumbs{margin:0 auto 14px;max-width:1200px;font-size:12px;color:rgba(255,255,255,.58);overflow:auto}
.gp-breadcrumbs ol{display:flex;align-items:center;gap:8px;list-style:none;margin:0;padding:0;white-space:nowrap}
.gp-breadcrumbs li{display:flex;align-items:center;gap:8px}
.gp-breadcrumbs a{color:inherit;text-decoration:none}.gp-breadcrumbs a:hover{color:#fff}
.gp-breadcrumbs__sep{opacity:.45}
.gp-internal-links{margin:24px 0}.gp-internal-links__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gp-internal-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.gp-internal-link:hover{transform:translateY(-2px);border-color:rgba(255,205,75,.35);background:rgba(255,255,255,.06)}
.gp-internal-link small{color:rgba(255,255,255,.48);font-size:11px}
@media(max-width:767px){.gp-breadcrumbs{padding:0 12px;margin-bottom:10px}.gp-internal-links__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gp-internal-link{padding:10px;font-size:13px}.gp-internal-link small{display:none}}

/* =========================================================
   v3.8 PERFORMANCE + CORE WEB VITALS
   ========================================================= */
.gp-game-card__media img,
.gp-promotion-card>img{content-visibility:auto;}
.gp-game-card,.gp-promotion-card{contain:layout paint style;}
.gp-game-card__media{contain:layout paint;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
@media (max-width:640px){
  .gp-hero-slide img{aspect-ratio:2.05/1}
  .gp-game-card__media img{content-visibility:visible}
}

/* =========================================================
   v3.9 PWA + APP-LIKE MOBILE UX
   ========================================================= */
.gp-pwa-install{position:fixed;right:16px;bottom:82px;z-index:120;border:1px solid rgba(255,210,63,.45);border-radius:999px;padding:10px 15px;background:linear-gradient(135deg,var(--gp-brand-primary,#7d18d1),#4d0c91);color:#fff;font-weight:900;font-size:12px;box-shadow:0 10px 28px rgba(0,0,0,.35);cursor:pointer}
.gp-pwa-install:hover{transform:translateY(-1px)}
.gp-pwa-toast{position:fixed;left:50%;bottom:145px;transform:translateX(-50%);z-index:121;max-width:calc(100% - 30px);padding:10px 14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(15,4,30,.96);color:#fff;font-size:12px;box-shadow:0 12px 30px rgba(0,0,0,.4)}
@media(max-width:767px){.gp-pwa-install{right:12px;bottom:74px;padding:9px 13px;font-size:11px}.gp-pwa-toast{bottom:132px}}

/* v6.3 Brand Settings runtime color bridge */
:root{
  --bg:var(--gp-brand-bg,#080214);
  --bg2:var(--gp-brand-panel,#110326);
  --panel:var(--gp-brand-panel,#180735);
  --panel2:var(--gp-brand-primary,#7d18d1);
  --purple:var(--gp-brand-primary,#7d18d1);
  --purple2:var(--gp-brand-primary,#4d0c91);
  --gold:var(--gp-brand-secondary,#ffd23f);
  --gold2:var(--gp-brand-secondary,#ff9f1c);
  --gp-gold-1:var(--gp-brand-secondary,#fff0a8);
  --gp-gold-2:var(--gp-brand-secondary,#f5c84b);
  --gp-purple-1:var(--gp-brand-primary,#26104b);
  --gp-purple-2:var(--gp-brand-panel,#16082f);
  --gp-purple-3:var(--gp-brand-bg,#0b0319);
}
body{background:radial-gradient(circle at 50% -10%,var(--gp-brand-primary,#36106b) 0,transparent 34rem),linear-gradient(180deg,var(--gp-brand-panel,#120326) 0,var(--gp-brand-bg,#080214) 100%);}
.gp-app-download{background:linear-gradient(90deg,var(--gp-brand-bg,#120326),var(--gp-brand-primary,#46117d),var(--gp-brand-bg,#120326));}
.gp-app-download__brand,.gp-logo{color:var(--gp-brand-secondary,var(--gold));}
.gp-app-download__button,.gp-action--primary,.gp-category.active,.gp-load-more{background:linear-gradient(180deg,var(--gp-brand-secondary,#ffd948),var(--gp-brand-secondary,#ef9d00));}
.gp-header-link{background:linear-gradient(180deg,var(--gp-brand-panel,#29104d),var(--gp-brand-bg,#18072e));border-color:var(--gp-brand-secondary,#ffd23f);}
.gp-header-link b,.gp-slider-dots i.active,.gp-lucky-wheel h2{color:var(--gp-brand-secondary,var(--gold));}
.gp-hero-slider{background:linear-gradient(120deg,var(--gp-brand-primary,#30105b),var(--gp-brand-bg,#120326));}
.gp-ticker{background:linear-gradient(90deg,var(--gp-brand-primary,#411080),var(--gp-brand-primary,#7016bb),var(--gp-brand-primary,#411080));}
.gp-category,.gp-game-card,.gp-promotion-card{background:linear-gradient(180deg,var(--gp-brand-panel,#24104b),var(--gp-brand-bg,#130529));}
.gp-category.active{color:#281400;}
.gp-game-card__media{background:linear-gradient(135deg,var(--gp-brand-primary,#3a146e),var(--gp-brand-bg,#16052e));}
.gp-game-card__badge{background:linear-gradient(180deg,var(--gp-brand-secondary,#ffd94c),var(--gp-brand-secondary,#e99800));}
.gp-promo .gp-lucky-wheel{background:radial-gradient(circle at 50% 40%,var(--gp-brand-primary,#48127c),var(--gp-brand-panel,#17052f) 60%,var(--gp-brand-bg,#0d021d));}
.gp-wheel{border-color:var(--gp-brand-secondary,#ffd23f);}
.gp-pwa-install{background:linear-gradient(135deg,var(--gp-brand-primary,#7d18d1),var(--gp-brand-primary,#4d0c91));}

/* v6.5 — Hero Banner alignment + mobile rendering hardening */
.gp-hero{width:100%;margin-left:auto;margin-right:auto;}
.gp-hero-track{width:100%;display:block;}
.gp-hero-slide{width:100%;margin:0 auto;position:relative;overflow:hidden;}
.gp-hero-slide>a{display:block;width:100%;}
.gp-hero-picture{display:flex;width:100%;justify-content:center;align-items:center;line-height:0;}
.gp-hero-slide img{display:block;width:100%;max-width:1200px;height:auto;min-height:0;margin:0 auto;object-fit:cover;object-position:center center;}
@media (max-width:760px){
  .gp-hero{width:100%;max-width:100%;margin-left:auto;margin-right:auto;}
  .gp-hero-slide,.gp-hero-slide>a,.gp-hero-picture{width:100%;}
  .gp-hero-slide img{width:100%;max-width:none;height:auto;aspect-ratio:auto;object-fit:cover;object-position:center center;}
}


/* v6.6 — Hero mobile source: explicit JS source swap + stable responsive frame */
.gp-hero-picture{display:block;width:100%;margin:0 auto;overflow:hidden;}
.gp-hero-picture img{display:block;width:100%;max-width:1200px;height:auto;margin:0 auto;object-fit:cover;object-position:center center;}
@media(max-width:760px){
  .gp-hero-picture,.gp-hero-picture img{width:100%;max-width:none;}
  .gp-hero-picture img{height:auto;min-height:0;object-fit:cover;object-position:center center;}
}


/* v6.7 — Quick Action visual fix
 * Keep .gp-action--primary above the generic .gp-action theme rule.
 * Brand Settings colors are authoritative here.
 */
.gp-actions .gp-action{
  color:#fff;
  text-decoration:none;
  -webkit-text-decoration:none;
  background:linear-gradient(
    180deg,
    var(--gp-brand-panel,#3a126b) 0%,
    var(--gp-brand-bg,#1c073d) 100%
  );
  border:1px solid color-mix(in srgb,var(--gp-brand-secondary,#f5c84b) 38%,transparent);
  text-shadow:0 1px 2px rgba(0,0,0,.55);
  overflow:hidden;
}

.gp-actions .gp-action small{
  color:inherit;
  flex:0 0 auto;
  line-height:1;
}

.gp-actions .gp-action--primary{
  color:#201000;
  background:linear-gradient(
    180deg,
    var(--gp-brand-secondary,#ffd948) 0%,
    color-mix(in srgb,var(--gp-brand-secondary,#ffd948) 72%,#000 28%) 100%
  );
  border-color:color-mix(in srgb,var(--gp-brand-secondary,#ffd948) 85%,#fff 15%);
  text-shadow:0 1px 0 rgba(255,255,255,.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 7px 18px rgba(0,0,0,.24);
}

.gp-actions .gp-action--primary small{
  color:#201000;
}

.gp-actions .gp-action:hover,
.gp-actions .gp-action:focus-visible{
  color:#fff;
  border-color:var(--gp-brand-secondary,#f5c84b);
}

.gp-actions .gp-action--primary:hover,
.gp-actions .gp-action--primary:focus-visible{
  color:#201000;
  background:linear-gradient(
    180deg,
    color-mix(in srgb,var(--gp-brand-secondary,#ffd948) 88%,#fff 12%) 0%,
    var(--gp-brand-secondary,#ffd948) 100%
  );
}

.gp-actions .gp-action:focus-visible{
  outline:2px solid var(--gp-brand-secondary,#f5c84b);
  outline-offset:2px;
}

/* v6.8 — Quick Actions: centered layout
 * The action row is intentionally centered so incomplete rows (for example 4–5 buttons)
 * do not remain pinned to the left edge of the container.
 */
.gp-actions.gp-container{
  width:min(1240px,calc(100% - 28px));
  margin-left:auto;
  margin-right:auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:9px;
}
.gp-actions.gp-container .gp-action{
  box-sizing:border-box;
  flex:0 0 calc((100% - 45px) / 6);
  max-width:calc((100% - 45px) / 6);
  margin:0;
}
@media (max-width:760px){
  .gp-actions.gp-container{
    width:calc(100% - 16px);
    gap:6px;
  }
  .gp-actions.gp-container .gp-action{
    flex-basis:calc((100% - 12px) / 3);
    max-width:calc((100% - 12px) / 3);
  }
}
@media (max-width:420px){
  .gp-actions.gp-container{
    gap:5px;
  }
  .gp-actions.gp-container .gp-action{
    flex-basis:calc((100% - 10px) / 3);
    max-width:calc((100% - 10px) / 3);
  }
}


/* v7.0 — Winner Ticker real continuous marquee */
.gp-ticker{
  overflow:hidden;
}
.gp-ticker__viewport{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
  position:relative;
  white-space:nowrap;
}
.gp-ticker__marquee{
  display:flex;
  align-items:center;
  width:max-content;
  min-width:max-content;
  transform:translate3d(0,0,0);
  will-change:transform;
}
.gp-ticker__marquee.is-running{
  animation:gpWinnerTickerMove 22s linear infinite;
}
.gp-ticker__track--item{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  width:max-content;
  min-width:max-content;
  gap:44px;
  padding-right:44px;
  white-space:nowrap;
}
.gp-ticker__track--item span{
  display:inline-block;
  flex:0 0 auto;
  white-space:nowrap;
}
@keyframes gpWinnerTickerMove{
  from{transform:translate3d(0,0,0);}
  to{transform:translate3d(-50%,0,0);}
}
@media (prefers-reduced-motion:reduce){
  .gp-ticker__marquee.is-running{animation:none;}
}

/* v7.1 — ticker structural hardening */
.gp-ticker__marquee{
  display:flex !important;
  flex-direction:row !important;
  align-items:center;
  width:max-content !important;
  max-width:none !important;
  min-width:max-content !important;
}
.gp-ticker__track--item{
  flex:0 0 auto !important;
  display:flex !important;
  width:max-content !important;
  min-width:max-content !important;
  max-width:none !important;
}
.gp-ticker__marquee.is-running{
  animation-name:gpWinnerTickerMove !important;
  animation-duration:22s;
  animation-timing-function:linear;
  animation-iteration-count:infinite;
  animation-fill-mode:both;
}

/* v7.2 — Winner Ticker: CSS-only continuous marquee */
.gp-ticker__viewport{
  flex:1 1 auto !important;
  min-width:0 !important;
  overflow:hidden !important;
  position:relative !important;
  white-space:nowrap !important;
}
.gp-ticker__marquee{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  width:max-content !important;
  max-width:none !important;
  min-width:max-content !important;
  will-change:transform;
  transform:translate3d(0,0,0);
}
.gp-ticker__track{
  display:flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  width:max-content !important;
  max-width:none !important;
  min-width:max-content !important;
  gap:44px !important;
  padding-right:44px !important;
  white-space:nowrap !important;
}
.gp-ticker__track span{
  display:inline-block !important;
  flex:0 0 auto !important;
  width:auto !important;
  white-space:nowrap !important;
}
.gp-ticker--running .gp-ticker__marquee{
  animation:gpWinnerTickerPure 20s linear infinite !important;
}
.gp-ticker--paused .gp-ticker__marquee{
  animation:none !important;
  transform:none !important;
}
@keyframes gpWinnerTickerPure{
  0%{transform:translate3d(0,0,0);}
  100%{transform:translate3d(-50%,0,0);}
}


/* v7.4 — Winner Ticker: inline pixel fallback, no CSS animation dependency */
.gp-ticker__viewport{
  flex:1 1 auto !important;
  min-width:0 !important;
  overflow:hidden !important;
  position:relative !important;
  white-space:nowrap !important;
}
.gp-ticker__marquee{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  width:max-content !important;
  min-width:max-content !important;
  max-width:none !important;
  position:relative !important;
  left:0;
  transform:none !important;
  animation:none !important;
  will-change:left;
}
.gp-ticker__track{
  display:flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  width:max-content !important;
  min-width:max-content !important;
  max-width:none !important;
  gap:44px !important;
  padding-right:44px !important;
  white-space:nowrap !important;
}
.gp-ticker__track span{
  display:inline-block !important;
  flex:0 0 auto !important;
  width:auto !important;
  white-space:nowrap !important;
}
