@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

:root {
    --cyber-yellow: #FFE600; 
    --cyber-yellow-glow: rgba(255, 230, 0, 0.6);
    --cyber-purple: #5A009D;
    --neon-purple: #8E2DE2;
    --dark-void: #06020A;
    --glass-bg: rgba(20, 5, 35, 0.75);
    --steam-blue: #1b2838;
    --steam-light: #66c0f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

body, a, button {
    cursor: none;
}

body {
    background-color: var(--dark-void);
    color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.6;
}

#cyber-cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--cyber-yellow);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 0 10px var(--cyber-yellow);
    transition: background 0.3s, box-shadow 0.3s, transform 0.1s ease-out;
}

#cyber-cursor-trail {
    position: fixed;
    width: 30px; height: 30px;
    border: 1px solid var(--cyber-purple);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: left 0.1s ease-out, top 0.1s ease-out, border-color 0.3s, transform 0.2s;
    box-shadow: 0 0 15px rgba(90, 0, 157, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--cyber-purple);
    box-shadow: 0 0 25px rgba(90, 0, 157, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 70px;
    filter: drop-shadow(0px 0px 8px var(--cyber-yellow));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.steam-link {
    text-decoration: none;
    display: inline-block;
}

.skew-box {
    transform: skewX(-15deg);
    border-radius: 2px;
}

.unskew {
    transform: skewX(15deg);
    display: inline-block;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.6);
    color: var(--cyber-yellow);
    border: 2px solid var(--cyber-purple);
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn:hover {
    background: var(--cyber-purple);
    color: white;
    box-shadow: 0 0 15px var(--neon-purple);
    border-color: var(--neon-purple);
}

.outline-purple {
    border-color: var(--cyber-purple);
    color: white;
}

.cyber-btn {
    border-color: var(--cyber-yellow);
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.2);
    background: rgba(0,0,0,0.8);
    color: var(--cyber-yellow);
    cursor: none;
}

.cyber-btn:hover {
    background: var(--cyber-yellow);
    color: black;
    box-shadow: 0 0 20px var(--cyber-yellow-glow);
}

.pay-btn {
    background: var(--cyber-yellow);
    color: black;
    font-weight: 900;
    border: 2px solid #fff;
}

.pay-btn:hover {
    background: white;
    color: black;
    box-shadow: 0 0 25px #fff;
}

.hero-section {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 110px);
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -3; opacity: 0.9;
    filter: contrast(1.2) saturate(1.5);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--dark-void) 100%);
    z-index: -2; pointer-events: none;
}

.cyber-grid {
    position: absolute;
    bottom: -20%; left: -50%; width: 200%; height: 60%;
    background-image: 
        linear-gradient(to right, var(--cyber-purple) 1px, transparent 1px),
        linear-gradient(to top, var(--cyber-purple) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(600px) rotateX(75deg);
    animation: gridMove 3s linear infinite;
    z-index: -1; opacity: 0.4;
    box-shadow: inset 0 100px 100px var(--dark-void);
    pointer-events: none; transition: transform 0.1s ease-out;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

.hero-bottom-bar {
    position: absolute;
    bottom: 30px; left: 30px; right: 30px;
    display: flex; justify-content: space-between; align-items: flex-end;
    z-index: 20; gap: 20px; pointer-events: none;
}

.hero-bottom-bar > * { pointer-events: auto; }

.hero-content {
    display: flex; flex-direction: column; align-items: flex-start;
    text-align: left; position: relative; padding: 0; transition: transform 0.1s ease-out;
}

.glitch {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 900; font-style: italic;
    color: var(--cyber-yellow); text-transform: uppercase;
    position: relative;
    text-shadow: 2px 2px 0px var(--cyber-purple), -2px -2px 0px #fff;
    margin-bottom: 0; line-height: 1;
}

.video-controls {
    position: relative; background-color: var(--glass-bg);
    border: 2px solid var(--cyber-purple); padding: 10px;
    box-shadow: 0 0 15px rgba(90, 0, 157, 0.8); flex-shrink: 0;
}

.video-controls .cyber-btn {
    background: rgba(0, 0, 0, 0.6); color: var(--cyber-yellow);
    border: 1px solid var(--cyber-yellow); padding: 8px 15px; margin: 0 5px;
    font-family: 'Orbitron', sans-serif; font-weight: 700; transition: 0.3s all;
}

.action-section {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 20px 20px 20px; background-color: var(--dark-void);
    position: relative; z-index: 10; width: 100%;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 700; letter-spacing: 4px;
    background: var(--glass-bg); padding: 10px 30px;
    border-left: 5px solid var(--cyber-yellow); border-right: 5px solid var(--cyber-purple);
    margin-bottom: 30px; text-align: center;
}

.steam-cta-container {
    background: var(--steam-blue); border: 2px solid var(--steam-light);
    padding: 15px 40px; transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.4); margin-bottom: 20px;
}

.steam-cta-container:hover {
    background: var(--steam-light); border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); transform: skewX(-15deg) scale(1.05);
}

.cta-steam-btn {
    text-decoration: none; color: white; font-size: 1.5rem; font-weight: 900; letter-spacing: 2px;
}

.carousel-container {
    position: relative; width: 90%; max-width: 800px;
    margin: 50px auto; overflow: hidden; border: 3px solid var(--cyber-purple);
    box-shadow: 0 0 25px rgba(90, 0, 157, 0.8); border-radius: 4px; background: var(--dark-void);
}

.carousel-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.carousel-track img { width: 100%; flex-shrink: 0; object-fit: cover; aspect-ratio: 16/9; }

.carousel-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--glass-bg); color: var(--cyber-yellow);
    border: 2px solid var(--cyber-yellow); font-size: 2rem; padding: 10px 20px; z-index: 15;
}

#prev-btn { left: 0; } #next-btn { right: 0; }

.modal {
    display: none; position: fixed; z-index: 200; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(6, 2, 10, 0.85); backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--glass-bg); margin: 10vh auto; padding: 40px;
    border: 3px solid var(--cyber-purple); width: 90%; max-width: 450px;
    text-align: center; box-shadow: 0 0 30px rgba(90, 0, 157, 0.6);
}

.modal-title { color: var(--cyber-yellow); font-weight: 900; font-size: 1.8rem; margin-bottom: 15px; }

.close { background: none; border: none; color: white; float: right; font-size: 35px; font-weight: bold; }

@media screen and (max-width: 768px) {
    .navbar { flex-direction: column; padding: 15px; gap: 15px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .nav-btn { font-size: 12px; padding: 8px 15px; }
    .hero-bottom-bar { flex-direction: column; align-items: center; bottom: 15px; left: 15px; right: 15px; gap: 20px; }
    .hero-content { align-items: center; text-align: center; }
    .video-controls { transform: scale(0.85); transform-origin: center; }
    .cta-steam-btn { font-size: 1.2rem; }
    .scanlines, #cyber-cursor, #cyber-cursor-trail { display: none; }
    body, a, button { cursor: auto; }
}