/* =========================
   BASIC RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #08080c;
    color: #ffffff;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 80px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(8, 8, 12, 0.95);
    border-bottom: 1px solid #25252f;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: #8b5cf6;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    color: #ccccd6;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: #a78bfa;
}

.nav-button {
    padding: 12px 20px;

    background: #8b5cf6;
    color: #ffffff;

    text-decoration: none;
    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - 80px);

    padding: 80px 7%;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 70px;
    align-items: center;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(139, 92, 246, 0.18),
            transparent 35%
        ),
        #08080c;
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    color: #a78bfa;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(60px, 8vw, 110px);

    line-height: 0.9;
    letter-spacing: -6px;

    margin-bottom: 30px;
}

.hero h1 span {
    color: #8b5cf6;

    text-shadow:
        0 0 20px rgba(139, 92, 246, 0.5),
        0 0 50px rgba(139, 92, 246, 0.25);
}

.hero-description {
    max-width: 620px;

    color: #9c9ca8;

    font-size: 18px;
    line-height: 1.7;

    margin-bottom: 35px;
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-button,
.secondary-button {
    padding: 16px 24px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-button {
    background: #8b5cf6;
    color: #ffffff;

    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35);
}

.secondary-button {
    color: #ffffff;

    border: 1px solid #343442;
    background: #121219;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-3px);
}

.primary-button:hover {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.55);
}


/* =========================
   FEATURED GAME CARD
========================= */

.hero-card {
    min-height: 430px;

    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            to top,
            rgba(8, 8, 12, 1),
            rgba(8, 8, 12, 0.15)
        ),
        linear-gradient(
            135deg,
            #2d145f,
            #10101a
        );

    border: 1px solid #3c2b66;

    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.15);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.hero-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -80px;
    right: -70px;

    border-radius: 50%;

    background: #8b5cf6;

    filter: blur(80px);

    opacity: 0.35;
}

.hero-card:hover {
    transform: translateY(-8px);
    border-color: #8b5cf6;
}

.hero-card p {
    position: relative;

    color: #a78bfa;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.hero-card h2 {
    position: relative;

    font-size: 42px;
    letter-spacing: -2px;

    margin-bottom: 10px;
}

.hero-card span {
    position: relative;

    color: #9999a5;

    font-size: 14px;

    margin-bottom: 25px;
}

.hero-card a {
    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;
}

.hero-card a:hover {
    color: #a78bfa;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 350px;
    }

}

@media (max-width: 750px) {

    .navbar nav {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .hero {
        padding: 60px 6%;
    }

    .hero h1 {
        letter-spacing: -4px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 500px) {

    .hero h1 {
        font-size: 58px;
    }

    .hero-card h2 {
        font-size: 34px;
    }

}
/* =========================
   GAMES SECTION
========================= */

.games {
    padding: 110px 7%;
    background: #0d0d13;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -3px;
}


/* =========================
   GAME GRID
========================= */

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.game-card {
    background: #14141d;
    border: 1px solid #292936;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: #8b5cf6;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.12);
}


/* =========================
   GAME IMAGES
========================= */

.game-image {
    height: 260px;
    padding: 22px;

    display: flex;
    align-items: flex-start;

    position: relative;
    overflow: hidden;
}

.game-image span {
    position: relative;
    z-index: 2;

    padding: 8px 12px;

    background: rgba(8, 8, 12, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* VOID STRIKE */

.game-one {
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(139, 92, 246, 0.85),
            transparent 20%
        ),
        linear-gradient(
            135deg,
            #150b2c,
            #32136a,
            #08080c
        );
}


/* NEON RUSH */

.game-two {
    background:
        radial-gradient(
            circle at 30% 60%,
            rgba(0, 225, 255, 0.7),
            transparent 20%
        ),
        linear-gradient(
            135deg,
            #031d2b,
            #12203f,
            #130b2c
        );
}


/* DARK FRONTIER */

.game-three {
    background:
        radial-gradient(
            circle at 65% 40%,
            rgba(255, 70, 120, 0.55),
            transparent 18%
        ),
        linear-gradient(
            135deg,
            #250710,
            #151522,
            #08080c
        );
}


/* =========================
   GAME INFO
========================= */

.game-info {
    padding: 28px;
}

.game-info h3 {
    font-size: 27px;
    margin-bottom: 14px;
}

.game-info > p {
    color: #9999a5;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 25px;
}

.game-meta span {
    padding: 7px 10px;

    background: #1d1d28;
    border: 1px solid #30303d;

    color: #b5b5c0;

    font-size: 11px;
    font-weight: 700;
}

.game-info button {
    width: 100%;

    padding: 14px 18px;

    border: 1px solid #8b5cf6;
    background: transparent;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.game-info button:hover {
    background: #8b5cf6;

    box-shadow:
        0 0 25px rgba(139, 92, 246, 0.35);
}


/* =========================
   GAMES RESPONSIVE
========================= */

@media (max-width: 950px) {

    .games-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .games {
        padding: 80px 6%;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-image {
        height: 220px;
    }

}
/* =========================
   GAME MODAL
========================= */

.game-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    z-index: 9999;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.game-modal.active {
    opacity: 1;
    visibility: visible;
}


/* =========================
   MODAL CONTENT
========================= */

.game-modal-content {
    width: 100%;
    max-width: 600px;

    position: relative;

    padding: 45px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(139, 92, 246, 0.18),
            transparent 35%
        ),
        #121219;

    border: 1px solid #3d315b;

    box-shadow:
        0 0 80px rgba(139, 92, 246, 0.2);

    transform: translateY(25px) scale(0.96);

    transition: transform 0.3s ease;
}

.game-modal.active .game-modal-content {
    transform: translateY(0) scale(1);
}

.game-modal-content h2 {
    font-size: clamp(38px, 6vw, 60px);
    letter-spacing: -3px;

    margin-bottom: 18px;
}

.game-modal-content > p:not(.eyebrow) {
    color: #a5a5b0;

    font-size: 16px;
    line-height: 1.7;

    margin-bottom: 30px;
}


/* =========================
   CLOSE BUTTON
========================= */

.close-modal {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 40px;
    height: 40px;

    border: 1px solid #343442;
    background: #181821;

    color: #ffffff;

    font-size: 25px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.close-modal:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
}


/* =========================
   LAUNCH BUTTON
========================= */

.launch-game-button {
    width: 100%;

    padding: 16px 20px;

    border: none;

    background: #8b5cf6;
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.3);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.launch-game-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 40px rgba(139, 92, 246, 0.5);
}


/* =========================
   MODAL MOBILE
========================= */

@media (max-width: 600px) {

    .game-modal-content {
        padding: 35px 25px 25px;
    }

    .game-modal-content h2 {
        letter-spacing: -2px;
    }

}
/* =========================
   VOID STRIKE MINI GAME
========================= */

.game-arena {
    display: none;

    margin-top: 25px;
    padding: 18px;

    background: #09090f;
    border: 1px solid #343442;
}

.game-arena.active {
    display: block;
}


/* =========================
   GAME HUD
========================= */

.game-hud {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 12px;

    color: #a5a5b0;

    font-size: 12px;
    font-weight: 700;
}

.game-hud strong {
    color: #a78bfa;
}


/* =========================
   GAME SCREEN
========================= */

.game-screen {
    height: 340px;

    position: relative;
    overflow: hidden;

    border: 1px solid #292936;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.7) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(255, 255, 255, 0.5) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 40% 70%,
            rgba(255, 255, 255, 0.6) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(139, 92, 246, 0.8) 1px,
            transparent 2px
        ),
        linear-gradient(
            #05050a,
            #0e0820
        );

    background-size:
        80px 80px,
        120px 120px,
        150px 150px,
        180px 180px,
        auto;
}


/* =========================
   PLAYER SHIP
========================= */

.player-ship {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    font-size: 42px;

    user-select: none;

    filter:
        drop-shadow(0 0 10px rgba(139, 92, 246, 0.8));

    transition: left 0.05s linear;
}


/* =========================
   ENEMY
========================= */

.enemy {
    position: absolute;

    top: 20px;

    font-size: 34px;

    user-select: none;

    filter:
        drop-shadow(0 0 10px rgba(255, 70, 120, 0.7));
}


/* =========================
   BULLET
========================= */

.bullet {
    position: absolute;

    width: 4px;
    height: 14px;

    background: #a78bfa;

    box-shadow:
        0 0 10px #8b5cf6;
}


/* =========================
   GAME CONTROLS TEXT
========================= */

.game-controls {
    margin-top: 12px;

    text-align: center;

    color: #777785;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================
   GAME MOBILE
========================= */

@media (max-width: 600px) {

    .game-screen {
        height: 300px;
    }

    .player-ship {
        font-size: 36px;
    }

}
/* =========================
   SHIP UPGRADE PANEL
========================= */

.upgrade-panel {
    margin-top: 14px;

    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    align-items: center;

    padding: 14px;

    background: #111119;
    border: 1px solid #30303d;
}

.upgrade-info {
    min-width: 90px;

    padding: 10px 12px;

    background: #191922;
    border: 1px solid #292936;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.upgrade-info span {
    color: #777785;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.upgrade-info strong {
    color: #a78bfa;
    font-size: 18px;
}


/* =========================
   UPGRADE BUTTON
========================= */

.upgrade-button {
    height: 100%;

    padding: 13px 18px;

    border: 1px solid #8b5cf6;

    background: #8b5cf6;
    color: #ffffff;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.upgrade-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.45);
}

.upgrade-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* =========================
   UPGRADE PANEL MOBILE
========================= */

@media (max-width: 600px) {

    .upgrade-panel {
        grid-template-columns: 1fr 1fr;
    }

    .upgrade-button {
        grid-column: 1 / -1;
        min-height: 48px;
    }

}
/* =========================
   BOSS HUD
========================= */

.boss-hud {
    display: none;

    margin-bottom: 12px;
    padding: 10px 12px;

    align-items: center;
    gap: 12px;

    background: #16090d;
    border: 1px solid #4b1d28;
}

.boss-hud.active {
    display: flex;
}

.boss-hud > span {
    color: #ff4b6e;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* =========================
   BOSS HEALTH BAR
========================= */

.boss-health-track {
    flex: 1;

    height: 10px;

    background: #2a1117;
    border: 1px solid #5a202d;

    overflow: hidden;
}

.boss-health-bar {
    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        #ff2f57,
        #ff6b3d
    );

    box-shadow:
        0 0 12px rgba(255, 47, 87, 0.7);

    transition: width 0.2s ease;
}

.boss-hud strong {
    min-width: 75px;

    color: #ff7893;

    text-align: right;

    font-size: 11px;
}


/* =========================
   BOSS MOBILE
========================= */

@media (max-width: 600px) {

    .boss-hud {
        gap: 8px;
        padding: 9px;
    }

    .boss-hud strong {
        min-width: 60px;
        font-size: 10px;
    }

}
/* =========================
   BOSS LASERS
========================= */

.boss-laser {
    position: absolute;

    width: 7px;
    height: 22px;

    background: #ff2f57;

    border-radius: 4px;

    box-shadow:
        0 0 8px #ff2f57,
        0 0 18px rgba(255, 47, 87, 0.8);

    z-index: 4;
}


/* PLAYER HIT EFFECT */

.player-ship.hit {
    animation: playerHit 0.35s ease;
}

@keyframes playerHit {

    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.25);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}
/* =========================
   SHIP UPGRADE DESIGNS
========================= */

.ship-level-1 {
    font-size: 43px;
    filter:
        drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.ship-level-2 {
    font-size: 47px;
    filter:
        drop-shadow(0 0 8px #8b5cf6)
        drop-shadow(0 0 16px #8b5cf6);
}

.ship-level-3 {
    font-size: 51px;
    filter:
        drop-shadow(0 0 8px #38bdf8)
        drop-shadow(0 0 20px #38bdf8);
}

.ship-level-4 {
    font-size: 55px;
    filter:
        drop-shadow(0 0 10px #f97316)
        drop-shadow(0 0 25px #f97316);
}

.ship-level-5 {
    font-size: 60px;
    filter:
        drop-shadow(0 0 10px #ffffff)
        drop-shadow(0 0 22px #8b5cf6)
        drop-shadow(0 0 35px #8b5cf6);
}
/* =========================
   NEON RUSH
========================= */

.racing-arena {
    display: none;

    margin-top: 25px;
    padding: 18px;

    background: #07070c;
    border: 1px solid #2a2a38;
}

.racing-arena.active {
    display: block;
}


/* =========================
   RACING HUD
========================= */

.racing-hud {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 12px;

    color: #9b9baa;

    font-size: 12px;
    font-weight: 700;
}

.racing-hud strong {
    color: #22d3ee;
}


/* =========================
   RACETRACK
========================= */

.race-track {
    position: relative;

    width: 100%;
    height: 360px;

    overflow: hidden;

    border: 1px solid #252536;

    background:
        linear-gradient(
            90deg,
            #07070c 0%,
            #07070c 15%,
            #13131d 15%,
            #13131d 85%,
            #07070c 85%,
            #07070c 100%
        );

    box-shadow:
        inset 0 0 50px rgba(34, 211, 238, 0.08);
}


/* ROAD EDGES */

.race-track::before,
.race-track::after {
    content: "";

    position: absolute;
    top: 0;

    width: 3px;
    height: 100%;

    background: #22d3ee;

    box-shadow:
        0 0 10px #22d3ee,
        0 0 20px rgba(34, 211, 238, 0.6);
}

.race-track::before {
    left: 15%;
}

.race-track::after {
    right: 15%;
}


/* =========================
   ROAD LINES
========================= */

.road-line {
    position: absolute;

    left: 50%;

    width: 5px;
    height: 70px;

    transform: translateX(-50%);

    background: #ffffff;

    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.8);
}

.line-one {
    top: -70px;
}

.line-two {
    top: 90px;
}

.line-three {
    top: 250px;
}


/* =========================
   PLAYER CAR
========================= */

.player-car {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);

    font-size: 45px;

    user-select: none;

    filter:
        drop-shadow(0 0 10px #22d3ee)
        drop-shadow(0 0 20px rgba(34, 211, 238, 0.5));

    z-index: 5;
}


/* =========================
   TRAFFIC CARS
========================= */

.traffic-car {
    position: absolute;

    top: -60px;

    font-size: 38px;

    transform: none;
/* =========================
   DARK FRONTIER
========================= */

.survival-arena {
    display: none;

    margin-top: 25px;
    padding: 18px;

    background: #080b0a;
    border: 1px solid #26352f;
}

.survival-arena.active {
    display: block;
}


/* =========================
   SURVIVAL HUD
========================= */

.survival-hud {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 12px;

    color: #9ca8a2;

    font-size: 12px;
    font-weight: 700;
}

.survival-hud strong {
    color: #6ee7b7;
}


/* =========================
   SURVIVAL WORLD
========================= */

.survival-world {
    position: relative;

    width: 100%;
    height: 360px;

    overflow: hidden;

    border: 1px solid #24312c;

    background:
        radial-gradient(
            circle at 20% 25%,
            rgba(110, 231, 183, 0.12),
            transparent 20%
        ),
        radial-gradient(
            circle at 75% 70%,
            rgba(255, 70, 120, 0.12),
            transparent 22%
        ),
        linear-gradient(
            #07100c,
            #101710
        );

    box-shadow:
        inset 0 0 60px rgba(0, 0, 0, 0.55);
}


/* ALIEN GROUND */

.survival-world::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 45px;

    background:
        linear-gradient(
            #18231d,
            #0a100d
        );

    border-top: 1px solid #2c4338;
}


/* =========================
   SURVIVOR
========================= */

.survivor {
    position: absolute;

    left: 50%;
    bottom: 42px;

    transform: translateX(-50%);

    font-size: 44px;

    z-index: 5;

    user-select: none;

    filter:
        drop-shadow(0 0 10px rgba(110, 231, 183, 0.7));
}


/* =========================
   SURVIVAL ENEMIES
========================= */

.survival-enemy {
    position: absolute;

    bottom: 45px;

    font-size: 36px;

    z-index: 4;

    user-select: none;

    filter:
        drop-shadow(0 0 10px rgba(255, 70, 120, 0.7));
}


/* =========================
   SURVIVAL ATTACK
========================= */

.survival-shot {
    position: absolute;

    width: 20px;
    height: 5px;

    background: #6ee7b7;

    box-shadow:
        0 0 10px #6ee7b7;

    z-index: 4;
}


/* =========================
   PLAYER DAMAGE
========================= */

.survivor.hit {
    animation: survivorHit 0.35s ease;
}

@keyframes survivorHit {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }

}


/* =========================
   DARK FRONTIER MOBILE
========================= */

@media (max-width: 600px) {

    .survival-world {
        height: 320px;
    }

    .survivor {
        font-size: 40px;
    }

    .survival-enemy {
        font-size: 32px;
    }

}

    user-select: none;

    filter:
        drop-shadow(0 0 10px #ff2f78);

    z-index: 4;
}


/* =========================
   CAR HIT
========================= */

.player-car.hit {
    animation: raceHit 0.35s ease;
}

@keyframes raceHit {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }

}


/* =========================
   NEON RUSH MOBILE
========================= */

@media (max-width: 600px) {

    .race-track {
        height: 320px;
    }

    .player-car {
        font-size: 40px;
    }

    .traffic-car {
        font-size: 34px;
    }

}
/* =====================================================
   DARK FRONTIER - FIXED DESIGN
===================================================== */

.survival-arena {
    display: none;
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: #080c0a;
    border: 1px solid #274036;
}

.survival-arena.active {
    display: block;
}


/* HUD */

.survival-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 12px;
    padding: 10px 12px;

    background: #101712;
    border: 1px solid #26372f;

    color: #9eaaa4;
    font-size: 12px;
    font-weight: 700;
}

.survival-hud span {
    display: block;
}

.survival-hud strong {
    color: #6ee7b7;
}


/* =====================================================
   SURVIVAL GAME WORLD
===================================================== */

.survival-world {
    position: relative !important;

    display: block;

    width: 100%;
    height: 360px !important;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 25%,
            rgba(110, 231, 183, 0.16),
            transparent 24%
        ),
        radial-gradient(
            circle at 80% 40%,
            rgba(255, 50, 110, 0.10),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #06100c 0%,
            #0d1812 70%,
            #111d16 100%
        );

    border: 1px solid #294438;

    box-shadow:
        inset 0 0 60px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(110, 231, 183, 0.05);
}


/* ALIEN GROUND */

.survival-world::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 48px;

    background:
        linear-gradient(
            180deg,
            #1d3025,
            #0b120e
        );

    border-top: 1px solid #355847;

    z-index: 1;
}


/* =====================================================
   PLAYER
===================================================== */

.survivor {
    position: absolute !important;

    left: 50%;
    bottom: 45px;

    font-size: 44px;

    z-index: 10;

    user-select: none;

    filter:
        drop-shadow(
            0 0 10px
            rgba(110, 231, 183, 0.8)
        );
}


/* =====================================================
   ENEMIES
===================================================== */

.survival-enemy {
    position: absolute !important;

    bottom: 47px;

    font-size: 36px;

    z-index: 8;

    user-select: none;

    filter:
        drop-shadow(
            0 0 10px
            rgba(255, 60, 110, 0.8)
        );
}


/* =====================================================
   PLAYER SHOTS
===================================================== */

.survival-shot {
    position: absolute !important;

    width: 22px;
    height: 5px;

    background: #6ee7b7;

    border-radius: 5px;

    z-index: 9;

    box-shadow:
        0 0 7px #6ee7b7,
        0 0 14px rgba(110, 231, 183, 0.8);
}


/* =====================================================
   DAMAGE EFFECT
===================================================== */

.survivor.hit {
    animation: darkFrontierHit 0.35s ease;
}

@keyframes darkFrontierHit {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }

}


/* =====================================================
   CONTROLS
===================================================== */

.survival-arena .game-controls {
    margin-top: 14px;

    text-align: center;

    color: #6f7b75;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .survival-world {
        height: 300px !important;
    }

    .survival-hud {
        font-size: 10px;
        gap: 6px;
    }

    .survivor {
        font-size: 38px;
    }

    .survival-enemy {
        font-size: 31px;
    }

}
/* =====================================================
   ABOUT GAME ZONE
===================================================== */

.about {
    padding: 110px 7%;
    background: #0b0b11;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    border-top: 1px solid #20202b;
}

.about-left {
    max-width: 700px;
}

.about-left h2 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -3px;

    color: #ffffff;
}

.about-right {
    max-width: 650px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-right p {
    color: #9b9baa;

    font-size: 17px;
    line-height: 1.8;

    margin-bottom: 20px;
}

.about-right .primary-button {
    display: inline-block;

    margin-top: 12px;

    padding: 16px 24px;

    background: #8b5cf6;
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 0 25px rgba(139, 92, 246, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-right .primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 35px rgba(139, 92, 246, 0.45);
}


/* =====================================================
   ABOUT RESPONSIVE
===================================================== */

@media (max-width: 850px) {

    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 600px) {

    .about {
        padding: 80px 6%;
    }

    .about-left h2 {
        letter-spacing: -2px;
    }

    .about-right p {
        font-size: 15px;
    }

}