:root {
    --bg-color: #05050f;
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --neon-pink: #ff007f;
    --neon-green: #39ff14;
    --text-color: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background grid overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        linear-gradient(rgba(5, 5, 15, 0.9), rgba(5, 5, 15, 0.9)),
        repeating-linear-gradient(45deg, var(--neon-blue) 0, transparent 2px, transparent 100px),
        repeating-linear-gradient(-45deg, var(--neon-purple) 0, transparent 2px, transparent 100px);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Glow */
.glow-text-blue {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
}

.glow-text-purple {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple);
}

.glow-text-mixed {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(5, 5, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: inset 0 0 10px var(--neon-blue);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    text-align: center;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.main-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-mono);
}

.neon-box {
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    background: rgba(0, 243, 255, 0.16);
    box-shadow: 0 0 10px var(--neon-blue), inset 0 0 10px rgba(0, 243, 255, 0.2);
}

.neon-box:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
    transform: scale(1.05);
}

.neon-box-alt {
    color: var(--neon-pink);
    border: 2px solid var(--neon-pink);
    background: rgba(255, 0, 127, 0.16);
    box-shadow: 0 0 10px var(--neon-pink), inset 0 0 10px rgba(255, 0, 127, 0.2);
}

.neon-box-alt:hover {
    background: var(--neon-pink);
    color: #000;
    box-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
    transform: scale(1.05);
}

.neon-box-green {
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    background: rgba(57, 255, 20, 0.14);
    box-shadow: 0 0 10px var(--neon-green), inset 0 0 10px rgba(57, 255, 20, 0.2);
}

.neon-box-green:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px var(--neon-green), 0 0 40px var(--neon-green);
    transform: scale(1.05);
}

.neon-box-gold {
    color: #ffd447;
    border: 2px solid #ffd447;
    background: rgba(255, 212, 71, 0.16);
    box-shadow: 0 0 10px rgba(255, 212, 71, 0.95), inset 0 0 10px rgba(255, 212, 71, 0.2);
}

.neon-box-gold:hover {
    background: #ffd447;
    color: #120b00;
    box-shadow: 0 0 20px rgba(255, 212, 71, 0.95), 0 0 40px rgba(255, 212, 71, 0.85);
    transform: scale(1.05);
}

.neon-box-rainbow {
    color: #fff;
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, rgba(255, 95, 109, 0.2), rgba(90, 214, 255, 0.18)) padding-box,
        linear-gradient(90deg, #ff3b3b, #ff9a00, #ffe600, #32ff7e, #00c2ff, #7d5cff, #ff4fd8) border-box;
    box-shadow:
        0 0 10px rgba(255, 79, 216, 0.35),
        0 0 18px rgba(0, 194, 255, 0.3),
        inset 0 0 12px rgba(255, 230, 0, 0.12);
}

.neon-box-rainbow:hover {
    color: #05050f;
    background: linear-gradient(90deg, #ff5f6d, #ffc371, #fff56b, #4cffb2, #5ad6ff, #8d6bff, #ff7ad9);
    box-shadow:
        0 0 18px rgba(255, 95, 109, 0.55),
        0 0 34px rgba(90, 214, 255, 0.5),
        0 0 48px rgba(255, 122, 217, 0.35);
    transform: scale(1.05);
}

/* Game Page specific */
.game-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.arcade-launchpad {
    width: min(520px, 95%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Videos Page */
.title-center {
    text-align: center;
    font-size: 3rem;
    margin: 2rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.play-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    color: #fff;
    text-shadow: 0 0 10px #fff;
    transform: scale(1.1);
}

.video-title {
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    letter-spacing: 1px;
}
