/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #111;
    --secondary-bg: #1b1b2f;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --neon-cyan: #00ffff;
    --neon-pink: #ff00ff;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --glow-color: rgba(139, 92, 246, 0.6);
}

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, #2d1b69 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--accent-purple);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 20px var(--neon-cyan); }
    50% { text-shadow: 0 0 30px var(--neon-cyan), 0 0 40px var(--neon-cyan); }
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--neon-cyan));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-purple);
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px var(--glow-color);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--accent-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--accent-blue) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    z-index: -1;
    animation: backgroundShift 10s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

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

.hero-title {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--neon-cyan), var(--accent-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8)); }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 0 30px var(--glow-color);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px var(--glow-color);
    border-color: var(--neon-cyan);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

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

.game-card {
    background: rgba(27, 27, 47, 0.8);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card:hover::before {
    opacity: 0.1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

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

.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-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.play-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--accent-purple), var(--neon-cyan));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--glow-color);
}

/* About Section */
.about-section {
    background: rgba(27, 27, 47, 0.5);
}

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(27, 27, 47, 0.6);
    border-radius: 15px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-purple));
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
}

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

/* Disclaimer Section */
.disclaimer-section {
    background: rgba(139, 92, 246, 0.1);
    padding: 2rem 0;
}

.disclaimer-text {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 2px solid var(--accent-purple);
    padding: 2rem 0;
}

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

.footer-left h3 {
    font-family: 'Press Start 2P', cursive;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.footer-left p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

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

/* Game Page Styles */
.game-page {
    padding-top: 100px;
    min-height: 100vh;
}

.game-header {
    text-align: center;
    padding: 2rem 0;
    background: rgba(27, 27, 47, 0.8);
    margin-bottom: 2rem;
}

.game-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    margin-bottom: 1rem;
}

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

.back-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--glow-color);
}

.game-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: 3px solid var(--accent-purple);
    border-radius: 15px;
    background: var(--primary-bg);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Contact Page Styles */
.contact-page {
    padding-top: 120px;
    padding-bottom: 60px;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(27, 27, 47, 0.6);
    border-radius: 15px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.contact-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--accent-purple));
}

.contact-details h3 {
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form-container {
    background: rgba(27, 27, 47, 0.8);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.contact-form h2 {
    font-size: 1.8rem;
    color: var(--accent-purple);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(17, 17, 17, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

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

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

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-color);
}

.contact-footer {
    background: rgba(27, 27, 47, 0.6);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.contact-footer h3 {
    font-size: 1.8rem;
    color: var(--accent-purple);
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(17, 17, 17, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}

.faq-item h4 {
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: 60px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(27, 27, 47, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.legal-content h1 {
    font-family: 'Press Start 2P', cursive;
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    color: var(--accent-purple);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }

    .game-frame {
        height: 400px;
    }

    .legal-content {
        padding: 2rem;
        margin: 0 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .game-title {
        font-size: 1.8rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-footer {
        padding: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.2s; }
.game-card:nth-child(4) { animation-delay: 0.3s; }
.game-card:nth-child(5) { animation-delay: 0.4s; }
.game-card:nth-child(6) { animation-delay: 0.5s; }