:root {
    --bg: #04101f;
    --bg-deep: #020914;
    --surface: rgba(11, 29, 52, .78);
    --surface-solid: #0b1c31;

    --text: #f6fbff;
    --muted: #8da4ba;

    --blue: #238cff;
    --blue-light: #5ab8ff;
    --cyan: #29d5ff;

    --border: rgba(126, 190, 255, .14);

    --radius: 24px;
    --radius-lg: 34px;

    --shadow:
        0 30px 80px rgba(0,0,0,.35);

    --container: 1220px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Inter,
        "Noto Sans Thai",
        "Segoe UI",
        system-ui,
        sans-serif;

    background:
        radial-gradient(
            circle at 50% -10%,
            #123b66 0,
            transparent 32rem
        ),
        linear-gradient(
            180deg,
            #06162a 0%,
            var(--bg) 45%,
            var(--bg-deep) 100%
        );

    color: var(--text);

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    max-width: 100%;
}


.container {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin-inline: auto;
}



/* HEADER */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    background:
        rgba(3, 13, 26, .64);

    backdrop-filter:
        blur(22px);

    border-bottom:
        1px solid rgba(255,255,255,.06);
}


.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.brand {
    display: flex;
    align-items: center;
}


.brand-logo {
    max-height: 48px;
    max-width: 205px;

    object-fit: contain;
}


.brand-fallback {
    display: none;

    font-size: 20px;
    letter-spacing: .02em;
}


.brand-fallback strong {
    color: var(--blue-light);
}


.brand-fallback span {
    margin-left: 7px;

    color: white;
    font-weight: 800;
}


.desktop-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    font-weight: 650;
    font-size: 14px;
}


.desktop-nav a {
    color: #c7d7e7;

    transition:
        color .2s ease,
        transform .2s ease;
}


.desktop-nav a:hover {
    color: white;

    transform:
        translateY(-1px);
}


.nav-chat {
    padding:
        11px 18px;

    border-radius:
        999px;

    color: white !important;

    background:
        rgba(35, 140, 255, .16);

    border:
        1px solid rgba(71, 170, 255, .32);
}


.menu-button {
    display: none;

    background: none;
    color: white;

    border: 0;

    font-size: 26px;
}


.mobile-menu {
    display: none;
}



/* HERO */

.hero {
    position: relative;

    min-height: 820px;

    padding:
        175px 0 90px;

    overflow: hidden;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}


.hero-background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(6, 20, 39, .92) 10%,
            rgba(4, 16, 31, .64) 55%,
            rgba(4, 16, 31, .82) 100%
        ),
        radial-gradient(
            circle at 75% 45%,
            rgba(39, 146, 255, .35),
            transparent 35%
        );

    background-position: center;
    background-size: cover;

    transform: scale(1.02);
}


.hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 40%,
            var(--bg) 100%
        );
}


.hero-glow {
    position: absolute;

    width: 700px;
    height: 700px;

    right: -180px;
    top: 130px;

    border-radius: 50%;

    background:
        rgba(28, 138, 255, .15);

    filter:
        blur(120px);
}


.hero-content {
    position: relative;
    z-index: 5;
}


.hero-copy {
    max-width: 760px;
}


.eyebrow,
.section-eyebrow {
    color: var(--blue-light);

    letter-spacing:
        .22em;

    font-size: 12px;
    font-weight: 800;
}


.hero h1 {
    margin:
        18px 0 26px;

    max-width:
        780px;

    line-height:
        1.02;

    letter-spacing:
        -.045em;

    font-size:
        clamp(
            54px,
            7vw,
            96px
        );

    font-weight:
        850;
}


.hero h1 span {
    color:
        var(--blue-light);
}


.hero p {
    margin: 0;

    color:
        #bacbdd;

    font-size:
        clamp(
            17px,
            1.8vw,
            21px
        );

    line-height:
        1.7;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 36px;
}


.button {
    min-height: 52px;

    padding:
        0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius:
        15px;

    font-weight:
        750;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.button:hover {
    transform:
        translateY(-2px);
}


.button-primary {
    background:
        linear-gradient(
            135deg,
            var(--blue),
            #1468ef
        );

    box-shadow:
        0 14px 38px
        rgba(35, 140, 255, .27);
}


.button-primary:hover {
    box-shadow:
        0 18px 50px
        rgba(35, 140, 255, .38);
}


.button-glass {
    background:
        rgba(255,255,255,.06);

    border:
        1px solid rgba(255,255,255,.14);

    backdrop-filter:
        blur(14px);
}


.hero-floating-card {
    position: absolute;

    right: 20px;
    bottom: -80px;

    width: 330px;

    padding:
        18px;

    display: flex;
    align-items: center;

    gap: 14px;

    border-radius:
        20px;

    background:
        rgba(9, 28, 50, .68);

    backdrop-filter:
        blur(24px);

    border:
        1px solid rgba(122, 195, 255, .18);

    box-shadow:
        var(--shadow);
}


.hero-floating-card div {
    display: grid;
    gap: 4px;
}


.hero-floating-card small {
    color:
        var(--blue-light);

    font-size:
        10px;
    font-weight:
        800;

    letter-spacing:
        .13em;
}


.hero-floating-card strong {
    font-size:
        15px;
}


.hero-floating-card span:not(.live-dot) {
    color:
        var(--muted);

    font-size:
        12px;
}


.live-dot {
    width: 10px;
    height: 10px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        #2ee99d;

    box-shadow:
        0 0 18px
        rgba(46, 233, 157, .8);
}



/* MENU */

.main-menu-section {
    position: relative;

    z-index: 10;

    margin-top: -20px;

    padding:
        10px 0 90px;
}


.menu-grid {
    display: grid;

    grid-template-columns:
        1.35fr 1fr 1fr 1fr;

    gap: 14px;
}


.menu-card {
    min-height:
        205px;

    position: relative;

    padding:
        26px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(16, 41, 70, .86),
            rgba(6, 21, 39, .92)
        );

    border:
        1px solid var(--border);

    box-shadow:
        0 12px 40px
        rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.menu-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -70px;

    border-radius:
        50%;

    background:
        rgba(43, 149, 255, .12);

    filter:
        blur(35px);
}


.menu-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(84, 178, 255, .38);

    box-shadow:
        0 24px 60px
        rgba(0, 0, 0, .28);
}


.menu-card-featured {
    background:
        linear-gradient(
            145deg,
            #0d4d93,
            #08294d 72%
        );

    border-color:
        rgba(82, 180, 255, .42);
}


.menu-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius:
        14px;

    background:
        rgba(83, 180, 255, .13);

    border:
        1px solid rgba(126, 202, 255, .17);

    color:
        var(--blue-light);

    font-size:
        21px;
}


.menu-card small {
    color:
        #6f8aa3;

    font-weight:
        800;
}


.menu-card-featured small {
    color:
        rgba(255,255,255,.7);
}


.menu-card h2 {
    margin:
        8px 0 8px;

    font-size:
        23px;
}


.menu-card p {
    margin: 0;

    color:
        #91a8bc;

    line-height:
        1.5;

    font-size:
        13px;
}


.menu-card-featured p {
    color:
        rgba(255,255,255,.72);
}


.menu-arrow {
    position: absolute;

    right: 22px;
    bottom: 20px;

    color:
        var(--blue-light);

    font-size:
        24px;
}



/* CONTENT SECTIONS */

.content-section {
    padding:
        90px 0;
}


.section-header {
    margin-bottom:
        30px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;
}


.section-header h2 {
    margin:
        8px 0 8px;

    font-size:
        clamp(
            32px,
            4vw,
            48px
        );

    letter-spacing:
        -.035em;
}


.section-header p {
    margin: 0;

    color:
        var(--muted);
}


.text-link {
    color:
        var(--blue-light);

    font-size:
        14px;

    font-weight:
        750;
}



/* FEATURED EVENT */

.featured-event,
.empty-featured {
    min-height:
        500px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    border-radius:
        var(--radius-lg);

    background:
        radial-gradient(
            circle at 80% 40%,
            #164d7c,
            transparent 35%
        ),
        linear-gradient(
            130deg,
            #0b2541,
            #061321
        );

    background-position: center;
    background-size: cover;

    border:
        1px solid rgba(129, 196, 255, .15);

    box-shadow:
        var(--shadow);
}


.featured-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 12, 23, .95) 0%,
            rgba(3, 12, 23, .72) 50%,
            rgba(3, 12, 23, .14) 100%
        );
}


.featured-content {
    position: relative;

    z-index: 4;

    width: min(620px, 100%);

    padding:
        clamp(
            28px,
            6vw,
            62px
        );
}


.featured-content h3 {
    margin:
        18px 0 14px;

    font-size:
        clamp(
            34px,
            5vw,
            58px
        );

    line-height:
        1.1;

    letter-spacing:
        -.04em;
}


.featured-content p {
    color:
        #b7c9da;

    line-height:
        1.7;
}


.status-badge {
    display: inline-flex;

    padding:
        7px 11px;

    border-radius:
        999px;

    font-size:
        11px;
    font-weight:
        850;

    letter-spacing:
        .04em;

    background:
        rgba(255,255,255,.1);
}


.status-open {
    background:
        rgba(37, 209, 139, .15);

    color:
        #4af0aa;
}


.status-upcoming {
    background:
        rgba(54, 156, 255, .16);

    color:
        #66b9ff;
}


.status-full,
.status-closed {
    background:
        rgba(255, 82, 100, .16);

    color:
        #ff7283;
}


.event-meta {
    margin:
        24px 0;

    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    color:
        #d1e3f3;

    font-size:
        14px;
}


.empty-featured {
    align-items: center;

    padding:
        50px;

    min-height:
        390px;
}


.empty-featured span {
    color:
        var(--blue-light);

    font-size:
        12px;

    letter-spacing:
        .18em;

    font-weight:
        800;
}


.empty-featured h3 {
    margin:
        12px 0;

    font-size:
        35px;
}


.empty-featured p {
    color:
        var(--muted);
}



/* COURSES */

.course-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.course-card {
    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        var(--surface-solid);

    border:
        1px solid var(--border);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.course-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 24px 54px
        rgba(0,0,0,.28);
}


.course-image {
    position: relative;

    aspect-ratio:
        4 / 3;

    background:
        radial-gradient(
            circle at 70% 40%,
            #246aa7,
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #153853,
            #061525
        );

    background-size:
        cover;

    background-position:
        center;
}


.course-image .status-badge {
    position: absolute;

    top: 14px;
    left: 14px;
}


.course-body {
    padding:
        20px;
}


.course-body small {
    color:
        var(--blue-light);

    font-size:
        10px;

    letter-spacing:
        .12em;

    font-weight:
        800;
}


.course-body h3 {
    margin:
        9px 0;

    font-size:
        20px;
}


.course-body p {
    min-height:
        42px;

    color:
        var(--muted);

    line-height:
        1.5;

    font-size:
        13px;
}


.course-bottom {
    padding-top:
        15px;

    display: flex;
    justify-content: space-between;

    gap: 10px;

    border-top:
        1px solid rgba(255,255,255,.07);

    color:
        var(--muted);

    font-size:
        12px;
}


.course-bottom strong {
    color:
        white;
}



/* UPCOMING */

.upcoming-section {
    background:
        rgba(255,255,255,.014);

    border-top:
        1px solid rgba(255,255,255,.05);

    border-bottom:
        1px solid rgba(255,255,255,.05);
}


.upcoming-list {
    display: grid;

    gap: 9px;
}


.upcoming-item {
    padding:
        20px;

    display: grid;

    grid-template-columns:
        82px 1fr auto;

    align-items: center;

    gap: 22px;

    border-radius:
        20px;

    background:
        rgba(10, 29, 50, .64);

    border:
        1px solid rgba(117, 180, 236, .1);

    transition:
        transform .2s ease,
        background .2s ease;
}


.upcoming-item:hover {
    transform:
        translateX(4px);

    background:
        rgba(15, 40, 68, .8);
}


.upcoming-date {
    padding:
        10px;

    display: grid;
    place-items: center;

    border-radius:
        16px;

    background:
        #0d2948;

    color:
        var(--blue-light);
}


.upcoming-date strong {
    font-size:
        27px;
}


.upcoming-date span {
    font-size:
        10px;

    letter-spacing:
        .1em;
}


.upcoming-category {
    color:
        var(--blue-light);

    text-transform:
        uppercase;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}


.upcoming-content h3 {
    margin:
        4px 0;

    font-size:
        18px;
}


.upcoming-content p {
    margin: 0;

    color:
        var(--muted);

    font-size:
        12px;
}


.upcoming-arrow {
    color:
        var(--blue-light);

    font-size:
        24px;
}



/* VIDEOS */

.video-scroll {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.video-card {
    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        #09192a;

    border:
        1px solid var(--border);
}


.video-thumb {
    aspect-ratio:
        16 / 9;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at center,
            #12518c,
            #06111e 62%
        );

    background-size:
        cover;

    background-position:
        center;
}


.play-button {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius:
        50%;

    color:
        white;

    background:
        rgba(33, 145, 255, .84);

    backdrop-filter:
        blur(12px);

    box-shadow:
        0 15px 40px
        rgba(19, 128, 255, .32);
}


.video-info {
    padding:
        17px;

    display: grid;

    gap: 6px;
}


.video-info small {
    color:
        var(--blue-light);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}


.video-placeholder {
    min-height:
        260px;

    grid-column:
        1 / -1;

    padding:
        40px;

    display: flex;
    align-items: center;

    gap: 24px;

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            120deg,
            #0f3153,
            #071626
        );

    border:
        1px solid var(--border);
}


.video-placeholder div {
    display: grid;
    gap: 6px;
}


.video-placeholder small {
    color:
        var(--blue-light);
}


.video-placeholder p {
    margin: 0;

    color:
        var(--muted);
}



/* ACHIEVEMENTS */

.achievement-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.achievement-card {
    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        #09192b;

    border:
        1px solid var(--border);
}


.achievement-image {
    aspect-ratio:
        4 / 3;

    background:
        linear-gradient(
            140deg,
            #174875,
            #071827
        );

    background-size:
        cover;

    background-position:
        center;
}


.achievement-body {
    padding:
        19px;
}


.achievement-award {
    margin-bottom:
        8px;

    color:
        #ffd465;

    font-size:
        11px;

    font-weight:
        800;
}


.achievement-body h3 {
    margin:
        0 0 10px;

    line-height:
        1.35;
}


.achievement-body span {
    color:
        var(--muted);

    font-size:
        12px;
}



/* CTA */

.final-cta {
    padding:
        80px 0 110px;
}


.cta-panel {
    padding:
        clamp(
            32px,
            6vw,
            65px
        );

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border-radius:
        34px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(37, 144, 255, .38),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #0c3158,
            #071729
        );

    border:
        1px solid rgba(95, 183, 255, .2);
}


.cta-panel small {
    color:
        var(--blue-light);

    letter-spacing:
        .14em;

    font-weight:
        800;
}


.cta-panel h2 {
    margin:
        10px 0;

    max-width:
        700px;

    font-size:
        clamp(
            32px,
            5vw,
            55px
        );

    letter-spacing:
        -.04em;
}


.cta-panel h2 span {
    color:
        var(--blue-light);
}


.cta-panel p {
    margin: 0;

    color:
        #a9bfd2;
}



/* FOOTER */

.site-footer {
    padding:
        45px 0 110px;

    border-top:
        1px solid rgba(255,255,255,.06);
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.footer-brand {
    display: grid;

    gap: 5px;
}


.footer-brand strong {
    font-size:
        18px;
}


.footer-brand span {
    color:
        var(--muted);

    font-size:
        12px;
}


.footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    color:
        #91a9bf;

    font-size:
        13px;
}



/* EMPTY */

.empty-card {
    grid-column:
        1 / -1;

    padding:
        40px;

    text-align:
        center;

    line-height:
        1.8;

    color:
        var(--muted);

    border-radius:
        var(--radius);

    border:
        1px dashed rgba(130,190,240,.16);
}



/* BOTTOM NAV */

.bottom-nav {
    display: none;
}



/* TABLET */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-menu {
        position: fixed;

        z-index: 99;

        top: 78px;
        left: 16px;
        right: 16px;

        padding: 14px;

        border-radius:
            20px;

        background:
            rgba(4, 17, 32, .96);

        backdrop-filter:
            blur(20px);

        border:
            1px solid var(--border);

        box-shadow:
            var(--shadow);
    }

    .mobile-menu.open {
        display: grid;
    }

    .mobile-menu a {
        padding:
            14px 15px;

        border-bottom:
            1px solid rgba(255,255,255,.05);
    }

    .menu-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .course-grid,
    .achievement-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .video-scroll {
        grid-template-columns:
            repeat(2, 1fr);
    }

}



/* MOBILE */

@media (max-width: 640px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .header-inner {
        min-height:
            68px;
    }

    .brand-logo {
        max-height:
            39px;
    }

    .mobile-menu {
        top:
            68px;
    }


    .hero {
        min-height:
            720px;

        padding:
            135px 0 120px;

        align-items:
            flex-start;
    }

    .hero h1 {
        font-size:
            52px;
    }

    .hero p {
        font-size:
            16px;
    }

    .hero-actions {
        display: grid;

        grid-template-columns:
            1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-floating-card {
        left: 14px;
        right: 14px;
        bottom: 28px;

        width: auto;
    }


    .main-menu-section {
        padding:
            22px 0 60px;
    }

    .menu-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 10px;
    }

    .menu-card {
        min-height:
            185px;

        padding:
            18px;
    }

    .menu-card-featured {
        grid-column:
            1 / -1;

        min-height:
            205px;
    }

    .menu-card h2 {
        font-size:
            18px;
    }

    .menu-card p {
        font-size:
            11px;
    }


    .content-section {
        padding:
            65px 0;
    }

    .section-header {
        align-items:
            flex-start;
    }

    .section-header h2 {
        font-size:
            34px;
    }

    .section-header p {
        font-size:
            13px;
    }

    .text-link {
        font-size:
            11px;
    }


    .featured-event,
    .empty-featured {
        min-height:
            510px;

        border-radius:
            26px;
    }

    .featured-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 14, 25, .16) 10%,
                rgba(4, 14, 25, .96) 75%
            );
    }

    .featured-content {
        align-self:
            flex-end;

        padding:
            25px;
    }

    .featured-content h3 {
        font-size:
            36px;
    }


    .course-grid,
    .achievement-grid {
        display: flex;

        overflow-x:
            auto;

        scroll-snap-type:
            x mandatory;

        padding-bottom:
            8px;

        scrollbar-width:
            none;
    }

    .course-card,
    .achievement-card {
        min-width:
            78vw;

        scroll-snap-align:
            start;
    }


    .upcoming-item {
        grid-template-columns:
            62px 1fr auto;

        gap:
            14px;

        padding:
            14px;
    }

    .upcoming-date strong {
        font-size:
            22px;
    }

    .upcoming-content h3 {
        font-size:
            15px;
    }


    .video-scroll {
        display: flex;

        overflow-x:
            auto;

        scroll-snap-type:
            x mandatory;

        scrollbar-width:
            none;
    }

    .video-card {
        min-width:
            82vw;

        scroll-snap-align:
            start;
    }


    .video-placeholder {
        min-width:
            100%;

        padding:
            28px;

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .cta-panel {
        display: grid;

        gap: 28px;
    }

    .cta-panel .button {
        width: 100%;
    }


    .footer-inner {
        display: grid;
    }


    .site-footer {
        padding-bottom:
            125px;
    }


    .bottom-nav {
        position: fixed;

        z-index: 90;

        left: 10px;
        right: 10px;
        bottom:
            max(
                10px,
                env(safe-area-inset-bottom)
            );

        height: 66px;

        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        border-radius:
            22px;

        background:
            rgba(6, 21, 39, .91);

        backdrop-filter:
            blur(22px);

        border:
            1px solid rgba(130, 191, 245, .15);

        box-shadow:
            0 18px 60px
            rgba(0,0,0,.4);
    }

    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;

        color:
            #708ba3;

        font-size:
            9px;

        font-weight:
            700;
    }

    .bottom-nav a span {
        font-size:
            19px;
    }

    .bottom-nav a.active {
        color:
            var(--blue-light);
    }

}


.reveal {
    opacity: 0;

    transform:
        translateY(14px);

    transition:
        opacity .55s ease,
        transform .55s ease;
}


.reveal.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


@media (
    prefers-reduced-motion:
    reduce
) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration:
            .01ms !important;

        animation-duration:
            .01ms !important;
    }

}

/* ==========================================================
   EVENT DETAIL
========================================================== */

.event-detail-page {
    padding-top: 78px;
}


/* HERO */

.event-detail-hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;
}


.event-detail-bg {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;

    transform: scale(1.015);
}


.event-detail-bg::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 40%,
            #05101e 100%
        );
}


.event-detail-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -100px;
    bottom: -200px;

    border-radius: 50%;

    background:
        rgba(38, 143, 255, .17);

    filter: blur(120px);
}


.event-detail-hero-inner {
    position: relative;

    z-index: 5;

    padding-top: 80px;
    padding-bottom: 75px;
}


.event-breadcrumb {
    margin-bottom: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    color: #7790a7;

    font-size: 12px;
}


.event-breadcrumb a {
    color: var(--blue-light);
}


.event-detail-copy {
    max-width: 820px;
}


.event-top-badges {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.event-category-badge {
    padding: 7px 10px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.1);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}


.event-detail-copy h1 {
    max-width: 900px;

    margin: 20px 0;

    font-size:
        clamp(
            48px,
            7vw,
            86px
        );

    line-height: 1.04;

    letter-spacing: -.045em;
}


.event-detail-lead {
    max-width: 720px;

    margin: 0;

    color: #c1d0de;

    font-size:
        clamp(
            17px,
            2vw,
            21px
        );

    line-height: 1.7;
}


.event-detail-primary-actions {
    margin-top: 32px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* QUICK INFO */

.event-detail-info-section {
    position: relative;

    z-index: 10;

    margin-top: -28px;
}


.event-info-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    overflow: hidden;

    border-radius: 24px;

    background:
        rgba(8, 26, 46, .91);

    backdrop-filter: blur(24px);

    border:
        1px solid var(--border);

    box-shadow: var(--shadow);
}


.event-info-card {
    min-height: 110px;

    padding: 21px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 7px;

    border-right:
        1px solid rgba(255,255,255,.055);
}


.event-info-card:last-child {
    border-right: 0;
}


.event-info-card small {
    color: #6e8aa3;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .1em;
}


.event-info-card strong {
    font-size: 14px;

    line-height: 1.45;
}


.event-info-price strong {
    color: var(--blue-light);

    font-size: 18px;
}


/* MAIN LAYOUT */

.event-detail-body {
    padding: 100px 0;
}


.event-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 48px;
}


.event-main-content {
    min-width: 0;
}


.content-block {
    margin-bottom: 80px;
}


.content-block-heading {
    margin-bottom: 26px;
}


.content-block-heading small,
.side-eyebrow {
    color: var(--blue-light);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .14em;
}


.content-block-heading h2 {
    margin: 6px 0 0;

    font-size:
        clamp(
            30px,
            4vw,
            44px
        );

    letter-spacing: -.035em;
}


.rich-content {
    max-width: 820px;

    color: #b5c6d5;

    line-height: 1.9;

    font-size: 16px;
}


.empty-content-text {
    color: var(--muted);
}


/* GALLERY */

.event-gallery {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}


.gallery-item {
    padding: 0;

    position: relative;

    overflow: hidden;

    border: 0;
    border-radius: 18px;

    background: #0a1929;

    cursor: zoom-in;
}


.gallery-item-large {
    grid-column: 1 / -1;
}


.gallery-item img {
    width: 100%;

    aspect-ratio: 16 / 10;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}


.gallery-item-large img {
    aspect-ratio: 16 / 8;
}


.gallery-item:hover img {
    transform: scale(1.025);
}


/* VIDEO */

.event-video-grid {
    display: grid;

    gap: 18px;
}


.embed-frame {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 9;

    border-radius: 22px;

    background: #02070d;

    border: 1px solid var(--border);
}


.embed-frame iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


.external-video-card {
    min-height: 190px;

    padding: 28px;

    display: flex;
    align-items: center;

    gap: 22px;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(32, 143, 255, .23),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0b2a48,
            #071421
        );

    border: 1px solid var(--border);

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.external-video-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(74, 171, 255, .35);
}


.external-video-icon {
    width: 68px;
    height: 68px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(35, 140, 255, .82);

    box-shadow:
        0 18px 45px
        rgba(29, 132, 255, .25);
}


.external-video-card > div:last-child {
    display: grid;

    gap: 5px;
}


.external-video-card small {
    color: var(--blue-light);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .12em;
}


.external-video-card strong {
    font-size: 20px;
}


.external-video-card span {
    color: var(--muted);

    font-size: 11px;
}


/* SIDEBAR */

.sticky-card {
    position: sticky;

    top: 110px;
}


.event-side-card {
    padding: 26px;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 41, 69, .93),
            rgba(7, 23, 40, .95)
        );

    border: 1px solid var(--border);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.26);
}


.event-side-card h3 {
    margin: 8px 0 10px;

    font-size: 26px;
}


.event-side-card > p {
    margin: 0 0 22px;

    color: var(--muted);

    line-height: 1.65;

    font-size: 13px;
}


.full-button {
    width: 100%;

    margin-top: 9px;
}


.event-side-share {
    margin-top: 23px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,.07);
}


.event-side-share > span {
    color: var(--muted);

    font-size: 10px;
}


.event-side-share > div {
    margin-top: 10px;

    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}


.event-side-share a,
.event-side-share button {
    min-height: 34px;

    padding: 0 10px;

    display: inline-flex;
    align-items: center;

    border-radius: 9px;

    border:
        1px solid rgba(91, 179, 255, .14);

    background:
        rgba(38, 142, 255, .06);

    color: var(--blue-light);

    font: inherit;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


.event-closed-message,
.event-upcoming-message {
    padding: 13px;

    border-radius: 12px;

    text-align: center;

    font-size: 12px;
}


.event-closed-message {
    color: #ff8792;

    background:
        rgba(255, 83, 100, .08);
}


.event-upcoming-message {
    color: var(--blue-light);

    background:
        rgba(36, 142, 255, .08);
}


/* INTEREST */

.event-interest-section {
    padding: 20px 0 110px;
}


.interest-panel {
    padding:
        clamp(
            30px,
            5vw,
            60px
        );

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 60px;

    border-radius: 32px;

    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(33, 145, 255, .25),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #0c3155,
            #071523
        );

    border: 1px solid var(--border);
}


.interest-panel > div > small {
    color: var(--blue-light);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .14em;
}


.interest-panel h2 {
    margin: 9px 0;

    font-size:
        clamp(
            30px,
            4vw,
            48px
        );

    line-height: 1.15;
}


.interest-panel > div > p {
    color: #99b0c4;
}


.interest-form {
    display: grid;

    gap: 15px;
}


.interest-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px;
}


.interest-form label {
    display: grid;

    gap: 6px;
}


.interest-form label > span {
    color: #b8c9d8;

    font-size: 11px;
}


.interest-form input,
.interest-form textarea {
    width: 100%;

    padding: 13px 14px;

    border-radius: 12px;

    border:
        1px solid rgba(132, 193, 244, .14);

    background:
        rgba(5, 18, 31, .72);

    outline: none;

    color: white;

    font: inherit;
}


.interest-form input:focus,
.interest-form textarea:focus {
    border-color:
        rgba(74, 169, 255, .55);

    box-shadow:
        0 0 0 3px
        rgba(36, 142, 255, .08);
}


/* LIGHTBOX */

.gallery-lightbox {
    position: fixed;

    z-index: 500;

    inset: 0;

    padding: 40px;

    display: grid;
    place-items: center;

    background:
        rgba(0, 5, 12, .94);

    backdrop-filter: blur(15px);
}


.gallery-lightbox[hidden] {
    display: none;
}


.gallery-lightbox img {
    max-width: min(1200px, 94vw);
    max-height: 88vh;

    border-radius: 18px;

    box-shadow:
        0 35px 100px
        rgba(0,0,0,.5);
}


.lightbox-close {
    position: absolute;

    top: 20px;
    right: 24px;

    width: 44px;
    height: 44px;

    border: 0;
    border-radius: 50%;

    background:
        rgba(255,255,255,.09);

    color: white;

    font-size: 30px;

    cursor: pointer;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .event-info-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .event-detail-layout {
        grid-template-columns: 1fr;
    }


    .sticky-card {
        position: static;
    }


    .interest-panel {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


@media (max-width: 640px) {

    .event-detail-page {
        padding-top: 68px;
    }


    .event-detail-hero {
        min-height: 680px;
    }


    .event-detail-bg {
        background-position: 65% center !important;
    }


    .event-detail-hero-inner {
        padding-bottom: 55px;
    }


    .event-detail-copy h1 {
        font-size: 46px;
    }


    .event-detail-primary-actions {
        display: grid;
    }


    .event-detail-primary-actions
    .button {
        width: 100%;
    }


    .event-detail-info-section {
        margin-top: -15px;
    }


    .event-info-grid {
        grid-template-columns:
            repeat(2, 1fr);

        border-radius: 20px;
    }


    .event-info-card {
        min-height: 95px;

        padding: 16px;

        border-bottom:
            1px solid rgba(255,255,255,.05);
    }


    .event-detail-body {
        padding: 70px 0;
    }


    .event-detail-layout {
        gap: 35px;
    }


    .content-block {
        margin-bottom: 58px;
    }


    .event-gallery {
        grid-template-columns: 1fr;
    }


    .gallery-item-large {
        grid-column: auto;
    }


    .gallery-item img,
    .gallery-item-large img {
        aspect-ratio: 4 / 3;
    }


    .external-video-card {
        align-items: flex-start;

        flex-direction: column;
    }


    .interest-panel {
        border-radius: 25px;
    }


    .interest-form-grid {
        grid-template-columns: 1fr;
    }

}