/* Variables & Theme */
:root {
    /* Color Palette - Cyberpunk / Futuristic */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.7);
    --primary-cyan: #00f0ff;
    --primary-magenta: #ff003c;
    --text-main: #f0f0f0;
    --text-muted: #a0a0b0;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-magenta) 100%);
    --grad-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    
    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Background Effects */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 60, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Utilities */
h1, h2, h3, h4, .logo, .game-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.highlight {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--trans-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 240, 255, 0.2);
    transition: var(--trans-smooth);
    z-index: -1;
    transform: skewX(-15deg);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-magenta);
}

.btn-outline {
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    background: transparent;
    padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--trans-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
    transition: var(--trans-fast);
}

.logo img:hover {
    filter: drop-shadow(0 0 12px rgba(255, 0, 60, 0.8));
    transform: scale(1.05);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--trans-fast);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-cyan);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: var(--trans-smooth);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1.glitch {
    position: relative;
    color: var(--text-main);
}

.hero h1.glitch::before,
.hero h1.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero h1.glitch::before {
    color: var(--primary-cyan);
    z-index: -1;
    transform: translateX(-2px) translateY(-2px);
}

.hero h1.glitch::after {
    color: var(--primary-magenta);
    z-index: -2;
    transform: translateX(2px) translateY(2px);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-main);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* About Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: var(--trans-smooth);
    border-top: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top: 2px solid var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Games Section */
.game-showcase {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
    overflow: hidden;
    position: relative;
}

.game-showcase::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,0,60,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.game-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.badge {
    background: var(--primary-magenta);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.game-info .game-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.game-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.game-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.game-features li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-buttons {
    display: flex;
    gap: 1.5rem;
}

.store-btn img {
    height: 50px;
    transition: var(--trans-fast);
}

.store-btn:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.game-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--trans-smooth);
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.4);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 240, 255, 0.1) 51%, transparent 51%);
    background-size: 100% 4px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.5;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    background: linear-gradient(to top, rgba(10,10,15,1) 0%, rgba(10,10,15,0) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--trans-fast);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    font-weight: bold;
    transition: var(--trans-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary-magenta);
    border-color: var(--primary-magenta);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .game-showcase {
        flex-direction: column;
        padding: 3rem 2rem;
    }
    
    .game-info {
        text-align: center;
    }
    
    .game-features li {
        justify-content: center;
    }
    
    .store-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
