/* ============================================================
   GoldSlot Theme — Main CSS v3
   Layout: Topbar | Sidebar Left | Banner(col2-3) | Main | Right Col
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Variables
   ------------------------------------------------------------ */
:root {
  --bg-primary:      #060808;
  --bg-secondary:    #1A1400;
  --bg-card:         #1F1800;
  --gold-main:       #C8922A;
  --gold-light:      #FFD700;
  --gold-dark:       #8B6914;
  --gold-border:     #2A1F00;
  --gold-border-mid: #3D2E00;
  --gold-glow:       rgba(200,146,42,0.18);
  --gold-glow-str:   rgba(200,146,42,0.38);
  --text-primary:    #F5E6C8;
  --text-secondary:  #A89060;
  --text-muted:      #5C4A20;
  --accent-green:    #2ECC40;
  --accent-green-dk: #25A233;
  --accent-red:      #E74C3C;

  /* Gradients */
  --grad-sidebar:    linear-gradient(180deg, #1a1400 0%, #110f00 100%);
  --grad-card:       linear-gradient(135deg, #1F1800 0%, #170f00 100%);
  --grad-gold-btn:   linear-gradient(135deg, #8B6914 0%, #C8922A 50%, #FFD700 100%);
  --grad-green-btn:  linear-gradient(2deg,rgba(26, 69, 3, 1) 0%, rgba(70, 154, 19, 1) 100%);
  --grad-topbar:     linear-gradient(180deg, #0a0800 0%, #0D0D0D 100%);
  --grad-jackpot:   linear-gradient(0deg, rgb(0 0 0 / 80%) 0%, rgba(43, 43, 32, 1) 100%);
  --grad-feature-icon: linear-gradient(135deg, #2a1e00 0%, #1a1200 100%);

  /* Layout */
  --sidebar-w:   200px;
  --rightcol-w:  230px;
  --topbar-h:    70px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  0.22s ease;
}

/* ------------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--gold-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--gold-main); color: #000;
  padding: 8px 16px; z-index: 9999; font-weight: 700;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-main); }

/* ------------------------------------------------------------
   3. Layout Grid
   ============================================================
   Columns: [sidebar-w] [1fr] [rightcol-w]
   Rows:    [topbar-h]  [auto(banner)] [1fr(content)]

   Topbar      → col 1/-1, row 1
   Sidebar     → col 1,    row 2/4  (spans banner+content)
   Banner      → col 2/4,  row 2   (spans main+rightcol)
   Main        → col 2,    row 3
   Right Col   → col 3,    row 3
   ------------------------------------------------------------ */
.gs-wrapper {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr var(--rightcol-w);
  grid-template-rows: var(--topbar-h) auto 1fr auto;
  min-height: 100vh;
  max-width: 1366px;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   4. Topbar
   ------------------------------------------------------------ */
.gs-topbar {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--gold-border);
  position: sticky;
  top: 0;
  z-index: 200;
}

/* Logo in topbar */
.gs-topbar__logo {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; margin-right: 4px;
}
.gs-topbar__logo img { height: 34px; width: auto; }
.gs-topbar__logo-text {
  font-size: 1.5rem; font-weight: 900;
  background: var(--grad-gold-btn);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.5px;
}

/* Search */
.gs-topbar__search { flex: 1; max-width: 300px; margin-left:  auto; }
.gs-search {
  display: flex; align-items: center; gap: 8px;
  background: rgb(14 16 14);
  border: 1px solid var(--gold-border-mid);
  border-radius: var(--radius-xl);
  padding: 7px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.gs-search:focus-within {
  border-color: var(--gold-main);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.gs-search svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.6; }
.gs-search input {
  background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 0.88rem;
  width: 100%; font-family: inherit;
}
.gs-search input::placeholder { color: var(--text-muted); }

/* Live Search Dropdown */
.gs-search-results {
  position: absolute;
  top: calc(var(--topbar-h) - 15px);
  left: 50%; transform: translateX(-50%);
  width: 300px;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border-mid);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  z-index: 300;
  display: none;
  overflow: hidden;
}
.gs-search-results.active { display: block; }
.gs-search-result-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--gold-border);
  transition: background var(--transition);
  cursor: pointer;
}
.gs-search-result-item:last-child { border-bottom: none; }
.gs-search-result-item:hover { background: rgba(200,146,42,0.08); }
.gs-search-result-item img {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
}
.gs-search-result-item__name { font-size: 0.83rem; font-weight: 700; color: var(--text-primary); }
.gs-search-result-item__provider { font-size: 0.7rem; color: var(--gold-main); }

/* Topbar Right */
.gs-topbar__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.gs-bell {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,20,0,0.8);
  border: 1px solid var(--gold-border-mid);
  border-radius: 50%;
  color: var(--text-secondary);
  position: relative;
  transition: all var(--transition);
  flex-shrink: 0;
}
.gs-bell:hover {
  border-color: var(--gold-main);
  color: var(--gold-main);
  box-shadow: 0 0 10px var(--gold-glow);
}
.gs-bell svg { width: 18px; height: 18px; }
.gs-bell__dot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px;
  background: var(--accent-red);
  border-radius: 50%; border: 2px solid #0a0800;
}

.btn-register {
  background: var(--grad-green-btn);
  color: #fff; font-weight: 700; font-size: 0.88rem;
  padding: 9px 20px; border-radius: var(--radius-xl);
  transition: all var(--transition); white-space: nowrap;
  box-shadow: 0 3px 14px rgba(46,204,64,0.30);
  flex-shrink: 0;
}
.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(46,204,64,0.45);
  color: #fff;
}

/* Hamburger */
.gs-hamburger {
  display: none; flex-direction: column;
  gap: 5px; width: 30px; padding: 2px;
}
.gs-hamburger span {
  display: block; height: 2px;
  background: var(--gold-main);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ------------------------------------------------------------
   5. Sidebar Left
   ------------------------------------------------------------ */
.gs-sidebar-left {
  grid-column: 1;
  grid-row: 2 / 4;
  align-self: start;
  background: var(--bg-primary);
  position: sticky;
  top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}
.gs-sidebar-left__inner { padding: 16px 0 ; }

/* Sidebar Logo */
.gs-sidebar-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 0 14px 16px;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: 8px;
}
.gs-sidebar-logo img { height: 36px; width: auto; }
.gs-sidebar-logo-text {
  font-size: 1.4rem; font-weight: 900;
  background: var(--grad-gold-btn);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.gs-nav { margin-bottom: 16px; }
.gs-nav__link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  color: var(--text-secondary);
  font-size: 0.88rem; font-weight: 600;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gs-nav__link svg { width: 18px; height: 18px; flex-shrink: 0; }
.gs-nav__link:hover {
  color: var(--text-primary);
  background: rgba(200,146,42,0.07);
  border-left-color: var(--gold-dark);
}
.gs-nav__link.active {
  color: #fff;
  background: linear-gradient(90deg, rgb(139 105 20 / 43%) 0%, transparent 100%);
  border-left-color: var(--gold-dark);
}
.gs-nav__link.active svg { color: #fff; }

/* Bonus Banner */
.gs-bonus-banner {
  margin: 0 10px 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border-mid);
  box-shadow: 0 0 16px var(--gold-glow), 0 4px 20px rgba(0,0,0,0.5);
}
.gs-bonus-banner img { width: 100%; display: block; }

/* Bonus Fallback */
.gs-bonus-fallback {
  margin: 0 10px 14px;
  background: linear-gradient(135deg, #212121 0%, #1c1c1c 40%, #000000 100%);
  border: 1px solid var(--gold-border-mid);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 0 16px var(--gold-glow), 0 4px 20px rgba(0,0,0,0.4);
  position: relative; overflow: hidden;
}
.gs-bonus-fallback::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,146,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.gs-bonus-fallback__crown { font-size: 1.5rem; margin-bottom: 4px; }
.gs-bonus-fallback__title {
  font-size: 0.78rem; color: var(--text-secondary);
  font-weight: 700; margin-bottom: 2px;
}
.gs-bonus-fallback__pct {
  font-size: 2.2rem; font-weight: 900;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(255,215,0,0.6), 0 2px 8px rgba(0,0,0,0.8);
  line-height: 1; font-style: italic; margin-bottom: 4px;
}
.gs-bonus-fallback__sub { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 12px; }
.gs-bonus-fallback .btn-register {
  display: block; width: 100%; text-align: center;
  font-size: 0.83rem; padding: 8px 12px;
}

/* Login Form */
.gs-login {
    margin: 10px;
    padding: 16px 10px;
    border: solid 1px var(--gold-border);
    border-radius: 16px;
    background: #0e100e;;
}
.gs-login__title {
  font-size: 0.75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.gs-login__title::before, .gs-login__title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}
.gs-login__field { position: relative; margin-bottom: 8px; }
.gs-login__field svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; opacity: 0.5;
}
.gs-login__field input {
  width: 100%;
  background: rgba(26,20,0,0.8);
  border: 1px solid var(--gold-border-mid);
  border-radius: var(--radius-sm);
  padding: 9px 9px 9px 32px;
  color: var(--text-primary); font-size: 0.83rem;
  font-family: inherit; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.gs-login__field input:focus {
  border-color: var(--gold-main);
  box-shadow: 0 0 0 2px var(--gold-glow);
}
.gs-login__forgot {
  display: block; text-align: right;
  font-size: 0.72rem; color: var(--text-muted);
  margin-bottom: 10px; transition: color var(--transition);
}
.gs-login__forgot:hover { color: var(--gold-main); }
.btn-login {
  width: 100%;
  background: var(--grad-green-btn);
  color: #fff; font-weight: 700; font-size: 0.88rem;
  padding: 6px; border-radius: var(--radius-sm);
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(46,204,64,0.25);
  width: 100%; text-align: center; display: block;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(46,204,64,0.38); }

/* ------------------------------------------------------------
   6. Banner Zone (col 2-3, row 2)
   ------------------------------------------------------------ */
.gs-banner-zone {
  grid-column: 2 / 4;
  grid-row: 2;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Slider */
.gs-slider { width: 100%; height: 100%; position: relative; }
.gs-slider__track {
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.gs-slider__slide { flex: 0 0 100%; position: relative; padding: 10px;}
.gs-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 20px;
  border: solid 1px var(--gold-main);
}
.gs-slider__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(20px,5%,60px);
  background: linear-gradient(90deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.30) 55%, transparent 100%);
}
.gs-slider__label {
  display: inline-flex; align-items: center;
  background: rgba(200,146,42,0.15);
  border: 1px solid var(--gold-main);
  color: var(--gold-light); font-size: 0.72rem; font-weight: 800;
  padding: 4px 12px; border-radius: var(--radius-sm);
  letter-spacing: 1px; margin-bottom: 10px; width: fit-content;
  backdrop-filter: blur(4px);
}
.gs-slider__title {
  font-size: clamp(1.8rem,4.5vw,4rem); font-weight: 900;
  color: var(--gold-light); line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0,0,0,0.9), 0 0 40px rgba(200,146,42,0.3);
  margin-bottom: 8px;
}
.gs-slider__desc {
  font-size: clamp(0.8rem,1.4vw,0.95rem);
  color: var(--text-primary); margin-bottom: 14px; max-width: 400px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.gs-slider__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.gs-slider__badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(200,146,42,0.35);
  border-radius: var(--radius-xl); padding: 5px 10px;
  font-size: 0.7rem; color: var(--text-primary);
  backdrop-filter: blur(4px);
}
.gs-slider__badge svg { width: 13px; height: 13px; opacity: 0.8; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-gold-btn);
  color: #fff; font-weight: 700;
  font-size: clamp(0.83rem,1.4vw,0.95rem);
  padding: 11px 26px; border-radius: var(--radius-xl);
  border: 1px solid rgba(255,215,0,0.4);
  transition: all var(--transition); width: fit-content;
  box-shadow: 0 4px 20px rgba(139,105,20,0.5);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,105,20,0.65);
  color: #fff;
}
.btn-cta svg { width: 16px; height: 16px; }

/* Slider Dots */
.gs-slider__dots {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.gs-slider__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition); cursor: pointer; border: none; padding: 0;
}
.gs-slider__dot.active {
  background: var(--gold-main); width: 22px; border-radius: 4px;
}

/* Slider Arrows */
.gs-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(200,146,42,0.3);
  color: var(--text-primary);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: all var(--transition);
}
.gs-slider__arrow:hover { background: var(--gold-main); border-color: var(--gold-main); }
.gs-slider__arrow svg { width: 18px; height: 18px; }
.gs-slider__arrow--prev { left: 10px; }
.gs-slider__arrow--next { right: 10px; }

/* Jackpot — floating on banner bottom-right */
.gs-jackpot-float {
  position: absolute;
  bottom: 18px; right: 18px;
  background: var(--grad-jackpot);
  border: 1px solid var(--gold-main);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center; z-index: 20;
  box-shadow: 0 0 24px var(--gold-glow-str), 0 8px 24px rgba(0,0,0,0.7);
  min-width: 170px;
  backdrop-filter: blur(6px);
}
.gs-jackpot-float::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,146,42,0.15) 0%, transparent 70%);
  border-radius: var(--radius-md); pointer-events: none;
}
.gs-jackpot__badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--grad-gold-btn);
  color: #000; font-size: 0.65rem; font-weight: 800;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 1px; margin-bottom: 4px;
}
.gs-jackpot__title {
  font-size: 0.65rem; color: var(--text-secondary);
  letter-spacing: 1.5px; margin-bottom: 4px;
}
.gs-jackpot__amount {
  font-size: clamp(1.2rem,2vw,1.6rem); font-weight: 900;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(255,215,0,0.7), 0 0 40px rgba(255,215,0,0.3);
  line-height: 1.1; margin-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.gs-jackpot__currency {
  font-size: 0.68rem; color: var(--gold-dark);
  font-weight: 700; letter-spacing: 2px;
}

/* ------------------------------------------------------------
   7. Main Content (col 2, row 3)
   ------------------------------------------------------------ */
.gs-main {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
  background: var(--bg-primary);
}

/* ------------------------------------------------------------
   8. Right Column (col 3, row 3)
   ------------------------------------------------------------ */
.gs-rightcol {
  grid-column: 3;
  grid-row: 3;
  background: var(--bg-primary);
  position: sticky;
  top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}
.gs-rightcol__inner { padding: 14px 12px; }

/* Winners */


.gs-winners__title {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 800;
  color: var(--text-primary); margin-bottom: 12px;
  padding: 10px;
  border-bottom: 1px solid var(--gold-border-mid);
  background: #0e100e;
  border-radius: 6px;
}
.gs-winners__title svg { width: 16px; height: 16px; color: var(--gold-main); }

.gs-winners__list {
  display: flex; flex-direction: column;
  gap: 2px; margin-bottom: 14px;
  max-height: calc(100vh - 220px);
  overflow: hidden;
}

.gs-winner-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: var(--grad-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  animation: winnerIn 0.4s ease;
}
.gs-winner-item:hover {
  border-color: var(--gold-dark);
  background: linear-gradient(135deg, #251a00 0%, #1a1200 100%);
}
@keyframes winnerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gs-winner-item__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--gold-border-mid);
  background: var(--bg-card);
  box-shadow: 0 0 6px var(--gold-glow);
}
.gs-winner-item__avatar img { width: 100%; height: 100%; object-fit: cover; }
.gs-winner-item__info { flex: 1; min-width: 0; }
.gs-winner-item__name {
  font-size: 0.76rem; font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-winner-item__game {
  font-size: 0.66rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-winner-item__amount {
  font-size: 0.76rem; font-weight: 800;
  color: var(--accent-green); flex-shrink: 0;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(46,204,64,0.3);
}

/* LINE Button */
.gs-line-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-green-btn);
  color: #fff; font-weight: 700; font-size: 0.88rem;
  padding: 12px; border-radius: var(--radius-md);
  transition: all var(--transition); width: 100%;
  box-shadow: 0 3px 16px rgba(6,199,85,0.30);
}
.gs-line-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(6,199,85,0.45);
  color: #fff;
}
.gs-line-btn svg { width: 30px; height: 30px; }
.gs-line-btn__texts { display: flex; flex-direction: column; }
.gs-line-btn__label { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.gs-line-btn__sub { font-size: 0.65rem; font-weight: 400; opacity: 0.85; }

/* ------------------------------------------------------------
   9. Feature Bar
   ------------------------------------------------------------ */
.gs-feature-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(43, 43, 32, 1) 100%);
  border: 1px solid hsla(39, 65%, 47%, 0.5);
  border-radius: 16px;
  margin: 0 10px 10px;
}
.gs-feature-bar__item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  position: relative;
  transition: background var(--transition);
}
.gs-feature-bar__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(200,146,42,0.25);
}
.gs-feature-bar__item:last-child::after {
  display: none;
}
.gs-feature-bar__item:last-child { border-right: none; }
.gs-feature-bar__item:hover { background: rgba(200,146,42,0.05); }
.gs-feature-bar__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--grad-feature-icon);
  border: 1px solid var(--gold-border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.05);
}
.gs-feature-bar__icon svg { width: 22px; height: 22px; color: var(--gold-main); }
.gs-feature-bar__title {
  font-size: 0.83rem; font-weight: 800;
  color: var(--gold-light); margin-bottom: 2px;
}
.gs-feature-bar__desc { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.4; }

/* ------------------------------------------------------------
   10. Section
   ------------------------------------------------------------ */
.gs-section { padding: 22px 18px; }
.gs-section__header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 16px;
}
.gs-section__title {
  display: flex; align-items: center; gap: 8px;
  font-size: clamp(0.95rem,1.8vw,1.1rem); font-weight: 800;
  color: var(--text-primary);
}
.gs-section__title-icon { font-size: 1.1em; }

.btn-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--gold-main);
  color: var(--gold-main); font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.btn-view-all:hover {
  background: var(--gold-main); color: #000;
  box-shadow: 0 3px 12px var(--gold-glow-str);
}
.btn-view-all svg { width: 13px; height: 13px; }

/* ------------------------------------------------------------
   11. Game Cards
   ------------------------------------------------------------ */
.gs-games-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.gs-game-card {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; background: var(--bg-card);
  border: 1px solid var(--gold-border);
  cursor: pointer; aspect-ratio: 3/4;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.gs-game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(200,146,42,0.30), 0 0 0 1px var(--gold-main);
  border-color: var(--gold-main);
}
.gs-game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gs-game-card:hover img { transform: scale(1.07); }

.gs-game-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.92) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 12px;
  opacity: 0; transition: opacity var(--transition);
}
.gs-game-card:hover .gs-game-card__overlay { opacity: 1; }
.gs-game-card__name { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.gs-game-card__provider { font-size: 0.67rem; color: var(--gold-main); margin-bottom: 8px; }

.btn-play {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: var(--grad-gold-btn);
  color: #000; font-weight: 700; font-size: 0.78rem;
  padding: 7px 0; border-radius: var(--radius-sm); width: 100%;
  transition: opacity var(--transition);
}
.btn-play:hover { opacity: 0.88; }
.btn-play svg { width: 13px; height: 13px; }

.gs-game-card__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
  padding: 22px 10px 8px; pointer-events: none;
}
.gs-game-card__label-name { font-size: 0.72rem; font-weight: 700; color: #fff; }
.gs-game-card__label-provider { font-size: 0.62rem; color: var(--gold-main); }

/* ------------------------------------------------------------
   12. Stats Bar
   ------------------------------------------------------------ */
.gs-stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
 background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(43, 43, 32, 1) 100%);
  border: 1px solid hsla(39, 65%, 47%, 0.5);
  border-radius: 16px;
  margin: 0 10px 10px;
}


.gs-stats-bar__item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  position: relative;
  transition: background var(--transition);
}
.gs-stats-bar__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(200,146,42,0.25);
}
.gs-stats-bar__item:last-child::after {
  display: none;
}



.gs-stats-bar__item:last-child { border-right: none; }
.gs-stats-bar__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--grad-feature-icon);
  border: 1px solid var(--gold-border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.05);
}
.gs-stats-bar__icon svg { width: 24px; height: 24px; color: var(--gold-main); }
.gs-stats-bar__value {
  font-size: clamp(1rem,1.8vw,1.3rem); font-weight: 900;
  color: var(--gold-light); line-height: 1.1; margin-bottom: 3px;
  text-shadow: 0 0 12px rgba(255,215,0,0.25);
}
.gs-stats-bar__label { font-size: 0.72rem; color: var(--text-secondary); }

/* ------------------------------------------------------------
   13. SEO Content Area
   ------------------------------------------------------------ */
.gs-content-area {
  padding: 24px 18px;
  border-top: 1px solid var(--gold-border);
}
.gs-content-area .entry-content {
  color: var(--text-secondary); font-size: 0.88rem; line-height: 1.85;
}
.gs-content-area .entry-content h2 {
  font-size: clamp(0.95rem,1.8vw,1.2rem);
  color: var(--gold-main); margin: 18px 0 10px; font-weight: 800;
}
.gs-content-area .entry-content h3 {
  font-size: 0.96rem; color: var(--text-primary);
  margin: 14px 0 7px; font-weight: 700;
}
.gs-content-area .entry-content p { margin-bottom: 10px; }
.gs-content-area .entry-content ul { list-style: disc; padding-left: 18px; margin-bottom: 10px; }

/* ------------------------------------------------------------
   14. Game Popup
   ------------------------------------------------------------ */
.gs-popup {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.gs-popup.active { opacity: 1; visibility: visible; }
.gs-popup__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(4px);
}
.gs-popup__box {
  position: relative; z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--gold-main);
  border-radius: var(--radius-lg);
  width: min(900px,90vw); height: min(600px,85vh);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.85), 0 0 30px var(--gold-glow-str);
}
.gs-popup__header {
  display: flex; align-items: center;
  justify-content: space-between; padding: 12px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--gold-border-mid); flex-shrink: 0;
}
.gs-popup__game-title { font-size: 0.96rem; font-weight: 800; color: var(--gold-light); }
.gs-popup__actions { display: flex; align-items: center; gap: 8px; }
.btn-play-real {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--grad-green-btn); color: #fff;
  font-weight: 700; font-size: 0.78rem;
  padding: 6px 14px; border-radius: 20px;
  transition: opacity var(--transition);
}
.btn-play-real:hover { opacity: 0.88; color: #fff; }
.gs-popup__close {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border-radius: 50%;
  color: var(--text-secondary); transition: all var(--transition);
}
.gs-popup__close:hover { background: var(--accent-red); color: #fff; }
.gs-popup__loading {
  flex: 1; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.88rem; gap: 10px;
}
.gs-popup__iframe { flex: 1; border: none; display: none; width: 100%; height: 100%; }
.gs-popup__iframe.loaded { display: block; }

/* ------------------------------------------------------------
   15. Breadcrumb
   ------------------------------------------------------------ */
.gs-breadcrumb {
  padding: 9px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--gold-border);
  font-size: 0.75rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
}
.gs-breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.gs-breadcrumb a:hover { color: var(--gold-main); }
.gs-breadcrumb__sep { color: var(--text-muted); }
.gs-breadcrumb__current { color: var(--gold-main); }

/* ------------------------------------------------------------
   16. Cookie Notice
   ------------------------------------------------------------ */
.gs-cookie {
  position: fixed; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1a1400, #1f1800);
  border: 1px solid var(--gold-border-mid);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 14px;
  max-width: 560px; width: 90%; z-index: 900;
  box-shadow: 0 4px 24px rgba(0,0,0,0.7);
  font-size: 0.8rem; color: var(--text-secondary);
}
.gs-cookie.hidden { display: none; }
.gs-cookie__text { flex: 1; }
.gs-cookie__text a { color: var(--gold-main); }
.btn-cookie-accept {
  background: var(--grad-gold-btn); color: #000; font-weight: 700;
  font-size: 0.78rem; padding: 7px 16px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0; transition: opacity var(--transition);
}
.btn-cookie-accept:hover { opacity: 0.88; }

/* ------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------ */
.gs-footer {
  max-width: 1366px;
  margin: 0 auto;
  width: 100%;
  background: var(--bg-primary);
  padding: 10px;
}
.gs-footer__grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 28px; margin-bottom: 20px;
}
.gs-footer__heading {
  font-size: 0.82rem; font-weight: 800;
  color: var(--gold-main); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.gs-footer__links li { margin-bottom: 7px; }
.gs-footer__links a {
  font-size: 0.8rem; color: var(--text-muted);
  transition: color var(--transition);
}
.gs-footer__links a:hover { color: var(--gold-main); }
.gs-footer__bottom {
  text-align: center; font-size: 0.73rem; color: var(--text-muted);
}

/* ------------------------------------------------------------
   18. Archive / Filter
   ------------------------------------------------------------ */
.gs-archive { padding: 18px; }
.gs-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.gs-filter__btn {
  background: var(--bg-card); border: 1px solid var(--gold-border-mid);
  color: var(--text-secondary); font-size: 0.8rem;
  padding: 6px 14px; border-radius: 20px;
  transition: all var(--transition); cursor: pointer; font-family: inherit;
}
.gs-filter__btn:hover,
.gs-filter__btn.active {
  background: var(--gold-main); border-color: var(--gold-main);
  color: #000; font-weight: 700;
  box-shadow: 0 3px 12px var(--gold-glow-str);
}
.gs-games-grid--archive { grid-template-columns: repeat(5,1fr); }

.btn-load-more {
  display: block; margin: 20px auto 0;
  background: transparent; border: 1px solid var(--gold-main);
  color: var(--gold-main); font-weight: 700; font-size: 0.88rem;
  padding: 10px 36px; border-radius: 30px;
  cursor: pointer; font-family: inherit; transition: all var(--transition);
}
.btn-load-more:hover {
  background: var(--gold-main); color: #000;
  box-shadow: 0 3px 14px var(--gold-glow-str);
}
.btn-load-more:disabled { opacity: 0.5; cursor: not-allowed; }

/* Spinner */
.gs-spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid var(--gold-border-mid);
  border-top-color: var(--gold-main);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Sidebar overlay (mobile) */
.gs-sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); z-index: 199;
}
.gs-sidebar-overlay.active { display: block; }

.gs-wrapper--wide .gs-banner-zone {
  grid-column: 2 / -1;
}
.gs-wrapper--wide .gs-main {
  grid-column: 2 / -1;
}

/* ------------------------------------------------------------
   19. Responsive
   ------------------------------------------------------------ */
@media (max-width: 1280px) {
  :root { --rightcol-w: 200px; }
  .gs-games-grid--archive { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 1024px) {
  :root { --sidebar-w: 175px; --rightcol-w: 185px; }
  .gs-feature-bar { grid-template-columns: repeat(2,1fr); }
  .gs-stats-bar { grid-template-columns: repeat(2,1fr); }
  .gs-stats-bar__item:nth-child(2) { border-right: none; }
  .gs-footer__grid { grid-template-columns: repeat(2,1fr); }
  .gs-games-grid {grid-template-columns: repeat(3, 1fr);}
}

@media (max-width: 768px) {
  .gs-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: var(--topbar-h) auto 1fr auto;
  }
  .gs-topbar {
    grid-column: 1;
    grid-row: 1;
  }
  .gs-sidebar-left {
    position: fixed; top: 0; left: 0;
    width: 280px; height: 100vh; z-index: 200;
    transform: translateX(-100%);
    transition: transform var(--transition);
    grid-column: unset; grid-row: unset;
  }
  .gs-sidebar-left.open { transform: translateX(0); }
  .gs-banner-zone {
    grid-column: 1;
    grid-row: 2;
  }
  .gs-main {
    grid-column: 1;
    grid-row: 3;
  }
  .gs-rightcol {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh; z-index: 200;
    transform: translateX(100%);
    transition: transform var(--transition);
    grid-column: unset; grid-row: unset;
  }
  .gs-rightcol.open { transform: translateX(0); }
  .gs-hamburger { display: flex; }
  .gs-topbar__search { display: none; }
  .gs-feature-bar { grid-template-columns: repeat(2, 1fr); }
  .gs-games-grid { grid-template-columns: repeat(5, 1fr); }
  .gs-games-grid--archive { grid-template-columns: repeat(3, 1fr); }
  .gs-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .gs-stats-bar__item:nth-child(2) { border-right: none; }
  .gs-popup__box { width: 100%; height: 100%; border-radius: 0; }
  .gs-jackpot-float { display: none; }

  /* Wide wrapper mobile fix */
  .gs-wrapper--wide {
    grid-template-columns: 1fr;
  }
  .gs-wrapper--wide .gs-banner-zone {
    grid-column: 1;
  }
  .gs-wrapper--wide .gs-main {
    grid-column: 1;
  }
  
}

@media (max-width: 480px) {
  .gs-feature-bar { grid-template-columns: 1fr; }
  .gs-games-grid { grid-template-columns: repeat(2,1fr); }
  .gs-footer__grid { grid-template-columns: 1fr; }
}


