:root {
  --bg: #12001f;
  --panel: #210032;
  --panel-2: #310044;
  --card: #43085a;
  --purple: #9b35e8;
  --gold: #ffd316;
  --text-muted: #b9a6c1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #642184 var(--bg); }
body { margin: 0; color: #fff; background: var(--bg); font-family: Arial, Helvetica, sans-serif; font-size: 14px; overflow-x: hidden; }
button, a { font: inherit; }
button { color: inherit; }
.hide-scrollbar { scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

.site-header {
  height: 58px; padding: 0 15px; display: flex; align-items: center; gap: 15px;
  background: #11001e; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.025);
}
.brand { display: flex; flex: 0 0 auto; width: 99px; }
.brand img { width: 99px; height: auto; display: block; }
.main-nav { flex: 1; height: 100%; display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-item { border: 0; background: transparent; padding: 9px 12px; font-size: 11px; line-height: 1; font-weight: 800; cursor: pointer; flex: 0 0 auto; }
.nav-item:hover, .nav-item.active { background: linear-gradient(#5e1d7c,#351044); border-radius: 18px; box-shadow: inset 0 0 0 1px #a04ec4; }
.nav-item.polytrade { border: 2px solid #f2bc00; color: #ffd43b; border-radius: 18px; padding: 8px 15px; box-shadow: 0 0 12px rgba(255,204,0,.16); }
.nav-item.polytrade small { color: white; background: #6c1691; border-radius: 5px; padding: 3px 5px; margin-left: 8px; font-size: 7px; }
.nav-item.promo { font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.access-btn { border: 0; background: linear-gradient(135deg,#7e2cc4,#a73ee8); font-weight: 800; font-size: 11px; border-radius: 19px; padding: 12px 26px; cursor: pointer; }
.lang-btn { height: 38px; min-width: 58px; border-radius: 22px; background: transparent; border: 1px solid #8130aa; cursor: pointer; }

main { width: 100%; }
.hero-shell { margin: 0 14px; padding-top: 0; position: relative; overflow: hidden; border-radius: 10px; }
.hero-track { position: relative; width: 100%; aspect-ratio: 2820/687; min-height: 170px; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease; }
.hero-slide.active { opacity: 1; }
.hero-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.first-deposit-promo { margin: 12px auto 14px; width: min(1180px, calc(100% - 28px)); min-height: 58px; padding: 10px 22px; border: 1px solid #d995ff; border-radius: 14px; background: linear-gradient(100deg,#391150,#7815a5 55%,#32104a); box-shadow: 0 8px 24px #0005,inset 0 0 18px #d75cff33; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; text-align: center; }
.first-deposit-promo strong { color: #ffd44d; font-size: 25px; line-height: 1; text-shadow: 0 2px 8px #0008; }
.first-deposit-promo span { font-size: 14px; font-weight: 900; letter-spacing: .7px; }
.first-deposit-promo small { color: #eadcf3; font-size: 12px; }
.dot { width: 5px; height: 5px; border: 0; border-radius: 50%; padding: 0; background: #827287; cursor: pointer; }
.dot.active { background: #b646fa; }

.mini-promos { display: flex; gap: 8px; margin: 22px 14px 10px; overflow-x: auto; }
.mini-promos > img, .mini-promos > picture, .sports-banner { min-width: calc((100vw - 52px)/4); width: calc((100vw - 52px)/4); aspect-ratio: 925/230; object-fit: cover; border-radius: 9px; }
.sports-banner { border: 2px solid #9144e8; background: radial-gradient(circle at 45% 50%, #58227d, #230037 70%); display: flex; align-items: center; justify-content: center; gap: 25px; font-size: 22px; font-style: italic; cursor: pointer; }
.ball { font-size: 38px; font-style: normal; }
.brand-banner { cursor: default; }
.brand-banner img { display: block; width: 82%; max-width: 340px; height: auto; }
.live-divider { height: 29px; margin: 0 14px 0; border-bottom: 2px solid var(--gold); text-align: center; }
.live-divider span { position: relative; top: 17px; display: inline-flex; align-items: center; gap: 6px; background: var(--bg); padding: 0 10px; font-weight: 700; font-size: 12px; }
.live-divider img { display: block; width: 20px; height: 20px; object-fit: contain; }

.events-panel { margin: 0 14px; padding: 20px 8px 24px; background: #190027; overflow: hidden; }
.selected-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.events-panel h2 { margin: 0; font-size: 18px; }
.selected-controls { display: flex; gap: 8px; }
.selected-controls button { width: 36px; height: 36px; border: 1px solid #a74ad3; border-radius: 50%; background: #5d197f; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.selected-controls button:hover:not(:disabled) { background: #9232c4; }
.selected-controls button:disabled { opacity: .35; cursor: default; }
.selected-controls button:focus-visible { outline: 2px solid #ffd316; outline-offset: 2px; }
.event-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.event-card { min-width: 300px; background: #340049; border-radius: 23px; overflow: hidden; }
.event-league { height: 32px; padding: 10px 14px; background: #3d0c50; color: #c7b8cd; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-league b { float: right; color: #dfd5e4; }
.teams { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; padding: 12px 16px 6px; text-align: center; }
.team .flag { display: block; font-size: 25px; margin-bottom: 4px; }
.team-name { font-size: 14px; }
.event-time small { display: block; color: #d4c6d8; font-size: 9px; }
.event-time strong { font-size: 18px; }
.event-time span { color: #36d2fc; display: block; margin-top: 4px; }
.odds { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 8px; }
.odd { border: 0; background: #58216b; border-radius: 8px; min-height: 47px; cursor: pointer; font-size: 18px; }
.odd small { display: block; font-size: 9px; margin-top: 3px; }
.odd.selected { outline: 2px solid #e7b900; background: #6a2b7f; }

.games-section { margin: 18px 14px 0; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-title { margin: 0; font-size: 16px; }
.section-title::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--gold); }
.similar-games-note { color: #bfa7cc; font-size: 11px; font-weight: 700; }
.show-all { border: 0; background: #713181; border-radius: 5px; padding: 8px 13px; font-size: 10px; font-weight: 700; cursor: pointer; }
.games-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 14px; }
.game-card { min-width: 0; cursor: pointer; }
.game-art { aspect-ratio: 1.12/1; border-radius: 12px; background: #1a0828; display: grid; place-items: center; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.025); }
.game-art::before { content: "♠"; font-size: clamp(42px,5vw,82px); line-height: 1; color: transparent; background: linear-gradient(#b56cf3 0 45%, #661da0 50% 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 2px 2px #d6b1f2) drop-shadow(0 7px 5px #1f002d); }
.game-art::after { content: "G"; position: absolute; font-size: 11px; font-weight: 900; color: #eacaff; }
.game-art:has(img)::before, .game-art:has(img)::after { display: none; }
.game-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.game-card p { height: 28px; margin: 6px 2px 0; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card .play-overlay { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(20,0,31,.66); transition: opacity .16s; }
.game-card:hover .play-overlay { opacity: 1; }
.play-overlay span { background: #a840ec; padding: 9px 18px; border-radius: 18px; font-size: 11px; font-weight: 700; }
.games-grid.collapsed .game-card:nth-child(n+9) { display: none; }

.catalog-toolbar { display: flex; align-items: center; gap: 12px; margin: 24px 14px 10px; }
.catalog-toolbar label { font-weight: 700; white-space: nowrap; }
.catalog-toolbar input { width: min(360px, 100%); padding: 10px 12px; color: #fff; background: #2d083e; border: 1px solid #8642a8; border-radius: 8px; outline: none; }
.catalog-toolbar input:focus { border-color: #c76bfa; }
#catalog-count { color: var(--text-muted); font-size: 11px; }
.catalog-message { margin: 22px 14px; padding: 18px; border-radius: 8px; background: var(--panel); color: var(--text-muted); }
.selected-card { flex: 0 0 180px; width: 180px; }
.selected-card .game-art { aspect-ratio: 1.12/1; contain: paint; }
.game-card:focus-visible { outline: 2px solid #ffd316; outline-offset: 2px; }
.game-modal[hidden] { display: none; }
.game-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.game-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.84); }
.game-modal-panel { position: relative; width: min(1200px, 96vw); height: min(850px, 94vh); display: flex; flex-direction: column; background: #190027; border: 1px solid #78309b; border-radius: 10px; overflow: hidden; }
.game-modal-header { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; }
.game-modal-header h2 { margin: 0; font-size: 15px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.game-modal-header button { border: 0; background: #713181; border-radius: 6px; width: 32px; height: 32px; font-size: 24px; cursor: pointer; }
.game-modal-content { flex: 1; min-height: 0; display: grid; place-items: center; color: var(--text-muted); }
.game-modal-content iframe { width: 100%; height: 100%; border: 0; background: #12001f; }
.game-modal-content p { padding: 16px; text-align: center; }

footer { margin-top: 36px; min-height: 190px; padding: 32px 7%; background: #13011e; display: flex; justify-content: space-between; align-items: center; color: #81718a; }
.footer-links { display: flex; gap: 45px; }
.footer-links h4 { margin: 0 0 12px; color: #ae9db6; font-size: 9px; }
.footer-links a { display: block; color: #81718a; text-decoration: none; font-size: 8px; margin: 8px 0; }
.footer-logo { width: 110px; opacity: .8; }
.adult { width: 70px; height: 70px; border: 2px solid #75637e; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.adult span { font-size: 7px; margin-top: -15px; }

.age-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(10,0,18,.76); backdrop-filter: blur(1.2px); display: grid; place-items: center; }
.age-overlay.hidden { display: none; }
.age-modal { width: 260px; border-radius: 9px; padding: 24px 23px 19px; text-align: center; background: linear-gradient(145deg,#3b0750,#22002f); box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.age-modal h2 { margin: 0 0 25px; font-size: 16px; }
.age-modal p { font-size: 12px; margin-bottom: 24px; }
.age-modal > div { display: flex; gap: 12px; }
.age-modal button { flex: 1; border-radius: 18px; padding: 10px; font-size: 11px; cursor: pointer; }
.age-modal .yes { border: 0; background: linear-gradient(90deg,#9a38dd,#b143ed); }
.age-modal .no { border: 1px solid #762495; background: #230031; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%,100px); background: #8d2dcb; border: 1px solid #c96cff; border-radius: 8px; padding: 12px 20px; box-shadow: 0 8px 28px #000; opacity: 0; transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

/* Responsive layout: tablet, phones and landscape game sessions. */
button, [role="button"], a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.main-nav { min-width: 0; }
main, .games-section, .events-panel { scroll-margin-top: 120px; }
.game-modal-content { overflow: hidden; }
.game-modal-content iframe { min-width: 0; min-height: 0; }
.game-modal-header button { flex-shrink: 0; width: 44px; height: 44px; }
@media (min-width: 601px) and (max-width: 1100px) {
  .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left)); }
  .brand, .brand img { width: 116px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .access-btn { min-height: 44px; padding: 10px 16px; font-size: 13px; white-space: nowrap; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; gap: 4px; padding: 3px 0; }
  .nav-item { min-height: 44px; padding: 10px 14px; font-size: 11px; }
  .hero-shell { margin: 10px 12px 0; }
  .hero-track { width: 100%; min-height: 0; aspect-ratio: 2820 / 687; }
  .hero-slide { object-fit: contain; }
  .hero-dots { position: static; transform: none; display: flex; justify-content: center; padding: 0; gap: 0; }
  .dot { width: 44px; height: 28px; border-radius: 0; background: transparent; display: grid; place-items: center; }
  .dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #827287; }
  .dot.active { background: transparent; }
  .dot.active::after { background: #c76bfa; }
  .mini-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 12px 16px; overflow: visible; }
  .mini-promos > img, .mini-promos > picture, .sports-banner { width: 100%; min-width: 0; height: auto; aspect-ratio: 925 / 230; }
  .brand-banner img { max-width: 82%; }
  .live-divider { margin: 0 12px; height: 24px; }
  .live-divider span { font-size: 11px; top: 15px; }
  .events-panel { margin: 0 12px; padding: 22px 0 12px; background: transparent; }
  .events-panel h2 { font-size: 19px; }
  .event-row { gap: 10px; padding: 2px 0 8px; }
  .selected-card { flex: 0 0 152px; width: 152px; }
  .catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 20px 12px; }
  .catalog-toolbar label { font-size: 17px; }
  .catalog-toolbar input { width: 100%; min-width: 0; min-height: 48px; font-size: 16px; }
  #catalog-count { font-size: 12px; }
  .games-section { margin: 24px 12px 0; display: flex; flex-direction: column; }
  .section-title-row { display: contents; }
  .section-title { font-size: 18px; margin-bottom: 14px; }
  .games-grid { gap: 12px 10px; }
  .game-card { min-width: 0; width: auto; }
  .game-card p { font-size: 12px; height: auto; min-height: 32px; line-height: 1.35; margin: 7px 1px 0; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .show-all { order: 3; align-self: center; min-height: 44px; padding: 12px 22px; font-size: 13px; margin-top: 16px; }
  .game-modal-panel { width: 100%; height: 100vh; height: 100dvh; border: 0; border-radius: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .game-modal-header { flex: 0 0 auto; padding: 4px 10px; gap: 12px; }
  .game-modal-header h2 { min-width: 0; font-size: 14px; }
  .age-overlay { padding: 20px; }
  .age-modal { width: min(340px, 100%); padding: 28px 24px; }
  .age-modal h2 { font-size: 20px; margin-bottom: 18px; }
  .age-modal p { font-size: 16px; }
  .age-modal button { min-height: 48px; font-size: 16px; }
  footer { margin-top: 32px; padding: 28px 16px max(28px, env(safe-area-inset-bottom)); gap: 24px; flex-wrap: wrap; }
  .footer-links { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .footer-links h4 { font-size: 12px; }
  .footer-links a { font-size: 12px; padding: 10px 0; margin: 0; }
  .footer-links span { font-size: 12px; line-height: 1.6; }
  .footer-logo { width: 120px; }
  .adult { width: 60px; height: 60px; }
  .toast { width: max-content; max-width: calc(100% - 32px); bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (hover: none) {
  .game-card:hover .play-overlay { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Mobile home structure, based on the Ganamos mobile reference. */
.menu-toggle, .mobile-promotions, .mobile-destinations, .mobile-bottom-nav, .mobile-menu { display: none; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mobile-menu[hidden] { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  main { background: radial-gradient(ellipse 90% 420px at 40% 330px, #3b1260aa, transparent); }
  main, .games-section, .events-panel, .catalog-toolbar { scroll-margin-top: calc(78px + env(safe-area-inset-top)); }
  .site-header { display: flex; gap: 8px; padding: max(8px, env(safe-area-inset-top)) 10px 8px; min-height: 64px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: 0 0 40px; height: 44px; border: 0; background: transparent; padding: 8px; }
  .menu-toggle span { display: block; width: 23px; height: 3px; border-radius: 3px; background: white; }
  .brand, .brand img { width: clamp(110px, 32vw, 160px); }
  .header-actions { margin-left: auto; min-width: 0; }
  .access-btn { padding: 10px 12px; font-size: 12px; border-radius: 12px; }
  .site-header .main-nav { display: none; }
  .mobile-promotions { display: block; margin: 0 12px 18px; }
  .promo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .promo-strip button { padding: 0; min-width: 0; overflow: hidden; border: 1px solid #ba79eb; border-radius: 12px; background: #27093c; height: 46px; }
  .promo-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .promo-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
  .promo-links button { border: 1px solid #b948e4; border-radius: 12px; min-height: 46px; padding: 8px; font-size: 12px; font-weight: 700; font-style: italic; background: radial-gradient(ellipse at top right, #8e265c, #250837 80%); }
  .promo-links span { font-size: 20px; color: #ffda70; margin-right: 5px; }
  .hero-shell { margin: 0 16px; border-radius: 18px; }
  .hero-track { aspect-ratio: 540 / 236; }
  .hero-slide img { object-fit: cover; }
  .hero-dots { position: absolute; left: auto; right: 8px; bottom: 7px; padding: 0 4px; border-radius: 22px; background: #21003288; }
  .dot { width: 28px; height: 28px; }
  .dot::after { width: 6px; height: 6px; background: #e3ccd4aa; }
  .dot.active::after { background: #ffe36e; }
  .mobile-destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 34px 16px 16px; }
  .destination-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; text-align: left; min-width: 0; min-height: 142px; padding: 28px 12px 14px; border: 2px solid #b452d7; border-radius: 20px; background: linear-gradient(135deg, #3e0e54, #180526 80%); }
  .destination-card img { position: absolute; width: 72px; height: 72px; object-fit: contain; right: 0; top: -22px; }
  .destination-card strong { font-size: clamp(21px, 6vw, 28px); line-height: 1.05; padding-right: 12px; }
  .destination-card > span { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 18px; font-size: 13px; line-height: 1.2; }
  .destination-card b { font-size: 26px; color: #cfa2de; }
  .mini-promos { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 16px 20px; gap: 10px; }
  .mini-promos > img, .mini-promos > picture { aspect-ratio: 1 / 1; object-fit: cover; border: 2px solid #e6b925; border-radius: 16px; }
  .mini-promos .brand-banner { grid-column: 1 / -1; height: 60px; aspect-ratio: auto; border-radius: 14px; }
  .mini-promos .brand-banner img { width: 190px; max-width: 70%; }
  .mobile-bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 6px max(4px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)); border-top: 1px solid #9e37ce; background: radial-gradient(ellipse at center bottom, #60139a, #230735 75%); box-shadow: 0 -6px 24px #12001f66; }
  .mobile-bottom-nav button { position: relative; display: flex; align-items: center; justify-content: flex-end; flex-direction: column; gap: 3px; min-width: 0; min-height: 56px; border: 0; border-radius: 8px; background: transparent; padding: 4px 0; font-size: 11px; font-weight: 700; }
  .mobile-bottom-nav button > span { font-size: 29px; line-height: 30px; }
  .mobile-bottom-nav button.active { color: #ffd86e; background: #ad48ee22; }
  .mobile-home img { position: absolute; width: clamp(80px, 24vw, 100px); height: auto; aspect-ratio: 402 / 459; object-fit: contain; bottom: 23px; left: 50%; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 3px 10px #ac20f455); }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 80; }
  .menu-backdrop { position: absolute; inset: 0; background: #000a; }
  .menu-panel { position: relative; width: min(320px, 88vw); height: 100vh; height: 100dvh; overflow-y: auto; padding: max(16px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom)); background: linear-gradient(155deg, #310b47, #13011f); box-shadow: 8px 0 30px #0008; }
  .menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
  .menu-heading h2 { font-size: 22px; }
  .menu-heading button { width: 44px; height: 44px; background: #76229c; border: 0; border-radius: 12px; font-size: 26px; }
  .menu-panel nav { display: grid; gap: 8px; }
  .menu-panel nav button { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 12px; border: 1px solid #784394; border-radius: 10px; background: #49156244; text-align: left; font-size: 15px; }
  .menu-panel nav button.active { background: #8334ac; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  .site-header { gap: 4px; padding-left: 6px; padding-right: 6px; }
  .access-btn { font-size: 11px; padding: 10px 8px; }
  .destination-card { padding-left: 10px; padding-right: 10px; }
  .promo-links button { font-size: 11px; }
}

.mini-promos > picture { display: block; overflow: hidden; background: radial-gradient(circle at top, #742291, #220535); }
.mini-promos > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Branded indeterminate loading indicator, shared by catalog and game launch. */
.games-loader {
  width: 100%; min-width: 0; min-height: 156px; flex: 1 0 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 28px 16px; box-sizing: border-box;
}
.games-loader-spade {
  width: 52px; height: 52px; object-fit: contain;
  filter: drop-shadow(0 0 12px #a52ce77a);
  animation: ganamos-loader-pulse 1.8s ease-in-out infinite;
}
.games-loader-track {
  display: block; width: min(160px, 65vw); height: 3px;
  overflow: hidden; border-radius: 999px; background: #853db633;
}
.games-loader-track > span {
  display: block; width: 45%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #7527b7, #d68bff, #a52ce7);
  animation: ganamos-loader-slide 1.6s ease-in-out infinite;
}
@keyframes ganamos-loader-pulse {
  0%, 100% { opacity: .65; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes ganamos-loader-slide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(330%); }
}
@media (prefers-reduced-motion: reduce) {
  .games-loader-spade, .games-loader-track > span { animation: none; }
  .games-loader-track > span { width: 100%; opacity: .8; }
}

/* Show the whole game cover while keeping every card the same size. */
.game-art img.game-art-backdrop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.15); filter: blur(15px) brightness(.58) saturate(1.15);
  pointer-events: none;
}
.game-art img.game-art-foreground {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: contain; object-position: center; filter: drop-shadow(0 2px 6px #0009);
}
.game-card .play-overlay { z-index: 2; }
