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

html {
    scroll-behavior: smooth;
}

body {
    background: #050507;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: -10;

    overflow: hidden;

    background: #050507;
}

.grid {
    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: 70px 70px;

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

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.25;

    animation: float 12s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;

    background: #694cff;

    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;

    background: #305cff;

    left: -200px;
    top: 60%;

    animation-delay: -4s;
}

.orb-3 {
    width: 300px;
    height: 300px;

    background: #b13cff;

    right: 10%;
    top: 70%;

    animation-delay: -8s;
}

@keyframes float {

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

    50% {
        transform: translate(40px, -50px);
    }

}


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

.navbar {
    position: fixed;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: min(1200px, 92%);

    padding: 15px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    background: rgba(10,10,15,0.65);

    backdrop-filter: blur(25px);

    border-radius: 14px;

    z-index: 1000;

    transition: 0.3s;
}

.logo,
.footer-logo {
    color: white;

    font-weight: 900;

    font-size: 18px;

    letter-spacing: 2px;

    text-decoration: none;
}

.logo span,
.footer-logo span {
    color: #8065ff;
}

nav {
    display: flex;

    gap: 35px;
}

nav a {
    color: #888;

    text-decoration: none;

    font-size: 13px;

    transition: 0.3s;
}

nav a:hover {
    color: white;
}

.nav-button {
    color: white;

    text-decoration: none;

    font-size: 12px;

    font-weight: bold;

    padding: 10px 17px;

    background: #7055ff;

    border-radius: 7px;

    transition: 0.3s;
}

.nav-button:hover {
    background: #836cff;

    transform: translateY(-2px);
}


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

.hero {
    min-height: 100vh;

    display: flex;

    align-items: center;

    padding:
        160px
        max(6vw, 30px)
        100px;

    position: relative;
}

.hero-content {
    max-width: 1000px;

    animation:
        heroIn 1.2s ease forwards;
}

@keyframes heroIn {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.badge {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    border: 1px solid rgba(128,101,255,0.3);

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

    padding: 9px 14px;

    border-radius: 100px;

    color: #a999ff;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 30px;
}

.pulse {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #8b72ff;

    box-shadow:
        0 0 0 5px rgba(139,114,255,0.12);

    animation: pulse 2s infinite;
}

@keyframes pulse {

    50% {
        box-shadow:
            0 0 0 10px rgba(139,114,255,0);
    }

}

.hero h1 {
    font-size:
        clamp(70px, 11vw, 160px);

    line-height: 0.82;

    letter-spacing: -8px;

    font-weight: 900;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #8065ff 45%,
            #b95cff 100%
        );

    background-clip: text;

    -webkit-background-clip: text;

    color: transparent;

    -webkit-text-fill-color: transparent;

    background-size: 200%;

    animation:
        gradientMove 5s ease infinite;
}

@keyframes gradientMove {

    0% {
        background-position: 0%;
    }

    50% {
        background-position: 100%;
    }

    100% {
        background-position: 0%;
    }

}

.hero-text {
    margin-top: 35px;

    color: #ffffff;

    font-size: 23px;

    font-weight: 600;
}

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

    margin-top: 12px;

    color: #777;

    font-size: 17px;

    line-height: 1.7;
}


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

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 40px;
}

.button {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 16px 22px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 0.5px;

    transition: 0.35s;
}

.button span {
    font-size: 18px;
}

.primary {
    color: white;

    background: #7055ff;

    box-shadow:
        0 15px 50px rgba(112,85,255,0.25);
}

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

    box-shadow:
        0 20px 70px rgba(112,85,255,0.45);
}

.secondary {
    color: #aaa;

    border: 1px solid #26262e;

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

.secondary:hover {
    color: white;

    border-color: #444;
}


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

.scroll-indicator {
    position: absolute;

    bottom: 35px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 9px;

    color: #555;

    letter-spacing: 3px;
}

.scroll-indicator span {
    width: 25px;
    height: 1px;

    background: #555;
}


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

.stats {
    width: min(1100px, 90%);

    margin: auto;

    padding: 30px 0;

    display: grid;

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

    border-top: 1px solid #1b1b20;

    border-bottom: 1px solid #1b1b20;
}

.stat {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    border-right: 1px solid #1b1b20;
}

.stat:last-child {
    border: none;
}

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

.stat span {
    color: #555;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

    text-align: center;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding:
        160px
        max(6vw, 30px);
}

.section-top {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 60px;
}

.section-label {
    color: #8065ff;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.section h2 {
    font-size:
        clamp(45px, 6vw, 80px);

    line-height: 0.95;

    letter-spacing: -5px;
}

.section h2 span {
    color: #8065ff;
}

.section-top > p {
    color: #666;

    max-width: 300px;

    line-height: 1.6;
}


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

.games-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr;

    gap: 25px;
}

.game-card {
    border: 1px solid #1e1e25;

    background: rgba(15,15,20,0.8);

    border-radius: 15px;

    overflow: hidden;

    transition: 0.5s;
}

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

    border-color: #6550d8;

    box-shadow:
        0 30px 100px rgba(75,55,200,0.12);
}

.game-art {
    height: 400px;

    position: relative;

    overflow: hidden;
}

.game-one {
    background:
        radial-gradient(
            circle at 60% 40%,
            #6248d5,
            #18112f 35%,
            #07070a 75%
        );
}

.game-art::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

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

    box-shadow:
        0 0 100px
        rgba(128,101,255,0.25);

    transition: 0.7s;
}

.game-card:hover
.game-art::before {

    transform:
        translate(-50%, -50%)
        scale(1.3);

    opacity: 0.5;
}

.game-art-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(5, 5, 7, 0.9)
        );

    z-index: 1;

    pointer-events: none;
}

.coming-soon {
    position: absolute;

    left: 30px;
    bottom: 25px;

    color: #aaa;

    font-size: 10px;

    letter-spacing: 3px;
}

.game-number {
    position: absolute;

    top: 25px;
    right: 25px;

    color:
        rgba(255,255,255,0.25);

    font-size: 50px;

    font-weight: 900;
}

.game-title-overlay {
    position: absolute;

    left: 30px;
    bottom: 55px;

    font-size: 45px;

    font-weight: 900;

    letter-spacing: -2px;
}

.game-content {
    padding: 30px;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.status {
    color: #8065ff;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 2px;
}

.game-content h3 {
    font-size: 30px;

    margin: 12px 0;
}

.game-content p {
    color: #666;

    font-size: 14px;

    line-height: 1.6;

    max-width: 450px;
}

.game-meta {
    display: flex;

    gap: 15px;

    margin-bottom: 15px;

    color: #888;

    font-size: 11px;
}

.release {
    margin-top: 20px;

    font-size: 10px !important;

    letter-spacing: 1px;
}

.release strong {
    color: #aaa;
}

.game-button {
    align-self: end;

    white-space: nowrap;

    background: none;

    border: none;

    color: white;

    cursor: pointer;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2px;

    transition: 0.3s;
}

.game-button span {
    color: #8065ff;

    font-size: 18px;
}

.game-button:hover {
    color: #8065ff;
}


/* =========================
   FUTURE PROJECT
========================= */

.future-art {
    height: 400px;

    display: flex;

    justify-content: center;

    align-items: center;

    background:
        radial-gradient(
            circle at center,
            #242432,
            #0b0b10 65%
        );
}

.future-symbol {
    font-size: 120px;

    font-weight: 200;

    color: rgba(255,255,255,0.12);

    transition: 0.5s;
}

.future-card:hover
.future-symbol {

    color: #8065ff;

    transform: rotate(90deg);

}


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

.about-section {
    position: relative;

    overflow: hidden;

    background: #08080d;
}

.about-content {
    max-width: 900px;

    position: relative;

    z-index: 2;
}

.about-content p:not(.section-label) {

    color: #777;

    max-width: 700px;

    font-size: 18px;

    line-height: 1.8;

    margin-top: 25px;
}

.about-details {
    display: flex;

    gap: 70px;

    margin-top: 60px;
}

.about-details div {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.about-details span {
    color: #555;

    font-size: 9px;

    letter-spacing: 2px;
}

.about-details strong {
    font-size: 20px;
}

.about-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    right: -200px;
    top: 50%;

    transform:
        translateY(-50%);

    background: #664cff;

    filter: blur(180px);

    opacity: 0.1;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    padding:
        150px 6%;

    text-align: center;
}

.contact-box {

    max-width: 900px;

    margin: auto;

    padding: 100px 30px;

    border:
        1px solid #202027;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(110,80,255,0.12),
            transparent 60%
        );
}

.contact-box h2 {

    font-size:
        clamp(50px, 8vw, 100px);

    letter-spacing: -6px;

    margin-bottom: 20px;
}

.contact-box h2 span {
    color: #8065ff;
}

.contact-box p {

    color: #666;

    margin-bottom: 40px;
}

.contact-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.large {
    padding:
        18px 30px;
}


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

footer {

    border-top:
        1px solid #18181e;

    padding:
        40px max(6vw, 30px);

    display: flex;

    justify-content: space-between;

    align-items: center;
}

footer p {

    color: #444;

    font-size: 11px;
}

.footer-links {

    display: flex;

    gap: 25px;
}

.footer-links a {

    color: #555;

    font-size: 11px;

    text-decoration: none;
}

.footer-links a:hover {

    color: white;
}


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

@media (max-width: 800px) {

    .navbar {

        top: 10px;
    }

    nav {

        display: none;
    }

    .nav-button {

        display: none;
    }

    .hero {

        padding-top:
            150px;
    }

    .hero h1 {

        letter-spacing:
            -5px;
    }

    .hero-buttons {

        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .stats {

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

        gap: 25px;
    }

    .stat:nth-child(2) {

        border: none;
    }

    .section-top {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap: 30px;
    }

    .games-grid {

        grid-template-columns:
            1fr;
    }

    .game-content {

        flex-direction:
            column;
    }

    .about-details {

        flex-wrap:
            wrap;

        gap: 35px;
    }

    footer {

        flex-direction:
            column;

        gap: 20px;
    }


}

/* =========================
   INACTIVE BUTTON
========================= */

.game-button.inactive {
    opacity: 0.45;
    cursor: default;
}

.game-button.inactive:hover {
    color: white;
}

.pulse-logo {
    position: absolute !important;

    left: 51% !important;
    top: 29% !important;

    width: 230px !important;
    height: 230px !important;

    display: block !important;

    z-index: 999 !important;

    pointer-events: none !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: translate(-50%, -50%) !important;

    filter: drop-shadow(0 0 25px rgba(128, 101, 255, 0.45)) !important;
}

.pulse-logo img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* IMPORTANT:
   Don't change the logo when hovering */

.game-card:hover .pulse-logo,
.game-card:not(:hover) .pulse-logo {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -50%) !important;
}