/* Events */
.events-body {
    background: #202126;
}

.events-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    color: #fff;
    background: #202126;
}

.events-page .row > * {
    min-width: 0;
}

.events-theme-valentine {
    --event-accent: #ff6f91;
    --event-accent-rgb: 255, 111, 145;
}

.events-theme-pride {
    --event-accent: #ffc733;
    --event-accent-rgb: 255, 199, 51;
}

.events-theme-halloween {
    --event-accent: #ff8a24;
    --event-accent-rgb: 255, 138, 36;
}

.events-theme-christmas {
    --event-accent: #74d19a;
    --event-accent-rgb: 116, 209, 154;
}

.events-hero {
    position: relative;
    display: flex;
    min-height: min(78svh, 820px);
    align-items: flex-end;
    overflow: hidden;
    background: #18191d;
}

.events-hero-image,
.events-hero-overlay {
    position: absolute;
    inset: 0;
}

.events-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.events-hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 8, 11, 0.93) 0%, rgba(7, 8, 11, 0.57) 48%, rgba(7, 8, 11, 0.08) 78%),
        linear-gradient(0deg, #202126 0%, rgba(32, 33, 38, 0.02) 45%);
}

.events-hero > .container {
    z-index: 1;
}

.events-hero-content {
    width: min(760px, 78%);
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.72);
}

.events-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 8px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(9, 10, 13, 0.5);
    backdrop-filter: blur(10px);
}

.events-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--event-accent);
    box-shadow: 0 0 13px rgba(var(--event-accent-rgb), 0.75);
}

.events-eyebrow {
    display: block;
    color: var(--event-accent, #ffc107);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.events-hero h1 {
    margin: 15px 0 20px;
    font-size: clamp(3.5rem, 7vw, 7.3rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: 0;
}

.events-hero-content > p {
    max-width: 640px;
    margin-bottom: 30px;
    color: #dedee1;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.7;
}

.events-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.events-primary-button {
    padding: 12px 20px;
    color: #111;
    font-weight: 700;
    border: 0;
    border-radius: 8px;
    background: var(--event-accent);
}

.events-primary-button:hover,
.events-primary-button:focus {
    color: #111;
    background: #fff;
}

.events-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.78rem;
    text-decoration: none;
}

.events-text-link:hover {
    color: var(--event-accent);
}

.events-hero-featured {
    position: absolute;
    right: clamp(30px, 5vw, 78px);
    bottom: 45px;
    z-index: 1;
    max-width: 290px;
    padding-left: 18px;
    border-left: 2px solid var(--event-accent);
}

.events-hero-featured span,
.events-hero-featured strong,
.events-hero-featured small {
    display: block;
}

.events-hero-featured span {
    color: #aaaab0;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.events-hero-featured strong {
    margin: 6px 0;
    font-size: 0.9rem;
}

.events-hero-featured small {
    color: #c7c7cb;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.72rem;
}

.events-intro {
    background: #292a30;
}

.events-intro h2,
.events-closing h2 {
    margin: 12px 0 0;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0;
}

.events-intro p {
    color: #b2b2b7;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
}

.events-stories {
    background: #222329;
}

.event-story {
    display: grid;
    min-height: 680px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    scroll-margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-story:nth-child(even) .event-story-visual {
    order: 2;
}

.event-story-visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #18191d;
}

.event-story-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 9, 12, 0.32), transparent 48%);
    content: "";
}

.event-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.event-story:hover .event-story-visual img {
    transform: scale(1.025);
}

.event-story-index {
    position: absolute;
    right: 30px;
    bottom: 24px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.event-story-content {
    display: flex;
    max-width: 760px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 96px);
}

.event-story-content h2 {
    margin: 12px 0 19px;
    font-size: clamp(2.7rem, 5vw, 5.3rem);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: 0;
}

.event-story-lead {
    margin-bottom: 25px;
    color: #dedee1;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.08rem;
    line-height: 1.65;
}

.event-countdown-wrap {
    margin-bottom: 27px;
    padding: 20px;
    border-top: 1px solid rgba(var(--event-accent-rgb), 0.42);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(var(--event-accent-rgb), 0.055);
}

.event-countdown-label {
    display: block;
    margin-bottom: 14px;
    color: var(--event-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.event-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.event-countdown > span {
    min-width: 0;
}

.event-countdown strong,
.event-countdown small {
    display: block;
}

.event-countdown strong {
    font-size: clamp(1.15rem, 2vw, 1.7rem);
}

.event-countdown small {
    margin-top: 4px;
    color: #808087;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.65rem;
}

.event-countdown .event-ended {
    grid-column: 1 / -1;
}

.event-countdown .event-ended strong {
    font-size: 1rem;
}

.event-story-about {
    margin: 0 0 25px;
    color: #a9a9af;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.7;
}

.event-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 20px;
    margin-bottom: 28px;
}

.event-feature-list span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #c3c3c7;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.78rem;
    line-height: 1.45;
}

.event-feature-list i {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--event-accent);
}

.event-story-note {
    padding-top: 18px;
    color: #77777e;
    font-family: system-ui, -apple-system, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.events-closing {
    background: #292a30;
}

.events-closing-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    margin: 30px 0;
    padding: clamp(36px, 5vw, 66px);
    border-left: 4px solid #ffc107;
    background: #1f2025;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.events-closing h2 {
    max-width: 800px;
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.events-closing .btn {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .events-hero-featured {
        display: none;
    }

    .event-story {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-story:nth-child(even) .event-story-visual {
        order: initial;
    }

    .event-story-visual {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .event-story-content {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .events-hero {
        min-height: 720px;
    }

    .events-hero-image {
        object-position: center;
    }

    .events-hero-overlay {
        background:
            linear-gradient(0deg, #202126 3%, rgba(7, 8, 11, 0.64) 60%, rgba(7, 8, 11, 0.12) 100%),
            linear-gradient(90deg, rgba(7, 8, 11, 0.48), transparent);
    }

    .events-hero-content {
        width: 100%;
    }

    .events-hero h1 {
        font-size: clamp(3.2rem, 16vw, 5rem);
    }

    .events-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .events-intro h2 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .event-story-content {
        padding: 48px 24px 58px;
    }

    .event-feature-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-countdown {
        gap: 8px;
    }

    .events-closing-card {
        display: block;
    }

    .events-closing .btn {
        margin-top: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-story-visual img {
        transition: none;
    }
}

