:root {
    --bg-deep: #4f4d88;
    --bg-mid: #615592;
    --bg-soft: #7267a2;

    --accent: #efb6ac;
    --accent-strong: #e8a096;
    --accent-soft: #f8d4cb;

    --text: #fff9f7;
    --text-soft: rgba(255, 249, 247, 0.78);
    --text-faint: rgba(255, 249, 247, 0.58);

    --glass: rgba(255, 255, 255, 0.11);
    --glass-soft: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);

    --shadow: 0 26px 70px rgba(50, 34, 87, 0.24);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(145deg, var(--bg-deep) 0%, var(--bg-mid) 48%, var(--bg-soft) 100%);
    background-attachment: fixed;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

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

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

.ambient-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.32;
    animation: ambientFloat 16s ease-in-out infinite alternate;
}

.ambient-orb-1 {
    width: 520px;
    height: 520px;
    top: -150px;
    left: -150px;
    background: #8762c4;
}

.ambient-orb-2 {
    width: 480px;
    height: 480px;
    top: 20%;
    right: -180px;
    background: #d98ea5;
    animation-delay: -4s;
}

.ambient-orb-3 {
    width: 420px;
    height: 420px;
    bottom: -140px;
    left: 30%;
    background: #8796d9;
    animation-delay: -8s;
}

@keyframes ambientFloat {
    from {
        transform: translate3d(-18px, -12px, 0) scale(1);
    }
    to {
        transform: translate3d(24px, 20px, 0) scale(1.06);
    }
}

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.14);
}

.glass-soft {
    background: var(--glass-soft);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-navbar {
    position: sticky;
    top: 10px;
    z-index: 1000;
    padding-top: 12px;
}

.navbar-shell {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: 138px;
    max-width: 100%;
    height: auto;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.80);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
    filter: invert(1);
}

.btn-glass-primary,
.btn-hero-primary,
.game-book-button {
    border: 0;
    color: #513f67;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
    font-weight: 800;
    letter-spacing: 0.01em;
}

.btn-glass-primary {
    padding: 0.72rem 1.05rem;
    border-radius: 16px;
}

.btn-glass-primary:hover,
.btn-hero-primary:hover,
.game-book-button:hover {
    color: #513f67;
    transform: translateY(-2px);
}

.hero-section {
    padding: 58px 0 38px;
}

.hero-card {
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 40px;
    overflow: hidden;
}

.hero-kicker,
.section-kicker,
.venue-kicker {
    color: rgba(255,255,255,0.72);
    font-size: 0.80rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0.8rem 0 0;
    font-size: clamp(3.3rem, 7vw, 6.6rem);
    line-height: 0.94;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy {
    max-width: 620px;
    margin-top: 1.8rem;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 1.14rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.95rem 1.35rem;
    border-radius: 17px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-hero-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
}

.btn-hero-secondary:hover {
    color: #fff;
    background: rgba(255,255,255,0.13);
    transform: translateY(-2px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.3rem;
}

.meta-pill {
    padding: 0.85rem 1rem;
    border-radius: 16px;
}

.meta-pill strong {
    display: block;
    font-size: 0.90rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.meta-pill span {
    color: var(--text-faint);
    font-size: 0.78rem;
}

.hero-art-stage {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1100px;
}

.hero-parallax {
    position: relative;
    width: 330px;
    height: 370px;
    transform-style: preserve-3d;
    transition: transform 0.16s ease-out;
    will-change: transform;
}

.hero-glow {
    position: absolute;
    inset: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 213, 204, 0.56), rgba(164, 140, 226, 0.30) 52%, transparent 72%);
    filter: blur(30px);
    transform: translateZ(-30px) scale(1.2);
}

.hero-logo-card {
    position: absolute;
    inset: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border-radius: 32px;
    transform: rotate(-4deg) translateZ(28px);
}

.hero-logo-image {
    width: 100%;
    max-width: 230px;
    height: auto;
}

.hero-logo-caption {
    margin-top: 1.2rem;
    color: var(--text-faint);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.floating-chip {
    position: absolute;
    padding: 0.72rem 0.92rem;
    border-radius: 16px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.floating-chip:first-of-type {
    top: 0;
    right: -12px;
}

.chip-two {
    bottom: 48px;
    left: -32px;
}

.chip-three {
    bottom: 0;
    right: -8px;
}

.games-section,
.how-section,
.about-section,
.schedule-section {
    padding: 72px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-title,
.section-heading h2,
.schedule-title {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.03;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.section-copy,
.schedule-lead {
    max-width: 650px;
    margin: 1rem 0 0;
    color: var(--text-soft);
    font-size: 1.03rem;
    line-height: 1.7;
}

.section-link {
    padding-bottom: 0.2rem;
    color: rgba(255,255,255,0.84);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.section-link:hover {
    color: #fff;
}

.product-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 372px);
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.4rem 0.1rem 1.4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.game-card {
    scroll-snap-align: start;
}

.game-card-scene {
    perspective: 1200px;
    min-height: 560px;
}

.game-card-inner {
    position: relative;
    min-height: 560px;
    transition: transform 0.65s ease;
    transform-style: preserve-3d;
}

.game-card.is-flipped .game-card-inner {
    transform: rotateY(180deg);
}

.game-card-face {
    border-radius: 28px;
}

.game-card-front,
.game-card-back {
    position: absolute;
    inset: 0;
    min-height: 560px;
    padding: 1.5rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.game-card-front {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, background 0.25s ease;
}

.game-card-front:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.14);
}

.game-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

.game-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.game-date {
    color: rgba(255,255,255,0.82);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.availability-badge {
    padding: 0.46rem 0.70rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.available {
    color: #eefbf7;
    background: rgba(111, 218, 181, 0.14);
}

.almost-full {
    color: #fff1eb;
    background: rgba(255, 166, 135, 0.16);
}

.sold-out {
    color: rgba(255,255,255,0.70);
    background: rgba(255,255,255,0.09);
}

.game-time {
    margin-top: 1.9rem;
    color: var(--accent-soft);
    font-size: 0.88rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.game-title {
    margin-top: 0.65rem;
    margin-bottom: 0;
    font-size: 2.0rem;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.game-location {
    margin-top: 1.15rem;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.game-venue-inline {
    display: none;
    margin-top: 1.25rem;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
}

.game-venue-inline img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-venue-inline-caption {
    padding: 0.85rem 1rem;
    font-size: 0.90rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.game-spacer {
    flex: 1;
    min-height: 1.5rem;
}

.game-info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.game-info-label {
    display: block;
    color: var(--text-faint);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.game-price {
    font-size: 1.38rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.game-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.game-book-button,
.game-secondary-button {
    min-height: 52px;
    border-radius: 16px;
    font-weight: 800;
}

.game-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.game-book-button.disabled {
    color: rgba(255,255,255,0.52);
    background: rgba(255,255,255,0.08);
}

.game-secondary-button {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.game-secondary-button:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.flip-close {
    align-self: flex-start;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.venue-photo-wrap {
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 18px;
}

.venue-photo-wrap img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.venue-panel {
    margin-top: 1.25rem;
}

.venue-title {
    margin: 0.55rem 0 0;
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.venue-address {
    margin-top: 0.85rem;
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.feature-card {
    min-height: 255px;
    padding: 1.7rem;
    border-radius: 26px;
    transition: transform 0.24s ease, background 0.24s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.14);
}

.feature-number {
    color: var(--accent-soft);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.feature-card h3 {
    margin-top: 2.8rem;
    margin-bottom: 0;
    font-size: 1.55rem;
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.feature-card p {
    margin-top: 0.75rem;
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.about-card,
.schedule-page-shell {
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 34px;
}

.about-copy {
    max-width: 620px;
    margin-top: 1.4rem;
    color: var(--text-soft);
    font-size: 1.10rem;
    line-height: 1.75;
}

.about-quote {
    padding: 2rem;
    border-radius: 24px;
}

.quote-mark {
    height: 48px;
    color: var(--accent-soft);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.9;
}

.about-quote p {
    margin: 0.9rem 0 0;
    font-size: 1.22rem;
    line-height: 1.55;
    font-weight: 700;
}

.schedule-text {
    white-space: pre-wrap;
    max-width: 900px;
    margin-top: 1.8rem;
    padding: 2rem;
    border-radius: 26px;
    color: rgba(255,255,255,0.90);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 1.12rem;
    line-height: 1.85;
}

.empty-games {
    padding: 2rem;
    border-radius: 24px;
}

.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,255,255,0.14),
        transparent 44%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.spotlight:hover::before {
    opacity: 1;
}

.spotlight > * {
    position: relative;
    z-index: 1;
}

.site-footer {
    padding: 20px 0 36px;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 1.4rem;
    border-radius: 24px;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-right {
    justify-content: flex-end;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footer-muted {
    color: var(--text-faint);
    font-size: 0.86rem;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.social-link img {
    width: 20px;
    height: 20px;
    opacity: 0.95;
}

@media (max-width: 991px) {
    .navbar-shell {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        padding: 1rem 0.5rem 0.3rem;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-art-stage {
        min-height: 360px;
    }

    .hero-parallax {
        transform: scale(0.92);
    }

    .footer-shell,
    .footer-left,
    .footer-right {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .site-navbar {
        top: 6px;
        padding-top: 6px;
    }

    .hero-card,
    .about-card,
    .schedule-page-shell {
        padding: 1.5rem;
        border-radius: 28px;
    }

    .hero-title {
        font-size: clamp(2.9rem, 14vw, 4.6rem);
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions > * {
        width: 100%;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .games-section,
    .how-section,
    .about-section,
    .schedule-section {
        padding: 52px 0;
    }

    .product-strip {
        grid-auto-columns: minmax(286px, 88vw);
    }

    .game-card-scene,
    .game-card-inner,
    .game-card-front,
    .game-card-back {
        min-height: auto;
    }

    .game-card-inner {
        transform: none !important;
    }

    .game-card-back {
        display: none;
    }

    .game-venue-inline {
        display: block;
    }

    .game-secondary-button {
        display: none;
    }

    .hero-art-stage {
        min-height: 320px;
    }

    .hero-parallax {
        width: 286px;
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   QUIZNIGHT DEMO — STAGE 2 HARD OVERRIDES
   ========================================================= */

.site-navbar {
    top: 10px !important;
    padding-top: 10px !important;
}

.navbar-shell {
    width: 100% !important;
    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;

    padding: 14px 18px !important;

    border-radius: 24px !important;
}

.brand {
    display: flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;

    min-width: 0 !important;

    margin-right: auto !important;
}

.brand-logo {
    display: block !important;

    width: auto !important;
    height: 64px !important;

    max-width: 150px !important;
    max-height: 64px !important;

    object-fit: contain !important;
}

.navbar-collapse {
    flex-grow: 0 !important;
}

.navbar-nav {
    align-items: center !important;
}

.navbar-nav .nav-link {
    padding: 12px 14px !important;

    font-size: 16px !important;
    font-weight: 650 !important;

    line-height: 1.2 !important;

    white-space: nowrap !important;
}

.btn-glass-primary {
    min-height: 52px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 12px 22px !important;

    white-space: nowrap !important;
}


/* HERO */

.hero-title-accent {
    color: transparent !important;

    background:
        linear-gradient(
            100deg,
            #ffd1bb 0%,
            #ffad8d 50%,
            #ff8878 100%
        ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
}


/* не даём логотипу в hero раздувать блок */

.hero-logo-image {
    width: 100% !important;

    max-width: 230px !important;
    max-height: 150px !important;

    object-fit: contain !important;
}


/* MOBILE */

@media (max-width: 991px) {

    .navbar-shell {
        min-height: 0 !important;
        padding: 12px 16px !important;

        flex-wrap: wrap !important;
    }

    .brand-logo {
        height: 54px !important;

        max-width: 126px !important;
        max-height: 54px !important;
    }

    .navbar-collapse {
        width: 100% !important;

        padding-top: 12px !important;
    }
}


@media (max-width: 767px) {

    .brand-logo {
        height: 48px !important;

        max-width: 112px !important;
        max-height: 48px !important;
    }
}


/* =========================================================
   QUIZNIGHT — DYNAMIC SCHEDULE
   ========================================================= */

.schedule-list {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-top: 2.4rem;
}


.schedule-game-row {
    display: grid;

    grid-template-columns:
        minmax(150px, 0.7fr)
        minmax(260px, 2fr)
        auto;

    align-items: center;

    gap: 1.5rem;

    padding:
        1.25rem
        1.35rem;

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    border-radius: 20px;

    color: inherit;

    background:
        rgba(255, 255, 255, 0.065);

    text-decoration: none;

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}


.schedule-game-row:hover {
    color: inherit;

    background:
        rgba(255, 255, 255, 0.12);

    border-color:
        rgba(255, 255, 255, 0.24);

    transform:
        translateX(6px);
}


.schedule-game-date {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.schedule-game-day {
    font-size: 1.06rem;
    font-weight: 800;

    letter-spacing: 0.02em;
}


.schedule-game-time {
    color: var(--accent-soft);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.schedule-game-title {
    font-size: 1.22rem;
    font-weight: 850;

    letter-spacing: -0.01em;
}


.schedule-game-location {
    margin-top: 0.35rem;

    color: var(--text-soft);

    font-size: 0.92rem;

    line-height: 1.5;
}


.schedule-game-status {
    display: flex;
    align-items: center;

    gap: 1rem;
}


.schedule-status {
    padding:
        0.45rem
        0.7rem;

    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 800;

    white-space: nowrap;
}


.schedule-arrow {
    color: var(--accent-soft);

    font-size: 1.5rem;

    transition:
        transform 0.2s ease;
}


.schedule-game-row:hover .schedule-arrow {
    transform:
        translateX(4px);
}


.schedule-empty {
    margin-top: 2rem;

    padding: 1.4rem;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.07);

    color: var(--text-soft);
}


/* карточка, к которой прилетели из расписания */

.game-card {
    scroll-margin-top: 145px;
}


.game-card:target .game-card-front {
    border-color:
        rgba(255, 211, 189, 0.72);

    box-shadow:
        0 0 0 2px rgba(255, 178, 153, 0.18),
        0 24px 70px rgba(57, 38, 93, 0.32);

    animation:
        scheduleTargetPulse
        1.25s
        ease;
}


@keyframes scheduleTargetPulse {

    0% {
        transform:
            translateY(0)
            scale(1);
    }

    35% {
        transform:
            translateY(-5px)
            scale(1.015);
    }

    100% {
        transform:
            translateY(0)
            scale(1);
    }
}


@media (max-width: 767px) {

    .schedule-game-row {
        grid-template-columns:
            1fr;

        gap: 0.85rem;

        padding: 1.15rem;
    }


    .schedule-game-status {
        justify-content:
            space-between;
    }


    .schedule-game-title {
        font-size:
            1.12rem;
    }
}


/* =========================================================
   QUIZNIGHT — DRAGGABLE GAME STRIP
   ========================================================= */

.product-strip {
    cursor: grab;

    scrollbar-width: none;

    -ms-overflow-style: none;

    overscroll-behavior-x: contain;

    touch-action: pan-x;

    user-select: none;

    -webkit-user-select: none;
}


.product-strip::-webkit-scrollbar {
    display: none;
}


.product-strip.is-dragging {
    cursor: grabbing;

    scroll-snap-type: none;
}


.product-strip.is-dragging * {
    pointer-events: none;
}


@media (hover: none) and (pointer: coarse) {

    .product-strip {
        cursor: auto;

        user-select: auto;

        -webkit-user-select: auto;
    }
}


/* =========================================================
   QUIZNIGHT — DRAG FIX
   ========================================================= */

.product-strip.is-dragging * {
    pointer-events: auto !important;
}


.product-strip.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}


.product-strip a,
.product-strip button {
    cursor: pointer;
}


/* =========================================================
   QUIZNIGHT — CARD SYSTEM V1
   ========================================================= */

/*
 * Все карточки одного ряда имеют одинаковую геометрию.
 * Содержание больше не должно менять высоту соседей.
 */

.game-card-scene,
.game-card-inner,
.game-card-front,
.game-card-back {
    height: 660px;
    min-height: 660px;
}


.game-card-front,
.game-card-back {
    overflow: hidden;
}


/* -------------------------
   QUIZ FACE ART
   ------------------------- */

.quiz-face-art {
    position: relative;

    height: 138px;
    min-height: 138px;

    margin-top: 1.15rem;

    overflow: hidden;

    border-radius: 20px;

    border:
        1px solid
        rgba(255,255,255,0.14);

    isolation: isolate;
}


.quiz-face-art::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.10),
            transparent 55%
        );

    pointer-events: none;
}


.quiz-art-label {
    position: absolute;

    left: 16px;
    bottom: 14px;

    z-index: 5;

    color:
        rgba(255,255,255,0.88);

    font-size: 0.70rem;
    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.quiz-art-wordmark {
    position: absolute;

    right: 15px;
    top: 11px;

    z-index: 5;

    color:
        rgba(255,255,255,0.25);

    font-size: 2.15rem;
    font-weight: 900;

    letter-spacing: -0.06em;
}


.quiz-art-shape {
    position: absolute;

    pointer-events: none;
}



/* -------------------------
   CLASSIC
   ------------------------- */

.quiz-face-art--classic {
    background:
        linear-gradient(
            135deg,
            #776cc7,
            #ba83b4
        );
}


.quiz-face-art--classic .quiz-art-shape-a {
    width: 110px;
    height: 110px;

    top: -34px;
    left: 42px;

    border:
        18px solid
        rgba(255,213,190,0.38);

    border-radius: 50%;
}


.quiz-face-art--classic .quiz-art-shape-b {
    width: 92px;
    height: 92px;

    right: 30px;
    bottom: -42px;

    border:
        1px solid
        rgba(255,255,255,0.28);

    transform:
        rotate(28deg);
}


.quiz-face-art--classic .quiz-art-shape-c {
    width: 120px;
    height: 2px;

    left: 115px;
    top: 62px;

    background:
        rgba(255,255,255,0.32);

    transform:
        rotate(-17deg);
}



/* -------------------------
   MUSIC
   ------------------------- */

.quiz-face-art--music {
    background:
        linear-gradient(
            135deg,
            #725fba,
            #d582a1
        );
}


.quiz-face-art--music .quiz-art-shape-a {
    width: 104px;
    height: 104px;

    left: 28px;
    top: 17px;

    border:
        18px solid
        rgba(255,190,165,0.42);

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 14px
        rgba(82,61,128,0.35);
}


.quiz-face-art--music .quiz-art-shape-b {
    width: 7px;
    height: 82px;

    left: 190px;
    bottom: -8px;

    border-radius: 8px;

    background:
        rgba(255,255,255,0.22);

    box-shadow:
        22px -22px 0 rgba(255,255,255,0.16),
        44px 10px 0 rgba(255,255,255,0.24),
        66px -12px 0 rgba(255,255,255,0.13);
}


.quiz-face-art--music .quiz-art-shape-c {
    width: 120px;
    height: 120px;

    right: -50px;
    top: -50px;

    border-radius: 50%;

    background:
        rgba(255,205,177,0.18);
}



/* -------------------------
   CINEMA
   ------------------------- */

.quiz-face-art--cinema {
    background:
        linear-gradient(
            140deg,
            #62569e,
            #b47496
        );
}


.quiz-face-art--cinema .quiz-art-shape-a {
    width: 180px;
    height: 64px;

    left: 40px;
    top: 28px;

    transform:
        rotate(-8deg);

    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.24) 0,
            rgba(255,255,255,0.24) 24px,
            transparent 24px,
            transparent 34px
        );

    border:
        1px solid
        rgba(255,255,255,0.18);
}


.quiz-face-art--cinema .quiz-art-shape-b {
    width: 130px;
    height: 3px;

    right: 18px;
    bottom: 35px;

    background:
        rgba(255,201,177,0.50);
}


.quiz-face-art--cinema .quiz-art-shape-c {
    width: 72px;
    height: 72px;

    right: 26px;
    top: -24px;

    border:
        14px solid
        rgba(255,216,195,0.18);

    border-radius: 50%;
}



/* -------------------------
   LOGIC
   ------------------------- */

.quiz-face-art--logic {
    background:
        linear-gradient(
            135deg,
            #625fb0,
            #9f78ba
        );
}


.quiz-face-art--logic .quiz-art-shape-a {
    width: 170px;
    height: 100px;

    left: 38px;
    top: 20px;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.38) 2px,
            transparent 3px
        );

    background-size:
        22px
        22px;
}


.quiz-face-art--logic .quiz-art-shape-b {
    width: 105px;
    height: 105px;

    right: 18px;
    top: 17px;

    border:
        1px solid
        rgba(255,206,184,0.37);

    transform:
        rotate(45deg);
}


.quiz-face-art--logic .quiz-art-shape-c {
    width: 62px;
    height: 62px;

    right: 52px;
    top: 38px;

    border:
        8px solid
        rgba(255,209,188,0.20);

    border-radius: 50%;
}



/* -------------------------
   CARD TEXT RHYTHM
   ------------------------- */

.game-time {
    margin-top: 1.15rem;
}


.game-title {
    min-height: 2.1em;

    display:
        -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


.game-location {
    min-height: 4.7em;

    display:
        -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}



/* -------------------------
   MOBILE
   ------------------------- */

@media (max-width: 767px) {

    .game-card-scene,
    .game-card-inner,
    .game-card-front {
        height: 755px !important;
        min-height: 755px !important;
    }


    .game-card-back {
        height: 755px !important;
        min-height: 755px !important;
    }


    .quiz-face-art {
        height: 112px;
        min-height: 112px;
    }


    .game-venue-inline {
        display: block;

        height: 190px;
        min-height: 190px;
    }


    .game-venue-inline img {
        width: 100%;
        height: 150px;

        object-fit: cover;
    }


    .game-venue-inline-caption {
        height: 40px;

        display: flex;
        align-items: center;
    }


    .game-location {
        min-height: 4.5em;
    }


    /*
     * На мобиле flip всё равно скрыт,
     * но сохраняем одинаковую геометрию ряда.
     */

    .game-card-back {
        display: none;
    }
}


/* =========================================================
   QUIZNIGHT ICON KIT — SOFT ROUNDED V0.1
   ========================================================= */

.qn-icon {
    display: inline-block;

    width: 26px;
    height: 26px;

    flex: 0 0 auto;

    background: currentColor;

    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;

    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}


.qn-icon--music {
    mask-image: url("../assets/qn-icons/music.svg");
    -webkit-mask-image: url("../assets/qn-icons/music.svg");
}


.qn-icon--cinema {
    mask-image: url("../assets/qn-icons/cinema.svg");
    -webkit-mask-image: url("../assets/qn-icons/cinema.svg");
}


.qn-icon--logic {
    mask-image: url("../assets/qn-icons/logic.svg");
    -webkit-mask-image: url("../assets/qn-icons/logic.svg");
}


.qn-icon--quiz {
    mask-image: url("../assets/qn-icons/quiz.svg");
    -webkit-mask-image: url("../assets/qn-icons/quiz.svg");
}


.qn-icon--calendar {
    mask-image: url("../assets/qn-icons/calendar.svg");
    -webkit-mask-image: url("../assets/qn-icons/calendar.svg");
}


.qn-icon--location {
    mask-image: url("../assets/qn-icons/location.svg");
    -webkit-mask-image: url("../assets/qn-icons/location.svg");
}


.qn-icon--team {
    mask-image: url("../assets/qn-icons/team.svg");
    -webkit-mask-image: url("../assets/qn-icons/team.svg");
}


.qn-icon--arrow {
    mask-image: url("../assets/qn-icons/arrow.svg");
    -webkit-mask-image: url("../assets/qn-icons/arrow.svg");
}


/* =========================================================
   HERO ORBIT ICONS
   ========================================================= */

.hero-orbit-icon {
    position: absolute;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(255,255,255,0.82);

    pointer-events: none;

    box-shadow:
        0 16px 40px rgba(55,35,94,0.20),
        inset 0 1px 0 rgba(255,255,255,0.14);
}


.hero-orbit-icon .qn-icon {
    width: 25px;
    height: 25px;
}


.hero-orbit-icon--cinema {
    top: 4px;
    right: -4px;

    transform:
        translateZ(85px)
        rotate(6deg);
}


.hero-orbit-icon--music {
    left: -28px;
    bottom: 42px;

    color: var(--accent-soft);

    transform:
        translateZ(70px)
        rotate(-7deg);
}


.hero-orbit-icon--logic {
    right: -10px;
    bottom: -3px;

    transform:
        translateZ(95px)
        rotate(8deg);
}


@media (max-width: 767px) {

    .hero-orbit-icon {
        width: 50px;
        height: 50px;
    }


    .hero-orbit-icon .qn-icon {
        width: 22px;
        height: 22px;
    }


    .hero-orbit-icon--music {
        left: -4px;
    }


    .hero-orbit-icon--cinema {
        right: 2px;
    }


    .hero-orbit-icon--logic {
        right: 3px;
    }
}


.quiz-art-icon {
    position: absolute;

    left: 16px;
    top: 14px;

    z-index: 6;

    color: rgba(255,255,255,0.76);
}


.quiz-art-icon .qn-icon {
    width: 29px;
    height: 29px;
}


/* Flip-card back layout */

.game-card-back {
    display: flex;
    flex-direction: column;
}


.venue-panel {
    display: flex;
    flex: 1;
    flex-direction: column;
}


.venue-panel .game-book-button {
    margin-top: auto !important;
}


/* =========================================================
   QUIZNIGHT — MOBILE DEMO POLISH
   ========================================================= */

@media (max-width: 767px) {

    /*
     * ВАЖНО:
     * разрешаем и вертикальную прокрутку страницы,
     * и горизонтальный нативный свайп карточек.
     */

    .product-strip {
        touch-action: pan-x pan-y !important;

        align-items: start !important;

        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }


    .product-strip::-webkit-scrollbar {
        display: none !important;
    }


    /*
     * Тематический face-art на мобильном не нужен.
     * Оставляем чистую карточку:
     * дата → название → место → фото → бронь.
     */

    .quiz-face-art {
        display: none !important;
    }


    /*
     * Убираем фиксированные 755px.
     * Карточка сама занимает столько места,
     * сколько реально нужно контенту.
     */

    .game-card,
    .game-card-scene,
    .game-card-inner {
        height: auto !important;
        min-height: 0 !important;

        overflow: visible !important;
    }


    .game-card-inner {
        transform: none !important;
    }


    .game-card-front {
        position: relative !important;

        inset: auto !important;

        height: auto !important;
        min-height: 0 !important;

        overflow: visible !important;

        display: flex !important;
        flex-direction: column !important;

        padding: 1.15rem !important;
    }


    /*
     * Flip на мобиле нам не нужен —
     * фото заведения уже находится прямо в карточке.
     */

    .game-card-back {
        display: none !important;
    }


    /*
     * Компактнее собираем текстовую часть.
     */

    .game-time {
        margin-top: 0.85rem !important;
    }


    .game-title {
        min-height: 0 !important;

        margin-top: 0.4rem !important;
        margin-bottom: 0 !important;

        font-size: 1.75rem !important;
        line-height: 1.05 !important;

        -webkit-line-clamp: unset !important;
        overflow: visible !important;
    }


    .game-location {
        min-height: 0 !important;

        margin-top: 0.75rem !important;

        font-size: 1rem !important;
        line-height: 1.45 !important;

        -webkit-line-clamp: 3 !important;
    }


    /*
     * Фото заведения остаётся,
     * но становится заметно компактнее.
     */

    .game-venue-inline {
        display: block !important;

        height: auto !important;
        min-height: 0 !important;

        margin-top: 0.9rem !important;
    }


    .game-venue-inline img {
        display: block !important;

        width: 100% !important;
        height: 135px !important;

        object-fit: cover !important;

        border-radius: 18px 18px 0 0 !important;
    }


    .game-venue-inline-caption {
        min-height: 38px !important;
        height: auto !important;

        display: flex !important;
        align-items: center !important;

        padding: 8px 12px !important;
    }


    /*
     * Кнопка бронирования всегда полноценная,
     * не режется краями карточки.
     */

    .game-card-front .game-book-button,
    .game-card-front a[href*="/booking/"] {
        position: relative !important;

        width: 100% !important;

        flex: 0 0 auto !important;

        margin-top: 1rem !important;
        margin-bottom: 0 !important;

        min-height: 56px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }


    /*
     * Никаких скрытых обрезаний по вертикали.
     */

    .game-card-scene,
    .game-card-inner,
    .game-card-front {
        clip: auto !important;
    }

}


@media (max-width: 767px) {

    .product-strip {
        user-select: auto !important;
        -webkit-user-select: auto !important;

        cursor: auto !important;
    }

}


/* =========================================================
   QUIZNIGHT — MOBILE EQUAL CARD HEIGHT
   ========================================================= */

@media (max-width: 767px) {

    /*
     * Высоту ряда задаёт самая высокая карточка,
     * остальные растягиваются до неё.
     */

    .product-strip {
        align-items: stretch !important;
    }


    .game-card {
        height: 100% !important;

        display: flex !important;
        flex-direction: column !important;
    }


    .game-card-scene {
        height: 100% !important;

        display: flex !important;
        flex-direction: column !important;
    }


    .game-card-inner {
        height: 100% !important;

        display: flex !important;
        flex-direction: column !important;
    }


    .game-card-front {
        height: 100% !important;

        flex: 1 1 auto !important;

        display: flex !important;
        flex-direction: column !important;
    }


    /*
     * Нижнюю часть карточки прижимаем вниз,
     * чтобы все карточки выглядели одинаково.
     */

    .game-card-front .game-book-button,
    .game-card-front a[href*="/booking/"] {
        margin-top: auto !important;
    }

}


/* =========================================================
   QUIZNIGHT — ARSENIY FEEDBACK ROUND 1
   ========================================================= */


/* ---------------------------------------------------------
   COMPACT HERO
   --------------------------------------------------------- */

.hero-card {
    padding: 2.1rem 2.4rem !important;
}


.hero-card > .row {
    min-height: 0 !important;
}


.hero-title {
    margin-top: 0.45rem !important;

    font-size:
        clamp(3rem, 5.2vw, 5rem) !important;

    line-height: 0.94 !important;
}


.hero-copy {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;

    max-width: 610px !important;
}


.hero-actions {
    margin-top: 1.3rem !important;
}


.hero-meta {
    display: none !important;
}


/*
 * Пока вместо старого логотипа —
 * лёгкая композиция из фирменных иконок.
 * Потом сюда посадим старую SVG-анимацию.
 */

.hero-art-stage {
    min-height: 210px !important;
    height: 210px !important;
}


.hero-parallax {
    position: relative !important;

    width: 100% !important;
    max-width: 300px !important;

    height: 200px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


.hero-glow {
    width: 190px !important;
    height: 190px !important;

    opacity: 0.55 !important;
}


.hero-orbit-icon--cinema {
    top: 16px !important;
    right: 42px !important;
}


.hero-orbit-icon--music {
    left: 26px !important;
    bottom: 40px !important;
}


.hero-orbit-icon--logic {
    right: 35px !important;
    bottom: 15px !important;
}



/* ---------------------------------------------------------
   CARD BACK — 50% GAME / 50% VENUE
   --------------------------------------------------------- */

.game-card-back {
    padding: 1.15rem !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;
}


.game-back-content {
    height: 100%;

    display: flex;
    flex-direction: column;

    padding-top: 2.25rem;
}


.game-back-half {
    flex: 1 1 0;

    min-height: 0;
}


.game-back-about {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding:
        0.2rem
        0.2rem
        0.85rem;
}


.game-back-title {
    margin:
        0.45rem
        0
        0;

    font-size: 1.55rem;
    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -0.02em;
}


.game-back-description {
    margin:
        0.8rem
        0
        0;

    color: var(--text-soft);

    font-size: 0.92rem;

    line-height: 1.48;

    display: -webkit-box;

    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


.game-back-divider {
    width: 100%;
    height: 1px;

    flex: 0 0 1px;

    margin:
        0.2rem
        0
        0.9rem;

    background:
        rgba(255,255,255,0.14);
}


.game-back-venue {
    display: flex;
    flex-direction: column;

    min-height: 0;
}


.game-back-venue-row {
    display: grid;

    grid-template-columns:
        116px
        minmax(0, 1fr);

    gap: 0.85rem;

    align-items: center;

    margin-top: 0.55rem;
}


.game-back-venue-photo {
    width: 116px;
    height: 92px;

    overflow: hidden;

    border-radius: 16px;
}


.game-back-venue-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.game-back-venue-copy {
    min-width: 0;
}


.game-back-venue .venue-title {
    margin: 0;

    font-size: 1.12rem;
}


.game-back-venue .venue-address {
    margin:
        0.4rem
        0
        0;

    font-size: 0.78rem;

    line-height: 1.35;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


.game-back-venue .game-book-button {
    width: 100%;

    margin-top: auto !important;

    min-height: 48px;
}



/* ---------------------------------------------------------
   COMPACT SCHEDULE
   --------------------------------------------------------- */

.schedule-list {
    gap: 8px !important;

    margin-top: 1.7rem !important;
}


.schedule-game-row {
    grid-template-columns:
        minmax(125px, 0.62fr)
        minmax(230px, 2fr)
        auto !important;

    gap: 1rem !important;

    padding:
        0.82rem
        1rem !important;

    border-radius: 16px !important;
}


.schedule-game-date {
    gap: 1px !important;
}


.schedule-game-day {
    font-size: 0.96rem !important;
}


.schedule-game-time {
    font-size: 0.72rem !important;

    letter-spacing: 0.11em !important;
}


.schedule-game-title {
    font-size: 1.08rem !important;
}


.schedule-game-location {
    margin-top: 0.2rem !important;

    font-size: 0.82rem !important;

    line-height: 1.3 !important;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.schedule-status {
    padding:
        0.34rem
        0.56rem !important;

    font-size: 0.69rem !important;
}


.schedule-arrow {
    font-size: 1.25rem !important;
}



/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    /*
     * На телефоне hero тоже становится компактнее,
     * а декоративный desktop-art убираем полностью.
     */

    .hero-card {
        padding:
            1.65rem
            1.2rem !important;
    }


    .hero-title {
        font-size:
            clamp(2.65rem, 13vw, 4rem) !important;
    }


    .hero-copy {
        margin-top: 0.85rem !important;
    }


    .hero-actions {
        margin-top: 1.15rem !important;
    }


    .hero-art-stage {
        display: none !important;
    }


    /*
     * Расписание компактнее,
     * но на мобиле сохраняем удобный tap-target.
     */

    .schedule-game-row {
        grid-template-columns:
            1fr
            auto !important;

        gap:
            0.45rem
            0.8rem !important;

        padding:
            0.85rem
            0.9rem !important;
    }


    .schedule-game-date {
        grid-column: 1;
    }


    .schedule-game-main {
        grid-column:
            1 / -1;
    }


    .schedule-game-status {
        grid-column: 2;
        grid-row: 1;

        align-self: center;
    }


    .schedule-game-location {
        white-space: normal;
    }

}


/* =========================================================
   QUIZNIGHT — MUSEUM
   ========================================================= */

.museum-section {
    padding:
        1.5rem
        0
        5rem;
}


.museum-hero {
    padding:
        3.4rem
        3.6rem;

    border-radius: 34px;
}


.museum-title {
    margin:
        0.6rem
        0
        0;

    font-size:
        clamp(4rem, 8vw, 7rem);

    font-weight: 900;

    line-height: 0.88;

    letter-spacing: -0.055em;
}


.museum-lead {
    max-width: 650px;

    margin:
        1.5rem
        0
        0;

    color: var(--text-soft);

    font-size: 1.12rem;

    line-height: 1.6;
}


.museum-preview {
    display: grid;

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

    gap: 1rem;

    margin-top: 2rem;
}


.museum-preview-card {
    min-height: 300px;

    padding: 1.7rem;

    border-radius: 28px;

    display: flex;
    flex-direction: column;
}


.museum-preview-number {
    margin-left: auto;

    color: rgba(255,255,255,0.25);

    font-size: 3rem;
    font-weight: 900;

    line-height: 1;
}


.museum-preview-kicker {
    margin-top: auto;

    color: var(--accent-soft);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.18em;
}


.museum-preview-card h2 {
    margin:
        0.6rem
        0
        0;

    font-size: 1.6rem;

    font-weight: 900;

    line-height: 1.05;
}


.museum-preview-card p {
    margin:
        0.85rem
        0
        0;

    color: var(--text-soft);

    line-height: 1.5;
}


.museum-empty {
    max-width: 780px;

    margin:
        1rem
        auto
        0;

    padding:
        2rem
        2.2rem;

    border-radius: 28px;

    text-align: center;
}


.museum-empty-kicker {
    color: var(--accent-soft);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.18em;
}


.museum-empty h2 {
    margin:
        0.8rem
        0
        0;

    font-size: 2rem;
    font-weight: 900;

    line-height: 1.05;
}


.museum-empty p {
    max-width: 560px;

    margin:
        1rem
        auto
        0;

    color: var(--text-soft);

    line-height: 1.55;
}


/* будущие реальные финалы */

.museum-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1.2rem;

    margin-top: 2rem;
}


.museum-event {
    overflow: hidden;

    border-radius: 28px;
}


.museum-event-media {
    aspect-ratio: 16 / 10;

    background:
        rgba(255,255,255,0.06);
}


.museum-event-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.museum-event-body {
    padding: 1.5rem;
}


.museum-event-date,
.museum-champion-label {
    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.14em;

    color: var(--accent-soft);
}


.museum-event-title {
    margin:
        0.4rem
        0
        1.4rem;

    font-size: 1.9rem;

    font-weight: 900;
}


.museum-champion {
    margin-top: 0.25rem;

    font-size: 1.3rem;

    font-weight: 850;
}


.museum-event-copy {
    margin:
        1rem
        0
        0;

    color: var(--text-soft);
}


@media (max-width: 767px) {

    .museum-section {
        padding-top: 0.8rem;
    }


    .museum-hero {
        padding:
            2rem
            1.25rem;

        border-radius: 26px;
    }


    .museum-title {
        font-size:
            clamp(3.2rem, 17vw, 5rem);
    }


    .museum-preview,
    .museum-grid {
        grid-template-columns: 1fr;
    }


    .museum-preview-card {
        min-height: 230px;
    }

}


/* =========================================================
   QUIZNIGHT — DESKTOP NAVBAR ONE ROW FIX
   ========================================================= */

@media (min-width: 992px) {

    .navbar-shell {
        flex-wrap: nowrap !important;
    }


    .navbar-collapse {
        display: flex !important;

        flex-basis: auto !important;
        flex-grow: 1 !important;

        width: auto !important;

        justify-content: flex-end !important;

        padding: 0 !important;
    }


    .navbar-nav {
        display: flex !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: center !important;

        margin-left: auto !important;

        gap: 0.15rem !important;
    }


    .navbar-nav .nav-item {
        flex: 0 0 auto !important;
    }


    .navbar-nav .nav-link {
        white-space: nowrap !important;

        padding:
            0.7rem
            0.75rem !important;

        font-size: 15px !important;
    }


    .navbar-nav .btn-glass-primary,
    .navbar-shell .btn-glass-primary {
        flex: 0 0 auto !important;

        margin-left: 0.65rem !important;

        padding:
            0.8rem
            1.2rem !important;

        white-space: nowrap !important;
    }

}


/* ===== Privacy ===== */

.privacy-page {
    padding: 3rem 0 5rem;
}

.privacy-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 3rem);
    border-radius: 28px;
}

.privacy-back,
.footer-legal a,
.privacy-consent a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-copy {
    margin-top: 2rem;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.privacy-consent {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.privacy-consent-label {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    cursor: pointer;
    line-height: 1.45;
}

.privacy-consent .form-check-input {
    flex: 0 0 auto;
    margin-top: .2rem;
}

.footer-legal {
    margin-bottom: .6rem;
    font-size: .9rem;
    opacity: .8;
}
