/* =========================================
   ZÁKLADNÍ BARVY A TYPOGRAFIE PRO HP
   ========================================= */
:root {
    /* Barevné schéma (přepisováno atributem [data-theme] na <html> — viz theme bloky níže) */
    --bg-base: #060818;       /* Hlavní temně pozadí */
    --bg-surface: #152243;     /* Světlejší barva pro karty */
    --accent: #FFD166;        /* Hlavní akcentní barva (CTA, aktivní stavy) */
    --accent-rgb: 255, 209, 102; /* Stejná barva jako --accent, jen v R,G,B pro použití v rgba() stínech */
    --accent-2: #ffb84d;      /* Druhá barva v přechodu (tlačítka, badge) */
    --accent-hover: #e0b445;  /* Ztmavená akcentní barva pro hover efekt */
    --on-accent: #160c00;     /* Tmavý text na akcentním pozadí (tlačítka, badge, aktivní nav) */
    --glow-1: #8b5cf6;        /* Dekorativní "blob" barva 1 na pozadí */
    --glow-1-rgb: 139, 92, 246;
    --glow-2: #22d3ee;        /* Dekorativní "blob" barva 2 na pozadí + sekundární CTA (trasa na mapě) */
    --glow-2-rgb: 34, 211, 238;
    --glow-2-hover: #0891b2;  /* Ztmavená --glow-2 pro hover na sekundárním CTA (trasa) */
    --type-herna-color: #4da6ff; /* Barva štítku "Herna" na mapě (musí kontrastovat s --accent) */

    /* Neutrální barvy (stejné ve všech tématech) */
    --text-main: #f8f9fa;     /* Bílý text */
    --text-muted: #a0aec0;    /* Šedý text pro odstavce */
    --white: #ffffff;         /* Čistě bílá (loga, ikony, nadpisy) */
    --map-placeholder-bg: #1a1a1a; /* Pozadí mapy, než se načte Google Maps */
    --status-success: #4ade80; /* Sémantická barva (platné dokumenty apod.), nemění se s tématem */
    --status-danger: #f87171;  /* Sémantická varovná barva, nemění se s tématem */

    /* Glassmorphism paleta */
    --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    --glass-bg-strong: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
    --glass-border: rgba(255,255,255,0.12);
    --glass-blur: blur(18px) saturate(180%);
    --glass-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
    --glass-radius: 20px;

    /* Škála zaoblení - sjednocuje dřívější nahodilé hodnoty (10/12/14/16/18/20px...) na pár úrovní */
    --radius-pill: 999px;
    --radius-lg: var(--glass-radius);
    --radius-md: 16px;
    --radius-card: 14px;
    --radius-sm: 12px;
    --radius-xs: 10px;

    /* Škála stínů - akcentové "glow" stíny se skládají z --accent-rgb / --glow-2-rgb, takže se automaticky přebarví s tématem */
    --shadow-card-hover: 0 36px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(var(--accent-rgb), 0.45), 0 0 70px rgba(var(--accent-rgb), 0.09), inset 0 0 40px rgba(var(--accent-rgb), 0.03);
    --shadow-cta: 0 8px 20px rgba(var(--accent-rgb), 0.25);
    --shadow-cta-hover: 0 12px 28px rgba(var(--accent-rgb), 0.4);
    --shadow-route-hover: 0 10px 24px rgba(var(--glow-2-rgb), 0.35);
}

[data-theme="gold"] {
    --bg-base: #060818;
    --bg-surface: #152243;
    --accent: #FFD166;
    --accent-rgb: 255, 209, 102;
    --accent-2: #ffb84d;
    --accent-hover: #e0b445;
    --on-accent: #160c00;
    --glow-1: #8b5cf6;
    --glow-1-rgb: 139, 92, 246;
    --glow-2: #22d3ee;
    --glow-2-rgb: 34, 211, 238;
    --glow-2-hover: #0891b2;
    --type-herna-color: #4da6ff;
}

[data-theme="blue"] {
    --bg-base: #050b18;
    --bg-surface: #0f2740;
    --accent: #34d9ff;
    --accent-rgb: 52, 217, 255;
    --accent-2: #7dd3fc;
    --accent-hover: #0ea5e9;
    --on-accent: #041018;
    --glow-1: #6d5efc;
    --glow-1-rgb: 109, 94, 252;
    --glow-2: #22d3ee;
    --glow-2-rgb: 34, 211, 238;
    --glow-2-hover: #0891b2;
    --type-herna-color: #ffb020;
}

[data-theme="purple"] {
    --bg-base: #120a1f;
    --bg-surface: #241436;
    --accent: #cf6bff;
    --accent-rgb: 207, 107, 255;
    --accent-2: #ff8fd8;
    --accent-hover: #9333ea;
    --on-accent: #1a0a26;
    --glow-1: #d946ef;
    --glow-1-rgb: 217, 70, 239;
    --glow-2: #fb7185;
    --glow-2-rgb: 251, 113, 133;
    --glow-2-hover: #e11d48;
    --type-herna-color: #22d3ee;
}

[data-theme="green"] {
    --bg-base: #061a12;
    --bg-surface: #0f3324;
    --accent: #22e6a0;
    --accent-rgb: 34, 230, 160;
    --accent-2: #7dffc4;
    --accent-hover: #0ea56f;
    --on-accent: #052015;
    --glow-1: #a3e635;
    --glow-1-rgb: 163, 230, 53;
    --glow-2: #facc15;
    --glow-2-rgb: 250, 204, 21;
    --glow-2-hover: #ca8a04;
    --type-herna-color: #f472b6;
}

[data-theme="red"] {
    --bg-base: #1a0605;
    --bg-surface: #3a0f0d;
    --accent: #ff4d5e;
    --accent-rgb: 255, 77, 94;
    --accent-2: #ff8a65;
    --accent-hover: #dc2626;
    --on-accent: #2a0605;
    --glow-1: #f97316;
    --glow-1-rgb: 249, 115, 22;
    --glow-2: #facc15;
    --glow-2-rgb: 250, 204, 21;
    --glow-2-hover: #ca8a04;
    --type-herna-color: #38bdf8;
}

[data-theme="silver"] {
    --bg-base: #0a0a0d;
    --bg-surface: #1c1c22;
    --accent: #e4e7f2;
    --accent-rgb: 228, 231, 242;
    --accent-2: #a8adc4;
    --accent-hover: #9498b0;
    --on-accent: #0a0a0d;
    --glow-1: #6366f1;
    --glow-1-rgb: 99, 102, 241;
    --glow-2: #38bdf8;
    --glow-2-rgb: 56, 189, 248;
    --glow-2-hover: #0284c7;
    --type-herna-color: #fbbf24;
}

/* Plovoucí gradientové "blob" pozadí - vidět skrz skleněné karty po celém webu */
.hp-body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    position: relative;
    overflow-x: clip;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(var(--glow-1-rgb), 0.16), transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb), 0.12), transparent 40%),
        radial-gradient(circle at 75% 80%, rgba(var(--glow-2-rgb), 0.14), transparent 45%);
    background-attachment: fixed;
}

.hp-body::before,
.hp-body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
}

.hp-body::before {
    width: 480px;
    height: 480px;
    top: -140px;
    left: -120px;
    background: radial-gradient(circle, var(--glow-1), transparent 70%);
    opacity: 0.45;
    animation: blobFloat1 20s ease-in-out infinite;
}

.hp-body::after {
    width: 560px;
    height: 560px;
    bottom: -180px;
    right: -150px;
    background: radial-gradient(circle, var(--glow-2), transparent 70%);
    opacity: 0.3;
    animation: blobFloat2 24s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -30px) scale(1.08); }
}

/* Univerzální skleněná (glassmorphism) karta */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
}

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

.text-center { text-align: center; }

/* Univerzální tlačítka */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--on-accent);
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-cta-hover);
}

.btn-outline-yellow {
    display: inline-block;
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--accent);
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-outline-yellow:hover {
    background: var(--accent);
    color: var(--on-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-cta-hover);
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* =========================================
   HLAVIČKA (HEADER)
   ========================================= */
/* #header-placeholder obaluje <header> jen kvůli JS include (viz include.js) a bez
   téhle úpravy by měl přesně stejnou výšku jako lišta samotná - "sticky" pak nemá
   v obalu žádný prostor se hýbat a hned po prvním scrollu přestane lišta držet nahoře.
   display:contents obal z layoutu "vyjme", takže se header chová, jako by byl přímo
   v <body>, a sticky funguje po celou výšku stránky. */
#header-placeholder {
    display: contents;
}

.main-header {
    background: rgba(6, 8, 24, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 84px;
}

/* Logo - zvětšené a zvýrazněné (hlavní značka zastřešující celý byznys), glow barva jde s aktivním barevným motivem */
.header-logo {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.header-logo img {
    height: 48px;
    filter: brightness(0) invert(1)
            drop-shadow(0 0 14px rgba(var(--accent-rgb), 0.55))
            drop-shadow(0 0 30px rgba(var(--glow-2-rgb), 0.35));
    display: block;
    position: relative;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.header-logo:hover img {
    transform: scale(1.04);
    filter: brightness(0) invert(1)
            drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.75))
            drop-shadow(0 0 38px rgba(var(--glow-2-rgb), 0.5));
}

/* Periodický "lesk" přejíždějící přes logo, aby působilo živě.
   ::after má stejný obrys jako samotné logo (mask-image = to samé SVG), takže se
   pohybující přechod (background-position) zviditelní JEN na bílých pixelech loga -
   maska je fixní a zarovnaná s <img>, hýbe se jen barva pod ní. */
.header-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.95) 50%, transparent 60%);
    background-size: 300% 100%;
    background-position: 220% 0;
    -webkit-mask-image: url('../img/victoriaTip-logo.svg');
    mask-image: url('../img/victoriaTip-logo.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    pointer-events: none;
    animation: logoShine 6s ease-in-out infinite;
}

@keyframes logoShine {
    0%   { background-position: 220% 0; }
    14%  { background-position: -120% 0; }
    100% { background-position: -120% 0; }
}

.main-nav .nav-links {
    list-style: none;
    padding: 6px;
    margin: 0;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
}

.main-nav a {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    transition: color 0.25s ease, background 0.25s ease;
}

.main-nav a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
}

.main-nav a.active {
    color: var(--on-accent);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.35);
}

/* Hamburger tlačítko — skryté na desktopu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobilní menu panel — skrytý na desktopu */
.mobile-menu {
    display: none;
}

/* =========================================
   PATIČKA (FOOTER)
   ========================================= */
.main-footer {
    position: relative;
    padding: 90px 0 30px 0;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-heading {
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
    text-align: center;
}

/* Loga partnerů - skleněné dlaždice s glow efektem po najetí */
.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease, border-color 0.45s ease;
}

.partner-logo-item:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: var(--shadow-card-hover);
}

.partner-logos img {
    height: 54px;
    max-width: 78%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.partner-logo-item:hover img {
    opacity: 1;
    transform: scale(1.07);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 50px 0;
}

/* Horní blok patičky - značka + odkazy vedle sebe v jedné mřížce */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 10px;
}

.footer-brand-logo {
    display: inline-block;
}

.footer-brand-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-brand p {
    margin: 20px 0 0 0;
    font-size: 14px;
    line-height: 1.7;
    max-width: 340px;
    color: var(--text-muted);
}

.footer-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: var(--radius-card);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-doc-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

.footer-doc-link:hover {
    color: var(--text-main);
    border-color: rgba(var(--accent-rgb), 0.4);
    transform: translateY(-2px);
}

.page-dokumenty .footer-doc-link {
    display: none;
}

/* Mřížka odkazů */
.footer-links-grid {
    display: contents;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-main);
}

/* Spodní lišta */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.age-warning {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-bg);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.age-icon {
    flex-shrink: 0;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 12px;
}

.age-warning p {
    margin: 0;
    font-size: 12px;
}

.copyright {
    font-size: 13px;
    margin: 0;
}

/* Přepínač barevných motivů - plovoucí bublina vlevo dole, vidět na všech stránkách bez scrollování
   (markup generuje js/theme.js, aby nebylo nutné upravovat všech 13 stránek) */
.vt-theme-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1050;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: var(--shadow-cta);
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s ease;
}

.vt-theme-fab:hover {
    transform: scale(1.08);
}

.vt-theme-popover {
    position: fixed;
    left: 20px;
    bottom: 74px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    min-width: 150px;
    border-radius: var(--radius-md);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.vt-theme-popover.vt-theme-popover-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vt-theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vt-theme-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.vt-theme-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.vt-theme-swatch {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.vt-theme-swatch[data-theme="blue"]   { background: linear-gradient(135deg, #34d9ff, #6d5efc); }
.vt-theme-swatch[data-theme="purple"] { background: linear-gradient(135deg, #cf6bff, #ff8fd8); }
.vt-theme-swatch[data-theme="gold"]   { background: linear-gradient(135deg, #FFD166, #ffb84d); }
.vt-theme-swatch[data-theme="green"]  { background: linear-gradient(135deg, #22e6a0, #facc15); }
.vt-theme-swatch[data-theme="red"]    { background: linear-gradient(135deg, #ff4d5e, #f97316); }
.vt-theme-swatch[data-theme="silver"] { background: linear-gradient(135deg, #e4e7f2, #6366f1); }

html[data-theme="blue"]   .vt-theme-swatch[data-theme="blue"],
html[data-theme="purple"] .vt-theme-swatch[data-theme="purple"],
html[data-theme="gold"]   .vt-theme-swatch[data-theme="gold"],
html[data-theme="green"]  .vt-theme-swatch[data-theme="green"],
html[data-theme="red"]    .vt-theme-swatch[data-theme="red"],
html[data-theme="silver"] .vt-theme-swatch[data-theme="silver"] {
    border-color: var(--white);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.5);
}

html[data-theme="blue"]   .vt-theme-option[data-theme="blue"] .vt-theme-name,
html[data-theme="purple"] .vt-theme-option[data-theme="purple"] .vt-theme-name,
html[data-theme="gold"]   .vt-theme-option[data-theme="gold"] .vt-theme-name,
html[data-theme="green"]  .vt-theme-option[data-theme="green"] .vt-theme-name,
html[data-theme="red"]    .vt-theme-option[data-theme="red"] .vt-theme-name,
html[data-theme="silver"] .vt-theme-option[data-theme="silver"] .vt-theme-name {
    color: var(--accent);
}

/* Registrační údaje společností v patičce */
.footer-companies {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-company-name {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
}

.footer-company-detail {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.55;
}

/* =========================================
   1. HERO SEKCE & PILÍŘE
   ========================================= */
.hero-pillars {
    padding: 110px 0 70px 0;
    position: relative;
}

.badge-yellow {
    display: inline-block;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    color: var(--accent);
    padding: 7px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 40%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 55px auto;
}

/* Flexbox Grid pro Pilíře */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 55px;
}

.pillar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 185px 32px 42px;
    border-radius: var(--glass-radius);
    position: relative;
    text-align: left;
    box-shadow: var(--glass-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 20px 45px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.pillar-icon {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 235px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

/* Online Casino — slot machine PNG (stejný přístup jako sport/casino scene) */
.online-casino-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(0.95);
    filter: drop-shadow(0 0 22px rgba(0, 220, 80, 0.5))
            drop-shadow(0 0 40px rgba(0, 160, 255, 0.3));
}

/* Sportovní sázení — neon PNG image + SVG odds overlay */
.sport-pillar-icon {
    overflow: visible;
}

.sport-pillar-img {
    position: absolute;
    inset: 0;
    top: -35px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 0 22px rgba(var(--glow-2-rgb), 0.5))
            drop-shadow(0 0 6px rgba(var(--glow-2-rgb), 0.25));
    transform: scale(0.88);
}

.sport-pillar-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sport-pillar-svg .odds-stroke { stroke: var(--glow-2); }
.sport-pillar-svg .odds-fill { fill: var(--glow-2); }

/* ── Casino scene (dveře + levitující objekty) ──
   Přepisujeme left:0/right:0 z .pillar-icon na pevnou max-width 320px
   centrovanou vždy uprostřed karty — percentuální pozice dětí jsou pak
   vždy relativní k max 320px, nezávisle na šířce pilíře/tabletu/mobilu. */
.casino-scene {
    overflow: visible;
    left: 50%;
    right: auto;
    width: 100%;
    max-width: 320px;
    transform: translateX(-50%);
}

.cs-door {
    position: absolute;
    width: 48%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    z-index: 1;
    filter: drop-shadow(0 0 22px rgba(90, 50, 255, 0.55))
            drop-shadow(0 0 6px rgba(180, 100, 255, 0.3));
}

.cs-chip {
    position: absolute;
    z-index: 2;
    will-change: transform;
    filter: drop-shadow(0 0 14px rgba(110, 60, 255, 0.85))
            drop-shadow(0 0 30px rgba(90, 40, 200, 0.4));
}

/* chip2 — vlevo nahoře */
.cs-chip-b {
    width: 18%;
    top: 16px;
    left: 5%;
    animation: csFloat2 4.2s ease-in-out infinite;
    animation-delay: -1.4s;
}

/* chip1 — vpravo dole */
.cs-chip-c {
    width: 21%;
    bottom: 22px;
    right: 3%;
    animation: csFloat3 3.8s ease-in-out infinite;
    animation-delay: -0.9s;
}

/* Eso karta — vlevo dole, zasahuje pod dveře */
.cs-card {
    position: absolute;
    width: 20%;
    bottom: 4px;
    left: 5%;
    z-index: 3;
    will-change: transform;
    filter: drop-shadow(0 0 18px rgba(50, 160, 255, 0.85))
            drop-shadow(0 0 38px rgba(30, 120, 255, 0.28));
    animation: csCard 3.6s ease-in-out infinite;
    animation-delay: -1.8s;
}

/* Drink — vpravo nahoře */
.cs-drink {
    position: absolute;
    width: 20%;
    top: 4px;
    right: 6%;
    z-index: 3;
    will-change: transform;
    filter: drop-shadow(0 0 12px rgba(200, 80, 255, 0.65))
            drop-shadow(0 0 4px rgba(255, 120, 255, 0.3));
    animation: csDrink 3.0s ease-in-out infinite;
    animation-delay: -2.1s;
}

@keyframes csFloat2 {
    0%, 100% { transform: rotate(9deg) translateY(-4px); }
    50%       { transform: rotate(9deg) translateY(7px); }
}
@keyframes csFloat3 {
    0%, 100% { transform: rotate(20deg) translateY(0); }
    50%       { transform: rotate(20deg) translateY(-9px); }
}
@keyframes csCard {
    0%, 100% { transform: rotate(-18deg) translateY(0); }
    50%       { transform: rotate(-18deg) translateY(-9px); }
}
@keyframes csDrink {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50%       { transform: rotate(-5deg) translateY(-8px); }
}


.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pillar-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    min-height: 50px;
}

/* CTA vždy zarovnané dole a přes celou šířku karty - stejná pozice a šířka bez ohledu na délku textu nad nimi */
.pillar-card > .btn-primary,
.pillar-card > .btn-outline-yellow {
    margin-top: auto;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* =========================================
   3. PRÉMIOVÁ CASINA WIDGET
   ========================================= */
.premium-casinos {
    padding: 0;
}

/* ── Neonová vlnka ── */
.vt-wave-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: transparent;
    margin: -20px 0;
    pointer-events: none;
}

#vt-wave {
    display: block;
    width: 100%;
    height: 100%;
}

.section-header {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.casinos-more-link {
    margin-top: 40px;
}

/* Moderní mřížka pro kasina */
.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

/* Karty jako celoplošný obrázek na pozadí + skleněný overlay s informacemi - celá karta je klikací odkaz */
.casino-card {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: var(--glass-radius);
    overflow: hidden;
    height: 280px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease, border-color 0.45s ease;
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(var(--accent-rgb), 0.35);
}

.casino-card:hover .casino-img {
    transform: scale(1.07);
}

.casino-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Gradientový overlay nad obrázkem pro čitelnost textu */
.casino-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,6,16,0.97) 0%, rgba(4,6,16,0.85) 32%, rgba(4,6,16,0.35) 62%, rgba(4,6,16,0.05) 85%);
    z-index: 1;
}

.casino-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.casino-tags span {
    display: inline-block;
    background: rgba(10, 14, 30, 0.55);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: var(--accent);
    padding: 5px 11px;
    border-radius: var(--radius-lg);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.casino-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.casino-info-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.casino-info-text {
    flex: 1;
    min-width: 0;
}

.casino-info h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    font-weight: 700;
    margin-top: 0px !important;
}

.casino-address {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 0;
}

/* Kruhové tlačítko se šipkou */
.casino-card-arrow {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    align-self: center;
    transition: filter 0.45s ease;
}

.casino-card-arrow .arrow-ring {
    stroke: rgba(255, 255, 255, 0.28);
    fill: transparent;
    transition: fill 0.45s ease, stroke 0.45s ease;
}

.casino-card-arrow .arrow-chevron {
    stroke: rgba(255, 255, 255, 0.55);
    transition: stroke 0.45s ease;
}

.casino-card:hover .casino-card-arrow {
    filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.7));
}

.casino-card:hover .casino-card-arrow .arrow-ring {
    fill: var(--accent);
    stroke: var(--accent);
}

.casino-card:hover .casino-card-arrow .arrow-chevron {
    stroke: var(--on-accent);
}

/* =========================================
   HP WIDGET — SLOTS PREVIEW + MARQUEE
   ========================================= */
.slots-preview-section {
    padding: 90px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.slots-preview-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(var(--accent-rgb),0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(var(--glow-1-rgb),0.09) 0%, transparent 50%);
    pointer-events: none;
}

.slots-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.slots-preview-label .badge-yellow {
    margin-bottom: 14px;
}

.slots-preview-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, var(--white) 40%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slots-preview-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 480px;
    margin: 0;
}

.slots-preview-cats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.slots-cat-pill {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Marquee */
.slots-marquee-outer {
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 10%, black 34%, black 66%, rgba(0,0,0,0.12) 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 10%, black 34%, black 66%, rgba(0,0,0,0.12) 90%, transparent 100%);
}

.slots-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: slotsScroll 55s linear infinite;
}

.slots-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes slotsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.slots-marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 120px;
    flex-shrink: 0;
    padding: 14px 10px 12px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: border-color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.slots-marquee-item:hover {
    border-color: rgba(var(--accent-rgb),0.4);
    transform: translateY(-4px) scale(1.03);
}

.slots-marquee-item img {
    width: 90px;
    height: 130px;
    object-fit: contain;
    object-position: bottom;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-xs);
    padding: 6px 4px 0;
    display: block;
}

.slots-marquee-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.slots-preview-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .slots-preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .slots-preview-title {
        font-size: 1.7rem;
    }

    .slots-preview-cats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =========================================
   O SPOLEČNOSTI + KONTAKT (HP)
   ========================================= */
.about-contact-section {
    padding: 0 0 100px 0;
}

.about-contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* Levá karta - decentní vzor karetních symbolů na pozadí, ladí s tématem casina */
.about-card {
    position: relative;
    padding: 50px;
    overflow: hidden;
    scroll-margin-top: 110px;
    background-image:
        radial-gradient(circle at 90% 0%, rgba(var(--accent-rgb), 0.1), transparent 55%),
        url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ctext x='12' y='34' font-size='26' fill='white' opacity='0.05'%3E%E2%99%A0%3C/text%3E%3Ctext x='70' y='34' font-size='26' fill='white' opacity='0.05'%3E%E2%99%A5%3C/text%3E%3Ctext x='12' y='98' font-size='26' fill='white' opacity='0.05'%3E%E2%99%A6%3C/text%3E%3Ctext x='70' y='98' font-size='26' fill='white' opacity='0.05'%3E%E2%99%A3%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat, repeat;
    background-size: cover, 130px 130px;
}

.about-card h2 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 18px 0 26px 0;
}

.about-card-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.about-card-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.about-card-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-card-logos img {
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* Pravá karta - kontakt bez formuláře, ať si o oslovení musí trochu zasloužit */
.contact-card {
    padding: 46px 40px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 110px;
}

.contact-card h3 {
    color: var(--accent);
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0 0 14px 0;
}

.contact-hours {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.contact-divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}

.contact-phone {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.contact-phone:hover {
    color: var(--accent);
}

.contact-email {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 26px;
    transition: color 0.2s ease;
}

.contact-email:hover {
    color: var(--accent);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 10px 0;
}

.contact-prepare {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.contact-prepare span {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
}

.contact-response {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 28px 0;
}

@media (max-width: 900px) {
    .about-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-card {
        padding: 32px;
    }

    .about-card-logos {
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-card {
        padding: 32px 28px;
    }
}

/* =========================================
   DETAIL STRÁNKA CASINA
   ========================================= */
.casino-detail-page {
    padding: 50px 0 100px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    color: var(--accent);
    transform: translateX(-3px);
}

.casino-detail-header {
    margin-bottom: 32px;
}

.casino-detail-header .hero-title {
    font-size: 2.6rem;
    margin: 14px 0 18px 0;
}

.casino-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.casino-detail-tags span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Galerie fotek - jedna velká fotka nahoře + scrollovací pruh náhledů se všemi fotkami */
.casino-gallery {
    margin-bottom: 40px;
}

.gallery-main-frame {
    position: relative;
    height: 460px;
    border-radius: var(--glass-radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: #0a0e1a;
}

.gallery-main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(10, 14, 26, 0.35);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-lg);
    z-index: 2;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.gallery-nav-btn:hover {
    background: rgba(var(--accent-rgb), 0.35);
}

.gallery-nav-prev {
    left: 14px;
}

.gallery-nav-next {
    right: 14px;
}

@media (max-width: 600px) {
    .gallery-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

.gallery-thumb-strip {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.gallery-thumb-strip::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumb-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xs);
}

.gallery-thumb {
    flex: 0 0 110px;
    height: 78px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    padding: 0;
    background: none;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent);
}

/* Hlavní dvousloupcové rozvržení detailu */
.casino-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

.casino-detail-main {
    padding: 36px;
    background: rgba(8, 10, 22, 0.9);
}

.casino-detail-main h2 {
    font-size: 1.6rem;
    margin: 0 0 18px 0;
}

.casino-detail-main h3 {
    font-size: 1.15rem;
    margin: 30px 0 16px 0;
}

.casino-detail-main p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.casino-highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.casino-highlight-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.casino-detail-ctas {
    margin-top: 30px;
}

/* Postranní panel s adresou, mini mapou, otevírací dobou a kontakty */
.casino-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.casino-sidebar-card {
    padding: 26px;
    background: rgba(8, 10, 22, 0.9);
}

.casino-sidebar-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin: 0 0 16px 0;
}

.casino-sidebar-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.casino-sidebar-card p:last-child {
    margin-bottom: 0;
}

.casino-sidebar-card p a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.casino-sidebar-card p a:hover {
    color: var(--accent);
}

.mini-map-frame {
    margin: 16px 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

#mini-map {
    width: 100%;
    height: 180px;
    background-color: var(--map-placeholder-bg);
}

@media (max-width: 992px) {
    .casino-detail-grid {
        grid-template-columns: 1fr;
    }

    .gallery-main-frame {
        height: 320px;
    }
}

@media (max-width: 600px) {
    .casino-detail-header .hero-title {
        font-size: 2rem;
    }

    .casino-detail-main {
        padding: 24px;
    }

    .gallery-main-frame {
        height: 220px;
    }

    .gallery-thumb {
        flex: 0 0 84px;
        height: 60px;
    }
}

/* =========================================
   STRÁNKA MAPA PROVOZOVEN
   ========================================= */
.map-page-wrapper {
    padding: 60px 0 60px 0;
    min-height: calc(100vh - 84px);
}

.map-page-header {
    margin-bottom: 40px;
}

.map-page-header .hero-title {
    font-size: 2.6rem;
    margin-bottom: 14px;
}

/* Mapa zasazená do skleněného rámu, ladí s glass kartami zbytku webu */
.map-frame {
    padding: 14px;
    border-radius: calc(var(--glass-radius) + 6px);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    margin-bottom: 40px;
}

.map-canvas-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
}

#map {
    width: 100%;
    height: 700px;
    max-height: 75vh;
    border-radius: var(--radius-card);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    /* Tmavé pozadí kontejneru pro případ, že Google Maps trvá načtení */
    background-color: var(--map-placeholder-bg);
}

/* Boční panel pro detail TOP casin (vyjíždí z levé strany mapy místo malého popupu) */
.casino-detail-panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 380px;
    max-width: 88%;
    z-index: 5;
    transform: translateX(-105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.casino-detail-panel.active {
    transform: translateX(0);
    pointer-events: auto;
}

.casino-detail-panel .map-info-card {
    width: 100%;
    height: 100%;
    border-radius: 14px 0 0 14px;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.casino-detail-panel .map-info-img {
    height: 220px;
    flex-shrink: 0;
}

/* Tělo panelu: popis se scrolluje, CTA tlačítka zůstávají přilepené úplně dole s vlastním paddingem */
.casino-detail-panel .map-info-body {
    flex: 1;
    overflow-y: auto;
}

.casino-detail-panel .map-info-actions {
    margin-top: auto;
    padding-top: 18px;
}

/* V panelu už máme vlastní .panel-close, vestavěný křížek z karty by se duplikoval */
.casino-detail-panel .map-info-close {
    display: none;
}

.panel-close,
.map-info-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(10, 14, 26, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.panel-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 6;
    width: 34px;
    height: 34px;
}

.panel-close:hover,
.map-info-close:hover {
    background: rgba(var(--accent-rgb), 0.35);
}

/* Úprava pro mobilní zobrazení na stránce mapy */
@media (max-width: 768px) {
    .map-page-wrapper {
        padding: 40px 0 60px 0;
    }

    .map-frame {
        padding: 8px;
    }

    #map {
        height: 500px;
        border-radius: var(--radius-xs);
    }

    .casino-detail-panel {
        width: 100%;
        max-width: 100%;
    }

    .casino-detail-panel .map-info-card {
        border-radius: var(--radius-xs);
    }
}


/* Globální přepisy pro Google Maps InfoWindow - skleněný (glassmorphism) box */
.gm-style .gm-style-iw-c {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-height: none !important;
    max-width: none !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
    max-width: none !important;
}

/* Google si pozici svého zavíracího tlačítka počítá podle neviditelného obalu bubliny
   (rezerva na stín/šipku), takže s ním nelze spolehlivě pohnout - úplně ho skrýváme
   a uvnitř karty máme vlastní křížek (.map-info-close), nad kterým máme plnou kontrolu. */
.gm-style .gm-style-iw-c button.gm-ui-hover-effect {
    display: none !important;
}

/* Šipka pod oknem laděná do tmavě modré barvy webu */
.gm-style-iw-tc::after {
    background: #0e1426 !important;
}

/* Skleněná karta uvnitř InfoWindow */
.map-info-card {
    position: relative;
    width: 280px;
    box-sizing: border-box;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(10, 14, 26, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 20px 45px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

/* Vlastní zavírací křížek pro malou InfoWindow kartu (Google verzi skrýváme) */
.map-info-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.map-info-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.map-info-body {
    padding: 18px 20px 22px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.map-info-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 3px 10px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Typ provozovny (casino/herna) — barva podle typu, použito u .map-info-tag i .seznam-type-label */
.type-casino { color: var(--accent); }
.type-herna { color: var(--type-herna-color); }

.seznam-type-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.map-info-body h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

.map-info-address {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.map-info-desc {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Obal CTA tlačítek - v bočním panelu se přilepí úplně dolů, v malé InfoWindow kartě jde hned za text */
.map-info-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.map-info-body .btn-primary,
.map-info-body .btn-outline-yellow,
.map-info-body .btn-route {
    font-size: 13px;
    padding: 11px;
    margin: 0;
}

/* Tlačítko trasy - odlišená modrá barva od žlutého CTA na web casina */
.btn-route {
    display: inline-block;
    background: linear-gradient(135deg, rgba(var(--glow-2-rgb), 0.18), rgba(var(--glow-2-rgb), 0.12));
    border: 1px solid rgba(var(--glow-2-rgb), 0.5);
    color: var(--glow-2);
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-route:hover {
    background: linear-gradient(135deg, var(--glow-2), var(--glow-2-hover));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-route-hover);
}


/* =========================================
   VYHLEDÁVACÍ POLE (MAPA PROVOZOVEN)
   ========================================= */
.search-box {
    max-width: 500px;
    margin: 0 auto;
}

.section-header .hero-subtitle {
    margin-bottom: 25px;
}

.search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-main);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.search-input::placeholder {
    color: #8c8c8c;
}

/* =========================================
   SEZNAM PROVOZOVEN POD MAPOU
   ========================================= */
.seznam-provozoven-wrapper {
    margin-bottom: 40px;
}

.seznam-grid {
    display: grid;
    /* Karty se automaticky poskládají vedle sebe (na PC cca 3-4, na mobilu 1) */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.seznam-card {
    background: var(--glass-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.seznam-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--accent-rgb), 0.4); /* Jemný žlutý okraj po najetí myší */
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.seznam-card h3 {
    font-size: 17px;
    margin: 8px 0 12px 0;
    color: var(--white);
    line-height: 1.3;
}

.seznam-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   DOKUMENTY A HERNÍ PLÁNY
   ========================================= */
.documents-page {
    padding: 70px 0 100px 0;
}

.documents-header {
    margin-bottom: 50px;
}

.doc-category {
    padding: 36px;
    margin-bottom: 28px;
    scroll-margin-top: 100px;
}

.doc-category h2 {
    font-size: 1.4rem;
    margin: 0 0 20px 0;
}

.doc-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.doc-row:last-child {
    margin-bottom: 0;
}

.doc-row:hover {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--accent-rgb), 0.3);
    transform: translateX(4px);
}

.doc-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.doc-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.doc-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 9px;
    border-radius: var(--radius-xs);
}

.doc-badge-current {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--status-success);
}

.doc-badge-old {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
}

.doc-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.doc-open {
    flex-shrink: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .doc-category {
        padding: 22px;
    }

    .doc-open {
        display: none;
    }
}

/* =========================================
   ZODPOVĚDNÉ HRANÍ
   ========================================= */
.responsible-page {
    padding: 70px 0 100px 0;
}

.responsible-header {
    margin-bottom: 40px;
}

.responsible-statement {
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 36px 40px;
    text-align: center;
    border-left: 3px solid var(--accent);
    border-radius: var(--glass-radius);
}

.responsible-statement p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin: 0;
}

.responsible-section {
    margin-bottom: 60px;
}

.responsible-section > .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.measures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.measure-card {
    padding: 30px;
}

.measure-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-card);
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.measure-card h3 {
    font-size: 1.05rem;
    margin: 0 0 10px 0;
}

.measure-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.warning-card {
    padding: 36px 40px;
    border: 1px solid rgba(248, 113, 113, 0.25);
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.07), rgba(255, 255, 255, 0.02));
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.5;
}

.warning-list li .warning-dot {
    flex-shrink: 0;
    color: var(--status-danger);
    font-size: 1.1rem;
    line-height: 1.4;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.help-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.help-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-card);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.help-card h3 {
    font-size: 1.05rem;
    margin: 0 0 10px 0;
}

.help-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex: 1;
}

.help-card-contact {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
}

.help-card-contact:hover {
    color: var(--white);
}

.responsible-age-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 30px;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.responsible-age-banner .age-icon {
    flex-shrink: 0;
}

.responsible-age-banner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .responsible-statement,
    .warning-card {
        padding: 26px 24px;
    }

    .responsible-age-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   LIŠTA + NASTAVENÍ SOUHLASU (COOKIES)
   Pozn.: třídy úmyslně nepoužívají vzory typu "cookie-banner"/"cookie-modal" -
   filtrovací listy prohlížečů (např. Brave Shields) tyto vzory cíleně skrývají/blokují.
   ========================================= */
.vt-pref-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 16px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

.vt-pref-bar-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.vt-pref-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(21, 34, 67, 0.96), rgba(6, 8, 24, 0.97));
}

.vt-pref-bar-text {
    flex: 1;
    min-width: 240px;
}

.vt-pref-bar-text strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.vt-pref-bar-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.vt-pref-bar-text a {
    color: var(--accent);
    text-decoration: underline;
}

.vt-pref-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.vt-pref-bar-actions .btn-primary,
.vt-pref-bar-actions .btn-outline-yellow {
    padding: 11px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.vt-pref-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(4, 6, 16, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vt-pref-modal-visible {
    opacity: 1;
    visibility: visible;
}

body.vt-pref-modal-open {
    overflow: hidden;
}

.vt-pref-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 86vh;
    overflow-y: auto;
    padding: 36px;
    background: linear-gradient(135deg, rgba(21, 34, 67, 0.97), rgba(6, 8, 24, 0.98));
}

.vt-pref-modal h3 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
}

.vt-pref-modal-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 26px 0;
}

.vt-pref-modal-intro a {
    color: var(--accent);
}

.vt-pref-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.vt-pref-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.vt-pref-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.vt-pref-row {
    padding: 16px 18px;
    border-radius: var(--radius-card);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
}

.vt-pref-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vt-pref-row-name {
    font-weight: 700;
    font-size: 0.98rem;
}

.vt-pref-row-desc {
    margin: 8px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.vt-pref-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.vt-pref-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.vt-pref-switch-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    transition: background 0.25s ease;
}

.vt-pref-switch-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.vt-pref-switch input:checked + .vt-pref-switch-slider {
    background: var(--accent);
}

.vt-pref-switch input:checked + .vt-pref-switch-slider::before {
    transform: translateX(20px);
}

.vt-pref-switch input:disabled + .vt-pref-switch-slider {
    background: var(--accent);
    opacity: 0.55;
    cursor: not-allowed;
}

.vt-pref-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 600px) {
    .vt-pref-bar-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .vt-pref-bar-actions {
        flex-direction: column;
    }

    .vt-pref-bar-actions .btn-primary,
    .vt-pref-bar-actions .btn-outline-yellow {
        width: 100%;
        text-align: center;
    }

    .vt-pref-modal {
        padding: 28px 22px;
    }
}

/* =========================================
   COOKIES STRÁNKA
   ========================================= */
.cookies-page {
    padding: 70px 0 100px 0;
}

.cookies-header {
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.cookies-section {
    max-width: 860px;
    margin: 0 auto 40px auto;
}

.cookies-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.cookies-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.cookies-section ul {
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 22px;
    margin-bottom: 14px;
}

.cookies-section strong {
    color: var(--text-main);
}

.cookies-section a,
.cookies-section a:visited {
    color: var(--accent);
    text-decoration: underline;
}

.cookies-section a:hover {
    color: var(--white);
}

.cookies-table-wrap {
    max-width: 860px;
    margin: 0 auto 40px auto;
    padding: 8px;
    overflow-x: auto;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.cookies-table th,
.cookies-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.88rem;
    color: var(--text-muted);
    vertical-align: top;
}

.cookies-table th {
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.cookies-table tr:last-child td {
    border-bottom: none;
}

.cookies-settings-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.cookies-settings-card p {
    margin: 0;
    color: var(--text-muted);
    max-width: 480px;
}

@media (max-width: 600px) {
    .cookies-settings-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
}

/* =========================================
   SLOTS STRÁNKA
   ========================================= */
.slots-page {
    padding: 70px 0 100px 0;
}

.slots-page-header {
    max-width: 760px;
    margin: 0 auto 44px auto;
}

.slots-page-header .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Kategorie na slots stránce */
.slots-category {
    margin-bottom: 70px;
}

.slots-category-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 14px;
}

.slots-category-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 1.6rem;
    background: var(--accent);
    border-radius: 3px;
    flex-shrink: 0;
}

/* Úzký grid pro kategorie s malým počtem strojů */
.slots-grid-narrow {
    grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
}

/* Info note – "je jich více" */
.slots-more-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: rgba(var(--accent-rgb),0.05);
    border: 1px solid rgba(var(--accent-rgb),0.18);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.slots-more-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 1px;
}

/* Kontaktní CTA banner dole */
.slots-contact-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    border: 1px solid rgba(var(--accent-rgb),0.25);
    margin-top: 10px;
}

.slots-contact-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.slots-contact-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 520px;
}

@media (max-width: 600px) {
    .slots-contact-banner {
        flex-direction: column;
        padding: 26px 22px;
    }
}

/* Grid karet automatů */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.slot-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.slot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb),0.38);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(var(--accent-rgb),0.18);
}

.slot-card-img {
    background: rgba(255,255,255,0.97);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px 12px 0 12px;
    min-height: 200px;
}

.slot-card-img img {
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
    display: block;
}

.slot-card-info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(135deg, rgba(16,23,52,0.9), rgba(6,8,24,0.95));
}

.slot-name {
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}


/* =========================================
   RESPONZIVITA (Média Queries)
   ========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-pillars {
        padding: 90px 0 50px 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }
    /* Na mobilu jsou karty pod sebou jen s malou mezerou - žeton a drink
       ze "Síť Casin a Heren" pak vizuálně zasahovaly do karty nad sebou,
       tak je na mobilu posouváme níž a zmenšujeme jejich přesah nahoru. */
    .cs-chip-b {
        top: 34px;
    }
    .cs-drink {
        top: 22px;
    }
    /* Na tabletu/větším mobilu necháme 2 kasina vedle sebe, aby sekce nebyla jeden dlouhý špalír */
    .casinos-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 18px;
    }
    .casino-card {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .casinos-grid {
        grid-template-columns: 1fr;
    }
    .casino-card {
        height: 190px;
    }
}

/* =========================================
   RESPONZIVITA HLAVIČKY A PATIČKY
   ========================================= */
@media (max-width: 768px) {
    /* Hamburger viditelný */
    .mobile-toggle {
        display: flex;
    }

    /* Desktop nav se skryje */
    .main-nav {
        display: none;
    }

    /* Mobilní menu panel */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        z-index: 999;
        background: linear-gradient(160deg, rgba(8, 11, 30, 0.98) 0%, rgba(14, 20, 48, 0.98) 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding: 8px 20px 20px;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    }

    .mobile-menu.active {
        display: block;
        animation: mobileMenuSlide 0.25s ease;
    }

    @keyframes mobileMenuSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Nav položky */
    .mobile-menu-links {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-menu-links li:last-child {
        border-bottom: none;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 4px;
        font-size: 17px;
        font-weight: 700;
        color: var(--text-main);
        text-decoration: none;
        letter-spacing: 0.1px;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .mobile-menu-links a::after {
        content: '';
        display: block;
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-top: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.25;
        flex-shrink: 0;
        transition: opacity 0.2s ease;
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a.active {
        color: var(--accent);
        padding-left: 8px;
    }

    .mobile-menu-links a:hover::after,
    .mobile-menu-links a.active::after {
        opacity: 0.9;
    }

    /* Kontaktní info pod položkami */
    .mobile-menu-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mobile-menu-contact a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-main);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: color 0.2s ease;
    }

    .mobile-menu-contact a:visited {
        color: var(--text-main);
    }

    .mobile-menu-contact svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: var(--accent);
    }

    .mobile-menu-contact a:hover {
        color: var(--text-main);
    }

    /* Mobilní patička */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .age-warning {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 980px) and (min-width: 769px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}
