/* ==========================================================================
   Mostbet CZ – sdílený styl (tmavé téma + zlaté akcenty)
   ========================================================================== */

:root {
  --bg:        #0a1f44;   /* sytá námořnická modrá */
  --bg-2:      #0c2750;   /* alternující sekce */
  --bg-3:      #143266;   /* světlejší modrá (badge/input) */
  --surface:   #102b58;   /* karty */
  --border:    #1e427c;   /* modrý okraj */
  --text:      #eaf1fb;
  --text-dim:  #9fb6d8;
  --gold:      #ff9d2e;   /* oranžová CTA */
  --gold-2:    #ff8410;
  --gold-dark: #d9740a;
  --blue:      #2f7fe0;
  --heading:   #3a9bdb;   /* jasně modré nadpisy */
  --purple-1:  #7b5cff;   /* fialovo-modrý gradient */
  --purple-2:  #3d7bff;
  --green:     #34c77b;
  --danger:    #ff5a4d;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 10px 30px rgba(0,0,0,.35);
  --maxw:      1180px;
  --font:      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: #5aa9e6; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: #fff; margin: 0 0 .6em; font-weight: 800; }
h1, h2 { color: var(--heading); }
[id] { scroll-margin-top: 86px; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-top: 1.2em; }
p  { margin: 0 0 1.1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 56px 0; }
.section--alt { background: var(--bg-2); }
.muted { color: var(--text-dim); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
/* všechna tlačítka v jednotné výrazné oranžové – ať je hned vidět, kam kliknout */
.btn--gold,
.btn--ghost,
.btn--purple,
.nav-cta .btn--gold {
  background: linear-gradient(180deg, #ff8f33, #ff6a0d);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255,106,13,.38);
}
.btn--gold:hover,
.btn--ghost:hover,
.btn--purple:hover,
.nav-cta .btn--gold:hover {
  box-shadow: 0 10px 26px rgba(255,106,13,.52);
  color: #fff;
  border-color: transparent;
}
.btn--lg { padding: 16px 38px; font-size: 1.1rem; }

/* sekundární tlačítko v hlavičce – odlišná (modrá) barva */
.btn--login {
  background: linear-gradient(180deg, #3f9bf0, #2f7fe0);
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 18px rgba(47,127,224,.35);
}
.btn--login:hover { box-shadow: 0 10px 26px rgba(47,127,224,.5); color: #fff; border-color: transparent; }

/* jemná pulzace hlavního CTA – přitáhne pozornost */
.nav-cta .btn--gold { animation: ctaPulse 2s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1px) scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta .btn--gold, .mobile-cta__btn { animation: none !important; }
}

/* ---------- Mobilní spodní CTA lišta (popup) ---------- */
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .mobile-cta {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 80;
    background: linear-gradient(135deg, #143266, #0c2750);
    border: 1px solid var(--border); border-radius: 16px;
    padding: 10px 14px; box-shadow: 0 14px 34px rgba(0,0,0,.55);
  }
  .mobile-cta.hide { display: none; }
  .mobile-cta__logo { height: 36px; width: 36px; flex: 0 0 auto; border-radius: 8px; }
  .mobile-cta__text { display: flex; flex-direction: column; line-height: 1.15; font-size: .78rem; color: var(--text-dim); }
  .mobile-cta__text b { color: #fff; font-size: .98rem; }
  .mobile-cta__text b span { color: var(--gold); }
  .mobile-cta__btn {
    margin-left: auto; flex: 0 0 auto; text-decoration: none;
    background: linear-gradient(180deg, #ff8f33, #ff6a0d); color: #fff;
    font-weight: 800; padding: 12px 24px; border-radius: 50px;
    box-shadow: 0 4px 14px rgba(255,106,13,.5);
    animation: ctaPulse 1.8s ease-in-out infinite;
  }
  .mobile-cta__close {
    position: absolute; top: -9px; right: -5px;
    width: 24px; height: 24px; border-radius: 50%;
    background: #0c2750; border: 1px solid var(--border); color: #fff;
    font-size: 15px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  }
  /* aby lišta nepřekrývala patičku */
  body { padding-bottom: 80px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,27,60,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.3rem; color: #fff;
}
.brand:hover { text-decoration: none; }
.brand b { color: var(--gold); }
.brand .logo-box {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, #ff4d4d, #ff8410);
  display: grid; place-items: center; color: #fff; font-weight: 900;
}
.nav-links {
  display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0;
}
.nav-links a {
  color: var(--text); padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: var(--bg-3); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(255,132,16,.16), transparent 60%),
    radial-gradient(800px 460px at 5% 0%, rgba(47,127,224,.28), transparent 55%),
    linear-gradient(180deg, #0a1f44 0%, #0d2a5c 100%);
  border-bottom: 1px solid var(--border);
  padding: 20px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--gold); }
.hero .badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.hero .badge {
  background: var(--bg-3); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 50px; font-size: .9rem; color: var(--text-dim);
}
.hero .badge b { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius);
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--text-dim);
  overflow: hidden;
}

/* ---------- Skutečné screenshoty (responzivní <picture>) ---------- */
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-3);
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  font-size: .82rem; color: var(--text-dim);
  padding: 8px 14px; text-align: center;
  background: var(--bg-2); border-top: 1px solid var(--border);
}
.hero .shot { box-shadow: 0 16px 40px rgba(0,0,0,.45); }
/* na mobilu je hero vertikální screenshot telefonu – omezíme výšku, ořez zespodu */
@media (max-width: 960px) {
  .shot--hero img { max-height: 68vh; object-fit: cover; object-position: top center; }
}

/* varianty podle poměru stran obrázku */
.shot--mock  { max-width: 620px; margin-left: auto; margin-right: auto; }
.shot--tall  { max-width: 460px; margin-left: auto; margin-right: auto; }
.shot--phone { max-width: 340px; margin-left: auto; margin-right: auto; }
.shot--phone img { max-height: 560px; object-fit: cover; object-position: top center; }

/* logo v hlavičce/patičce */
.brand-logo { height: 30px; width: auto; display: block; }
.site-footer .brand-logo { height: 26px; margin-bottom: 12px; }

/* image placeholder */
.img-ph {
  background: repeating-linear-gradient(45deg, var(--bg-3), var(--bg-3) 12px, var(--bg-2) 12px, var(--bg-2) 24px);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: grid; place-items: center; color: var(--text-dim);
  min-height: 220px; font-size: .9rem; text-align: center; padding: 16px;
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-top: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  background: rgba(255,132,16,.15); color: var(--gold);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 900;
}

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 22px 74px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #1a1300;
  display: grid; place-items: center; font-weight: 900;
}
.step h3 { margin: 0 0 .3em; }
.step p:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-3); color: #fff; font-size: .95rem; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-2); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: #fff;
  font-size: 1.05rem; font-weight: 700; padding: 18px 52px 18px 20px; cursor: pointer; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; }
.faq-item.open .faq-q::after { content: "\2013"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 18px; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "\2714"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* ---------- Callout / disclaimer ---------- */
.callout {
  background: rgba(47,111,237,.1); border: 1px solid rgba(47,111,237,.35);
  border-radius: var(--radius); padding: 20px 24px;
}
.callout--warn { background: rgba(231,76,60,.08); border-color: rgba(231,76,60,.35); }

.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(620px 220px at 50% -30%, rgba(255,141,51,.28), transparent 70%),
    linear-gradient(135deg, #15356a 0%, #0c2750 55%, #0a1f44 100%);
  border: 1px solid rgba(255,141,51,.35);
  border-radius: 20px;
  padding: 38px 32px; text-align: center;
  box-shadow: 0 22px 55px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(320px 170px at 0% 115%, rgba(47,127,224,.30), transparent 70%),
    radial-gradient(320px 170px at 100% -15%, rgba(123,92,255,.22), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band__logo {
  display: block; height: 50px; width: auto; margin: 0 auto 18px;
  mix-blend-mode: screen; filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
}
.cta-band h2 { margin-top: 0; }
.cta-band .btn { margin-top: 8px; }
@media (max-width: 560px) {
  .cta-band { padding: 30px 20px; }
  .cta-band__logo { height: 40px; }
}

/* ---------- Obsah stránky (TOC) ---------- */
.toc {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); margin: 32px 0 0;
}
.toc details { padding: 0; }
.toc summary {
  cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  font-weight: 800; color: #fff; font-size: 1.2rem; padding: 16px 20px;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "\25BE"; color: var(--gold); transition: transform .2s ease; }
.toc details[open] summary::after { transform: rotate(180deg); }
.toc-list {
  margin: 0; padding: 0 20px 16px 44px; columns: 2; column-gap: 34px;
}
.toc-list li { margin: 7px 0; break-inside: avoid; }
.toc-list a { color: var(--text-dim); font-size: .98rem; }
.toc-list a:hover { color: var(--gold); }
@media (max-width: 640px) { .toc-list { columns: 1; } }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .9rem; color: var(--text-dim); padding: 16px 0 0; }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 50px 0 24px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-grid h4 { font-size: 1rem; color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-dim); font-size: .95rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 22px; font-size: .82rem; color: var(--text-dim); }
.age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--danger); color: var(--danger); font-weight: 900; font-size: .85rem; margin-right: 10px; vertical-align: middle; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 20px; gap: 4px;
  }
  .site-header.open .nav-cta { display: flex; padding: 0 20px 16px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .section { padding: 40px 0; }
}

/* ---------- Uvítací bonus v hero + atraktivnější mobilní úvodní obrazovka ---------- */
.hero-bonus {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 2px 0 22px; padding: 10px 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,106,13,.16), rgba(123,92,255,.18));
  border: 1px solid rgba(255,141,51,.45);
  color: var(--text); font-size: 1rem; line-height: 1.3;
}
.hero-bonus__tag {
  background: linear-gradient(180deg, #ff8f33, #ff6a0d); color: #fff;
  font-weight: 800; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 50px; white-space: nowrap;
}
.hero-bonus b { color: var(--gold); }
/* šipka na hlavních CTA tlačítkách – výzva ke kliknutí */
.btn--gold::after,
.mobile-cta__btn::after {
  content: "\2192"; display: inline-block; margin-left: 8px;
  transition: transform .2s ease;
}
.btn--gold:hover::after,
.mobile-cta__btn:hover::after { transform: translateX(5px); }

@media (max-width: 960px) {
  .hero { padding-top: 14px; }
  /* bonus banner je v DOM první → na mobilu přirozeně nad textem */
  .hero--home .hero-grid { gap: 22px; text-align: center; }
  .hero--home h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); margin-bottom: .4em; }
  .hero--home .lead { font-size: 1.02rem; }
  .hero--home .badges { justify-content: center; gap: 8px; }
  .hero--home .hero-bonus { width: 100%; justify-content: center; text-align: left; }
  .hero--home .hero-cta { flex-direction: column; gap: 12px; }
  .hero--home .hero-cta .btn { width: 100%; }
  /* záře za bannerem */
  .hero--home .shot--hero { box-shadow: 0 18px 50px rgba(255,106,13,.30), 0 14px 40px rgba(0,0,0,.5); }
  .hero--home .shot--hero img { max-height: none; }
}

/* ---------- Perky v CTA banneru ---------- */
.cta-band__perks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 22px 0 24px; text-align: left;
}
.cta-band .perk {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.cta-band .perk__ic { font-size: 1.4rem; line-height: 1; margin-bottom: 4px; }
.cta-band .perk b { color: #fff; font-size: 1.02rem; }
.cta-band .perk small { color: var(--text-dim); font-size: .82rem; }
@media (max-width: 720px) { .cta-band__perks { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sekce populárních her ---------- */
.games-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.games-head h2 { margin: 0; }
.games-sub { color: var(--text-dim); margin: 6px 0 22px; }
.games-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 8px;
}
.game {
  position: relative; display: block; aspect-ratio: 5 / 8; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--border); background: var(--bg-3);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.game img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
  filter: brightness(.78) saturate(1.05);
}
/* trvalý spodní přechod – aby byly rating i tlačítko vždy čitelné */
.game::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,12,30,.05) 0%, rgba(4,12,30,0) 30%, rgba(4,12,30,.55) 62%, rgba(4,12,30,.97) 100%);
}
.game__meta {
  position: absolute; left: 10px; right: 10px; bottom: 46px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 8px rgba(0,0,0,.6);
}
.game__rating { color: #ffd34d; }
.game__players { color: #fff; }
.game__play {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #ff8f33, #ff6a0d); color: #fff;
  font-weight: 800; font-size: .82rem; padding: 8px 0; border-radius: 50px;
  box-shadow: 0 5px 14px rgba(255,106,13,.5);
  transition: filter .2s ease, transform .2s ease;
}
.game__tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(255,106,13,.95); color: #fff; font-weight: 800;
  font-size: .62rem; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 50px;
}
.game:hover img { transform: scale(1.07); filter: brightness(.95) saturate(1.1); }
.game:hover .game__play { filter: brightness(1.08); transform: translateY(-1px); }
@media (max-width: 960px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .game__meta { bottom: 40px; font-size: .7rem; left: 8px; right: 8px; }
  .game__play { font-size: .74rem; padding: 7px 0; }
}
