
:root {
    --red: #b40000;
    --red2: #790000;
    --gold: #f3bd16;
    --dark: #101619;
    --soft: #f8f4ec;
    --text: #141414;
    --muted: #666;
    --border: #ddd;
    --shadow: 0 16px 40px rgba(0, 0, 0, .14);
    --radius: 16px;
    --container: 1180px;
}

/* Reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.container {
    width: min(var(--container), calc(100% - 32px));
    margin: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #0a0e10, #1b2529);
    color: #fff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 22px;
    line-height: 1;
    text-transform: uppercase;
}

.brand small {
    display: block;
    opacity: .85;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.main-nav a {
    padding: 10px 0;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
    border-bottom-color: var(--red);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 32px;
}

/* Top alert */
.top-alert {
    background: var(--red);
    color: #fff;
    font-weight: 800;
    text-align: center;
    padding: 10px 14px;
}

.top-alert a {
    text-decoration: underline;
}

/* Hero */
.hero {
    background: linear-gradient(180deg, #111, #20110b);
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.poster-wrap {
    position: relative;
    max-width: 1220px;
    margin: auto;
    background: #000;
}

.poster-wrap img {
    width: 100%;
    height: auto;
}

/* Poster hotspots */
.hotspot {
    position: absolute;
    display: block;
    border-radius: 10px;
    transition: .18s;
}

.hotspot:hover {
    background: rgba(243, 189, 22, .24);
    outline: 2px solid rgba(243, 189, 22, .85);
}

.hs-fiat {
    left: 4%;
    top: 26%;
    width: 72%;
    height: 25%;
}

.hs-jedilnica {
    left: 3%;
    top: 55.5%;
    width: 49%;
    height: 4.2%;
}

.hs-elektricno {
    left: 3%;
    top: 59.7%;
    width: 50%;
    height: 4.2%;
}

.hs-zaga {
    left: 3%;
    top: 63.9%;
    width: 51%;
    height: 4.2%;
}

.hs-vrtna {
    left: 3%;
    top: 68.1%;
    width: 43%;
    height: 4.2%;
}

.hs-pihalnik {
    left: 53%;
    top: 55.5%;
    width: 40%;
    height: 4.2%;
}

.hs-tv {
    left: 53%;
    top: 59.7%;
    width: 35%;
    height: 4.2%;
}

.hs-gorsko {
    left: 53%;
    top: 63.9%;
    width: 34%;
    height: 4.2%;
}

.hs-cinkvine {
    left: 53%;
    top: 68.1%;
    width: 28%;
    height: 4.2%;
}

/* Sections */
.section {
    padding: 64px 0;
}

.section-soft {
    background: var(--soft);
}

.section-dark {
    background: linear-gradient(90deg, #101619, #202a2f);
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

.eyebrow,
.section-title p {
    margin: 0 0 8px;
    color: var(--red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.section-title h1,
.section-title h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    text-transform: uppercase;
}

.section-title h1::after,
.section-title h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background: var(--red);
    margin: 14px auto 0;
}

/* Page hero */
.page-hero {
    padding: 78px 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(16, 22, 25, .94), rgba(121, 0, 0, .82)),
        url('../images/event/tomb7.jpg') center / cover;
}

/* Text */
.lead {
    font-size: 20px;
    line-height: 1.5;
}

.small {
    font-size: 14px;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 7px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
}

.btn:hover {
    background: var(--red2);
}

.btn-dark {
    background: var(--dark);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Grids */
.info-grid,
.stats-grid,
.quick-grid,
.prize-grid,
.cinq-grid,
.photo-grid,
.sponsor-grid {
    display: grid;
    gap: 24px;
}

.info-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stats-grid {
    grid-template-columns: repeat(6, 1fr);
}

.quick-grid {
    grid-template-columns: repeat(4, 1fr);
}

.prize-grid {
    grid-template-columns: repeat(3, 1fr);
}

.home-prizes {
    grid-template-columns: repeat(5, 1fr);
}

.cinq-grid {
    grid-template-columns: repeat(3, 1fr);
}

.photo-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.info-box,
.stat,
.card,
.prize-card,
.cinq-card,
.sponsor-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-box {
    padding: 28px;
    text-align: center;
}

.info-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--red);
}

.info-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.info-icon svg text {
    font-family: Arial, Helvetica, sans-serif;
}

.info-box h2,
.card h2 {
    margin: 0 0 10px;
    color: var(--red);
    text-transform: uppercase;
}

.info-box p {
    font-size: 18px;
    margin: 0;
}

.stat {
    padding: 22px;
    text-align: center;
}

.stat strong {
    display: block;
    color: var(--red);
    font-size: 30px;
}

.stat span {
    font-weight: 700;
    color: #333;
}

.quick-grid .card {
    padding: 26px;
}

/* Fix: cards inside dark sections */
.section-dark .card {
    color: var(--text);
}

.section-dark .card p {
    color: var(--muted);
}

.section-dark .card h2,
.section-dark .card h3 {
    color: var(--red);
}

/* Content layout */
.content-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
    align-items: center;
}

.card {
    padding: 30px;
}

.content-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Prize cards */
.prize-card {
    overflow: hidden;
}

.prize-card a {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
    padding: 16px;
    gap: 12px;
    text-align: center;
}

.prize-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
}

.prize-card h2,
.prize-card h3 {
    margin: 0;
    font-size: 18px;
}

/* Values */
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.value-box {
    background: #f7f4ef;
    border-radius: 10px;
    padding: 10px;
}

.value-box small {
    display: block;
    color: #666;
}

.value-box b {
    color: var(--red);
}

/* Detail pages */
.detail-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
}

.detail-main-image {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.detail-thumbs img {
    height: 190px;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.table th {
    background: var(--dark);
    color: #fff;
}

/* Činkvine */
.cinq-card {
    padding: 24px;
}

.cinq-card h2 {
    margin: 0 0 12px;
    color: var(--red);
}

.cinq-card ul {
    padding-left: 18px;
}

.cinq-total {
    font-weight: 800;
    color: var(--red);
}

/* Photos */
.photo-grid img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

/* Sponsors */
.sponsor-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.sponsor-track {
    display: flex;
    gap: 24px;
    animation: sponsor-scroll var(--carousel-duration, 36s) linear infinite;
    width: max-content;
}

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

.sponsor-logo {
    width: 220px;
    height: 110px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes sponsor-scroll {
    to {
        transform: translateX(-50%);
    }
}

/* Map */
.map {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Ticket */
.ticket-img {
    max-width: 420px;
    margin: 0 auto;
    transform: rotate(-8deg);
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, .18));
}

/* Banner */
.banner {
    background: var(--gold);
    color: #111;
    text-align: center;
    font-weight: 900;
    padding: 14px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.countdown div {
    min-width: 92px;
    background: #fff;
    color: #111;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.countdown strong {
    display: block;
    color: var(--red);
    font-size: 28px;
}

/* Video */
.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #242424;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 315px;
}

.video-link {
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.play-button {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}

/* Schema note */
.schema-note {
    font-size: 14px;
    color: #666;
}

/* Footer */
.footer {
    background: #101619;
    color: #fff;
    padding: 46px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer img {
    width: 72px;
}

.footer a {
    display: block;
    margin: 6px 0;
    color: #ddd;
}

.footer .small {
    color: #bbb;
}

/* Responsive */
@media (max-width: 980px) {
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 84px;
        flex-direction: column;
        align-items: flex-start;
        background: #111;
        padding: 18px 24px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .info-grid,
    .content-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-grid,
    .home-prizes,
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prize-grid,
    .cinq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .brand strong {
        font-size: 17px;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .stats-grid,
    .quick-grid,
    .home-prizes,
    .prize-grid,
    .cinq-grid,
    .photo-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 44px 0;
    }

    .hotspot {
        display: none;
    }

    .content-image img {
        height: 260px;
    }
}


/* Video: ansambel */
.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Sponzorji brez logotipa */
.sponsor-logo span {
    display: block;
    text-align: center;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
}

/* --- Sponsor layout corrections --- */
.footer-sponsors {
    background: #f8f4ec;
    color: var(--text);
    padding: 42px 0 34px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.section-title.compact {
    margin-bottom: 18px;
}

.section-title.compact h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.sponsor-carousel {
    overflow: hidden;
    padding: 18px 0;
}

.sponsor-track {
    align-items: center;
}

.sponsor-logo {
    width: 220px;
    height: 120px;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(0,0,0,.10);
    padding: 18px;
    overflow: hidden;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.sponsor-logo span {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 800;
    line-height: 1.25;
}

.sponsor-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
}

.sponsor-card {
    padding: 22px;
    overflow: hidden;
}

.sponsor-card .sponsor-logo {
    width: 100%;
    max-width: 260px;
    height: 130px;
    min-width: 0;
    margin: 0 auto 16px;
}

.sponsor-card h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    text-align: center;
}

.sponsor-card-wide {
    grid-column: 1 / -1;
}

.sponsor-name-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.sponsor-name-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 700;
}

@media(max-width:640px) {
    .sponsor-logo {
        width: 180px;
        min-width: 180px;
        height: 100px;
    }

    .sponsor-card .sponsor-logo {
        width: 100%;
        max-width: 230px;
    }
}
.video-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 315px;
    background: #242424;
}

.video-link {
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.play-button {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}

