/* Extracted from local-site-enhancements */
/* Menu icons: consistent spacing and visibility. */
.menu-added-icon{display:inline-flex!important;align-items:center;justify-content:center;width:1.35rem;min-width:1.35rem;margin-right:.55rem;font-size:1.2rem;line-height:1;vertical-align:middle;color:var(--color-accent,#b8ff5c);flex-shrink:0}
nav a{align-items:center}
nav a .bx{font-size:1.2rem;line-height:1;flex-shrink:0}
/* Remove the original purple play bubble while retaining its click handler. */
.game-card .local-original-play-layer{display:none!important}
.game-card .btn-play{display:none!important}
/* Section headings get a small matching icon. */
.section-added-icon{display:inline-flex;align-items:center;justify-content:center;margin-right:.5rem;color:var(--color-accent,#b8ff5c);font-size:1.1em;vertical-align:-.08em}
/* Hover play control on every game tile. */
.game-card .local-play-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:5;opacity:0;pointer-events:none;transition:opacity .18s ease;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.48));border-radius:inherit}
.game-card:hover .local-play-overlay,.game-card:focus-within .local-play-overlay{opacity:1}
.game-card .local-play-button{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.65rem 1rem;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(167,235,65,.96);color:#10140b;font-weight:800;font-size:.82rem;box-shadow:0 8px 28px rgba(0,0,0,.35);transform:translateY(5px) scale(.96);transition:transform .18s ease,background .18s ease;cursor:pointer}
.game-card:hover .local-play-button,.game-card:focus-within .local-play-button{transform:translateY(0) scale(1)}
.game-card .local-play-button svg{width:1rem;height:1rem;fill:currentColor}
.local-load-more-wrap{display:flex;flex-direction:column;align-items:center;gap:.65rem;padding:1.5rem 0 2rem}
.local-load-more{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-width:210px;padding:.85rem 1.4rem;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:linear-gradient(135deg,#c5ff66,#91d83b);color:#11180a;font-weight:800;box-shadow:0 8px 26px rgba(0,0,0,.22);cursor:pointer;transition:transform .18s ease,filter .18s ease}
.local-load-more:hover{transform:translateY(-2px);filter:brightness(1.06)}
.local-load-more:focus-visible{outline:3px solid white;outline-offset:3px}
.local-games-count{font-size:.8rem;color:rgba(255,255,255,.62)}
@media (hover:none){.game-card .local-play-overlay{opacity:1;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.35))}.game-card .local-play-button{padding:.48rem .7rem;font-size:.72rem;transform:none;opacity:.96}}


/* Extracted from local-icon-and-banner-controls-fix */
/* Restore the small navigation arrows and "See all" controls on game shelves. */
main section [aria-label^="Scroll "],
main section a[href*="/categories/"] { visibility:visible!important; }
main section [aria-label^="Scroll "] {
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  opacity:1!important; pointer-events:auto!important; flex-shrink:0!important;
}
main section [aria-label^="Scroll "] i.bx { display:inline-block!important; font-size:1.25rem!important; line-height:1!important; }
main section a[href*="/categories/"] { display:inline-flex!important; align-items:center!important; justify-content:center!important; }
.sidebar-row > i.bx, nav a > i.bx, nav button > i.bx { display:inline-flex!important; align-items:center; justify-content:center; flex-shrink:0; }
.local-repaired-icon { display:inline-flex!important; align-items:center; justify-content:center; margin-right:.45rem; flex-shrink:0; }


/* Extracted from boxicons-font-render-fix */
/* Ensure Boxicons render as icons instead of fallback-font squares/glyphs. */
i.bx, i[class^="bx-"], i[class*=" bx-"] { font-family: "boxicons" !important; font-style: normal !important; font-weight: normal !important; speak: never; }
.menu-added-icon, .section-added-icon, .local-repaired-icon { display:inline-flex !important; align-items:center; justify-content:center; flex-shrink:0; }
.menu-added-icon { width:1.35rem; min-width:1.35rem; margin-right:.55rem; font-size:1.2rem; line-height:1; color:var(--color-accent,#b8ff5c); }
.section-added-icon { margin-right:.5rem; color:var(--color-accent,#b8ff5c); font-size:1.1em; vertical-align:-.08em; }
.local-repaired-icon { margin-right:.45rem; font-size:1.15rem; line-height:1; color:var(--color-accent,#b8ff5c); }


/* Extracted from local-single-green-icons-and-provider-filter */
/* Keep exactly one consistently green icon per menu item and section heading. */
.menu-added-icon,.section-added-icon,.local-repaired-icon{color:#a8ef45!important;filter:none!important;text-shadow:none!important}
.menu-added-icon{display:inline-flex!important;align-items:center;justify-content:center;width:1.25rem;min-width:1.25rem;margin-right:.55rem;font-size:1.15rem;line-height:1;flex-shrink:0}
.section-added-icon{margin-right:.5rem;font-size:1.08em;vertical-align:-.08em}
.local-provider-menu{position:absolute;z-index:9999;top:calc(100% + 6px);left:0;right:0;max-height:320px;overflow:auto;padding:6px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#171027;box-shadow:0 14px 36px rgba(0,0,0,.4)}
.local-provider-option{display:block;width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#e9e3f6;text-align:left;font-size:13px;cursor:pointer}
.local-provider-option:hover,.local-provider-option[aria-selected="true"]{background:#30204a;color:#a8ef45}
.local-provider-filter-status{font-size:12px;color:rgba(255,255,255,.6);margin-top:8px}


/* Extracted from goldsvet-final-polish-css */
/* One icon per item/heading; consistent green icon color. */
.menu-added-icon,.section-added-icon,.local-repaired-icon,nav a > i.bx,main h1 > i.bx,main h2 > i.bx,main h3 > i.bx{color:#a8ef45!important;filter:none!important}
.local-provider-menu{z-index:100!important;max-height:60vh;overflow:auto;background:#170f27;border:1px solid #342449;border-radius:12px;padding:6px;box-shadow:0 12px 35px #0008;min-width:100%}
.local-provider-option{display:block;width:100%;text-align:left;color:#eee;padding:8px 10px;border-radius:7px;font-size:13px}
.local-provider-option:hover,.local-provider-option[aria-selected="true"]{background:#2c1b45;color:#a8ef45}
.local-provider-filter-status{font-size:11px;color:#8c829e;margin-top:5px;text-align:right}


/* Extracted from goldsvet-image-scroll-fix */
/* Prevent reveal effects from leaving a successfully loaded game cover invisible. */
.game-card img.img-reveal{visibility:visible!important}
.game-card img.img-reveal--loaded{opacity:1!important}
.game-card img.goldsvet-image-ready{opacity:1!important;visibility:visible!important}


/* Extracted from goldsvet-slider-hover-polish */
/* A true horizontal slider: let the browser compositor animate scroll positions. */
main section:has(h2) .overflow-x-auto {
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
main section:has(h2) .overflow-x-auto > .shelf-cell { scroll-snap-align: start; }
/* Fast, crisp hover feedback for the Play control and game titles. */
.game-card .local-play-overlay { transition: opacity .12s ease-out !important; }
.game-card .local-play-button { transition: transform .12s ease-out, background-color .12s ease-out, opacity .12s ease-out !important; }
.game-card:hover .local-play-button, .game-card:focus-within .local-play-button { transform: translateY(0) scale(1) !important; }
.game-card .local-play-overlay { will-change: opacity; }
.game-card [class*="group-hover\\/card:text-accent"],
.game-card .text-accent,
.game-card .game-title,
.game-card .truncate { transition: color .12s ease-out !important; }
.game-card:hover .game-title,
.game-card:hover .truncate,
.game-card:focus-within .game-title { color: #a855f7 !important; }
.winning-card .truncate { transition: color .12s ease-out !important; }
.winning-card:hover .inline-flex + .truncate { color: #a855f7 !important; }


/* Extracted from goldsvet-instant-hover-fix */
/* Instant hover response: highlight only game titles, never emails or other metadata. */
.game-card, .game-card *, .winning-card, .winning-card * { transition-delay: 0s !important; }
.game-card .local-play-overlay, .game-card .local-play-button,
.game-card [class*="group-hover"], .game-card .game-title, .game-card .truncate,
.winning-card .inline-flex + .truncate { transition-duration: 0s !important; transition-delay: 0s !important; }
.game-card:hover .game-title, .game-card:focus-within .game-title,
.winning-card:hover .inline-flex + .truncate { color: #a855f7 !important; }
.game-card:hover .local-play-button, .game-card:focus-within .local-play-button { opacity: 1 !important; visibility: visible !important; transform: translateY(0) scale(1) !important; }


/* Extracted from goldsvet-repair-final-css */
html{scroll-behavior:smooth}.goldsvet-brand-logo{font-family:Arial,sans-serif}.local-provider-filter-status{display:block!important}.local-provider-menu[hidden]{display:none!important}

/* Category listing pages */
.local-category-page { margin-top: 1.25rem; width: 100%; }
.local-category-page .local-category-grid { align-items: start; }
.local-category-page .game-card { width: 100%; min-width: 0; }
.local-category-page .game-card img { display: block; }
.local-category-pagination button { min-width: 2.5rem; }
/* Category-page provider selector and Load More controls */
.local-provider-select{min-width:170px;max-width:100%;padding:9px 38px 9px 12px;border:1px solid var(--line,#343943);border-radius:10px;background-color:var(--surface,#171a21);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;color:var(--text,#fff);font:inherit;font-size:13px;font-weight:600;outline:none;appearance:none;-webkit-appearance:none;cursor:pointer}
.local-provider-select:focus{border-color:var(--accent,#8b5cf6)}
.local-category-pagination .local-load-more{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 20px;border:1px solid var(--accent,#8b5cf6);border-radius:12px;background:var(--accent,#8b5cf6);color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.local-category-pagination .local-load-more:hover{filter:brightness(1.08)}
.local-category-pagination .local-games-count{color:var(--muted,#9ca3af);font-size:12px}


/* Bonuses page */
.local-bonuses-page{width:100%;display:flex;flex-direction:column;gap:22px;padding:4px 0 28px;color:var(--c-text,#fff)}
.bonus-hero{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.10);border-radius:24px;padding:34px 30px;background:linear-gradient(120deg,#171b35 0%,#22204a 55%,#182c3e 100%);box-shadow:0 18px 50px rgba(0,0,0,.24)}
.bonus-hero-glow{position:absolute;width:300px;height:300px;right:-70px;top:-150px;border-radius:50%;background:rgba(137,91,255,.32);filter:blur(35px);pointer-events:none}
.bonus-kicker{position:relative;display:inline-flex;align-items:center;gap:8px;color:#c9b8ff;font-size:11px;font-weight:900;letter-spacing:.16em}
.bonus-hero h1{position:relative;margin:12px 0 8px;font-size:clamp(28px,4vw,42px);font-weight:900;letter-spacing:-.035em;color:#fff}
.bonus-hero>p{position:relative;margin:0;color:rgba(255,255,255,.72);font-size:14px;max-width:560px}
.bonus-hero-tags{position:relative;display:flex;flex-wrap:wrap;gap:16px;margin-top:22px;color:#e4defe;font-size:12px;font-weight:700}
.bonus-hero-tags span{display:flex;align-items:center;gap:6px}
.bonus-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bonus-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.10);border-radius:22px;padding:24px;background:linear-gradient(145deg,#20253a,#171b2a);box-shadow:0 12px 35px rgba(0,0,0,.16)}
.bonus-card-main{background:linear-gradient(145deg,#30205a,#1c2038)}
.bonus-card-free{background:linear-gradient(145deg,#16483f,#1b2935)}
.bonus-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bonus-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.12);font-size:24px;color:#fff}
.bonus-label{font-size:10px;letter-spacing:.14em;font-weight:900;color:rgba(255,255,255,.68)}
.bonus-value{margin:22px 0 2px;font-size:clamp(48px,7vw,68px);line-height:1;font-weight:950;letter-spacing:-.06em;color:#fff}
.bonus-value small{font-size:.46em;letter-spacing:-.02em}
.bonus-card h2{margin:10px 0 8px;color:#fff;font-size:19px;font-weight:850}
.bonus-card p{margin:0;max-width:440px;color:rgba(255,255,255,.72);font-size:13px;line-height:1.65}
.bonus-card p strong{color:#fff}
.bonus-foot{display:flex;align-items:center;gap:7px;margin-top:22px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);color:#d7caff;font-size:12px;font-weight:800}
.bonus-card-free .bonus-foot{color:#a9f2d5}
.bonus-note{display:flex;gap:12px;align-items:flex-start;padding:17px 19px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.7);font-size:12px;line-height:1.6}
.bonus-note>i{font-size:20px;color:#b9a5ff;flex:none}
.bonus-note strong{display:block;margin-bottom:3px;color:#fff;font-size:13px}
.bonus-note p{margin:0}
@media(max-width:640px){.bonus-hero{padding:26px 20px;border-radius:19px}.bonus-cards{grid-template-columns:1fr;gap:13px}.bonus-card{padding:21px;border-radius:18px}.local-bonuses-page{gap:15px}}


/* Bonuses page refinement: compact cards, centered content and reward icons. */
.local-bonuses-page{max-width:1080px;margin:0 auto;width:100%;gap:18px}
.bonus-hero{padding:26px 28px;border-radius:20px}
.bonus-hero h1{font-size:clamp(26px,3vw,36px)}
.bonus-hero-tags{margin-top:16px}
.bonus-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.bonus-card{padding:19px 21px;border-radius:18px;min-width:0}
.bonus-card-top{justify-content:flex-start;gap:12px}
.bonus-icon{width:40px;height:40px;border-radius:13px;font-size:23px;flex:none}
.bonus-icon-trophy{background:linear-gradient(135deg,rgba(255,207,92,.25),rgba(255,168,45,.10));color:#ffd36a}
.bonus-icon-gift{background:linear-gradient(135deg,rgba(95,240,190,.22),rgba(54,190,154,.10));color:#75f0c5}
.bonus-label{font-size:10px}
.bonus-value{font-size:clamp(42px,5vw,56px);margin:16px 0 0}
.bonus-card h2{font-size:17px;margin:8px 0 6px}
.bonus-card p{font-size:12px;line-height:1.55}
.bonus-foot{margin-top:15px;padding-top:12px}
.bonus-note{padding:14px 16px}
@media(max-width:760px){.local-bonuses-page{padding-left:0;padding-right:0}.bonus-cards{grid-template-columns:1fr}.bonus-hero{padding:23px 20px}.bonus-card{padding:18px}}


/* Promotions, VIP Club and Affiliate pages share the Bonuses visual system. */
.local-info-page .info-hero{background:linear-gradient(120deg,#171b35 0%,#24204b 54%,#173b3b 100%)}
.local-info-page .bonus-card h2{margin-top:18px}
.local-info-page .bonus-card-main .bonus-icon{background:linear-gradient(135deg,rgba(177,139,255,.28),rgba(125,91,255,.12));color:#d7c4ff}
.local-info-page .bonus-card-free .bonus-icon{background:linear-gradient(135deg,rgba(95,240,190,.22),rgba(54,190,154,.10));color:#75f0c5}
.local-info-page .bonus-card{min-height:190px}
@media(max-width:760px){.local-info-page .bonus-card{min-height:0}}

/* Hero banners: keep the artwork and carousel navigation, remove slide copy and CTA buttons. */
[aria-roledescription="carousel"] [data-clickable] > div[class*="flex-col"] {
  display: none !important;
}
[aria-roledescription="carousel"] [data-clickable] > button {
  display: none !important;
}


/* Mobile layout: use the real device viewport instead of forcing a desktop canvas. */
@media screen and (max-width: 767px) {
  html, body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #app, #app > div, #app main, #app footer {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  #app main {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: clip;
  }

  #app main > div,
  #app main > div > div {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Keep the header compact: brand on the left, auth controls on the right. */
  header .header-rail {
    gap: 0 !important;
    padding-left: 12px !important;
    min-width: 0 !important;
  }
  header .header-rail > button { display: none !important; }
  .goldsvet-header-brand {
    display: inline-flex !important;
    color: #f6f0ff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }
  header .max-w-\[1400px\] > a[aria-label="Home"] { display: none !important; }
  header .max-w-\[1400px\] {
    justify-content: flex-end !important;
    padding-left: 0 !important;
    padding-right: 10px !important;
  }
  #headerAuthActions { gap: 6px !important; }
  #headerAuthActions > button { padding-left: 11px !important; padding-right: 11px !important; }

  /* Touch-friendly horizontal game shelves; the page itself remains vertically scrollable. */
  #app main .overflow-x-auto {
    max-width: 100%;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }
  #app main .overflow-x-auto::-webkit-scrollbar { display: none; }

  /* The existing app drawer and bottom bar must receive taps above page content. */
  [aria-label="Menu"][role="dialog"] { touch-action: pan-y; }
  [data-goldsvet-bottom-nav] {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000 !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    pointer-events: auto !important;
  }
}

/* Mobile touch recovery: keep the page scrollable and prevent the closed drawer
   from intercepting taps. The fixed navigation remains above the page. */
@media screen and (max-width: 767px) {
  html {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body {
    display: block !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #app, #app > div {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    touch-action: auto !important;
  }
  #app main {
    overflow-y: visible !important;
    touch-action: auto !important;
  }
  /* The drawer wrapper is transparent to touch while closed. */
  .fixed.inset-0[aria-label] { pointer-events: none !important; }
  .fixed.inset-0[aria-label] aside[role="dialog"][aria-label="Menu"] { pointer-events: none !important; }
  .fixed.inset-0.goldsvet-mobile-menu-open { pointer-events: auto !important; }
  .fixed.inset-0.goldsvet-mobile-menu-open aside[role="dialog"][aria-label="Menu"] { pointer-events: auto !important; }
  [data-goldsvet-bottom-nav] {
    display: block !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
    touch-action: manipulation !important;
  }
  [data-goldsvet-bottom-nav] button,
  [data-goldsvet-bottom-nav] a { pointer-events: auto !important; touch-action: manipulation !important; }
}


/* Mobile header brand: added without changing desktop layout. */
.goldsvet-header-brand {
  display: none;
}
@media (max-width: 767px) {
  header .goldsvet-header-brand {
    display: inline-flex !important;
    align-items: center;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    margin-left: 2px;
  }
}


/* FIX 2026-11-04: normalize mobile menu icon/text columns for every item. */
@media screen and (max-width: 767px) {
  nav[aria-label="Mobile menu"] > div > a {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 16px !important;
  }
  nav[aria-label="Mobile menu"] > div > a > i.bx,
  nav[aria-label="Mobile menu"] > div > a > .menu-added-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
    text-align: center !important;
  }
  nav[aria-label="Mobile menu"] > div > a > span {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

/* FIX 2026-11-04: stop the hero artwork from zooming or animating. */
[aria-roledescription="carousel"] img.hero-slide-img,
[aria-roledescription="carousel"] img.hero-slide-img--active {
  transform: none !important;
  scale: 1 !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
}


/* ==========================================================
   GOLDSVET — PREMIUM VISUAL REFRESH
   Visual-only layer. Existing markup, routes and interactions
   are intentionally preserved.
   ========================================================== */
:root {
  --gs-ink: #08090d;
  --gs-panel: #11131a;
  --gs-panel-2: #171a22;
  --gs-panel-3: #1d202a;
  --gs-gold: #d8b568;
  --gs-gold-bright: #f3d995;
  --gs-gold-deep: #98733a;
  --gs-line: rgba(216,181,104,.19);
  --gs-muted: #a5a8b2;
  --gs-shadow: 0 18px 48px rgba(0,0,0,.34);
}
html, body {
  background-color: var(--gs-ink) !important;
}
body {
  color: #f6f4ef !important;
  background-image:
    radial-gradient(ellipse at 50% -18%, rgba(147,112,52,.15), transparent 46%),
    linear-gradient(180deg, #0b0c11 0%, #08090d 58%, #0c0d12 100%) !important;
  background-attachment: fixed !important;
}
#app, #app > div.min-h-screen {
  background: transparent !important;
}

/* Premium sticky header */
#app header {
  background: rgba(10,11,15,.88) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
  border-bottom: 1px solid rgba(216,181,104,.2) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.22) !important;
}
#app header > div:first-child {
  background: linear-gradient(180deg, rgba(24,25,30,.97), rgba(13,14,19,.96)) !important;
  border-color: rgba(216,181,104,.17) !important;
}
header .goldsvet-header-brand {
  color: var(--gs-gold-bright) !important;
  letter-spacing: .025em !important;
  text-shadow: 0 0 22px rgba(216,181,104,.18);
}
header img[alt="Logo"] {
  filter: drop-shadow(0 3px 12px rgba(216,181,104,.12));
}
header button, header a {
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}
#headerAuthActions button,
header #accountBar .auth-btn {
  border-radius: 999px !important;
  font-weight: 800 !important;
}
#headerAuthActions button:last-child,
header #accountBar .auth-btn-gold {
  background: linear-gradient(135deg, #f4dfa9 0%, #d5ad62 48%, #a77b38 100%) !important;
  color: #17130b !important;
  border: 1px solid rgba(255,229,169,.68) !important;
  box-shadow: 0 5px 18px rgba(173,129,56,.2), inset 0 1px rgba(255,255,255,.45) !important;
}
#headerAuthActions button:last-child:hover,
header #accountBar .auth-btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 7px 24px rgba(173,129,56,.3) !important;
}

/* Main canvas and page rhythm */
#app main {
  background: transparent !important;
}
#app main > div > .max-w-\[1400px\] {
  padding-top: 16px !important;
  padding-bottom: 28px !important;
}
#app main section {
  scroll-margin-top: 90px;
}
#app main section > div > h2,
#app main section h2:not(.hero-card h2),
#app main section h3 {
  letter-spacing: -.025em;
}
#app main section h2:not(.hero-card h2) {
  color: #f4f0e6 !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

/* Hero / promotions panel */
#app .hero-card {
  border: 1px solid rgba(216,181,104,.25) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #171820 !important;
  box-shadow: 0 22px 58px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.025) inset !important;
}
#app .hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.055), inset 0 -50px 100px rgba(0,0,0,.12);
}
#app .hero-card .btn-primary,
#app main .btn-primary {
  border: 1px solid rgba(255,231,176,.68) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f4dfa9 0%, #d4ad63 48%, #a77a37 100%) !important;
  color: #17130c !important;
  box-shadow: 0 8px 24px rgba(183,139,67,.24), inset 0 1px rgba(255,255,255,.48) !important;
  font-weight: 900 !important;
  letter-spacing: .01em;
}
#app .hero-card .btn-primary:hover,
#app main .btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(183,139,67,.32) !important;
}

/* Game tiles: refined surfaces without touching Play visibility or click targets */
#app main .game-card {
  border: 1px solid rgba(255,255,255,.065) !important;
  border-radius: 15px !important;
  background: linear-gradient(155deg, rgba(29,31,40,.96), rgba(15,17,23,.98)) !important;
  box-shadow: 0 7px 22px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.035) !important;
  overflow: hidden !important;
}
#app main .game-card:hover,
#app main .game-card:focus-within {
  border-color: rgba(216,181,104,.48) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.38), 0 0 0 1px rgba(216,181,104,.08) !important;
}
#app main .game-card > div:first-child {
  border-radius: 12px !important;
  background: #0d0e13;
}
#app main .game-card img {
  border-radius: inherit;
}
#app main .game-card .game-title {
  color: #f4f1e9 !important;
  font-weight: 750 !important;
  letter-spacing: -.01em;
}
#app main .game-card .provider-mark__label {
  color: #b6a887 !important;
  letter-spacing: .025em;
}
#app main .game-card .btn-play {
  background: linear-gradient(135deg, #f4dfa9, #c79b4f) !important;
  color: #17130b !important;
  border: 1px solid rgba(255,239,197,.8) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.48), 0 0 24px rgba(216,181,104,.2) !important;
}
#app main .game-card .btn-play:hover {
  filter: brightness(1.1);
}

/* Section controls, category chips and generic action buttons */
#app main button:not(.btn-play):not([aria-label^="Scroll "]),
#app main a[class*="rounded-full"][class*="border"] {
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease !important;
}
#app main [aria-label^="Scroll "] {
  border: 1px solid rgba(216,181,104,.22) !important;
  background: rgba(21,22,29,.92) !important;
  color: #e8d5aa !important;
  border-radius: 12px !important;
}
#app main [aria-label^="Scroll "]:hover {
  border-color: rgba(216,181,104,.55) !important;
  background: rgba(50,42,29,.92) !important;
}

/* Sidebar */
#app .sidebar-shell {
  background: linear-gradient(180deg, rgba(18,19,25,.98), rgba(10,11,15,.98)) !important;
  border-color: rgba(216,181,104,.15) !important;
}
#app .sidebar-row {
  border-radius: 11px !important;
  transition: background .18s ease, color .18s ease, border-color .18s ease !important;
}
#app .sidebar-row:hover {
  background: rgba(216,181,104,.09) !important;
  color: #f7e5bd !important;
}
#app .sidebar-row.is-active {
  color: #f5d995 !important;
  background: linear-gradient(100deg, rgba(216,181,104,.17), rgba(216,181,104,.045)) !important;
  box-shadow: inset 2px 0 #d8b568 !important;
}
#app .sidebar-heading {
  color: #a99570 !important;
  letter-spacing: .13em !important;
}

/* Footer and publisher panels */
#app footer {
  background: linear-gradient(180deg, rgba(18,19,25,.94), rgba(8,9,13,.99)) !important;
  border-color: rgba(216,181,104,.17) !important;
}
#app footer .bg-elevated,
#app footer .bg-surface {
  border-color: rgba(216,181,104,.14) !important;
}

/* Drawer / menus / modals */
[aria-label="Menu"][role="dialog"],
nav[aria-label="Mobile menu"] {
  background-color: #11131a !important;
}
[aria-label="Menu"][role="dialog"] {
  border-color: rgba(216,181,104,.24) !important;
  box-shadow: 24px 0 70px rgba(0,0,0,.58) !important;
}
nav[aria-label="Mobile menu"] a {
  border-radius: 12px !important;
}
nav[aria-label="Mobile menu"] a:hover,
nav[aria-label="Mobile menu"] a:focus-visible {
  background: rgba(216,181,104,.09) !important;
  color: #f3dfb2 !important;
}
.auth-modal {
  background: linear-gradient(155deg, #20212a 0%, #11131a 54%, #0b0c11 100%) !important;
  border: 1px solid rgba(216,181,104,.42) !important;
  box-shadow: 0 28px 100px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.04) !important;
}
.auth-tabs button.active,
#authForm .auth-submit {
  background: linear-gradient(135deg, #f4dfa9, #c79a4c) !important;
  color: #17130b !important;
}

/* Bottom mobile navigation */
[data-goldsvet-bottom-nav] {
  background: rgba(12,13,18,.94) !important;
  -webkit-backdrop-filter: blur(20px) saturate(145%) !important;
  backdrop-filter: blur(20px) saturate(145%) !important;
  border-top: 1px solid rgba(216,181,104,.22) !important;
  box-shadow: 0 -12px 38px rgba(0,0,0,.42) !important;
}
[data-goldsvet-bottom-nav] button,
[data-goldsvet-bottom-nav] a {
  color: #aaa394;
}
[data-goldsvet-bottom-nav] .text-accent,
[data-goldsvet-bottom-nav] [aria-current="page"] {
  color: #f0d28f !important;
}
[data-goldsvet-bottom-nav] .bg-accent {
  background: linear-gradient(135deg, #f4dfa9, #c79a4c) !important;
  color: #17130b !important;
  box-shadow: 0 6px 22px rgba(190,145,67,.28) !important;
}

/* Smaller screens: retain the existing layout and controls, refine spacing only. */
@media (max-width: 767px) {
  #app main {
    padding-top: 10px !important;
  }
  #app main .hero-card {
    border-radius: 17px !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.38) !important;
  }
  #app main .game-card {
    border-radius: 13px !important;
  }
  #app main .game-card > div:first-child {
    border-radius: 10px !important;
  }
  header .goldsvet-header-brand {
    font-size: clamp(14px, 4vw, 18px) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #app main .game-card,
  #app main .game-card *,
  #app header *,
  [data-goldsvet-bottom-nav] * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* Goldsvet refinement: remove leftover purple hover accents. */
.game-card:hover .game-title,
.game-card:hover .truncate,
.game-card:focus-within .game-title,
.winning-card:hover .inline-flex + .truncate {
  color: #f0d28f !important;
}
.game-card [class*="group-hover\\/card:text-accent"] {
  color: inherit !important;
}
.game-card:hover [class*="group-hover\\/card:text-accent"],
.game-card:focus-within [class*="group-hover\\/card:text-accent"] {
  color: #f0d28f !important;
}
.winning-card,
.winning-card:first-child {
  background-color: rgba(18,19,25,.96) !important;
  border-color: rgba(216,181,104,.12) !important;
  box-shadow: none !important;
}
.winning-card:hover {
  background-color: rgba(29,28,25,.98) !important;
  border-color: rgba(216,181,104,.34) !important;
}

/* Keep enlarged game cards above their neighbors and prevent clipping. */
#app main .game-card {
  position: relative !important;
  z-index: 0;
  overflow: visible !important;
}
#app main .game-card:hover,
#app main .game-card:focus-within {
  z-index: 5 !important;
}
/* The artwork itself remains clipped to its rounded corners. */
#app main .game-card > div:first-child {
  overflow: hidden !important;
  isolation: isolate;
}
/* Give hover-scaled cards breathing room inside horizontal game shelves. */
main section:has(h2) .overflow-x-auto {
  padding-top: 18px !important;
  padding-bottom: 20px !important;
  margin-top: -18px !important;
  margin-bottom: -20px !important;
  scroll-padding-top: 18px;
}
main section:has(h2) .overflow-x-auto > .shelf-cell {
  overflow: visible !important;
  position: relative;
}


/* Last Wins: remove the unwanted purple tint from the left/right fade masks. */
.fade-mask-left {
  background: linear-gradient(
    to right,
    #09090b 0%,
    rgba(9, 9, 11, .92) 28%,
    rgba(9, 9, 11, .55) 68%,
    rgba(9, 9, 11, 0) 100%
  ) !important;
  background-color: transparent !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
.fade-mask-right {
  background: linear-gradient(
    to left,
    #09090b 0%,
    rgba(9, 9, 11, .92) 28%,
    rgba(9, 9, 11, .55) 68%,
    rgba(9, 9, 11, 0) 100%
  ) !important;
  background-color: transparent !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}


/* Mobile scroll recovery: avoid smooth-scroll and fixed-background jank on touch devices. */
@media screen and (max-width: 767px) {
  html {
    scroll-behavior: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body {
    background-attachment: scroll !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #app,
  #app > div,
  #app > div.min-h-screen,
  #app main {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    overscroll-behavior-y: auto !important;
  }
  #app main {
    touch-action: pan-y pinch-zoom !important;
  }
  /* Keep horizontal game shelves swipeable without forcing slow snapping. */
  #app main .overflow-x-auto {
    scroll-behavior: auto !important;
    scroll-snap-type: x proximity !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Align the Game Search label with the other sidebar entries. */
#app .sidebar-row[href="/game-search"] .sidebar-label {
  margin-left: 4px !important;
}
