/* =========================================================
   EXANTICX STUDIO — COLOR THEME
   ========================================================= */

:root {
    /* Backgrounds */
    --bg-main: #071321;
    --bg-dark: #040b13;
    --bg-card: #0b1c2d;
    --bg-card-light: #10283d;

    /* Exanticx blues */
    --blue: #159fe5;
    --blue-light: #36bdf5;
    --blue-bright: #5bd1ff;
    --blue-dark: #0876b5;

    /* Text */
    --white: #ffffff;
    --text: #d8e7f2;
    --muted: #7993a8;

    /* Borders */
    --border: rgba(91, 209, 255, 0.16);

    /* Glow */
    --glow: rgba(21, 159, 229, 0.32);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(21, 159, 229, .10),
            transparent 35%
        ),
        var(--bg-main);

    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;
}

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

button {
    font: inherit;
}

img {
    display: block;
    width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 95px;

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

    padding: 0 55px;

    z-index: 1000;

    transition:
        background .35s ease,
        height .35s ease,
        backdrop-filter .35s ease,
        border-color .35s ease;
}

.header.scrolled {
    height: 75px;

    background: rgba(4, 11, 19, .88);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 22px;
    font-weight: 900;

    letter-spacing: -1px;
    text-transform: uppercase;

    color: var(--white);
}

.logo span {
    color: var(--blue-light);
    opacity: 1;
}

.nav {
    display: flex;
    align-items: center;

    gap: 42px;
}

.nav a {
    position: relative;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.3px;
    text-transform: uppercase;

    color: #e6f5ff;

    transition: color .25s ease;
}

.nav a:hover {
    color: var(--blue-light);
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--blue-light);

    box-shadow: 0 0 12px var(--blue);

    transition: width .25s ease;
}

.nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background: var(--bg-dark);
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,11,19,.94) 0%,
            rgba(4,11,19,.62) 37%,
            rgba(4,11,19,.16) 75%
        ),

        linear-gradient(
            0deg,
            var(--bg-main) 0%,
            rgba(7,19,33,.15) 45%
        ),

        url("https://exanticxstudio.com/uploads/images/Banniere_finale_Principale_1232-706.png")
        center / cover no-repeat;

    transform: scale(1.03);

    transition: transform 8s ease;
}

.hero:hover .hero-background {
    transform: scale(1.09);
}


/* BLUE LIGHT */

.hero::before {
    content: "";

    position: absolute;

    width: 800px;
    height: 800px;

    left: -350px;
    bottom: -350px;

    background: radial-gradient(
        circle,
        rgba(21,159,229,.20),
        transparent 65%
    );

    z-index: 1;

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    padding:
        0
        clamp(25px, 7vw, 120px)
        10vh;
}

.hero-label {
    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: var(--blue-light);
}

.hero-title {
    max-width: 1050px;

    font-size: clamp(65px, 9vw, 155px);

    line-height: .82;

    letter-spacing: -7px;

    text-transform: uppercase;

    font-weight: 950;

    color: var(--white);

    text-shadow:
        0 10px 50px rgba(0,0,0,.5);
}

.hero-description {
    max-width: 580px;

    margin-top: 35px;

    font-size: clamp(17px, 1.5vw, 22px);

    line-height: 1.5;

    color: var(--text);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0 29px;

    border-radius: 100px;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;

    border: 1px solid var(--border);

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--blue-light),
            var(--blue)
        );

    color: white;

    border-color: transparent;

    box-shadow:
        0 10px 35px rgba(21,159,229,.25);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 45px rgba(21,159,229,.45);
}

.btn-secondary {
    background: rgba(7, 19, 33, .50);

    color: white;

    backdrop-filter: blur(12px);

    border-color: rgba(255,255,255,.18);
}

.btn-secondary:hover {
    transform: translateY(-3px);

    background: var(--blue);

    border-color: var(--blue);

    box-shadow:
        0 10px 35px var(--glow);
}


/* =========================================================
   SCROLL
========================================================= */

.scroll-indicator {
    position: absolute;

    right: 55px;
    bottom: 50px;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 15px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--blue-light);

    transform: rotate(90deg);
    transform-origin: right bottom;
}

.scroll-indicator::after {
    content: "";

    width: 65px;
    height: 1px;

    background: var(--blue-light);

    box-shadow:
        0 0 10px var(--blue-light);
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    min-height: 85vh;

    display: flex;
    align-items: center;

    padding:
        140px
        clamp(25px, 7vw, 120px);

    position: relative;

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(21,159,229,.10),
            transparent 35%
        ),
        var(--bg-main);
}

.intro-inner {
    max-width: 1350px;
}

.section-label {
    margin-bottom: 35px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 4px;
    text-transform: uppercase;

    color: var(--blue-light);
}

.intro h2 {
    max-width: 1250px;

    font-size: clamp(50px, 7vw, 115px);

    line-height: .95;

    letter-spacing: -5px;

    text-transform: uppercase;
}

.intro h2 span {
    color: var(--blue);
}

.intro-bottom {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    margin-top: 80px;
}

.intro-description {
    max-width: 550px;

    font-size: 20px;
    line-height: 1.6;

    color: var(--muted);
}

.studio-number {
    display: flex;

    gap: 60px;
}

.stat strong {
    display: block;

    font-size: 55px;

    line-height: 1;

    color: var(--blue-light);

    text-shadow:
        0 0 30px rgba(21,159,229,.25);
}

.stat span {
    display: block;

    margin-top: 10px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--muted);
}


/* =========================================================
   GAMES
========================================================= */

.games {
    padding: 100px 0 0;

    background: var(--bg-dark);
}

.games-heading {
    padding:
        0
        clamp(25px, 7vw, 120px);

    margin-bottom: 60px;
}

.games-heading h2 {
    font-size: clamp(55px, 8vw, 130px);

    line-height: .9;

    letter-spacing: -6px;

    text-transform: uppercase;
}


/* =========================================================
   GAME PANEL
========================================================= */

.game-panel {
    position: relative;

    min-height: 92vh;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    border-top: 1px solid var(--border);
}

.game-panel-background {
    position: absolute;

    inset: 0;

    background-size: cover;
    background-position: center;

    transition:
        transform 1.2s cubic-bezier(.2,.8,.2,1),
        filter .6s ease;

    transform: scale(1.01);
}

.game-panel:hover .game-panel-background {
    transform: scale(1.05);
}

.game-panel::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(4,11,19,.98),
            rgba(4,11,19,.05) 75%
        ),

        linear-gradient(
            90deg,
            rgba(4,11,19,.72),
            transparent 65%
        );
}

.game-mart .game-panel-background {
    background-image:
        url("https://exanticxstudio.com/uploads/images/Banniere_finale_Principale_1232-706.png");
}

.game-chaos .game-panel-background {
    background-image:
        url("https://exanticxstudio.com/uploads/images/capsuleprincipale1232_706.png");
}

.game-content {
    position: relative;

    z-index: 5;

    width: 100%;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    padding:
        80px
        clamp(25px, 7vw, 120px);
}

.game-info {
    max-width: 900px;
}

.game-number {
    margin-bottom: 18px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 3px;

    color: var(--blue-light);
}

.game-title {
    font-size: clamp(55px, 8vw, 125px);

    line-height: .82;

    letter-spacing: -6px;

    text-transform: uppercase;

    text-shadow:
        0 10px 50px rgba(0,0,0,.65);
}

.game-description {
    max-width: 620px;

    margin-top: 30px;

    font-size: 18px;
    line-height: 1.6;

    color: var(--text);
}

.game-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.game-tag {
    padding: 9px 14px;

    border: 1px solid rgba(91,209,255,.3);

    border-radius: 100px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #dff6ff;

    background:
        rgba(21,159,229,.10);

    backdrop-filter: blur(12px);
}

.game-arrow {
    width: 85px;
    height: 85px;

    flex: 0 0 auto;

    border-radius: 50%;

    display: flex;

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

    background:
        linear-gradient(
            135deg,
            var(--blue-light),
            var(--blue)
        );

    color: white;

    font-size: 34px;

    box-shadow:
        0 10px 35px rgba(21,159,229,.35);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.game-panel:hover .game-arrow {
    transform:
        rotate(-45deg)
        scale(1.08);

    box-shadow:
        0 15px 50px rgba(21,159,229,.55);
}


/* =========================================================
   MANIFESTO
========================================================= */

.manifesto {
    position: relative;

    min-height: 90vh;

    display: flex;

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

    padding: 100px 30px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(21,159,229,.15),
            transparent 42%
        ),
        var(--bg-main);
}

#particles {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}

.manifesto-content {
    position: relative;

    z-index: 2;

    text-align: center;
}

.manifesto h2 {
    font-size: clamp(55px, 9vw, 150px);

    line-height: .84;

    letter-spacing: -7px;

    text-transform: uppercase;
}

.manifesto h2 span {
    display: block;

    color: var(--blue-light);

    text-shadow:
        0 0 50px rgba(21,159,229,.18);
}

.manifesto p {
    max-width: 620px;

    margin: 40px auto 0;

    font-size: 18px;
    line-height: 1.7;

    color: var(--muted);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    padding:
        150px
        clamp(25px, 7vw, 120px);

    background:
        linear-gradient(
            135deg,
            #eaf8ff,
            #cceeff
        );

    color: #06131e;
}

.about .section-label {
    color: var(--blue-dark);
}

.about-grid {
    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    gap: 100px;

    max-width: 1500px;

    margin: auto;
}

.about h2 {
    font-size: clamp(60px, 8vw, 125px);

    line-height: .85;

    letter-spacing: -6px;

    text-transform: uppercase;

    color: #071725;
}

.about-text {
    align-self: end;
}

.about-text p {
    max-width: 700px;

    font-size: clamp(19px, 2vw, 27px);

    line-height: 1.5;

    color: #315064;
}

.about-text .btn {
    margin-top: 35px;

    background:
        linear-gradient(
            135deg,
            var(--blue-light),
            var(--blue)
        );

    color: white;

    border-color: transparent;

    box-shadow:
        0 10px 30px rgba(21,159,229,.25);
}


/* =========================================================
   NEWS
========================================================= */

.news {
    padding:
        150px
        clamp(25px, 7vw, 120px);

    background: var(--bg-main);
}

.news-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 65px;
}

.news-header h2 {
    font-size: clamp(55px, 7vw, 110px);

    line-height: .9;

    letter-spacing: -5px;

    text-transform: uppercase;
}

.news-grid {
    display: grid;

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

    gap: 25px;
}

.news-card {
    cursor: pointer;

    padding-bottom: 25px;

    border-bottom:
        1px solid var(--border);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.news-card:hover {
    transform: translateY(-7px);

    border-color: var(--blue);
}

.news-image {
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--bg-card);

    border-radius: 4px;
}

.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-date {
    margin-top: 22px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--blue-light);
}

.news-card h3 {
    margin-top: 12px;

    font-size: 25px;
    line-height: 1.15;

    color: var(--white);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding:
        100px
        clamp(25px, 7vw, 120px)
        50px;

    border-top:
        1px solid var(--border);

    background:
        radial-gradient(
            circle at 10% 100%,
            rgba(21,159,229,.15),
            transparent 35%
        ),
        #030a11;
}

.footer-logo {
    font-size:
        clamp(55px, 10vw, 170px);

    font-weight: 950;

    line-height: .8;

    letter-spacing: -8px;

    text-transform: uppercase;

    background:
        linear-gradient(
            120deg,
            #ffffff 30%,
            var(--blue-light)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.footer-bottom {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-top: 100px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 25px;
}

.footer-links a {
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: var(--muted);

    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--blue-light);
}

.copyright {
    font-size: 11px;

    color: #496276;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(60px);

    transition:
        opacity .9s
        cubic-bezier(.2,.8,.2,1),

        transform .9s
        cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   TEXT SELECTION
========================================================= */

::selection {
    background: var(--blue);
    color: white;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-dark);

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 900px) {

    .header {
        height: 75px;

        padding:
            0
            22px;
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 10px;
    }

    .nav a:nth-child(2),
    .nav a:nth-child(3) {
        display: none;
    }

    .hero-title,
    .game-title,
    .intro h2,
    .manifesto h2,
    .about h2,
    .footer-logo {
        letter-spacing: -3px;
    }

    .intro-bottom {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .game-content {
        align-items: flex-end;
    }

    .game-arrow {
        width: 60px;
        height: 60px;

        font-size: 25px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .news-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .scroll-indicator {
        display: none;
    }

}


@media(max-width: 600px) {

    .hero-content {
        padding-bottom: 70px;
    }

    .hero-title {
        font-size: 58px;

        line-height: .88;
    }

    .hero-description {
        font-size: 16px;
    }

    .intro {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .intro h2 {
        font-size: 48px;
    }

    .studio-number {
        gap: 30px;
    }

    .stat strong {
        font-size: 40px;
    }

    .game-panel {
        min-height: 75vh;
    }

    .game-content {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .game-title {
        font-size: 52px;
    }

    .game-description {
        font-size: 15px;
    }

    .game-arrow {
        display: none;
    }

    .manifesto h2 {
        font-size: 52px;
    }

}

/* =========================================================
   GAME BUTTONS
========================================================= */

.game-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;
}

.game-btn {
    min-height: 54px;

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

    gap: 18px;

    padding: 0 25px;

    border-radius: 100px;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* WEBSITE */

.game-btn-primary {
    background: linear-gradient(
        135deg,
        var(--blue-light),
        var(--blue)
    );

    color: white;

    border: 1px solid transparent;

    box-shadow:
        0 10px 30px rgba(21, 159, 229, .25);
}

.game-btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(21, 159, 229, .45);
}


/* STEAM */

.game-btn-secondary {
    background: rgba(7, 19, 33, .6);

    color: white;

    border: 1px solid rgba(255,255,255,.25);

    backdrop-filter: blur(12px);
}

.game-btn-secondary:hover {
    transform: translateY(-3px);

    background: rgba(21, 159, 229, .2);

    border-color: var(--blue-light);
}


/* ARROWS */

.game-btn span {
    font-size: 18px;

    transition: transform .25s ease;
}

.game-btn:hover span {
    transform: translateX(4px);
}


/* MOBILE */

@media(max-width: 600px) {

    .game-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .game-btn {
        width: 100%;
    }

}