@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-dark: #2a2a2a;
    --neon-blue: #00d4ff;
    --neon-purple: #8b5cf6;
    --neon-green: #00ff88;
    --text-light: #ffffff;
    --text-muted: #e0e0e0;
    --text-primary: #ffffff;
    --text-secondary: #d1d1d1;
    --dark-card: #1a1a1a;
    --danger: #ff4757;
    --warning: #ffa502;
    --success: #2ed573;
    --gradient-primary: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    --gradient-secondary: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

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

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    opacity: 1;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.navbar-toggler {
    border: none;
    color: var(--neon-blue);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    background: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('../img/hero.png') center/cover no-repeat,
        var(--gradient-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 49%, rgba(0, 212, 255, 0.05) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(139, 92, 246, 0.05) 50%, transparent 51%);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
    backdrop-filter: blur(1px);
    padding: 2rem;
    border-radius: 15px;
    background: rgba(10, 10, 10, 0.1);
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.6)); }
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Buttons */
.btn-custom {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid var(--neon-blue);
    background: transparent;
    color: var(--neon-blue);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.btn-custom:hover {
    color: white;
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.btn-secondary:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

/* Cards */
.card-custom {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card-custom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-custom:hover::before {
    opacity: 1;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.card-custom .card-body {
    padding: 2rem;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 13px;
    position: relative;
    z-index: 1;
}

.card-custom h3 {
    font-family: 'Orbitron', monospace;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Game Container */
.game-container {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    padding: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        var(--neon-blue),
        var(--neon-purple),
        var(--neon-green),
        var(--neon-blue)
    );
    animation: rotate 10s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.game-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

/* Age Verification */
.age-verification {
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid var(--danger);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.age-verification h4 {
    color: var(--danger);
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
}

/* Contact Form */
.form-control {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(26, 26, 26, 0.9);
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--neon-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    font-family: 'Orbitron', monospace;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer p, .footer ul li {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--neon-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--neon-blue);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .game-container iframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    .game-container iframe {
        height: 350px;
    }
    
    .card-custom .card-body {
        padding: 1.5rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--neon-blue);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Glow Effects */
.glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px var(--neon-blue); }
    50% { box-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue); }
    100% { box-shadow: 0 0 5px var(--neon-blue); }
}