@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #070914;
    --panel: #111528;
    --cyan: #00f0ff;
    --purple: #a855f7;
    --white: #f5f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.navbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    background: #0a0d1b;
    border-bottom: 1px solid #252b43;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron';
    font-size: 20px;
    font-weight: 900;
}

.logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.cyan {
    color: var(--cyan);
}

.owner {
    font-size: 11px;
    letter-spacing: 2px;
    color: #b9bfd4;
    font-weight: 700;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 18px;
    background: #0d1122;
}

.menu a {
    color: #aeb5ce;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    transition: .3s;
}

.menu a:hover {
    color: var(--cyan);
}

.hero {
    min-height: 570px;
    padding: 100px 10%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 50%, #30206b 0%, transparent 35%),
        linear-gradient(110deg, #0b1021, #090b19);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge, .small-title {
    color: var(--cyan);
    letter-spacing: 3px;
    font-size: 10px;
    font-weight: 800;
}

.hero h1 {
    font-family: 'Orbitron';
    font-size: clamp(40px, 7vw, 75px);
    line-height: 1.2;
    margin: 25px 0;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--cyan);
    text-shadow: 0 0 25px #00f0ff55;
}

.hero p {
    color: #aab1c9;
    line-height: 1.8;
    font-size: 14px;
}

.main-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 25px;
    color: #07101c;
    background: var(--cyan);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    transition: .3s;
}

.main-btn:hover {
    background: white;
    transform: translateY(-4px);
}

.planet {
    position: absolute;
    right: 13%;
    top: 130px;
    width: 260px;
    height: 260px;
    display: grid;
    place-items: center;
}

.planet-core {
    width: 155px;
    height: 155px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: 'Orbitron';
    font-size: 80px;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg, #00e5ff, #7444ff);
    box-shadow: 0 0 80px #7b52ff88;
}

.orbit {
    position: absolute;
    width: 260px;
    height: 100px;
    border: 2px solid #00e5ff88;
    border-radius: 50%;
    transform: rotate(-30deg);
}

.orbit-two {
    transform: rotate(60deg);
    border-color: #a855f788;
}

.hero-bottom {
    position: absolute;
    bottom: 28px;
    left: 10%;
    color: #626b8c;
    letter-spacing: 5px;
    font-size: 9px;
}

.games, .arcade {
    padding: 85px 8%;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-title h2, .arcade h2 {
    font-family: 'Orbitron';
    font-size: 35px;
    margin-top: 10px;
}

.section-title h2 span, .arcade h2 span {
    color: var(--cyan);
}

.counter {
    color: #6d7693;
    font-size: 12px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    background: var(--panel);
    border: 1px solid #262e4a;
    overflow: hidden;
    transition: .3s;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 15px 40px #00e5ff12;
}

.game-art {
    height: 190px;
    display: grid;
    place-items: center;
    font-size: 75px;
    background: linear-gradient(135deg, #17264c, #29205d);
}

.card-two .game-art {
    background: linear-gradient(135deg, #34204f, #151c40);
}

.card-three .game-art {
    background: linear-gradient(135deg, #143e4c, #191d42);
}

.game-info {
    padding: 25px;
}

.game-info span {
    color: var(--cyan);
    font-size: 9px;
    letter-spacing: 2px;
}

.game-info h3 {
    font-family: 'Orbitron';
    font-size: 16px;
    margin: 14px 0;
}

.game-info p {
    color: #939cb7;
    font-size: 12px;
    line-height: 1.7;
    min-height: 40px;
}

.game-info button {
    width: 100%;
    margin-top: 22px;
    background: transparent;
    color: var(--cyan);
    border: 1px solid #00e5ff77;
    padding: 13px;
    font-weight: 800;
    cursor: pointer;
}

.game-info button:hover {
    color: #07101c;
    background: var(--cyan);
}

.arcade {
    text-align: center;
    background: #0c1020;
}

.arcade > p {
    color: #929bb7;
    margin-top: 12px;
    font-size: 13px;
}

.game-box {
    max-width: 850px;
    min-height: 300px;
    margin: 35px auto 0;
    padding: 20px;
    border: 1px solid #313958;
    background: #080b17;
    border-radius: 12px;
}

.game-placeholder {
    padding: 55px 10px;
}

.game-placeholder span {
    font-size: 55px;
}

.game-placeholder h3 {
    font-family: 'Orbitron';
    margin: 15px;
}

.game-placeholder p {
    color: #8d97b3;
    font-size: 13px;
}

#gameCanvas {
    display: block;
    width: 100%;
    background: #101a33;
    border-radius: 8px;
    touch-action: manipulation;
}

.game-controls {
    margin-top: 12px;
    color: #aab1c9;
    font-size: 12px;
}

.arcade button {
    border: 0;
    padding: 11px 18px;
    margin: 5px;
    background: var(--cyan);
    color: #07101c;
    font-weight: 800;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 45px 15px;
    border-top: 1px solid #252b43;
}

.footer-logo {
    font-family: 'Orbitron';
    font-size: 22px;
    font-weight: 900;
}

.footer-logo span {
    color: var(--cyan);
}

footer p {
    color: #7e88a8;
    font-size: 10px;
    letter-spacing: 3px;
    margin: 12px;
}

footer small {
    color: #606a86;
    font-size: 10px;
}

@media(max-width: 750px) {
    .planet {
        opacity: .23;
        right: -60px;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 90px 7%;
    }

    .navbar {
        padding: 0 4%;
    }

    .brand {
        font-size: 15px;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .owner {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .menu {
        gap: 25px;
    }

    .games, .arcade {
        padding: 65px 6%;
    }
}