/* =========================================================
   EXGAME 2026 – pozadí stránky
   Obrázky:
   ../images/pozadi/pozadi_siroke.webp
   ../images/pozadi/pozadi_vysoke.webp
   ========================================================= */

:root {
    --bg: #020914;
    --bg-deep: #01050b;
    --cyan: #18d9f4;
    --magenta: #f21bb8;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg-deep);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    position: relative;

    color: #fff;
    background:
        radial-gradient(circle at 50% 18%, rgba(7, 41, 70, 0.70), transparent 45%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);

    font-family: Arial, Helvetica, sans-serif;
}


/* ---------------------------------------------------------
   HLAVNÍ PIXELOVÉ POZADÍ
   Je v samostatné fixní vrstvě, takže se při scrollování
   nepřepočítává celý background body.
   --------------------------------------------------------- */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background-image: url("../images/pozadi/pozadi_siroke.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    opacity: 0.35;
}


/* Výška > šířka = mobil / tablet na výšku */
@media (orientation: portrait) {
    body::before {
        background-image: url("../images/pozadi/pozadi_vysoke.webp");
        background-position: center top;
        background-size: cover;
        opacity: 0.35;
    }
}


/* ---------------------------------------------------------
   SAMOSTATNÉ SVG DEKORACE
   --------------------------------------------------------- */

.pixel-decorations {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.pixel-icon {
    position: absolute;
    display: block;

    image-rendering: pixelated;
    image-rendering: crisp-edges;

    opacity: 0.34;

    /*
       Jemný neonový dojem.
       Je-li SVG samo dost výrazné, můžeš drop-shadow smazat.
    */
    filter:
        drop-shadow(0 0 5px rgba(24, 217, 244, 0.28))
        drop-shadow(0 0 14px rgba(24, 217, 244, 0.14));

    will-change: opacity, filter;
}


/* Alien vlevo */
.pixel-icon--1 {
    width: clamp(42px, 4vw, 68px);
    top: 18%;
    left: 3.5%;
    animation: pixel-flicker 11s infinite;
}


/* Srdce vpravo */
.pixel-icon--2 {
    width: clamp(28px, 3vw, 48px);
    top: 31%;
    right: 4%;
    opacity: 0.28;
    filter:
        drop-shadow(0 0 5px rgba(242, 27, 184, 0.30))
        drop-shadow(0 0 15px rgba(242, 27, 184, 0.16));
    animation: pixel-flicker-soft 14s 3s infinite;
}


/* Menší alien vpravo dole */
.pixel-icon--3 {
    width: clamp(34px, 3vw, 54px);
    top: 68%;
    right: 5%;
    opacity: 0.28;
    animation: pixel-flicker 17s 6s infinite;
}


/* Cyan cluster */
.pixel-icon--4 {
    width: clamp(80px, 10vw, 165px);
    bottom: 3%;
    left: 1%;
    opacity: 0.17;
    animation: cluster-pulse 13s 2s infinite;
}


/* Magenta cluster */
.pixel-icon--5 {
    width: clamp(70px, 9vw, 145px);
    bottom: 5%;
    right: 1%;
    opacity: 0.14;
    filter:
        drop-shadow(0 0 7px rgba(242, 27, 184, 0.25))
        drop-shadow(0 0 18px rgba(242, 27, 184, 0.12));
    animation: cluster-pulse 16s 7s infinite;
}


/* ---------------------------------------------------------
   JEMNÉ PROBLIKNUTÍ

   Většinu času se nic neděje.
   Krátce se změní opacity a záře.
   --------------------------------------------------------- */

@keyframes pixel-flicker {
    0%, 72%, 76%, 100% {
        opacity: 0.30;
        filter:
            drop-shadow(0 0 5px rgba(24, 217, 244, 0.25))
            drop-shadow(0 0 14px rgba(24, 217, 244, 0.12));
    }

    73% {
        opacity: 0.58;
        filter:
            drop-shadow(0 0 8px rgba(24, 217, 244, 0.55))
            drop-shadow(0 0 20px rgba(24, 217, 244, 0.30));
    }

    74% {
        opacity: 0.22;
    }

    75% {
        opacity: 0.48;
    }
}


@keyframes pixel-flicker-soft {
    0%, 80%, 84%, 100% {
        opacity: 0.25;
    }

    81% {
        opacity: 0.48;
    }

    82% {
        opacity: 0.20;
    }

    83% {
        opacity: 0.37;
    }
}


@keyframes cluster-pulse {
    0%, 65%, 100% {
        opacity: 0.13;
    }

    68% {
        opacity: 0.21;
    }

    72% {
        opacity: 0.14;
    }
}


/* ---------------------------------------------------------
   OBSAH
   --------------------------------------------------------- */

.page-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}


/* ---------------------------------------------------------
   NAVIGACE
   --------------------------------------------------------- */

.site-navigation {
    position: fixed;
    top: 0;
    right: clamp(24px, 5vw, 72px);
    z-index: 10;
}

.site-navigation__panel,
.site-navigation__desktop,
.site-navigation__links {
    margin: 0;
}

.site-navigation__panel {
    display: none;
}

.site-navigation__toggle {
    display: none;
}

.site-navigation__desktop,
.site-navigation__links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 34px);
}

.site-navigation__desktop a,
.site-navigation__links a {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-navigation__desktop a:hover,
.site-navigation__desktop a:focus-visible,
.site-navigation__links a:hover,
.site-navigation__links a:focus-visible {
    color: var(--cyan);
}

#obsah,
#galerie,
#kontakt {
    scroll-margin-top: 64px;
}

.hero {
    min-height: 100svh;

    display: grid;
    justify-items: center;
    align-items: start;

    padding:
        15px
        24px
        max(90px, env(safe-area-inset-bottom));

    text-align: center;
}

.hero__inner {
    width: min(100%, 920px);
}

.hero__logo {
    display: block;
    width: min(64vw, 448px);
    height: auto;
    margin: 0 auto clamp(18px, 3vw, 30px);

    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.48));
}

.hero__eyebrow {
    margin: 0 0 14px;

    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.16em;

    color: var(--cyan);
}

.hero__title {
    position: relative;
    z-index: 2;
    width: min(64vw, 448px);
    margin: 0 auto;

    font-size: clamp(1.5rem, 6.8vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--cyan);

    text-shadow:
        0 0 22px rgba(24, 217, 244, 0.10),
        0 3px 15px rgba(0, 0, 0, 0.55);
}

.hero__title span {
    display: block;
}

.hero__subtitle {
    margin-top: 8px;

    font-size: 0.56em;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.84);
}

.hero__event-area {
    position: relative;
    width: 100%;
    min-height: clamp(430px, 105vw, 680px);
    margin: clamp(26px, 5vw, 42px) auto 0;
}

.hero__slideshow {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100vw, 720px);
    height: 100%;
    transform: translateX(-50%);
    overflow: hidden;
    pointer-events: none;

    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
}

.hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    animation: hero-slide-fade 12s ease-in-out infinite;
}

.hero__slide--2 {
    animation-delay: -8s;
}

.hero__slide--3 {
    animation-delay: -4s;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@keyframes hero-slide-fade {
    0%, 29.16% {
        opacity: 1;
    }

    33.33%, 95.83% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (orientation: landscape) {
    .hero__inner {
        width: min(100%, 1200px);
    }

    .hero__slideshow {
        width: auto;
        aspect-ratio: 16 / 9;

        -webkit-mask-image:
            linear-gradient(to bottom, transparent 0%, #000 32%, #000 58%, transparent 100%),
            linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-image:
            linear-gradient(to bottom, transparent 0%, #000 32%, #000 58%, transparent 100%),
            linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
        mask-composite: intersect;
    }

    .hero__text {
        max-width: 1200px;
        white-space: nowrap;
    }
}

@media (min-width: 701px) {
    .site-navigation__desktop {
        display: flex;
        padding: 14px 20px;
        background: rgba(0, 0, 0, 0.5);
    }

    /* Logo začíná pod fixní navigací, aby ho menu nepřekrývalo. */
    .hero {
        padding-top: 60px;
    }

    .hero__inner {
        position: relative;
    }

    .hero__event-area {
        --slideshow-overlap: clamp(108px, 10vw, 172px);
    }

    .hero__slideshow {
        top: calc(-1 * var(--slideshow-overlap));
        width: 90%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .event-card.event-card--desktop {
        position: absolute;
        top: 60px;
        right: 0;
        z-index: 3;
        width: min(14vw, 250px);
        aspect-ratio: 1 / 1;
        margin: 0;
        padding: 11px 8px;

        display: grid;
        align-content: center;
        gap: 20px;
    }

    .event-card--desktop .event-card__item {
        flex-direction: column;
        gap: 10px;
        font-size: clamp(1rem, 1.6vw, 1.35rem);
        text-align: center;
    }

    .event-card--desktop .event-card__icon {
        width: clamp(26px, 3vw, 38px);
        height: clamp(26px, 3vw, 38px);
    }

    .hero__event-area > .event-card {
        display: none;
    }

}

@media (orientation: portrait) {
    .hero__event-area {
        min-height: clamp(430px, 133.333vw, 960px);
    }

    .hero__slideshow {
        width: min(100vw, 720px);
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .hero__text {
        margin-top: clamp(-192px, -26.666vw, -86px);
    }
}

.event-card {
    position: relative;
    z-index: 1;
    width: min(64vw, 448px);
    margin: 0 auto;
    padding: 18px 20px;

    display: grid;
    gap: 8px;

    border: 1px solid var(--cyan);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.68);
    box-shadow:
        0 0 18px rgba(24, 217, 244, 0.16),
        inset 0 0 22px rgba(6, 28, 46, 0.38);
}

.event-card__item {
    display: flex;
    align-items: center;
    gap: 16px;

    font-size: clamp(1.38rem, 4.2vw, 2.16rem);
    font-weight: 400;
    line-height: 1.1;
    text-align: left;
}

.event-card__icon {
    width: clamp(22px, 4vw, 30px);
    height: clamp(22px, 4vw, 30px);
    flex: 0 0 auto;
}

.hero__text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: clamp(-386px, -25vw, -106px) auto 0;

    font-size: clamp(1.38rem, 4.2vw, 2.16rem);
    font-weight: 600;
    line-height: 1.5;

    color: #fff;
    opacity: 1 !important;
    -webkit-text-fill-color: #fff;
    text-shadow: none;
}

.hero__cta {
    position: relative;
    z-index: 2;
    width: min(64vw, 448px);
    margin: clamp(22px, 4vw, 32px) auto 0;
    padding: 18px 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border-radius: 12px;
    background: #fd1931;
    box-shadow: 0 8px 20px rgba(253, 25, 49, 0.28);

    color: #fff;
    font-size: clamp(1.1rem, 3.6vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-decoration: none;
}

.hero__cta span {
    font-size: 1.3em;
    line-height: 0.7;
}

.hero__stats {
    position: relative;
    z-index: 2;
    width: min(100%, 960px);
    margin: clamp(44px, 7vw, 72px) auto 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__stat {
    min-width: 0;
    padding: 0 clamp(10px, 2vw, 28px);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: #fff;
    text-align: center;
}

.hero__stat + .hero__stat {
    border-left: 1px solid rgba(24, 217, 244, 0.62);
}

.hero__stat img {
    width: clamp(42px, 5vw, 70px);
    height: clamp(42px, 5vw, 70px);
}

.hero__stat strong {
    color: var(--cyan);
    font-size: clamp(1.9rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 0.9;
}

.hero__stat span {
    font-size: clamp(0.72rem, 1.65vw, 1.1rem);
    font-weight: 600;
    line-height: 1.25;
}

.hero__partners {
    position: relative;
    z-index: 2;
    margin: 32px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero__partners p {
    margin: 0;
    color: var(--cyan);
    font-size: clamp(1.2rem, 3.2vw, 1.6rem);
    font-weight: 400;
    white-space: nowrap;
}

.hero__partners-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__partners-logos img {
    display: block;
    width: 128px;
    height: auto;
    object-fit: contain;
}

.hero__partner-kudy {
    display: grid;
    place-items: center;
    padding: 12px;
    background: #e6e6e6;
}

.hero__partner-kudy img {
    display: block;
    width: 150px;
    height: 33px;
}

@media (min-width: 701px) {
    .hero__partners {
        position: absolute;
        top: 60px;
        left: clamp(24px, calc(10vw - (100vw - 1200px) / 2), 190px);
        z-index: 3;
        margin: 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero__partners-logos {
        flex-direction: column;
    }

    .hero__partner-kudy {
        width: 128px;
        padding: 8px;
    }

    .hero__partner-kudy img {
        width: 100%;
        height: auto;
    }
}

/*
   Tablet a menší notebook: vedle nadpisu není na sloupec partnerů
   místo (překrýval by nadpis), proto zůstanou pod statistikami.
*/
@media (min-width: 701px) and (max-width: 1199px) {
    .hero__partners {
        position: relative;
        top: auto;
        left: auto;
        margin: 32px auto 0;
        flex-direction: row;
        align-items: center;
    }

    .hero__partners-logos {
        flex-direction: row;
    }
}

.attractions {
    width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
    padding: clamp(22px, 1vw, 130px) 0;
}

.attractions__heading {
    margin-bottom: clamp(28px, 5vw, 48px);
    text-align: center;
}

.attractions__heading h2 {
    margin: 0;
    color: var(--cyan);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.attractions__heading p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.attractions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

.attraction {
    position: relative;
    min-height: clamp(280px, 31vw, 400px);
    overflow: hidden;

    display: flex;
    align-items: end;

    border: 1px solid var(--cyan);
    border-radius: 14px;
    background: #020914;
    box-shadow: 0 0 20px rgba(24, 217, 244, 0.12);
}

.attraction__media,
.attraction__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.attraction__media img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.attraction::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 8, 17, 0.08) 20%, rgba(1, 8, 17, 0.88) 100%);
}

.attraction__content {
    position: relative;
    z-index: 1;
    padding: clamp(18px, 2vw, 28px);
}

.attraction__tag {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 6px;
    background: #fd1931;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.attraction h3 {
    margin: 13px 0 7px;
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    line-height: 1;
}

.attraction p {
    margin: 0;
    font-size: clamp(0.9rem, 1.45vw, 1.05rem);
    line-height: 1.3;
}

.attractions__toggle-input,
.attractions__toggle {
    display: none;
}

.gallery {
    width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
    padding: clamp(72px, 3vw, 130px) 0;
}

.gallery__heading {
    margin-bottom: clamp(28px, 5vw, 48px);
    text-align: center;
}

.gallery__heading h2 {
    margin: 0;
    color: var(--cyan);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.gallery__heading p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 110px;
    grid-auto-flow: dense;
    gap: clamp(10px, 1.5vw, 18px);
}

.gallery__item {
    min-width: 0;
    min-height: 0;
    margin: 0;
    grid-row: span 2;
    overflow: hidden;

    border: 1px solid rgba(24, 217, 244, 0.72);
    border-radius: 14px;
    background: #020914;
    box-shadow: 0 0 16px rgba(24, 217, 244, 0.12);
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item--tall {
    grid-row: span 4;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 240ms ease;
}

.gallery__item:hover img {
    transform: scale(1.04);
}

.gallery__item img {
    cursor: zoom-in;
}

.gallery-lightbox {
    width: min(calc(100vw - 32px), 1400px);
    height: calc(100dvh - 32px);
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: visible;

    border: 1px solid rgba(24, 217, 244, 0.72);
    border-radius: 14px;
    background: #020914;
    box-shadow: 0 0 36px rgba(24, 217, 244, 0.25);
}

.gallery-lightbox::backdrop {
    background: rgba(0, 4, 10, 0.88);
    backdrop-filter: blur(4px);
}

.gallery-lightbox[open] {
    display: grid;
    place-items: center;
}

.gallery-lightbox__image {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: block;
    object-fit: contain;
}

.gallery-lightbox__close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 1;
    width: 42px;
    height: 42px;
    padding: 0;

    border: 1px solid var(--cyan);
    border-radius: 50%;
    background: #020914;
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.gallery-lightbox__caption {
    position: absolute;
    right: 16px;
    bottom: 12px;
    left: 16px;
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px #000;
}

.gallery__toggle-input,
.gallery__toggle {
    display: none;
}

.demo-section {
    width: min(calc(100% - 40px), var(--content-width));
    min-height: 60vh;
    margin-inline: auto;
    padding: 80px 0;
}

.demo-section h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0 0 20px;
}

.demo-section p {
    max-width: 700px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}


/* ---------------------------------------------------------
   PRAKTICKÉ INFORMACE
   --------------------------------------------------------- */

.practical-info {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 34px 0 124px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: clamp(42px, 7vw, 112px);
    align-items: start;
}

.practical-info__content {
    min-width: 0;
}

.practical-info__heading {
    margin: 0;
    grid-column: 1 / -1;
    text-align: center;
}

.practical-info h2 {
    margin: 0;
    color: var(--cyan);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.practical-info__list {
    display: grid;
    gap: 26px;
    margin: 0;
}

.practical-info__item {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 12px;
}

.practical-info__item dt {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 4px;
    color: var(--cyan);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.practical-info__icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    color: var(--cyan);
    font-size: 1.72rem;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 14px rgba(24, 217, 244, 0.5);
}

.practical-info__item dd {
    grid-column: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.35;
}

.practical-info__item dd strong {
    color: #fff;
}

.practical-info__map {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid rgba(24, 217, 244, 0.72);
    border-radius: 16px;
    background: #dfe6dc;
    box-shadow: 0 0 28px rgba(24, 217, 244, 0.15);
}

.practical-info__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.practical-info__map-link {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 17px 20px;
    border-radius: 9px;
    background: #f02d35;
    box-shadow: 0 7px 18px rgba(105, 0, 10, 0.36);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}

.practical-info__map-link:hover,
.practical-info__map-link:focus-visible {
    background: #ff4249;
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   VÍCE O EXGAME
   --------------------------------------------------------- */

.about-exgame {
    position: relative;
    z-index: 2;
    padding: clamp(128px, 16vw, 180px) 0 120px;
}

.about-exgame__content {
    width: min(calc(100% - 40px), 820px);
    margin: 0 auto;
}

.about-exgame__logo-link {
    display: block;
    width: min(240px, 58vw);
    margin: 0 auto clamp(44px, 7vw, 74px);
}

.about-exgame__logo-link img {
    width: 100%;
    height: auto;
    display: block;
}

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

.about-exgame__heading h1 {
    margin: 0;
    color: var(--cyan);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.about-exgame__heading p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.about-exgame__section {
    margin-top: clamp(42px, 7vw, 76px);
}

.about-exgame__section h2 {
    margin: 0 0 16px;
    color: var(--cyan);
    font-size: clamp(1.4rem, 3.2vw, 2.15rem);
    line-height: 1.1;
}

.about-exgame__section p {
    margin: 0 0 17px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.65;
    text-align: justify;
}

.about-exgame__photo {
    display: block;
    width: min(100%, 660px);
    margin: clamp(28px, 5vw, 52px) auto 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--cyan);
    background: #020b15;
    box-shadow: 9px 9px 0 rgba(255, 52, 88, 0.86), 0 0 24px rgba(24, 217, 244, 0.18);
    cursor: zoom-in;
}

.about-exgame__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 180ms ease;
}

.about-exgame__photo:hover img,
.about-exgame__photo:focus-visible img {
    transform: scale(1.035);
}

.about-exgame__photo:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

.about-exgame__photo--right {
    margin-right: 0;
}

.about-exgame__photo--left {
    margin-left: 0;
}

.about-exgame__back {
    width: fit-content;
    margin: clamp(52px, 8vw, 84px) auto 0;
    padding: 15px 22px;
    display: flex;
    gap: 10px;
    border-radius: 8px;
    background: #f02d35;
    box-shadow: 0 7px 18px rgba(105, 0, 10, 0.36);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-decoration: none;
}

.about-exgame__back:hover,
.about-exgame__back:focus-visible {
    background: #ff4249;
}

/* ---------------------------------------------------------
   SCROLL INDIKÁTOR
   --------------------------------------------------------- */

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    opacity: 0.75;
}

.scroll-indicator span {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
}

.scroll-indicator img {
    width: 23px;
    animation: chevron-bob 1.8s ease-in-out infinite;
}

@keyframes chevron-bob {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.65;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}


/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width: 700px) {
    .site-navigation {
        position: fixed;
        top: max(16px, env(safe-area-inset-top));
        right: 16px;
    }

    .site-navigation__desktop {
        display: none;
    }

    .site-navigation__panel {
        display: block;
    }

    .site-navigation__toggle {
        width: 48px;
        height: 48px;
        display: grid;
        place-content: center;
        gap: 5px;
        border: 1px solid var(--cyan);
        border-radius: 8px;
        background: rgba(2, 9, 20, 0.94);
        box-shadow: 0 0 16px rgba(24, 217, 244, 0.18);
        cursor: pointer;
        list-style: none;
    }

    .site-navigation__toggle::-webkit-details-marker {
        display: none;
    }

    .site-navigation__toggle span {
        width: 22px;
        height: 2px;
        display: block;
        background: var(--cyan);
    }

    .site-navigation__links {
        position: absolute;
        top: 58px;
        right: 0;
        min-width: min(260px, calc(100vw - 32px));
        display: none;
        gap: 0;
        overflow: hidden;
        border: 1px solid rgba(24, 217, 244, 0.72);
        border-radius: 10px;
        background: rgba(2, 9, 20, 0.98);
        box-shadow: 0 0 28px rgba(24, 217, 244, 0.2);
    }

    .site-navigation__panel[open] .site-navigation__links {
        display: grid;
    }

    .site-navigation__links a {
        padding: 17px 20px;
        border-bottom: 1px solid rgba(24, 217, 244, 0.22);
        font-size: 0.95rem;
    }

    .site-navigation__links a:last-child {
        border-bottom: 0;
    }

    .about-exgame {
        padding: 112px 0 80px;
    }

    .about-exgame__photo,
    .about-exgame__photo--right,
    .about-exgame__photo--left {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .hero {
        padding-inline: 24px;
    }

    .event-card--desktop {
        display: none;
    }

    .hero__partners {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__partners-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__partners-logos img {
        width: auto;
        height: 60px;
    }

    .hero__partner-kudy img {
        width: 150px;
        height: 33px;
    }

    /*
       Na mobilu necháme extra SVG dekorace více u okrajů,
       aby nelezly do hlavního textu.
    */
    .pixel-icon--1 {
        left: -8px;
        top: 17%;
        width: 44px;
    }

    .pixel-icon--2 {
        right: -3px;
        top: 34%;
        width: 34px;
    }

    .pixel-icon--3 {
        right: 5px;
        top: 73%;
        width: 38px;
    }

    .pixel-icon--4 {
        left: -35px;
        width: 115px;
    }

    .pixel-icon--5 {
        right: -30px;
        width: 105px;
    }

    .attractions {
        width: min(calc(100% - 32px), 520px);
        padding: 70px 0;
    }

    .attractions__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .attraction {
        min-height: 260px;
    }

    .attraction:nth-child(n + 4) {
        display: none;
    }

    .attractions__toggle-input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .attractions__toggle {
        margin: 24px auto 0;
        padding: 15px 18px;

        display: flex;
        justify-content: center;

        border: 1px solid var(--cyan);
        border-radius: 8px;
        color: #fff;
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.03em;
    }

    .attractions__hide-label {
        display: none;
    }

    .attractions__toggle-input:checked ~ .attractions__grid .attraction:nth-child(n + 4) {
        display: flex;
    }

    .attractions__toggle-input:checked ~ .attractions__toggle .attractions__show-label {
        display: none;
    }

    .attractions__toggle-input:checked ~ .attractions__toggle .attractions__hide-label {
        display: inline;
    }

    .gallery {
        width: min(calc(100% - 32px), 520px);
        padding: 70px 0;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 110px;
        gap: 10px;
    }

    .gallery__item {
        grid-row: span 2;
        border-radius: 10px;
    }

    .gallery__item--wide {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery__item--tall {
        grid-row: span 3;
    }

    .gallery__item:nth-child(n + 7) {
        display: none;
    }

    .gallery__toggle-input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .gallery__toggle {
        margin: 24px auto 0;
        padding: 15px 18px;

        display: flex;
        justify-content: center;

        border: 1px solid var(--cyan);
        border-radius: 8px;
        color: #fff;
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.03em;
    }

    .gallery__hide-label {
        display: none;
    }

    .gallery__toggle-input:checked ~ .gallery__grid .gallery__item:nth-child(n + 7) {
        display: block;
    }

    .gallery__toggle-input:checked ~ .gallery__toggle .gallery__show-label {
        display: none;
    }

    .gallery__toggle-input:checked ~ .gallery__toggle .gallery__hide-label {
        display: inline;
    }

    .practical-info {
        width: min(calc(100% - 32px), 520px);
        padding: 74px 0 92px;
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /*
       Seznam je na mobilu vycentrovaný podle šířky obsahu.
       (Dřívější posun translateX(50px) na úzkých telefonech ořezával text vpravo.)
    */
    .practical-info__content {
        min-width: 0;
        justify-self: center;
    }

    .practical-info__item {
        grid-template-columns: 34px 1fr;
    }

    .practical-info__map {
        min-height: 310px;
        border-radius: 13px;
    }
}


/* ---------------------------------------------------------
   PŘÍSTUPNOST
   Pokud uživatel vypnul animace v systému,
   všechny blikací efekty se automaticky zastaví.
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .pixel-icon,
    .scroll-indicator img,
    .hero__slide {
        animation: none !important;
    }

    .hero__slide--1 {
        opacity: 1;
    }
}
