/* ============================================================
   KICKSTORM — NEWS
============================================================ */

:root {

    --black: #020307;
    --black-soft: #050914;

    --blue-dark: #071426;
    --blue: #123a72;
    --blue-bright: #2374ff;

    --white: #ffffff;
    --white-soft: #dce3ef;
    --text-muted: #8792a6;

    --glass: rgba(8, 18, 35, 0.62);

    --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
============================================================ */

.featured-section,
.news-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;
}


/* ============================================================
   FEATURED NEWS
============================================================ */

.featured-news {

    display:
        grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    min-height:
        550px;

    overflow:
        hidden;

    border-radius:
        var(--radius-large);

    background:

        linear-gradient(
            135deg,
            rgba(12, 28, 53, 0.78),
            rgba(3, 8, 17, 0.72)
        );

    border:
        1px solid
        var(--glass-border);

    backdrop-filter:
        blur(30px);

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.35);
}


.featured-image {

    position:
        relative;

    overflow:
        hidden;
}


.featured-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    display:
        block;

    transition:
        transform
        1.2s
        var(--transition);
}


.featured-news:hover
.featured-image img {

    transform:
        scale(1.05);
}


.featured-overlay {

    position:
        absolute;

    inset:
        0;

    background:

        linear-gradient(
            90deg,
            transparent 40%,
            rgba(3, 8, 17, 0.75)
        );
}


.featured-tag {

    position:
        absolute;

    top:
        25px;

    left:
        25px;

    padding:
        8px 12px;

    border-radius:
        100px;

    background:
        rgba(5, 15, 30, 0.65);

    border:
        1px solid
        rgba(255,255,255,0.1);

    backdrop-filter:
        blur(15px);

    color:
        white;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        0.15em;
}


/* ============================================================
   FEATURED CONTENT
============================================================ */

.featured-content {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        55px;
}


.news-date {

    color:
        var(--blue-bright);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        0.2em;
}


.featured-content h2 {

    margin-top:
        20px;

    font-size:
        clamp(
            3rem,
            5vw,
            5rem
        );

    line-height:
        0.9;

    font-weight:
        900;

    letter-spacing:
        -0.07em;
}


.featured-content > p:not(.news-date) {

    max-width:
        430px;

    margin-top:
        25px;

    color:
        var(--text-muted);

    font-size:
        13px;

    line-height:
        1.8;
}


/* ============================================================
   BUTTONS
============================================================ */

.read-button {

    width:
        fit-content;

    margin-top:
        35px;

    padding:
        14px 19px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        15px;

    border:
        1px solid
        rgba(80, 140, 255, 0.3);

    border-radius:
        100px;

    background:
        rgba(20, 70, 140, 0.2);

    color:
        white;

    font-family:
        inherit;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        0.15em;

    cursor:
        pointer;

    transition:
        transform .5s var(--transition),
        background .5s var(--transition),
        box-shadow .5s var(--transition);
}


.read-button:hover {

    transform:
        translateY(-4px);

    background:
        rgba(35, 116, 255, 0.3);

    box-shadow:
        0 15px 40px
        rgba(35, 116, 255, 0.2);
}


.read-button span {

    color:
        var(--blue-bright);

    font-size:
        14px;
}


/* ============================================================
   NEWS GRID
============================================================ */

.news-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        18px;
}


/* ============================================================
   NEWS CARD
============================================================ */

.news-card {

    overflow:
        hidden;

    border-radius:
        var(--radius-large);

    background:

        linear-gradient(
            145deg,
            rgba(10, 25, 48, 0.7),
            rgba(3, 8, 17, 0.7)
        );

    border:
        1px solid
        rgba(130, 170, 230, 0.13);

    backdrop-filter:
        blur(25px);

    transition:
        transform .7s var(--transition),
        border-color .7s var(--transition),
        box-shadow .7s var(--transition);
}


.news-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(60, 130, 255, 0.32);

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.4);
}


/* ============================================================
   NEWS IMAGE
============================================================ */

.news-image {

    position:
        relative;

    aspect-ratio:
        16 / 10;

    overflow:
        hidden;
}


.news-image img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    transition:
        transform
        1s
        var(--transition);
}


.news-card:hover
.news-image img {

    transform:
        scale(1.06);
}


.news-category {

    position:
        absolute;

    top:
        18px;

    left:
        18px;

    padding:
        7px 10px;

    border-radius:
        100px;

    background:
        rgba(3, 9, 20, 0.7);

    border:
        1px solid
        rgba(255,255,255,0.1);

    backdrop-filter:
        blur(12px);

    font-size:
        7px;

    font-weight:
        700;

    letter-spacing:
        0.15em;
}


/* ============================================================
   NEWS CARD CONTENT
============================================================ */

.news-card-content {

    padding:
        27px;
}


.news-card-content h3 {

    margin-top:
        15px;

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.7rem
        );

    line-height:
        0.95;

    font-weight:
        800;

    letter-spacing:
        -0.055em;
}


.news-card-content > p:not(.news-date) {

    margin-top:
        15px;

    color:
        var(--text-muted);

    font-size:
        11px;

    line-height:
        1.7;
}


/* ============================================================
   TEXT BUTTON
============================================================ */

.text-button {

    margin-top:
        25px;

    padding:
        0;

    border:
        none;

    background:
        none;

    color:
        white;

    font-family:
        inherit;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        0.15em;

    cursor:
        pointer;

    transition:
        color .4s var(--transition);
}


.text-button span {

    margin-left:
        10px;

    color:
        var(--blue-bright);

    transition:
        margin-left .4s var(--transition);
}


.text-button:hover {

    color:
        var(--blue-bright);
}


.text-button:hover span {

    margin-left:
        17px;
}


/* ============================================================
   NEWS MODAL
============================================================ */

.news-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;
}


.news-modal.active {

    opacity:
        1;

    visibility:
        visible;
}


/* ============================================================
   MODAL BACKDROP
============================================================ */

.modal-backdrop {

    position:
        absolute;

    inset:
        0;

    background:
        rgba(0, 3, 9, 0.78);

    backdrop-filter:
        blur(20px);
}


/* ============================================================
   MODAL WINDOW
============================================================ */

.modal-window {

    position:
        relative;

    z-index:
        2;

    width:
        min(
            950px,
            100%
        );

    max-height:
        90vh;

    overflow:
        hidden;

    display:
        grid;

    grid-template-columns:
        0.85fr
        1fr;

    border-radius:
        30px;

    background:

        linear-gradient(
            135deg,
            rgba(10, 25, 48, 0.94),
            rgba(3, 8, 17, 0.96)
        );

    border:
        1px solid
        rgba(140, 180, 240, 0.2);

    backdrop-filter:
        blur(40px);

    box-shadow:
        0 50px 150px
        rgba(0, 0, 0, 0.7);

    transform:
        translateY(30px)
        scale(.96);

    transition:
        transform .6s var(--transition);
}


.news-modal.active
.modal-window {

    transform:
        translateY(0)
        scale(1);
}


/* ============================================================
   MODAL IMAGE
============================================================ */

.modal-image {

    min-height:
        500px;
}


.modal-image img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;
}


/* ============================================================
   MODAL CONTENT
============================================================ */

.modal-content {

    overflow-y:
        auto;

    padding:
        55px;
}


.modal-category {

    color:
        var(--blue-bright);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        0.2em;
}


.modal-date {

    margin-top:
        8px;

    color:
        #66748b;

    font-size:
        8px;

    font-weight:
        600;

    letter-spacing:
        0.15em;
}


.modal-content h2 {

    margin-top:
        25px;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    line-height:
        .9;

    font-weight:
        900;

    letter-spacing:
        -.065em;
}


.modal-text {

    margin-top:
        30px;

    color:
        var(--text-muted);

    font-size:
        13px;

    line-height:
        1.9;
}


.modal-text p + p {

    margin-top:
        18px;
}


/* ============================================================
   CLOSE BUTTON
============================================================ */

.modal-close {

    position:
        absolute;

    z-index:
        5;

    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);

    backdrop-filter:
        blur(15px);

    color:
        white;

    font-size:
        23px;

    line-height:
        1;

    cursor:
        pointer;

    transition:
        transform .4s var(--transition),
        background .4s var(--transition);
}


.modal-close:hover {

    transform:
        rotate(90deg);

    background:
        rgba(35,116,255,.35);
}


/* ============================================================
   CTA
============================================================ */

.news-cta {

    min-height:
        500px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    padding:
        100px 20px 180px;
}


.news-cta > p {

    margin-bottom:
        25px;

    color:
        var(--blue-bright);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .3em;
}


.news-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);
}


/* ============================================================
   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) {

    .featured-news {

        grid-template-columns:
            1fr;

    }


    .featured-image {

        aspect-ratio:
            16 / 10;

    }


    .featured-content {

        padding:
            40px;

    }


    .modal-window {

        grid-template-columns:
            1fr;

    }


    .modal-image {

        min-height:
            280px;

        max-height:
            350px;

    }


    .modal-content {

        max-height:
            45vh;

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    main {

        width:
            calc(100% - 30px);

    }


    .page-header {

        min-height:
            60vh;

        padding:
            110px 15px 70px;

    }


    .header-description {

        font-size:
            12px;

    }


    .featured-section,
    .news-section {

        padding:
            60px 0 100px;

    }


    .featured-news {

        border-radius:
            22px;

    }


    .featured-content {

        padding:
            30px;

    }


    .featured-content h2 {

        font-size:
            3rem;

    }


    .news-grid {

        grid-template-columns:
            1fr;

    }


    .news-card-content {

        padding:
            22px;

    }


    .news-cta {

        min-height:
            400px;

        padding:
            70px 10px 130px;

    }


    .news-modal {

        padding:
            12px;

    }


    .modal-window {

        max-height:
            94vh;

        border-radius:
            22px;

    }


    .modal-image {

        min-height:
            220px;

        max-height:
            250px;

    }


    .modal-content {

        padding:
            30px;

    }


    .modal-content h2 {

        font-size:
            2.5rem;

    }


    .modal-text {

        font-size:
            12px;

    }


    .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;

    }

}