:root {
    --primary-color: #00ff88;
    --secondary-color: #ff0066;
    --accent-color: #00ccff;
    --background-dark: #0a0a0a;
    --background-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-glow: #00ff88;
    --shadow-neon: 0 0 20px;
}

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

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

/* Age Disclaimer Banner */
.age-disclaimer-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    z-index: 2000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(255, 0, 102, 0.5);
    animation: slideDown 0.5s ease-out;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.age-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.disclaimer-content .disclaimer-text {
    flex: 1;
    color: var(--background-dark);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.dismiss-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: var(--background-dark);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.dismiss-disclaimer:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.disclaimer-hidden {
    transform: translateY(-100%);
    transition: transform 0.5s ease-out;
}

/* Adjust body padding when disclaimer is visible */
body:not(.disclaimer-dismissed) {
    padding-top: 80px;
}

body.disclaimer-dismissed {
    padding-top: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-glow);
    z-index: 1000;
    transition: all 0.3s ease;
}

body:not(.disclaimer-dismissed) .navbar {
    top: 80px;
}

body.disclaimer-dismissed .navbar {
    top: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
}

.nav-logo {
    position: relative;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.logo-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan 2s infinite;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 20px;
}

.nav-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-neon) var(--primary-color);
    transform: scale(1.05);
}

.nav-icon {
    filter: hue-rotate(120deg);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, var(--background-dark) 70%);
}

.neuron-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--secondary-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--accent-color), transparent);
    background-size: 100px 100px;
    animation: pulse 4s ease-in-out infinite;
}

.dna-strands {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(0, 255, 136, 0.1) 50%, 
        transparent 60%
    );
    background-size: 50px 50px;
    animation: flow 8s linear infinite;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glitch-text {
    display: block;
    color: var(--primary-color);
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color);
    animation: glitch 2s infinite;
}

.hero-subtitle {
    display: block;
    color: var(--secondary-color);
    font-size: 2.5rem;
    text-shadow: 0 0 15px var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--background-dark);
    box-shadow: var(--shadow-neon) var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--background-dark);
    box-shadow: var(--shadow-neon) var(--secondary-color);
}

.hero-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: scanVertical 3s infinite;
}

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

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Game Gallery */
.game-gallery {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--background-dark);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.game-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-neon) var(--primary-color);
    transform: translateY(-3px);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-overlay h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.play-btn {
    display: block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--background-dark);
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.play-btn:hover::before {
    left: 100%;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.5);
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: var(--background-dark);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-choose-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gamer-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), var(--accent-color));
    position: relative;
    animation: rotate 10s linear infinite;
}

.avatar-scan {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotate 2s linear infinite reverse;
}

.neural-interface {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    background: rgba(0, 204, 255, 0.1);
}

.neural-interface::before {
    content: '🧠';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    filter: hue-rotate(120deg);
}

.hud-title {
    text-align: left;
    margin-bottom: 2rem;
}

.hud-container {
    position: relative;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    overflow: hidden;
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.1) 2px,
        rgba(0, 255, 136, 0.1) 4px
    );
    animation: flicker 0.5s infinite alternate;
}

.hud-list {
    list-style: none;
    position: relative;
    z-index: 2;
}

.hud-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.hud-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

/* About Preview Section */
.about-preview {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.about-content {
    text-align: center;
}

.retinal-scan {
    position: relative;
    height: 100px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-animation {
    width: 80px;
    height: 80px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotate 1s linear infinite;
}

.scan-text {
    position: absolute;
    bottom: 0;
    font-family: 'Orbitron', monospace;
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.about-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.game-snapshots {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.snapshot {
    position: relative;
    width: 500px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.snapshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 204, 255, 0.1) 50%, transparent 70%);
    background-size: 20px 20px;
    animation: circuitFlow 3s linear infinite;
}

/* Footer */
.footer {
    background: var(--background-dark);
    border-top: 2px solid var(--primary-color);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.footer-disclaimer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.3);
}

.disclaimer-text {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    animation: pulse 3s infinite;
}

/* Animations */
@keyframes slideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes scanVertical {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
}

@keyframes flow {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

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

@keyframes flicker {
    0% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

@keyframes circuitFlow {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 20px 20px, -20px -20px; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .disclaimer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .disclaimer-content .disclaimer-text {
        font-size: 0.85rem;
    }
    
    .age-disclaimer-banner {
        padding: 0.75rem 0;
    }
    
    body:not(.disclaimer-dismissed) {
        padding-top: 100px;
    }
    
    body:not(.disclaimer-dismissed) .navbar {
        top: 100px;
    }
    
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .game-snapshots {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Game Page Styles */
.game-page {
    min-height: 100vh;
    padding-top: 70px;
    background: var(--background-dark);
}

body:not(.disclaimer-dismissed) .game-page {
    padding-top: 150px;
}

.game-header {
    background: var(--background-secondary);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
    margin-bottom: 1rem;
}

.game-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.game-iframe {
    width: 100%;
    height: 500px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: var(--shadow-neon) var(--primary-color);
    background: var(--background-secondary);
}

.back-button {
    display: inline-block;
    margin: 2rem 0;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: var(--background-dark);
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 102, 0.5);
}

/* Page Specific Styles */
.page-content {
    min-height: 100vh;
    padding: 100px 0 50px;
    background: var(--background-dark);
}

body:not(.disclaimer-dismissed) .page-content {
    padding: 180px 0 50px;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    margin-bottom: 1rem;
}

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

.content-section {
    background: var(--background-secondary);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-neon) var(--primary-color);
}

.content-section h2 {
    font-family: 'Orbitron', monospace;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.content-section ul {
    color: var(--text-secondary);
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--background-dark);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: var(--shadow-neon) var(--primary-color);
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--background-dark);
    border: none;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.5);
}
/* 
Loading animation for forms
.loading {
    position: relative;
    overflow: hidden;
} */
/* 
.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
    animation: loading 1.5s infinite;
} */

/* @keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
} */