:root {
    --bg-color: #05050f;
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --neon-pink: #ff007f;
    --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;
    -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: transparent;
    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: transparent;
    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);
}

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

.console-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.symbol {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.arcade-cabinet {
    width: 900px;
    max-width: 95%;
    border-radius: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #111, #222);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.screen-bezel {
    width: 100%;
    aspect-ratio: 16/9;
    border: 10px solid #000;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    overflow: hidden;
    background: #000;
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Console details */
.cabinet-controls {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    align-items: center;
}

.d-pad {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.d-middle {
    display: flex;
    align-items: center;
}

.btn-up, .btn-down, .btn-left, .btn-right, .center-piece {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    box-shadow: inset 0 0 5px #000;
    border: 1px solid #111;
}

.center-piece { color: transparent; }
.btn-up { border-radius: 5px 5px 0 0; border-bottom: none; }
.btn-down { border-radius: 0 0 5px 5px; border-top: none; }
.btn-left { border-radius: 5px 0 0 5px; border-right: none; }
.btn-right { border-radius: 0 5px 5px 0; border-left: none; }

.action-buttons {
    display: flex;
    gap: 15px;
    transform: rotate(-15deg);
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: inset -2px -2px 10px rgba(0,0,0,0.5), 0 5px 15px rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.8);
}

.red-glow {
    background: #cc0000;
    border: 2px solid #ff3333;
}

.green-glow {
    background: #009900;
    border: 2px solid #33ff33;
}

/* 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;
}
