/* =========================================================
   JOVARYN GAMES
   Official Studio Website
   Version 1.0
========================================================= */


/* =========================
   VARIABLES
========================= */

:root {
    --background: #070a0f;
    --background-2: #0b1018;
    --background-3: #101720;

    --card: #111925;
    --card-hover: #16202d;

    --text: #f5f7fa;
    --text-2: #a4aebb;
    --muted: #717d8c;

    --green: #7cff4f;
    --green-light: #a5ff84;
    --green-dark: #45c62a;

    --blue: #42a5ff;
    --purple: #9b72ff;
    --orange: #ff9b4b;

    --border: rgba(255, 255, 255, 0.09);
    --green-border: rgba(124, 255, 79, 0.28);

    --header-background: rgba(7, 10, 15, 0.86);

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.3);

    --radius: 18px;

    --container: 1200px;

    --transition: 0.3s ease;
}


/* =========================
   LIGHT THEME
========================= */

body.light-theme {
    --background: #f4f7fb;
    --background-2: #ffffff;
    --background-3: #edf2f7;

    --card: #ffffff;
    --card-hover: #f5f8fb;

    --text: #121923;
    --text-2: #566372;
    --muted: #788493;

    --border: rgba(0, 0, 0, 0.09);

    --header-background:
        rgba(244, 247, 251, 0.9);

    --shadow:
        0 20px 60px rgba(20, 40, 70, 0.12);
}


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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;

    background: var(--background);
    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

    transition:
        background var(--transition),
        color var(--transition);
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
    border: none;
}

ul {
    list-style: none;
}

::selection {
    background: var(--green);
    color: #071006;
}


/* =========================
   GENERAL
========================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    scroll-margin-top: 75px;
}

.section-heading {
    max-width: 680px;

    margin:
        0
        auto
        55px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--green);

    font-size: 0.74rem;
    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.section-heading h2,
.about-content h2,
.vision-content h2 {
    color: var(--text);

    font-size:
        clamp(2.2rem, 5vw, 4rem);

    line-height: 1.08;

    letter-spacing: -0.04em;
}

.section-heading h2 span,
.about-content h2 span,
.vision-content h2 span {
    color: var(--green);
}

.section-heading p {
    margin-top: 18px;

    color: var(--text-2);

    line-height: 1.8;
}


/* =========================
   LOADER
========================= */

.loader {
    position: fixed;

    inset: 0;

    display: grid;
    place-items: center;

    background: #070a0f;

    z-index: 10000;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    width: min(85%, 350px);

    text-align: center;
}

.loader-logo {
    color: white;

    font-size: 2rem;
    font-weight: 950;

    letter-spacing: 0.06em;
}

.loader-logo span {
    color: var(--green);
}

.loader-track {
    height: 5px;

    margin-top: 22px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.08);

    border-radius: 999px;
}

.loader-bar {
    width: 45%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--green),
            var(--blue),
            transparent
        );

    animation:
        loaderAnimation
        1.1s
        linear
        infinite;
}

.loader p {
    margin-top: 12px;

    color: #7b8694;

    font-size: 0.75rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


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

.scroll-progress {
    position: fixed;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--green),
            var(--blue)
        );

    box-shadow:
        0 0 15px rgba(124, 255, 79, 0.45);

    z-index: 9999;
}


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

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    border-bottom:
        1px solid transparent;

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.header.scrolled {
    background:
        var(--header-background);

    border-bottom-color:
        var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.15);
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    width: min(94%, 1280px);

    min-height: 76px;

    margin: 0 auto;

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

    gap: 30px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 950;

    letter-spacing: 0.05em;

    white-space: nowrap;
}

.logo span {
    color: var(--green);
}

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

    gap: 5px;
}

.nav-link {
    position: relative;

    display: block;

    padding:
        10px
        14px;

    color: var(--text-2);

    font-size: 0.9rem;
    font-weight: 650;

    border-radius: 9px;

    transition:
        color var(--transition),
        background var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 2px;

    background: var(--green);

    border-radius: 999px;

    transform:
        translateX(-50%);

    transition:
        width var(--transition);
}

.nav-link:hover {
    color: var(--text);

    background:
        rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--green);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 28px;
}

.nav-actions {
    display: flex;

    gap: 9px;
}


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

.theme-toggle,
.menu-toggle {
    width: 43px;
    height: 43px;

    background:
        rgba(255, 255, 255, 0.045);

    color: var(--text);

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

    border-radius: 11px;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.theme-toggle {
    display: grid;
    place-items: center;
}

.theme-toggle:hover,
.menu-toggle:hover {
    transform:
        translateY(-2px);

    background:
        rgba(124, 255, 79, 0.07);

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

.menu-toggle {
    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;

    background: var(--text);

    border-radius: 999px;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


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

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding:
        125px
        0
        80px;

    overflow: hidden;

    isolation: isolate;
}

.hero-background {
    position: absolute;

    inset: 0;

    z-index: -2;

    overflow: hidden;
}

.grid-background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size:
        52px
        52px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}

.glow {
    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.13;

    animation:
        glowFloat
        10s
        ease-in-out
        infinite;
}

.glow-one {
    top: -170px;
    right: -130px;

    background: var(--green);
}

.glow-two {
    bottom: -230px;
    left: -170px;

    background: var(--blue);

    animation-delay: -4s;
}

.pixel {
    position: absolute;

    width: 15px;
    height: 15px;

    border:
        2px solid
        rgba(124, 255, 79, 0.4);

    transform:
        rotate(45deg);

    animation:
        pixelFloat
        7s
        ease-in-out
        infinite;
}

.pixel-one {
    top: 24%;
    left: 8%;
}

.pixel-two {
    top: 18%;
    right: 12%;

    width: 10px;
    height: 10px;

    animation-delay: -2s;
}

.pixel-three {
    bottom: 22%;
    left: 15%;

    border-color:
        rgba(66, 165, 255, 0.4);

    animation-delay: -4s;
}

.pixel-four {
    right: 8%;
    bottom: 16%;

    animation-delay: -5s;
}

.hero-container {
    width: min(92%, var(--container));

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(330px, 0.9fr);

    align-items: center;

    gap: 65px;
}

.hero-badge {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 9px;

    padding:
        8px
        13px;

    margin-bottom: 24px;

    background:
        rgba(124, 255, 79, 0.065);

    color: var(--green);

    border:
        1px solid
        rgba(124, 255, 79, 0.18);

    border-radius: 999px;

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.hero-badge > span {
    width: 7px;
    height: 7px;

    background: var(--green);

    border-radius: 50%;

    box-shadow:
        0 0 13px
        rgba(124, 255, 79, 0.7);

    animation:
        pulse
        2s
        ease-in-out
        infinite;
}

.hero-content h1 {
    display: flex;
    flex-direction: column;

    color: var(--text);

    font-size:
        clamp(3.8rem, 8vw, 7.6rem);

    font-weight: 950;

    line-height: 0.9;

    letter-spacing: -0.055em;
}

.hero-content h1 strong {
    width: fit-content;

    margin-top: 8px;

    color: transparent;

    font-size:
        0.92em;

    -webkit-text-stroke:
        2px
        var(--green);

    text-shadow:
        0 0 35px
        rgba(124, 255, 79, 0.13);
}

.tagline {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 29px;

    font-size:
        clamp(1.1rem, 2vw, 1.5rem);

    font-weight: 750;
}

.tagline span {
    color: var(--text-2);
}

.tagline span:last-child {
    color: var(--green);
}

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

    margin-top: 18px;

    color: var(--text-2);

    font-size: 1.05rem;

    line-height: 1.85;
}

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

    gap: 13px;

    margin-top: 31px;
}

.button {
    min-height: 50px;

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

    gap: 10px;

    padding:
        0
        23px;

    border-radius: 11px;

    font-size: 0.9rem;
    font-weight: 800;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.button:hover {
    transform:
        translateY(-3px);
}

.primary-button {
    background:
        linear-gradient(
            135deg,
            var(--green),
            #58dc33
        );

    color: #071006;

    box-shadow:
        0 14px 35px
        rgba(124, 255, 79, 0.17);
}

.primary-button:hover {
    box-shadow:
        0 17px 45px
        rgba(124, 255, 79, 0.28);
}

.secondary-button {
    background:
        rgba(255, 255, 255, 0.035);

    color: var(--text);

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

.secondary-button:hover {
    background:
        rgba(124, 255, 79, 0.055);

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

.hero-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 42px;

    padding-top: 23px;

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

.hero-info > div {
    display: flex;
    flex-direction: column;
}

.hero-info small {
    color: var(--muted);

    font-size: 0.62rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.hero-info strong {
    font-size: 0.86rem;
}

.info-line {
    width: 1px;
    height: 30px;

    background: var(--border);
}


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

.hero-art {
    min-height: 480px;

    display: grid;
    place-items: center;
}

.studio-orbit {
    position: relative;

    width: 370px;
    height: 370px;

    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);
}

.ring-one {
    width: 100%;
    height: 100%;

    animation:
        orbitRotate
        20s
        linear
        infinite;
}

.ring-one::before,
.ring-one::after {
    content: "";

    position: absolute;

    width: 10px;
    height: 10px;

    background: var(--green);

    border-radius: 50%;

    box-shadow:
        0 0 18px
        rgba(124, 255, 79, 0.7);
}

.ring-one::before {
    top: 40px;
    left: 65px;
}

.ring-one::after {
    right: 50px;
    bottom: 58px;
}

.ring-two {
    width: 280px;
    height: 280px;

    border-style: dashed;

    border-color:
        rgba(66, 165, 255, 0.24);

    animation:
        orbitReverse
        15s
        linear
        infinite;
}

.ring-three {
    width: 195px;
    height: 195px;

    border-color:
        rgba(124, 255, 79, 0.2);
}

.studio-core {
    width: 120px;
    height: 120px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            rgba(124, 255, 79, 0.18),
            rgba(66, 165, 255, 0.08)
        );

    border:
        1px solid
        rgba(124, 255, 79, 0.32);

    border-radius: 28px;

    transform:
        rotate(45deg);

    box-shadow:
        0 0 60px
        rgba(124, 255, 79, 0.14);

    animation:
        coreFloat
        5s
        ease-in-out
        infinite;
}

.studio-core span {
    color: var(--green);

    font-size: 3rem;
    font-weight: 950;

    transform:
        rotate(-45deg);
}

.orbit-tag {
    position: absolute;

    min-width: 68px;

    padding:
        7px
        10px;

    background:
        rgba(8, 12, 18, 0.92);

    color: #b4bdc9;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 8px;

    text-align: center;

    font-size: 0.6rem;
    font-weight: 850;

    letter-spacing: 0.1em;

    animation:
        tagFloat
        5s
        ease-in-out
        infinite;
}

body.light-theme .orbit-tag {
    background:
        rgba(255, 255, 255, 0.94);

    color: var(--text-2);
}

.tag-code {
    top: 30px;
    right: 45px;
}

.tag-create {
    left: 0;
    bottom: 86px;

    animation-delay: -2s;
}

.tag-play {
    right: -10px;
    bottom: 110px;

    animation-delay: -4s;
}


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

.games-section {
    padding:
        115px
        0;

    background:
        var(--background-2);
}

.games-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px;
}

.game-card {
    overflow: hidden;

    background:
        var(--card);

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

    border-radius:
        var(--radius);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.12);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.game-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(124, 255, 79, 0.27);

    box-shadow:
        var(--shadow);
}

.game-art {
    position: relative;

    height: 250px;

    overflow: hidden;

    background: #091018;
}

.game-art > strong {
    position: absolute;

    left: 22px;
    bottom: 18px;

    color: white;

    font-size: 2.5rem;
    font-weight: 950;

    letter-spacing: 0.04em;

    z-index: 5;

    text-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.7);
}


/* =========================
   PARKOUR ART
========================= */

.parkour-art {
    background:
        linear-gradient(
            #163956,
            #0c1d2f
        );
}

.parkour-platform {
    position: absolute;

    height: 28px;

    background:
        linear-gradient(
            #75d653 0 7px,
            #5b4938 7px
        );

    box-shadow:
        0 14px 18px
        rgba(0, 0, 0, 0.25);
}

.p1 {
    width: 120px;

    left: 30px;
    bottom: 55px;
}

.p2 {
    width: 110px;

    left: 200px;
    bottom: 100px;
}

.p3 {
    width: 110px;

    right: 25px;
    bottom: 148px;
}

.parkour-player {
    position: absolute;

    left: 250px;
    bottom: 128px;

    width: 28px;
    height: 40px;

    background: #52c9ff;

    box-shadow:
        0 -17px 0 -4px #ffd0ad;

    animation:
        parkourJump
        2.4s
        ease-in-out
        infinite;
}


/* =========================
   ZOMBIE ART
========================= */

.zombie-art {
    background:
        linear-gradient(
            #172943,
            #0c151f
        );
}

.moon {
    position: absolute;

    top: 28px;
    right: 45px;

    width: 90px;
    height: 90px;

    background:
        radial-gradient(
            circle at 35% 35%,
            #dff3ff,
            #6e9dc1
        );

    border-radius: 50%;

    box-shadow:
        0 0 45px
        rgba(103, 177, 228, 0.3);
}

.zombie {
    position: absolute;

    right: 100px;
    bottom: 54px;

    width: 75px;
    height: 105px;

    background: #4c8e55;

    border-radius:
        9px 9px 3px 3px;

    z-index: 2;

    animation:
        zombieWalk
        4s
        ease-in-out
        infinite;
}

.zombie::after {
    content: "";

    position: absolute;

    left: -13px;
    top: 62px;

    width: 101px;
    height: 40px;

    background: #31578d;

    z-index: -1;
}

.eye {
    position: absolute;

    top: 30px;

    width: 10px;
    height: 7px;

    background: #ff545d;

    box-shadow:
        0 0 10px
        rgba(255, 84, 93, 0.9);
}

.left-eye {
    left: 18px;
}

.right-eye {
    right: 18px;
}

.ground {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 70px;

    background:
        linear-gradient(
            #245834 0 9px,
            #182a1e 9px
        );
}


/* =========================
   DEFENSE ART
========================= */

.defense-art {
    background:
        linear-gradient(
            145deg,
            #15352b,
            #07130f
        );
}

.defense-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(124, 255, 79, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(124, 255, 79, 0.05) 1px,
            transparent 1px
        );

    background-size:
        35px
        35px;
}

.defense-core {
    position: absolute;

    left: 50%;
    bottom: 45px;

    width: 95px;
    height: 95px;

    background:
        rgba(124, 255, 79, 0.16);

    border:
        2px solid
        rgba(124, 255, 79, 0.5);

    border-radius: 18px;

    transform:
        translateX(-50%)
        rotate(45deg);

    box-shadow:
        0 0 45px
        rgba(124, 255, 79, 0.2);
}

.enemy {
    position: absolute;

    width: 25px;
    height: 25px;

    background: #53b960;

    border-radius: 4px;

    animation:
        enemyPulse
        2s
        ease-in-out
        infinite;
}

.e1 {
    top: 45px;
    left: 70px;
}

.e2 {
    top: 70px;
    right: 75px;

    animation-delay: -0.7s;
}

.e3 {
    top: 40px;
    left: 48%;

    animation-delay: -1.3s;
}


/* =========================
   FACTORY ART
========================= */

.factory-art {
    background:
        linear-gradient(
            145deg,
            #302016,
            #100e0d
        );
}

.factory-machine {
    position: absolute;

    bottom: 92px;

    width: 85px;
    height: 85px;

    background:
        linear-gradient(
            #46505a,
            #23292f
        );

    border-radius: 10px;

    box-shadow:
        0 15px 25px
        rgba(0, 0, 0, 0.35);
}

.factory-machine::before {
    content: "";

    position: absolute;

    top: 23px;
    left: 23px;

    width: 38px;
    height: 38px;

    border:
        5px solid
        #ff744c;

    border-radius: 50%;
}

.machine-left {
    left: 65px;
}

.machine-right {
    right: 65px;
}

.factory-belt {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 55px;

    height: 38px;

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

    background: #2b3138;

    border-radius: 8px;
}

.factory-belt span {
    width: 27px;
    height: 27px;

    background: #d9573d;

    border:
        2px solid
        #ee705d;

    border-radius: 4px;

    animation:
        factoryMove
        2.5s
        ease-in-out
        infinite;
}


/* =========================
   GAME CONTENT
========================= */

.game-content {
    padding: 25px;
}

.badges {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 17px;
}

.status,
.version {
    display: inline-flex;

    padding:
        5px
        9px;

    border-radius: 999px;

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.status.released {
    background:
        rgba(124, 255, 79, 0.09);

    color: var(--green);

    border:
        1px solid
        rgba(124, 255, 79, 0.2);
}

.status.development {
    background:
        rgba(255, 155, 75, 0.1);

    color: var(--orange);

    border:
        1px solid
        rgba(255, 155, 75, 0.23);
}

.status.coming {
    background:
        rgba(155, 114, 255, 0.1);

    color: #b093ff;

    border:
        1px solid
        rgba(155, 114, 255, 0.23);
}

.version {
    color: var(--muted);

    background:
        rgba(255, 255, 255, 0.04);

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

.game-content h3 {
    color: var(--text);

    font-size: 1.3rem;
}

.genre {
    display: inline-block;

    margin-top: 6px;

    color: var(--green);

    font-size: 0.74rem;
    font-weight: 750;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.game-content p {
    min-height: 80px;

    margin-top: 15px;

    color: var(--text-2);

    font-size: 0.92rem;

    line-height: 1.75;
}

.game-buttons {
    margin-top: 22px;
}

.play-button {
    min-height: 44px;

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

    padding:
        0
        20px;

    background:
        var(--green);

    color: #071006;

    border-radius: 9px;

    font-size: 0.78rem;
    font-weight: 850;

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.play-button:hover {
    transform:
        translateY(-2px);

    background:
        var(--green-light);

    box-shadow:
        0 10px 30px
        rgba(124, 255, 79, 0.16);
}


/* =========================
   STATS
========================= */

.stats-section {
    padding:
        55px
        0;

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

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

.stats-grid {
    display: grid;

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

.stat {
    padding:
        28px
        15px;

    text-align: center;
}

.stat > div {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.stat > div span {
    color: var(--green);

    font-size:
        clamp(2rem, 5vw, 3.4rem);

    font-weight: 950;

    line-height: 1;
}

.stat > div span:not(.counter) {
    font-size: 1.5rem;
}

.stat p {
    margin-top: 10px;

    color: var(--text-2);

    font-size: 0.74rem;
    font-weight: 750;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


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

.about-section {
    padding:
        115px
        0;

    background:
        var(--background-2);
}

.about-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: center;

    gap: 75px;
}

.about-content h2 span {
    display: block;
}

.about-content > p {
    margin-top: 20px;

    color: var(--text-2);

    line-height: 1.85;
}

.developer-card {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 30px;

    padding:
        13px
        17px;

    background: var(--card);

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

    border-radius: 14px;
}

.developer-avatar {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

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

    color: #071006;

    border-radius: 12px;

    font-weight: 950;
}

.developer-card > div:last-child {
    display: flex;
    flex-direction: column;
}

.developer-card small {
    color: var(--muted);

    font-size: 0.62rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.code-card {
    overflow: hidden;

    background: #090e15;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.code-header {
    min-height: 52px;

    display: flex;
    align-items: center;

    gap: 20px;

    padding:
        0
        18px;

    background:
        rgba(255, 255, 255, 0.035);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.code-header > div {
    display: flex;

    gap: 7px;
}

.code-header > div span {
    width: 9px;
    height: 9px;

    border-radius: 50%;
}

.code-header > div span:nth-child(1) {
    background: #ff5f57;
}

.code-header > div span:nth-child(2) {
    background: #febc2e;
}

.code-header > div span:nth-child(3) {
    background: #28c840;
}

.code-header p {
    color: #758090;

    font-size: 0.75rem;
}

.code-body {
    padding:
        35px
        32px;

    color: #aab4c0;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    line-height: 2;
}

.purple {
    color: #c792ea;
}

.green {
    color: #c3e88d;
}

.indent {
    padding-left: 30px;
}

.highlight {
    color: var(--green);
}


/* =========================
   TECHNOLOGY
========================= */

.technology-section {
    padding:
        115px
        0;
}

.technology-grid {
    display: grid;

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

    gap: 18px;
}

.tech-card {
    padding: 27px;

    background: var(--card);

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

    border-radius: 15px;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.tech-card:hover {
    transform:
        translateY(-6px);

    background:
        var(--card-hover);

    border-color:
        rgba(124, 255, 79, 0.26);
}

.tech-icon {
    min-width: 45px;
    height: 45px;

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

    padding:
        0
        8px;

    background:
        rgba(124, 255, 79, 0.08);

    color: var(--green);

    border:
        1px solid
        rgba(124, 255, 79, 0.16);

    border-radius: 10px;

    font-size: 0.7rem;
    font-weight: 900;
}

.tech-card h3 {
    margin-top: 17px;
}

.tech-card p {
    margin-top: 7px;

    color: var(--text-2);

    font-size: 0.85rem;
}


/* =========================
   JOURNEY
========================= */

.journey-section {
    padding:
        115px
        0;

    background:
        var(--background-2);
}

.timeline {
    max-width: 720px;

    margin: auto;
}

.timeline-item {
    display: grid;

    grid-template-columns:
        72px
        1fr;

    align-items: center;

    gap: 24px;
}

.timeline-number {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            rgba(124, 255, 79, 0.16),
            rgba(66, 165, 255, 0.08)
        );

    color: var(--green);

    border:
        1px solid
        rgba(124, 255, 79, 0.28);

    border-radius: 17px;

    font-size: 1.4rem;
    font-weight: 950;
}

.timeline-number.future {
    color: var(--blue);

    border-color:
        rgba(66, 165, 255, 0.3);
}

.timeline-content {
    padding: 25px;

    background: var(--card);

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

    border-radius: 16px;
}

.timeline-content > span {
    color: var(--green);

    font-size: 0.67rem;
    font-weight: 850;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.timeline-content h3 {
    margin-top: 5px;

    font-size: 1.3rem;
}

.timeline-content p {
    margin-top: 8px;

    color: var(--text-2);
}

.timeline-arrow {
    width: 64px;

    margin:
        9px
        0;

    color: var(--muted);

    text-align: center;

    font-size: 1.7rem;
}


/* =========================
   COMING SOON
========================= */

.coming-section {
    padding:
        115px
        0;
}

.coming-grid {
    display: grid;

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

    gap: 20px;
}

.coming-card {
    position: relative;

    min-height: 330px;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            var(--card),
            var(--background-3)
        );

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

    border-radius:
        var(--radius);

    transition:
        transform var(--transition),
        border-color var(--transition);
}

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

    border-color:
        rgba(155, 114, 255, 0.3);
}

.coming-number {
    color: transparent;

    font-size: 4.5rem;
    font-weight: 950;

    line-height: 1;

    -webkit-text-stroke:
        1px
        rgba(124, 255, 79, 0.42);

    margin-bottom: 20px;
}

.coming-card h3 {
    margin-top: 17px;

    font-size: 1.4rem;
}

.coming-card p {
    margin-top: 12px;

    color: var(--text-2);
}

.coming-card small {
    position: absolute;

    left: 30px;
    bottom: 26px;

    color: var(--muted);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 0.09em;
}


/* =========================
   VISION
========================= */

.vision-section {
    padding:
        40px
        0
        120px;
}

.vision-card {
    min-height: 430px;

    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    align-items: center;

    gap: 40px;

    padding:
        clamp(35px, 6vw, 70px);

    background:
        linear-gradient(
            135deg,
            rgba(124, 255, 79, 0.06),
            var(--card),
            rgba(66, 165, 255, 0.05)
        );

    border:
        1px solid
        rgba(124, 255, 79, 0.16);

    border-radius: 28px;

    box-shadow: var(--shadow);
}

.vision-content > p {
    margin-top: 20px;

    color: var(--text-2);

    line-height: 1.85;
}

.vision-items {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 28px;
}

.vision-items > div {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px;

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

    border-radius: 10px;
}

.vision-items span {
    color: var(--green);

    font-size: 0.66rem;
    font-weight: 850;
}

.vision-items strong {
    font-size: 0.82rem;
}

.vision-art {
    position: relative;

    min-height: 260px;

    display: grid;
    place-items: center;
}

.vision-ring {
    position: absolute;

    width: 235px;
    height: 235px;

    border:
        1px dashed
        rgba(124, 255, 79, 0.25);

    border-radius: 50%;

    animation:
        orbitRotate
        18s
        linear
        infinite;
}

.vision-ring::before,
.vision-ring::after {
    content: "";

    position: absolute;

    width: 9px;
    height: 9px;

    background: var(--green);

    border-radius: 50%;

    box-shadow:
        0 0 15px
        rgba(124, 255, 79, 0.6);
}

.vision-ring::before {
    top: 25px;
    left: 40px;
}

.vision-ring::after {
    right: 22px;
    bottom: 55px;
}

.vision-logo {
    width: 115px;
    height: 115px;

    display: grid;
    place-items: center;

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

    border-radius: 27px;

    transform:
        rotate(45deg);

    box-shadow:
        0 0 60px
        rgba(124, 255, 79, 0.18);

    animation:
        visionFloat
        5s
        ease-in-out
        infinite;
}

.vision-logo span {
    color: #071006;

    font-size: 1.9rem;
    font-weight: 950;

    transform:
        rotate(-45deg);
}


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

.footer {
    padding:
        75px
        0
        25px;

    background: #05070a;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);
}

body.light-theme .footer {
    background: #e8edf3;
}

.footer-grid {
    display: grid;

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

    gap: 50px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 950;

    letter-spacing: 0.05em;
}

.footer-logo span {
    color: var(--green);
}

.footer-brand p {
    margin-top: 12px;

    color: var(--text-2);
}

.footer-version {
    display: inline-block;

    margin-top: 16px;

    padding:
        5px
        9px;

    background:
        rgba(124, 255, 79, 0.06);

    color: var(--green);

    border:
        1px solid
        rgba(124, 255, 79, 0.16);

    border-radius: 999px;

    font-size: 0.67rem;
    font-weight: 800;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 7px;

    font-size: 0.82rem;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.footer-column a,
.footer-column > span {
    color: var(--text-2);

    font-size: 0.8rem;

    transition:
        color var(--transition);
}

.footer-column a:hover {
    color: var(--green);
}

.social-buttons {
    display: flex;

    gap: 8px;
}

.social-button {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    background:
        rgba(255, 255, 255, 0.04);

    color: var(--text-2);

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

    border-radius: 9px;

    cursor: pointer;

    font-size: 0.68rem;
    font-weight: 850;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.social-button:hover {
    transform:
        translateY(-2px);

    background:
        rgba(124, 255, 79, 0.06);

    color: var(--green);

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

#socialMessage {
    min-height: 18px;

    color: var(--green);

    font-size: 0.67rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 55px;

    padding-top: 23px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    color: var(--muted);

    font-size: 0.74rem;
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--green);

    color: #071006;

    border-radius: 12px;

    cursor: pointer;

    font-size: 1.1rem;
    font-weight: 950;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}

.back-to-top:hover {
    transform:
        translateY(-3px);
}


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

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================
   NOSCRIPT
========================= */

.noscript {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 12px;

    background: #d94a4a;

    color: white;

    text-align: center;

    z-index: 99999;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes loaderAnimation {

    from {
        transform:
            translateX(-150%);
    }

    to {
        transform:
            translateX(300%);
    }
}


@keyframes glowFloat {

    0%,
    100% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(25px, 20px)
            scale(1.08);
    }
}


@keyframes pixelFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(45deg);
    }

    50% {
        transform:
            translateY(-18px)
            rotate(135deg);
    }
}


@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}


@keyframes orbitRotate {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }
}


@keyframes orbitReverse {

    from {
        transform:
            rotate(360deg);
    }

    to {
        transform:
            rotate(0deg);
    }
}


@keyframes coreFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(45deg);
    }

    50% {
        transform:
            translateY(-10px)
            rotate(45deg);
    }
}


@keyframes tagFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-9px);
    }
}


@keyframes parkourJump {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-25px);
    }
}


@keyframes zombieWalk {

    0%,
    100% {
        transform:
            translateX(0);
    }

    50% {
        transform:
            translateX(-15px);
    }
}


@keyframes enemyPulse {

    0%,
    100% {
        box-shadow:
            0 0 0
            rgba(124, 255, 79, 0);
    }

    50% {
        box-shadow:
            0 0 25px
            rgba(124, 255, 79, 0.4);
    }
}


@keyframes factoryMove {

    0%,
    100% {
        transform:
            translateX(-10px);
    }

    50% {
        transform:
            translateX(10px);
    }
}


@keyframes visionFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(45deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(45deg);
    }
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .hero-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 strong {
        margin-left: auto;
        margin-right: auto;
    }

    .tagline,
    .hero-buttons,
    .hero-info {
        justify-content: center;
    }

    .hero-art {
        min-height: 390px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

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

        gap: 55px;
    }

    .technology-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .coming-grid {
        grid-template-columns: 1fr;
    }

    .vision-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

    .navbar {
        min-height: 69px;
    }

    .logo {
        font-size: 0.95rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;

        top: 69px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 3px;

        padding:
            22px
            5%;

        background:
            var(--background-2);

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

        box-shadow:
            0 25px 45px
            rgba(0, 0, 0, 0.25);

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-15px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;

        transform:
            translateY(0);
    }

    .nav-link {
        padding:
            13px
            15px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background:
            rgba(124, 255, 79, 0.07);
    }

    .hero {
        min-height: auto;

        padding:
            115px
            0
            75px;
    }

    .hero-art {
        min-height: 320px;
    }

    .studio-orbit {
        width: 285px;
        height: 285px;
    }

    .ring-two {
        width: 220px;
        height: 220px;
    }

    .ring-three {
        width: 158px;
        height: 158px;
    }

    .studio-core {
        width: 95px;
        height: 95px;
    }

    .studio-core span {
        font-size: 2.3rem;
    }

    .games-section,
    .technology-section,
    .journey-section,
    .coming-section,
    .about-section {
        padding:
            90px
            0;
    }

    .game-art {
        height: 220px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .vision-items {
        grid-template-columns: 1fr;
    }

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

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 7px;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px) {

    .theme-toggle,
    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hero-content h1 {
        font-size:
            clamp(3.1rem, 16vw, 4.8rem);
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-info {
        display: grid;

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

        width: 100%;
    }

    .hero-info > div {
        text-align: center;
    }

    .info-line {
        display: none;
    }

    .studio-orbit {
        width: 235px;
        height: 235px;
    }

    .ring-two {
        width: 180px;
        height: 180px;
    }

    .ring-three {
        width: 130px;
        height: 130px;
    }

    .orbit-tag {
        min-width: 53px;

        font-size: 0.5rem;
    }

    .game-content {
        padding: 20px;
    }

    .play-button {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns:
            50px
            1fr;

        gap: 13px;
    }

    .timeline-number {
        width: 48px;
        height: 48px;

        border-radius: 12px;

        font-size: 1rem;
    }

    .timeline-content {
        padding: 19px;
    }

    .timeline-arrow {
        width: 48px;
    }

    .vision-card {
        padding:
            30px
            20px;
    }

    .vision-ring {
        width: 185px;
        height: 185px;
    }

    .vision-logo {
        width: 92px;
        height: 92px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }
}