/* ============================================================
   Golden Cove — styles.css (jediný CSS soubor projektu)
   Rebranding = uprav pouze blok :root níže.
   Mobilní pravidla drž NA KONCI souboru.
   ============================================================ */

:root {
  --bg: #17110b;            /* pozadí stránky — tmavá jeskyně */
  --bg-pattern: #241a10;    /* prvky pozadového patternu */
  --surface: #1c140c;       /* hlavička a patička */
  --placeholder: #2c2015;   /* panely, karty */
  --placeholder-light: #4a3218;
  --cell: #201810;          /* buňky válců */
  --text: #fbf5ea;
  --text-dim: #c2ab8a;
  --accent: #f4b41a;        /* akcent: tlačítka, výhra — zlatá */
  --accent-hover: #ffc93c;
  --accent-text: #2f1403;
  --accent-2: #0f74b6;      /* sekundární akcent — laguna */
  --accent-2-hover: #1a8ed8;
  --brand-brown: #4a2f1d;
  --brand-brown-2: #8e5b3d;
  --sand: #d8bb83;
  --danger: #e5604a;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 56px;
  --font: "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-display: "Rowdies", "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='170'%20height='170'%3E%3Cg%20fill='none'%20stroke='%23241a10'%20stroke-width='3'%3E%3Ccircle%20cx='40'%20cy='34'%20r='13'/%3E%3Ccircle%20cx='40'%20cy='34'%20r='6'%20opacity='.7'/%3E%3Ccircle%20cx='132'%20cy='112'%20r='11'%20opacity='.85'/%3E%3Ccircle%20cx='132'%20cy='112'%20r='5'%20opacity='.6'/%3E%3C/g%3E%3Cg%20fill='%23241a10'%3E%3Cpath%20d='M120%2024l4%2013%2013%204-13%204-4%2013-4-13-13-4%2013-4z'%20opacity='.9'/%3E%3Cpath%20d='M52%20128l3%2010%2010%203-10%203-3%2010-3-10-10-3%2010-3z'%20opacity='.75'/%3E%3Cpath%20d='M14%2092l2%207%207%202-7%202-2%207-2-7-7-2%207-2z'%20opacity='.6'/%3E%3Cpath%20d='M156%20154l2%207%207%202-7%202-2%207-2-7-7-2%207-2z'%20opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
  min-height: 100vh;
  position: relative;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(142,91,61,.38) 0%, rgba(23,17,11,0) 55%),
    linear-gradient(180deg, rgba(15,116,182,.14) 0%, rgba(23,17,11,0) 35%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: .01em; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }

.glow { color: var(--accent); text-shadow: 0 0 24px rgba(244,180,26,.5); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 10px 20px;
  font-weight: 800; white-space: nowrap;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-accent {
  background: var(--accent); color: var(--accent-text);
  box-shadow: 0 4px 18px rgba(244,180,26,.35);
}
.btn-accent:hover {
  background: var(--accent-hover);
  filter: brightness(1.05) drop-shadow(0 4px 16px rgba(244,180,26,.5));
}
.btn-ghost {
  background: rgba(255,255,255,.07); color: var(--text);
  box-shadow: inset 0 0 0 2px var(--placeholder-light);
}
.btn-ghost:hover { background: rgba(255,255,255,.13); }
.btn-big { padding: 14px 28px; font-size: 18px; }
.btn-full { width: 100%; }
.btn-google { background: #fff; color: #1a1a1a; margin-top: 12px; }
.btn-google:hover { background: #f1f1f1; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--placeholder);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.logo img { height: 34px; width: auto; }
.main-nav {
  display: flex; gap: 20px; margin-left: 8px;
  font-weight: 700; font-size: 13px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .06em;
}
.main-nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.link-login {
  font-weight: 700; font-size: 13px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .06em;
}
.link-login:hover { color: var(--text); }
.btn-gold {
  position: relative; display: inline-grid; place-items: center;
  min-width: 156px; min-height: 46px; padding: 12px 26px;
  background: url("../assets/img/ui/panel.webp") center / 100% 100% no-repeat;
  color: #2f1403; font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.45));
  transition: filter .15s ease, transform .12s ease;
}
.btn-gold:hover { filter: brightness(1.1); }
.btn-gold:active { transform: scale(.97); }
.nav-burger { display: none; font-size: 22px; padding: 4px 8px; }

.user-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--placeholder); border-radius: 999px;
  padding: 6px 10px; font-weight: 800;
}
.user-chip img { border-radius: 50%; }
.chip-cur { color: var(--accent); font-size: 13px; }
.chip-daily, .chip-logout { font-size: 15px; opacity: .8; }
.chip-daily:hover, .chip-logout:hover { opacity: 1; }
.chip-daily.has-reward { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }

body.gc-logged #btn-login, body.gc-logged #btn-signup { display: none; }

/* ============================================================
   Nadpisy sekcí — velká písmena, na střed (jako referenční web)
   ============================================================ */
.sec-title {
  text-align: center; text-transform: uppercase;
  letter-spacing: .05em; font-size: 27px; margin-bottom: 24px;
}

/* ============================================================
   HERO — box-slider: art hry + textové slidy (trust / demo)
   ============================================================ */
.hero-wrap { padding: 20px 0 0; }
.hero-box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9; max-height: 640px; width: 100%;
  background: var(--cell);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.hero-bg, .slide-bg { position: absolute; inset: 0; display: block; z-index: 0; }
.hero-bg img, .slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,10,4,.94) 0%, rgba(16,10,4,.86) 18%, rgba(16,10,4,.55) 34%, rgba(16,10,4,.12) 50%, rgba(16,10,4,0) 62%);
}
.hero-box .slide-text { position: relative; z-index: 2; display: grid; gap: 18px; }
.hero-box::after { /* ztmavení pro čitelnost textu */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(16,10,4,.7) 0%, rgba(16,10,4,.3) 40%, rgba(16,10,4,0) 60%);
}
.hero-game-logo {
  position: absolute; left: 84px; top: 34px; z-index: 3;
  width: min(210px, 24vw); pointer-events: none;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,.6));
}
.hero-box .slides { position: absolute; inset: 0; z-index: 1; }
.hero-box .slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
  display: grid; align-content: center;
  padding: 0 15% 0 84px;
}
.hero-box .slide.is-active { opacity: 1; visibility: visible; }
.hero-box .slide.is-active { opacity: 1; }
.hero-box .slide.is-active .hero-demo-link { pointer-events: auto; }
.hero-title {
  font-family: var(--font); font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2;
  max-width: 16ch;
  text-shadow: 0 2px 14px rgba(0,0,0,.65);
}
.hero-lines {
  list-style: none; display: grid; gap: 10px;
  color: var(--text); opacity: .92; font-size: clamp(15px, 1.5vw, 19px);
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}
.hero-demo-link { font-weight: 700; }
.hero-demo-link:hover { color: var(--accent); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(16,10,4,.55); color: var(--text);
  font-size: 24px; line-height: 1; display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(16,10,4,.8); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
  position: absolute; right: 0; left: 0; bottom: 16px; z-index: 4;
  display: flex; gap: 8px; justify-content: center;
}
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.slider-dots button.is-active { background: var(--accent); }

/* ============================================================
   KRYSTALOVÝ BANNER — value prop na plaketě
   ============================================================ */
.gold-sec { padding: 34px 0 10px; }
.gold-banner {
  position: relative; display: grid; place-items: center; margin: 0 auto;
  width: min(980px, 100%); min-height: 118px;
  padding: 30px clamp(46px, 9vw, 96px);
  background: url("../assets/img/ui/gold-bar.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}
.gold-banner span {
  display: block;
  text-transform: uppercase; letter-spacing: .04em;
  font-weight: 800; font-size: clamp(12px, 1.6vw, 19px); line-height: 1.45;
  color: #2f1403; text-align: center; text-shadow: 0 1px 0 rgba(255,255,255,.3);
}
.gold-banner:hover { filter: brightness(1.07); }

/* ============================================================
   PROVIDERS MARQUEE — nekonečná stríčka čipů přes celou šířku
   ============================================================ */
.marquee-sec { overflow: hidden; padding: 26px 0; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.marquee-group { display: flex; gap: 22px; padding-right: 22px; flex: none; }
.marquee-sec:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  flex: none; display: grid; place-items: center;
  background: var(--placeholder); border-radius: 999px;
  padding: 16px 34px;
}
.chip img { height: 26px; width: auto; opacity: .8; filter: grayscale(1) brightness(2.2); }

/* ============================================================
   LOBBY / KARTY
   ============================================================ */
.catalog { padding: 44px 0 10px; }
.lobby-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.filter {
  background: var(--placeholder); border-radius: 999px; padding: 8px 16px;
  font-weight: 700; color: var(--text-dim);
}
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--accent); color: var(--accent-text); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }

.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--placeholder);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.card-media { position: relative; display: block; aspect-ratio: 440 / 546; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-info {
  display: grid; gap: 2px; padding: 10px 12px 12px; justify-items: start;
}
.card-name { font-weight: 800; font-size: 15px; line-height: 1.25; }
.card-provider { color: var(--text-dim); font-size: 12.5px; font-weight: 600; }
.card-play {
  margin-top: 8px; padding: 6px 18px; font-size: 14px; pointer-events: none;
}
.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 800;
}
.card-badge-demo { background: var(--accent); color: var(--accent-text); }

/* zamčené karty — anonym vidí u všech stejný stav "po registraci" */
.card[data-locked] .card-media::after {
  content: "Dostupné po registraci";
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 26px 12px 10px; text-align: center;
  font-weight: 800; font-size: 13.5px; color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(16,10,4,.95));
}
.card[data-locked] .card-media::before {
  content: "🔒"; position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(16,10,4,.7); border-radius: 50%;
  width: 34px; height: 34px; display: grid; place-items: center; font-size: 15px;
}
/* přihlášený: naše hry se odemknou, cizí dlaždice ukážou "JIŽ BRZY" */
body.gc-logged .card[data-locked]:not([data-soon]) .card-media::after,
body.gc-logged .card[data-locked]:not([data-soon]) .card-media::before { content: none; display: none; }
body.gc-logged .card[data-soon] .card-media::after {
  content: "JIŽ BRZY";
  inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  padding: 9px 18px; border-radius: 999px;
  background: rgba(16,10,4,.9); box-shadow: 0 0 0 1px rgba(255,255,255,.18);
  font-size: 12px; letter-spacing: .1em; white-space: nowrap;
}
body.gc-logged .card[data-soon] .card-media::before { content: none; display: none; }
body.gc-logged .card[data-soon] .card-media img { filter: brightness(.72) saturate(.9); }

/* ============================================================
   TOP RATED
   ============================================================ */
.toprated-sec { padding: 44px 0 10px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.tile {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--placeholder);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.tile-media { position: relative; display: block; aspect-ratio: 440 / 546; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile { background: none; box-shadow: none; }
.tile-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.toprated-cta { display: grid; place-items: center; margin: 28px 0 6px; }
.btn-plate {
  display: grid; place-items: center;
  min-width: 230px; min-height: 58px; padding: 16px 44px;
  background: url("../assets/img/ui/panel.webp") center / 100% 100% no-repeat;
  color: #2f1403; font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: .12em;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
  transition: transform .12s ease, filter .15s ease;
}
.btn-plate:hover { filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)) brightness(1.07); }
.btn-plate:active { transform: scale(.97); }
.btn-plate:disabled { filter: grayscale(.35) brightness(.85); cursor: default; }
.btn-plate:disabled::after { display: none; }

/* ============================================================
   DEMO CTA
   ============================================================ */
.demo-sec { padding: 50px 0 20px; text-align: center; }
.demo-sub { color: var(--text-dim); margin: 8px 0 24px; font-size: 17px; }
.gcard-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.gcard {
  display: flex; flex-direction: column;
  background: var(--placeholder); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gcard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.55); }
.gcard-media { position: relative; display: block; aspect-ratio: 16 / 10; }
.gcard-media img { width: 100%; height: 100%; object-fit: cover; }
.gcard-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  border-radius: 999px; padding: 6px 14px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(16,10,4,.82); color: var(--text);
}
.gcard-badge-free { background: var(--accent); color: var(--accent-text); }
.gcard-lock {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; text-align: center;
  background: rgba(16,10,4,.5); backdrop-filter: blur(1.5px);
}
.gcard-lock span {
  display: inline-block; border-radius: 999px; padding: 10px 18px;
  background: rgba(16,10,4,.88); box-shadow: 0 0 0 1px rgba(244,180,26,.35);
  font-weight: 800; font-size: 13px; color: var(--text); white-space: nowrap;
}
.gcard-info { display: grid; gap: 3px; padding: 14px 16px 18px; }
.gcard-name { font-family: var(--font-display); font-size: 17px; }
.gcard-provider { color: var(--text-dim); font-size: 12.5px; font-weight: 600; }
body.gc-logged .gcard-lock { display: none; }
body.gc-logged .gcard[data-locked] .gcard-badge { background: var(--accent-2); }

.demo-grid {
  display: grid; grid-template-columns: 2.2fr 1fr; gap: 16px; text-align: left;
}
.demo-featured {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block;
}
.demo-featured img { width: 100%; height: 100%; object-fit: cover; }
.demo-play {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
}
.demo-side { display: grid; gap: 16px; }
.demo-mini {
  position: relative; border-radius: var(--radius); overflow: hidden; display: block;
}
.demo-mini img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 440 / 170; object-position: center 30%; }
.demo-mini span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(16,10,4,.6); backdrop-filter: blur(2px);
  font-weight: 800; font-size: 15px;
}
body.gc-logged .demo-mini span { background: rgba(16,10,4,.25); font-size: 0; }

/* ============================================================
   DISCLAIMER + FOOTER
   ============================================================ */
.disclaimer-sec { padding: 44px 0 30px; }
.disclaimer-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--placeholder); border-radius: var(--radius-lg);
  padding: 24px; color: var(--text-dim); font-size: 14px;
}
.disclaimer-box p + p { margin-top: 10px; }
.disclaimer-box b { color: var(--text); }
.disclaimer-box a { color: var(--accent-2); }

.age-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--danger); color: #fff; font-weight: 800; font-size: 16px;
}

.site-footer {
  background: var(--surface); border-top: 1px solid var(--placeholder);
  padding: 30px 0 24px;
}
.footer-top { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav { display: flex; gap: 14px 22px; flex-wrap: wrap; color: var(--text-dim); font-weight: 600; font-size: 15px; }
.footer-nav a:hover { color: var(--text); }
.footer-top .age-badge { margin-left: auto; }
.copyright { font-size: 13px; color: var(--text-dim); opacity: .75; }

/* ---------- modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8,4,16,.75); backdrop-filter: blur(4px);
}
.modal {
  position: fixed; z-index: 95; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(430px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); overflow: auto;
  background: var(--placeholder); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.modal-banner { border-radius: var(--radius); margin-bottom: 16px; }
.modal h3 { margin-bottom: 6px; }
.modal-sub { color: var(--text-dim); margin-bottom: 16px; }
.reward-line {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 30px; color: var(--accent);
  margin-bottom: 6px;
}
.tier-badge {
  display: inline-block; margin-bottom: 8px;
  background: var(--accent); color: var(--accent-text);
  border-radius: 999px; padding: 4px 14px;
  font-weight: 800; font-size: 13px; letter-spacing: .08em;
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(16,10,4,.6); font-size: 15px;
}
.modal form { display: grid; gap: 12px; }
.modal label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.modal input[type="email"], .modal input[type="password"] {
  background: var(--cell); border: 2px solid var(--placeholder-light);
  border-radius: 12px; padding: 11px 14px; color: var(--text); outline: none;
}
.modal input:focus { border-color: var(--accent-2); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--text-dim); }
.check input { margin-top: 3px; accent-color: var(--accent); }
.check a { color: var(--accent-2); text-decoration: underline; }
.form-error { color: var(--danger); font-weight: 700; font-size: 14px; }
.oauth-divider {
  display: flex; align-items: center; gap: 12px; color: var(--text-dim);
  margin-top: 14px; font-size: 13px;
}
.oauth-divider::before, .oauth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--placeholder-light);
}
.modal-note { margin-top: 12px; text-align: center; color: var(--text-dim); font-size: 13px; }
.modal-switch { margin-top: 8px; text-align: center; color: var(--text-dim); font-size: 14px; }
.modal-switch a { color: var(--accent-2); font-weight: 700; }
.modal-daily .btn-ghost { margin-top: 10px; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px;
  margin: 0 auto; max-width: 720px;
  background: var(--placeholder); border: 1px solid var(--placeholder-light);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
}
.cookie-banner p { color: var(--text-dim); font-size: 14px; }
.cookie-banner a { color: var(--accent-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 99; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-text);
  font-weight: 800; border-radius: 999px; padding: 12px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: toast-in .25s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ============================================================
   SLOT — stránka hry
   ============================================================ */
.game-main { padding: 24px 0 40px; }
.game-title-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.game-title-row img { height: 74px; width: auto; }
.game-title-row .back { color: var(--text-dim); font-weight: 700; }
.game-title-row .back:hover { color: var(--text); }

.slot-shell {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cell);
}
.slot-bgvid, .slot-bgimg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85;
}
.slot-frame {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-rows: 100%;
  gap: 20px; padding: 24px; min-height: 540px;
}
.slot-stage { display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 0; }
.slot-head { height: 130px; margin-bottom: -26px; z-index: 3; pointer-events: none; }
.slot-head img {
  height: 100%; width: auto; transform-origin: 50% 88%;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.5));
  animation: head-breathe 3.4s ease-in-out infinite, head-peek 9s ease-in-out infinite;
}
@keyframes head-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-5px) scale(1.025); }
}
/* občasné mrknutí/naklonění hlavy — ať maskot nestojí jako socha */
@keyframes head-peek {
  0%, 62%, 100% { rotate: 0deg; }
  66%  { rotate: -5deg; }
  71%  { rotate: 4deg; }
  76%  { rotate: -2.5deg; }
  81%  { rotate: 0deg; }
}
/* stavy ze slot enginu */
.slot-head.is-spin img { animation: head-shiver .28s linear infinite; }
@keyframes head-shiver {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-2px, 1px) rotate(-2deg); }
  50%  { transform: translate(2px, -1px) rotate(2deg); }
  75%  { transform: translate(-1px, 2px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.slot-head.is-win img { animation: head-hop .5s ease-out 2; }
@keyframes head-hop {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-16px) scale(1.08, .94); }
  70%  { transform: translateY(0) scale(.94, 1.06); }
  100% { transform: translateY(0) scale(1); }
}
.slot-head.is-bigwin img { animation: head-party .42s ease-in-out 6; }
@keyframes head-party {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  25%  { transform: translateY(-22px) rotate(-9deg) scale(1.12); }
  50%  { transform: translateY(-6px) rotate(0deg) scale(1.04); }
  75%  { transform: translateY(-18px) rotate(9deg) scale(1.1); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}
.slot-head.is-lose img { animation: head-slump .9s ease-out 1; }
@keyframes head-slump {
  0%   { transform: translateY(0) rotate(0deg); }
  40%  { transform: translateY(9px) rotate(-6deg); }
  100% { transform: translateY(4px) rotate(-3deg); }
}
.slot-head.is-angry img { animation: head-rage .18s linear 8; }
@keyframes head-rage {
  0%   { transform: translate(0,0) rotate(0deg) scale(1.04); }
  25%  { transform: translate(-4px,0) rotate(-4deg) scale(1.06); }
  50%  { transform: translate(4px,-2px) rotate(4deg) scale(1.06); }
  75%  { transform: translate(-3px,1px) rotate(-3deg) scale(1.05); }
  100% { transform: translate(0,0) rotate(0deg) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .slot-head img, .slot-head.is-spin img, .slot-head.is-win img,
  .slot-head.is-bigwin img, .slot-head.is-lose img, .slot-head.is-angry img { animation: none; }
}

.reels {
  display: grid; grid-template-columns: repeat(3, var(--cell-size, 130px));
  gap: 10px;
  background: rgba(16,10,4,.55); border-radius: var(--radius-lg);
  padding: 16px; backdrop-filter: blur(3px);
  border: 2px solid rgba(142,91,61,.35);
}
.reel { display: grid; gap: 10px; }
.reel-cell {
  width: var(--cell-size, 130px); height: var(--cell-size, 130px);
  background:
    url("../assets/img/ui/cell-frame.webp") center / 100% 100% no-repeat,
    var(--cell);
  border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden;
}
.reel-cell img { width: 70%; height: 70%; object-fit: contain; transition: transform .1s; }
.reel.is-spinning .reel-cell img { animation: reel-blur .12s linear infinite; }
@keyframes reel-blur {
  0% { transform: translateY(-14%); filter: blur(2px); }
  100% { transform: translateY(14%); filter: blur(2px); }
}
.reel-cell.win { border-color: var(--accent); box-shadow: 0 0 18px rgba(244,180,26,.5), inset 0 0 14px rgba(244,180,26,.25); }
.reel-cell.win img { animation: sym-pop .5s ease; }
@keyframes sym-pop { 30% { transform: scale(1.18); } }

.win-line {
  min-height: 30px; margin-top: 12px; font-family: var(--font-display);
  font-size: 24px; letter-spacing: .04em; color: var(--accent);
  text-shadow: 0 2px 0 rgba(0,0,0,.5); text-align: center;
}

/* control panel */
.slot-panel {
  display: grid; align-content: center; gap: 14px;
  background: rgba(16,10,4,.55); border-radius: var(--radius-lg);
  border: 2px solid rgba(142,91,61,.35);
  padding: 20px; backdrop-filter: blur(3px);
}
.panel-block { text-align: center; display: grid; gap: 4px; }
.panel-label { color: var(--text-dim); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.panel-value { font-family: var(--font-display); font-size: 26px; }
.panel-value.coin::before { content: ""; display: inline-block; width: 20px; height: 20px; margin-right: 6px; vertical-align: -2px; background: url("../assets/img/coin.webp") center/contain no-repeat; }
.bet-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.bet-btn { width: 46px; height: 46px; }
.bet-btn img { width: 100%; height: 100%; object-fit: contain; }
.bet-btn:disabled { opacity: .4; cursor: default; }
.spin-btn { width: 200px; margin: 0 auto; transition: transform .1s; }
.spin-btn img { width: 100%; }
.spin-btn:not(:disabled):hover { transform: scale(1.04); }
.spin-btn:disabled { filter: grayscale(.6) brightness(.7); cursor: default; }
.panel-small-row { display: flex; justify-content: center; gap: 10px; }
.panel-toggle {
  background: var(--placeholder); border-radius: 999px; padding: 8px 14px;
  font-weight: 700; font-size: 14px; color: var(--text-dim);
}
.panel-toggle.is-on { background: var(--accent-2); color: #fff; }
.demo-note { text-align: center; color: var(--text-dim); font-size: 13px; }

/* výplatní tabulka pod hrou (jako v referenci) */
.paytable {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 14px auto 0; max-width: 720px;
}
.pt-item {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--placeholder); border: 1px solid var(--placeholder-light);
  border-radius: 999px; padding: 6px 14px 6px 8px;
}
.pt-item img { width: 26px; height: 26px; object-fit: contain; }
.pt-item b { font-family: var(--font-display); font-size: 15px; color: var(--accent); margin-left: 4px; }
.pt-item i { font-style: normal; font-size: 11px; color: var(--text-dim); margin-left: 2px; }
.demo-note b { color: var(--accent); }

/* lock overlay on locked game pages */
.game-lock {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-content: center; gap: 14px; text-align: center;
  background: rgba(16,10,4,.82); backdrop-filter: blur(6px);
  padding: 24px;
}
.game-lock h2 { font-size: 28px; }
.game-lock p { color: var(--text-dim); max-width: 40ch; }
.game-lock .btn { justify-self: center; }

/* big win overlay */
.bigwin-overlay {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-content: center; text-align: center; gap: 6px;
  background: rgba(16,10,4,.6);
  animation: toast-in .3s ease;
}
.bigwin-overlay .bw-title { font-family: var(--font-display); font-size: 64px; color: var(--accent); text-shadow: 0 4px 0 rgba(0,0,0,.55); }
.bigwin-overlay .bw-amount { font-family: var(--font-display); font-size: 34px; color: #fff; }

/* game description below slot */
.game-desc { margin-top: 26px; color: var(--text-dim); max-width: 70ch; display: grid; gap: 10px; }
.game-desc h2 { color: var(--text); font-size: 22px; }

/* ============================================================
   Podstránky (texty)
   ============================================================ */
.page-main { padding: 40px 0 60px; }
.page-main .wrap { max-width: 860px; }
.page-main h1 { font-size: 36px; margin-bottom: 18px; }
.page-main h2 { font-size: 24px; margin: 26px 0 10px; }
.page-main p, .page-main li { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.page-main ul, .page-main ol { padding-left: 22px; display: grid; gap: 6px; margin: 8px 0; }
.page-main a { color: var(--accent-2); text-decoration: underline; }
.page-main .note {
  background: var(--placeholder); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 16px; margin: 16px 0;
}
.policy-meta { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }
.content-card {
  background: var(--placeholder); border: 1px solid var(--placeholder-light);
  border-radius: var(--radius-lg); padding: 22px 24px; margin: 18px 0;
}
.content-card h2 { font-size: 21px; margin: 0 0 10px; }
.content-card h3 { font-size: 17px; margin: 18px 0 8px; }
.content-card p:last-child, .content-card ul:last-child { margin-bottom: 0; }
.tier-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.tier-table th, .tier-table td { border: 1px solid var(--placeholder-light); padding: 10px 12px; text-align: left; color: var(--text-dim); }
.tier-table th { color: var(--text); background: var(--placeholder); }


/* ============================================================
   ANIMACE TLAČÍTEK — pozornost, tep, lesk
   ============================================================ */
@keyframes shake-attn {
  0%, 84%, 100% { transform: translateX(0) rotate(0); }
  86%  { transform: translateX(-2px) rotate(-1.6deg); }
  88%  { transform: translateX(2px) rotate(1.6deg); }
  90%  { transform: translateX(-2px) rotate(-1.2deg); }
  92%  { transform: translateX(2px) rotate(1.2deg); }
  94%  { transform: translateX(-1px) rotate(-.6deg); }
  96%  { transform: translateX(1px) rotate(.6deg); }
}
@keyframes heartbeat {
  0%, 28%, 60%, 100% { transform: scale(1); }
  10% { transform: scale(1.035); }
  18% { transform: scale(1.012); }
  40% { transform: scale(1.05); }
}
@keyframes ctaBarGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(244,180,26,.25)); }
  50%      { filter: drop-shadow(0 0 26px rgba(255,200,100,.65)); }
}
@keyframes plate-shine {
  0%   { background-position: 180% 0; }
  55%  { background-position: -80% 0; }
  100% { background-position: -80% 0; }
}
/* lesk přejíždějící po zlatých plaketách.
   Vrstva je maskovaná OBRÁZKEM plakety, takže lesk končí přesně na jejím okraji
   a nikde nevzniká ostrá hrana ořezu. */
.btn-gold, .btn-plate, .gold-banner { position: relative; isolation: isolate; }
.btn-gold::after, .btn-plate::after, .gold-banner::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-repeat: no-repeat;
  background-image: linear-gradient(100deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 58%);
  background-size: 280% 100%;
  animation: plate-shine 4.2s ease-in-out infinite;
  -webkit-mask-image: var(--plate); mask-image: var(--plate);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  mix-blend-mode: screen; opacity: .85;
}
.btn-gold, .btn-plate { --plate: url("../assets/img/ui/panel.webp"); }
.gold-banner { --plate: url("../assets/img/ui/gold-bar.webp"); }
.btn-plate::after { animation-duration: 5s; }
.gold-banner::after { animation-duration: 6s; }
/* upoutání pozornosti na hlavní CTA */
#btn-signup { animation: shake-attn 3.4s infinite; }
.toprated-cta .btn-plate { animation: shake-attn 3.4s infinite; }
.gold-banner { animation: heartbeat 1.9s ease-in-out infinite, ctaBarGlow 1.9s ease-in-out infinite; }
.gold-banner:hover { animation-play-state: paused, paused; }

/* ============================================================
   ÚČET PO PŘIHLÁŠENÍ — chip zůstatku, denní odměna, menu
   ============================================================ */
.user-area { display: none; align-items: center; gap: 10px; position: relative; }
body.gc-logged .user-area { display: flex; }
.balance-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(244,180,26,.1); border: 1px solid rgba(244,180,26,.55);
  border-radius: 999px; padding: 6px 14px;
  font-weight: 800; color: #ffd76a; font-size: 13px; white-space: nowrap;
}
.balance-chip img { border-radius: 50%; }
.daily-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--placeholder); display: grid; place-items: center; font-size: 16px;
  border: 1px solid rgba(255,255,255,.12);
}
.daily-btn:hover { background: var(--placeholder-light); }
.daily-btn.has-reward { animation: heartbeat 1.4s infinite; box-shadow: 0 0 0 2px rgba(244,180,26,.5); }

.account { position: relative; }
.avatar-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--placeholder); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 4px 12px 4px 4px;
}
.avatar-btn:hover { background: var(--placeholder-light); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #f4b41a, #b3730d); color: #2f1403;
  font-weight: 800; font-size: 13px; text-transform: uppercase;
}
.avatar-lg { width: 44px; height: 44px; font-size: 18px; }
.acc-name { font-weight: 700; font-size: 13px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { color: var(--text-dim); font-size: 11px; }

@keyframes menuUp { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  width: 320px; padding: 16px;
  background: var(--surface); border: 1px solid var(--placeholder-light);
  border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(0,0,0,.6);
  display: grid; gap: 14px; animation: menuUp .2s ease;
}
.am-head { display: flex; align-items: center; gap: 12px; }
.am-id { display: grid; gap: 2px; min-width: 0; }
.am-id b { font-size: 15px; }
.am-id span { color: var(--text-dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.am-balance {
  display: flex; align-items: center; gap: 12px;
  background: var(--placeholder); border: 1px solid rgba(244,180,26,.3);
  border-radius: var(--radius); padding: 12px 14px;
}
.am-balance-txt { display: grid; gap: 2px; }
.am-balance-txt b { font-size: 19px; color: #ffd76a; }
.am-balance-txt span { color: var(--text-dim); font-size: 12px; }
.am-tier { display: grid; gap: 7px; }
.am-tier-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.am-tier-row b { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.am-tier-row span { color: var(--text-dim); font-size: 12px; }
.xp-bar { height: 6px; border-radius: 3px; background: var(--placeholder); overflow: hidden; }
.xp-fill { display: block; height: 100%; background: linear-gradient(90deg, #ffd76a, var(--accent)); border-radius: 3px; transition: width .4s ease; }
.am-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px; border-radius: var(--radius); transition: background .15s ease;
}
.am-row:hover { background: var(--placeholder); }
.am-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--placeholder); display: grid; place-items: center; font-size: 16px; }
.am-row:hover .am-ico { background: var(--placeholder-light); }
.am-row-txt { display: grid; gap: 1px; }
.am-row-txt b { font-size: 14px; }
.am-row-txt span { color: var(--text-dim); font-size: 12px; }
.am-logout {
  text-align: left; padding: 6px 10px; color: var(--danger); font-weight: 800; font-size: 14px;
  border-top: 1px solid var(--placeholder); padding-top: 14px;
}
.am-logout:hover { color: #ff8570; }

/* ============================================================
   LOBBY — jen pro přihlášené; marketing sekce se skryjí
   ============================================================ */
.lobby-sec { display: none; padding: 34px 0 10px; }
body.gc-logged .lobby-sec { display: block; }
body.gc-logged .hero-wrap,
body.gc-logged .gold-sec,
body.gc-logged .toprated-sec,
body.gc-logged .demo-sec { display: none; }

/* denní odměna — modál ve stylu reference */
.daily-coin { width: 108px; height: auto; margin: 4px auto 10px; animation: heartbeat 2.4s ease-in-out infinite; }
.daily-amount {
  margin: 6px 0 14px; padding: 16px;
  background: var(--placeholder); border: 1px solid rgba(244,180,26,.35);
  border-radius: var(--radius);
  font-family: var(--font-display); font-size: 26px; color: #ffd76a; text-align: center;
}
.btn-plate-full { width: 100%; min-width: 0; }

/* ============================================================
   MOBILE — DRŽET NA KONCI SOUBORU
   ============================================================ */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tile-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gcard-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-side { grid-template-columns: repeat(3, 1fr); }
  .hero-box { aspect-ratio: 4 / 3; }
  .hero-box .slide { padding: 0 10% 0 46px; }
}

@media (max-width: 700px) {
  h1 { font-size: 30px; }
  h2 { font-size: 25px; }

  .main-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--placeholder);
    flex-direction: column; padding: 14px 20px; gap: 14px;
  }
  .main-nav.is-open { display: flex; }
  .nav-burger { display: block; }
  #btn-login { display: none; }
  body.gc-logged .chip-logout { display: none; }

  .sec-title { font-size: 21px; }

  .hero-wrap { padding-top: 12px; }
  .hero-wrap .wrap { padding: 0 10px; }
  .hero-box { aspect-ratio: 4 / 5; max-height: 62vh; }
  .hero-box::after { background: none; }
  .slide-bg::after {
    background: linear-gradient(0deg,
      rgba(16,10,4,.97) 0%, rgba(16,10,4,.94) 26%, rgba(16,10,4,.72) 44%,
      rgba(16,10,4,.28) 62%, rgba(16,10,4,0) 80%);
  }
  .slide-bg img { object-position: 68% 16%; }
  .hero-box .slide { align-content: end; padding: 0 16px 46px; text-align: center; }
  .hero-title { font-size: clamp(21px, 6.2vw, 30px); }
  .hero-lines { font-size: 14px; gap: 6px; }
  .hero-box .slide-text { justify-items: center; }
  .hero-title { max-width: none; }
  .hero-game-logo { left: 50%; transform: translateX(-50%); top: 5%; width: min(190px, 52vw); }
  .slider-arrow { display: none; }

  /* nabídková plaketa: menší poměr stran, ať se text vejde a nic nevyleze */
  .gold-sec .wrap { padding: 0 12px; }
  .gold-banner {
    --plate: url("../assets/img/ui/panel.webp");
    background-image: url("../assets/img/ui/panel.webp");
    min-height: 0; padding: 26px clamp(30px, 9vw, 52px);
  }
  .gold-banner span { font-size: 13px; line-height: 1.4; letter-spacing: .02em; }
  .chip { padding: 10px 20px; }
  .chip img { height: 18px; }
  .marquee-group { gap: 14px; padding-right: 14px; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .account-menu { width: min(320px, calc(100vw - 24px)); right: -6px; }
  .acc-name, .caret { display: none; }
  .avatar-btn { padding: 4px; }
  .balance-chip { padding: 5px 10px; font-size: 12px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gcard-row { grid-template-columns: 1fr; gap: 12px; }
  .gcard-name { font-size: 16px; }
  .btn-plate { min-width: 200px; min-height: 52px; padding: 14px 30px; font-size: 12.5px; }
  .btn-gold { min-width: 128px; min-height: 40px; padding: 10px 16px; font-size: 12px; }
  .card-name { font-size: 13px; }
  .card-play { padding: 5px 14px; font-size: 13px; }

  .demo-side { grid-template-columns: 1fr; }
  .demo-play { position: static; transform: none; display: flex; margin: 10px auto 14px; width: fit-content; }
  .demo-featured { background: var(--placeholder); }

  .disclaimer-box { flex-direction: column; }

  .providers-row { gap: 18px 26px; }
  .providers-row img { height: 18px; }

  /* ============================================================
     SLOT na mobilu — celá hra se musí vejít na jednu obrazovku:
     válce → SPIN → přepínače → dlaždice zůstatku a sázky.
     .slot-panel se rozpustí (display: contents), aby se jeho části
     daly poskládat přímo do mřížky rámu.
     ============================================================ */
  .game-main { padding: 10px 0 24px; }
  .game-title-row { margin-bottom: 10px; }
  .game-title-row img { height: 40px; }

  .slot-shell { border-radius: var(--radius); }
  .slot-frame {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 8px; padding: 8px; min-height: 0;
  }
  .slot-panel { display: contents; }

  .slot-stage { grid-column: 1 / -1; order: 1; }
  .spin-btn { grid-column: 1 / -1; order: 2; width: 112px; margin: 0 auto; }
  .panel-small-row { grid-column: 1 / -1; order: 3; }
  .demo-note { grid-column: 1 / -1; order: 4; }
  .slot-panel .panel-block {
    order: 5; align-content: center;
    background: rgba(16,10,4,.6); border: 1px solid rgba(142,91,61,.3);
    border-radius: var(--radius); padding: 8px 6px; gap: 2px;
  }
  /* zůstatek + poslední výhra vedle sebe, sázka přes celou šířku */
  .slot-panel .panel-block:nth-of-type(3) { grid-column: 1 / -1; order: 6; }
  .paytable {
    gap: 6px; margin-top: 10px;
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding-bottom: 2px; scrollbar-width: none;
  }
  .paytable::-webkit-scrollbar { display: none; }
  .pt-item { flex: none; }
  .pt-item { padding: 4px 10px 4px 6px; gap: 2px; }
  .pt-item img { width: 20px; height: 20px; }
  .pt-item b { font-size: 13px; }
  .pt-item i { display: none; }

  /* velikost buňky řídí CSS (přebíjí inline styl z JS), aby se hra vešla
     na výšku obrazovky: menší z "podle šířky" a "podle zbylé výšky" */
  .reels {
    --cell-size: clamp(56px, min((100vw - 76px) / 3, (100dvh - 596px) / 3), 120px) !important;
    grid-template-columns: repeat(3, var(--cell-size)) !important;
    padding: 8px; gap: 6px;
  }
  .reel { gap: 6px; }
  .reel-cell { width: var(--cell-size) !important; height: var(--cell-size) !important; }
  .slot-head { height: 62px; margin-bottom: -12px; }
  .win-line { font-size: 15px; min-height: 20px; margin-top: 4px; }
  .panel-value { font-size: 18px; }
  .panel-label { font-size: 10px; letter-spacing: .08em; }
  .bet-row { gap: 8px; }
  .bet-btn { width: 34px; height: 34px; }
  .panel-toggle { padding: 5px 12px; font-size: 12px; }
  .bigwin-overlay .bw-title { font-size: 42px; }

  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top .age-badge { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #btn-signup, .toprated-cta .btn-plate, .gold-banner, .daily-coin, .daily-btn.has-reward { animation: none; }
  .btn-gold::after, .btn-plate::after, .gold-banner::after { display: none; }
}
