/* ============================================================
   KICKSTORM — EVENTS
============================================================ */

:root {

    --black: #020307;
    --black-soft: #050914;

    --blue-dark: #071426;
    --blue: #123a72;
    --blue-bright: #2374ff;

    --white: #ffffff;
    --white-soft: #dce3ef;
    --text-muted: #8792a6;

    --glass-border:
        rgba(130, 170, 230, 0.16);

    --radius-large: 28px;

    --transition:
        cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   RESET
============================================================ */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background:
        var(--black);

    color:
        var(--white);

    font-family:
        "Inter",
        sans-serif;

    overflow-x: hidden;
}


body.modal-open {

    overflow: hidden;
}


/* ============================================================
   BACKGROUND
============================================================ */

.background {

    position: fixed;

    inset: 0;

    z-index: -10;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 50% 10%,
            rgba(20, 62, 120, 0.2),
            transparent 45%
        ),

        linear-gradient(
            145deg,
            #010204 0%,
            #030712 45%,
            #061326 100%
        );
}


.background-gradient {

    position: absolute;

    width: 80vw;
    height: 80vw;

    left: 10%;
    top: -30%;

    background:

        radial-gradient(
            circle,
            rgba(24, 91, 190, 0.2),
            transparent 65%
        );

    filter:
        blur(80px);

    animation:
        backgroundMove
        18s
        ease-in-out
        infinite
        alternate;
}


@keyframes backgroundMove {

    from {

        transform:
            translate3d(-5%, 0, 0)
            scale(1);

    }

    to {

        transform:
            translate3d(8%, 12%, 0)
            scale(1.15);

    }
}


/* ============================================================
   GLOWS
============================================================ */

.background-glow {

    position: absolute;

    width: 35vw;
    height: 35vw;

    border-radius: 50%;

    filter:
        blur(100px);

    opacity: 0.18;
}


.glow-one {

    top: 20%;
    left: -15%;

    background:
        #0b55bb;

    animation:
        glowOne
        14s
        ease-in-out
        infinite
        alternate;
}


.glow-two {

    right: -15%;
    bottom: 0;

    background:
        #175fff;

    animation:
        glowTwo
        18s
        ease-in-out
        infinite
        alternate;
}


@keyframes glowOne {

    from {

        transform:
            translate(0, 0);

    }

    to {

        transform:
            translate(100px, 80px);

    }
}


@keyframes glowTwo {

    from {

        transform:
            translate(0, 0);

    }

    to {

        transform:
            translate(-100px, -80px);

    }
}


/* ============================================================
   SMOKE
============================================================ */

.smoke {

    position: absolute;

    width: 70vw;
    height: 30vw;

    border-radius: 50%;

    background:

        radial-gradient(
            ellipse,
            rgba(100, 130, 170, 0.07),
            transparent 65%
        );

    filter:
        blur(45px);

    opacity: 0.5;
}


.smoke-one {

    left: -20%;
    top: 35%;

    animation:
        smokeOne
        24s
        ease-in-out
        infinite
        alternate;
}


.smoke-two {

    right: -25%;
    top: 55%;

    animation:
        smokeTwo
        30s
        ease-in-out
        infinite
        alternate;
}


@keyframes smokeOne {

    from {

        transform:
            translate3d(-5%, 0, 0)
            rotate(-15deg)
            scale(1);

    }

    to {

        transform:
            translate3d(25%, -10%, 0)
            rotate(-5deg)
            scale(1.2);

    }
}


@keyframes smokeTwo {

    from {

        transform:
            translate3d(5%, 5%, 0)
            rotate(15deg)
            scale(1);

    }

    to {

        transform:
            translate3d(-20%, -10%, 0)
            rotate(5deg)
            scale(1.25);

    }
}


/* ============================================================
   NOISE
============================================================ */

.noise {

    position: absolute;

    inset: 0;

    opacity: 0.025;

    pointer-events: none;

    background-image:

        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* ============================================================
   MAIN
============================================================ */

main {

    width:
        min(
            1200px,
            calc(100% - 50px)
        );

    margin:
        auto;
}


/* ============================================================
   HEADER
============================================================ */

.page-header {

    min-height:
        60vh;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    padding:
        140px 20px 90px;
}


.header-content {

    animation:
        headerEnter
        1.2s
        var(--transition)
        both;
}


@keyframes headerEnter {

    from {

        opacity: 0;

        transform:
            translateY(30px);

        filter:
            blur(10px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

        filter:
            blur(0);

    }
}


.header-overline {

    margin-bottom:
        22px;

    color:
        var(--blue-bright);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        0.3em;
}


.page-header h1 {

    font-size:
        clamp(
            4rem,
            11vw,
            9rem
        );

    line-height:
        0.85;

    font-weight:
        900;

    letter-spacing:
        -0.075em;

    background:

        linear-gradient(
            180deg,
            #ffffff,
            #dbe7fb 50%,
            #6387bd
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;

    text-shadow:
        0 0 70px
        rgba(35, 116, 255, 0.15);
}


.header-line {

    width:
        80px;

    height:
        1px;

    margin:
        32px auto 25px;

    background:

        linear-gradient(
            90deg,
            transparent,
            var(--blue-bright),
            transparent
        );

    box-shadow:
        0 0 18px
        rgba(35, 116, 255, 0.7);
}


.header-description {

    max-width:
        500px;

    margin:
        auto;

    color:
        var(--text-muted);

    font-size:
        14px;

    line-height:
        1.8;
}


/* ============================================================
   SECTIONS
============================================================ */

.next-event-section,
.upcoming-section,
.past-section {

    padding:
        70px 0 120px;
}


.section-heading {

    display:
        flex;

    align-items:
        center;

    gap:
        18px;

    margin-bottom:
        35px;
}


.section-heading span {

    color:
        var(--blue-bright);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        0.2em;
}


.section-heading h2 {

    color:
        var(--white-soft);

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        0.25em;
}


/* ============================================================
   NEXT EVENT
============================================================ */

.next-event {

    min-height:
        430px;

    position:
        relative;

    overflow:
        hidden;

    border-radius:
        var(--radius-large);

    border:
        1px solid
        var(--glass-border);

    background:

        linear-gradient(
            135deg,
            rgba(12, 29, 55, 0.72),
            rgba(3, 8, 17, 0.78)
        );

    backdrop-filter:
        blur(30px);

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.35);
}


/* ============================================================
   EMPTY STATE
============================================================ */

.event-empty {

    min-height:
        430px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    padding:
        50px;
}


.empty-icon {

    width:
        65px;

    height:
        65px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        25px;

    border:
        1px solid
        rgba(35,116,255,.25);

    border-radius:
        50%;

    background:
        rgba(20,70,140,.1);

    box-shadow:
        0 0 50px
        rgba(35,116,255,.08);
}


.empty-icon span {

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        var(--blue-bright);

    box-shadow:
        0 0 20px
        var(--blue-bright);

    animation:
        pulse
        2s
        ease-in-out
        infinite;
}


@keyframes pulse {

    0%,
    100% {

        opacity:
            .35;

        transform:
            scale(.8);

    }

    50% {

        opacity:
            1;

        transform:
            scale(1.3);

    }
}


.empty-label {

    color:
        var(--blue-bright);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .25em;
}


.event-empty h2 {

    margin-top:
        18px;

    font-size:
        clamp(
            2.5rem,
            6vw,
            5rem
        );

    line-height:
        .88;

    font-weight:
        900;

    letter-spacing:
        -.065em;

    background:

        linear-gradient(
            180deg,
            white,
            #728ab0
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;
}


.empty-description {

    max-width:
        400px;

    margin-top:
        22px;

    color:
        var(--text-muted);

    font-size:
        12px;

    line-height:
        1.8;
}


/* ============================================================
   EVENT LIST
============================================================ */

.event-list {

    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;
}


.event-row {

    display:
        grid;

    grid-template-columns:
        150px
        1fr
        auto;

    align-items:
        center;

    gap:
        30px;

    min-height:
        125px;

    padding:
        20px 30px;

    border:
        1px solid
        rgba(130,170,230,.1);

    border-radius:
        22px;

    background:
        rgba(7,18,34,.55);

    backdrop-filter:
        blur(20px);

    transition:
        transform .6s var(--transition),
        border-color .6s var(--transition),
        background .6s var(--transition);
}


.event-row:hover {

    transform:
        translateX(8px);

    border-color:
        rgba(35,116,255,.3);

    background:
        rgba(10,28,54,.7);
}


/* ============================================================
   EVENT DATE
============================================================ */

.event-date {

    display:
        flex;

    align-items:
        baseline;

    gap:
        6px;
}


.event-month {

    color:
        var(--blue-bright);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}


.event-date strong {

    font-size:
        42px;

    line-height:
        1;

    font-weight:
        800;

    letter-spacing:
        -.06em;
}


.event-year {

    color:
        #59667c;

    font-size:
        9px;

    font-weight:
        600;
}


/* ============================================================
   EVENT INFO
============================================================ */

.event-type {

    color:
        var(--blue-bright);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .2em;
}


.event-info h3 {

    margin-top:
        8px;

    font-size:
        22px;

    font-weight:
        800;

    letter-spacing:
        -.04em;
}


.event-location {

    margin-top:
        6px;

    color:
        var(--text-muted);

    font-size:
        10px;

    letter-spacing:
        .05em;
}


/* ============================================================
   EVENT BUTTON
============================================================ */

.event-more {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    padding:
        12px 16px;

    border:
        1px solid
        rgba(80,140,255,.2);

    border-radius:
        100px;

    background:
        rgba(15,45,90,.18);

    color:
        white;

    font-family:
        inherit;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .12em;

    cursor:
        pointer;

    transition:
        background .4s var(--transition),
        transform .4s var(--transition);
}


.event-more span {

    color:
        var(--blue-bright);

    font-size:
        13px;
}


.event-more:hover {

    transform:
        translateY(-3px);

    background:
        rgba(35,116,255,.25);
}


/* ============================================================
   PAST EVENTS
============================================================ */

.past-empty {

    min-height:
        220px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        24px;

    border:
        1px solid
        rgba(255,255,255,.06);

    background:
        rgba(5,12,23,.4);

    text-align:
        center;
}


.past-line {

    width:
        45px;

    height:
        1px;

    margin-bottom:
        25px;

    background:
        var(--blue-bright);

    box-shadow:
        0 0 15px
        rgba(35,116,255,.7);
}


.past-empty p {

    color:
        #738096;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .25em;
}


.past-empty span {

    margin-top:
        12px;

    color:
        #39455a;

    font-size:
        9px;

    letter-spacing:
        .15em;
}


/* ============================================================
   CTA
============================================================ */

.event-cta {

    min-height:
        500px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    padding:
        100px 20px 180px;
}


.event-cta > p {

    margin-bottom:
        25px;

    color:
        var(--blue-bright);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .3em;
}


.event-cta h2 {

    font-size:
        clamp(
            3.5rem,
            9vw,
            8rem
        );

    line-height:
        .85;

    font-weight:
        900;

    letter-spacing:
        -.07em;

    background:

        linear-gradient(
            180deg,
            white,
            #728fbd
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;
}


.cta-button {

    margin-top:
        40px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        18px;

    padding:
        16px 23px;

    border-radius:
        100px;

    color:
        white;

    text-decoration:
        none;

    background:

        linear-gradient(
            135deg,
            #1758bd,
            #2478ff
        );

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .15em;

    box-shadow:
        0 15px 50px
        rgba(20,95,220,.25);

    transition:
        transform .5s var(--transition),
        box-shadow .5s var(--transition);
}


.cta-button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 60px
        rgba(20,95,220,.4);
}


/* ============================================================
   EVENT MODAL
============================================================ */

.event-modal {

    position:
        fixed;

    inset:
        0;

    z-index:
        500;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        25px;

    opacity:
        0;

    visibility:
        hidden;

    transition:
        opacity .5s var(--transition),
        visibility .5s;
}


.event-modal.active {

    opacity:
        1;

    visibility:
        visible;
}


.modal-backdrop {

    position:
        absolute;

    inset:
        0;

    background:
        rgba(0,3,9,.78);

    backdrop-filter:
        blur(20px);
}


.modal-window {

    position:
        relative;

    z-index:
        2;

    width:
        min(
            700px,
            100%
        );

    padding:
        55px;

    border-radius:
        30px;

    border:
        1px solid
        rgba(140,180,240,.2);

    background:

        linear-gradient(
            135deg,
            rgba(10,25,48,.95),
            rgba(3,8,17,.97)
        );

    backdrop-filter:
        blur(40px);

    box-shadow:
        0 50px 150px
        rgba(0,0,0,.7);

    transform:
        translateY(30px)
        scale(.96);

    transition:
        transform .6s var(--transition);
}


.event-modal.active
.modal-window {

    transform:
        translateY(0)
        scale(1);
}


.modal-close {

    position:
        absolute;

    top:
        18px;

    right:
        18px;

    width:
        42px;

    height:
        42px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        50%;

    background:
        rgba(2,7,15,.65);

    color:
        white;

    font-size:
        23px;

    cursor:
        pointer;

    transition:
        transform .4s var(--transition),
        background .4s var(--transition);
}


.modal-close:hover {

    transform:
        rotate(90deg);

    background:
        rgba(35,116,255,.35);
}


.modal-top {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding-right:
        45px;
}


.modal-type {

    color:
        var(--blue-bright);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .2em;
}


.modal-date {

    color:
        #66748b;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .15em;
}


.modal-window h2 {

    margin-top:
        25px;

    max-width:
        550px;

    font-size:
        clamp(
            3rem,
            7vw,
            5.5rem
        );

    line-height:
        .87;

    font-weight:
        900;

    letter-spacing:
        -.07em;
}


.modal-divider {

    width:
        100%;

    height:
        1px;

    margin:
        35px 0;

    background:
        rgba(255,255,255,.08);
}


.modal-details {

    display:
        grid;

    grid-template-columns:
        1fr
        1fr;

    gap:
        30px;
}


.modal-details span {

    color:
        #59667c;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .2em;
}


.modal-details p {

    margin-top:
        8px;

    color:
        white;

    font-size:
        13px;

    font-weight:
        600;
}


.modal-description {

    max-width:
        550px;

    margin-top:
        30px;

    color:
        var(--text-muted);

    font-size:
        12px;

    line-height:
        1.8;
}


.modal-button {

    width:
        fit-content;

    margin-top:
        30px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        15px;

    padding:
        14px 19px;

    border-radius:
        100px;

    background:
        rgba(35,116,255,.18);

    border:
        1px solid
        rgba(80,140,255,.25);

    color:
        white;

    text-decoration:
        none;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        .15em;

    transition:
        background .4s var(--transition),
        transform .4s var(--transition);
}


.modal-button span {

    color:
        var(--blue-bright);

    font-size:
        13px;
}


.modal-button:hover {

    transform:
        translateY(-3px);

    background:
        rgba(35,116,255,.3);
}


/* ============================================================
   DOCK
============================================================ */

.dock {
    position: fixed;

    z-index: 100;

    left: 50%;
    bottom: 22px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 8px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(13, 30, 56, 0.78),
            rgba(2, 7, 15, 0.82)
        );

    border: 1px solid rgba(130, 170, 230, 0.18);

    backdrop-filter: blur(35px) saturate(140%);

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


.dock-item {
    position: relative;

    min-width: 58px;
    height: 54px;

    padding: 0 13px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 17px;

    color: #7f8da4;

    text-decoration: none;

    transition:
        color 0.45s var(--transition),
        background 0.45s var(--transition),
        transform 0.45s var(--transition);
}


.dock-icon {
    font-size: 20px;

    line-height: 1;
}


/*.dock-label {
    display: none;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}
*/

.dock-item:hover {
    color: white;

    transform: translateY(-4px);
}


.dock-item.active {
    color: white;

    background:
        linear-gradient(
            135deg,
            rgba(35, 116, 255, 0.35),
            rgba(15, 45, 85, 0.5)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 30px rgba(35, 116, 255, 0.12);
}

/* ============================================================
   FOOTER
============================================================ */

footer {

    width:
        min(
            1200px,
            calc(100% - 50px)
        );

    margin:
        0 auto;

    padding:
        50px 0 150px;

    border-top:
        1px solid
        rgba(255,255,255,.06);

    text-align:
        center;

    color:
        #566176;

    font-size:
        10px;

    letter-spacing:
        .08em;

    line-height:
        2;
}


.footer-logo {

    margin-bottom:
        15px;

    color:
        rgba(255,255,255,.75);

    font-size:
        18px;

    font-weight:
        800;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 850px) {

    .event-row {

        grid-template-columns:
            120px
            1fr;

    }


    .event-more {

        grid-column:
            2;

        width:
            fit-content;

    }


    .modal-window {

        padding:
            45px;

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    main {

        width:
            calc(100% - 30px);

    }


    .page-header {

        min-height:
            60vh;

        padding:
            110px 15px 70px;

    }


    .header-description {

        font-size:
            12px;

    }


    .next-event-section,
    .upcoming-section,
    .past-section {

        padding:
            60px 0 100px;

    }


    .event-empty {

        padding:
            35px 20px;

    }


    .event-empty h2 {

        font-size:
            2.8rem;

    }


    .event-row {

        grid-template-columns:
            1fr;

        gap:
            15px;

        padding:
            25px;

    }


    .event-more {

        grid-column:
            auto;

    }


    .event-date strong {

        font-size:
            38px;

    }


    .event-cta {

        min-height:
            400px;

        padding:
            70px 10px 130px;

    }


    .event-modal {

        padding:
            12px;

    }


    .modal-window {

        padding:
            30px;

        border-radius:
            22px;

    }


    .modal-top {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            10px;

    }


    .modal-window h2 {

        font-size:
            2.8rem;

    }


    .modal-details {

        grid-template-columns:
            1fr;

        gap:
            20px;

    }


    .dock {

        width:
            calc(100% - 24px);

        bottom:
            12px;

        padding:
            6px;

        border-radius:
            20px;

        justify-content:
            space-between;

    }


    .dock-item {

        width:
            100%;

        min-width:
            0;

        height:
            50px;

        padding:
            0;

    }


    .dock-icon {

        font-size:
            18px;

    }

	.dock-label {
		display: none;

	}


    footer {

        width:
            calc(100% - 30px);

        padding-bottom:
            110px;

    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;

    }

}