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

:root {
    --primary-bg: #0a0a0f;
    --secondary-bg: #1a1a2e;
    --tertiary-bg: #16213e;
    --neon-blue: #00ffff;
    --neon-purple: #8a2be2;
    --neon-gold: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --success: #00ff88;
    --warning: #ffaa00;
    --error: #ff4444;
    
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    --shadow-neon-blue: 0 0 20px rgba(0, 255, 255, 0.3);
    --shadow-neon-purple: 0 0 20px rgba(138, 43, 226, 0.3);
    --shadow-neon-gold: 0 0 20px rgba(255, 215, 0, 0.3);
}

body {
    font-family: var(--font-secondary);
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, var(--tertiary-bg) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.hero-title, .section-title {
    font-family: var(--font-primary);
    font-weight: 900;
    line-height: 1.2;
}

.neon-text {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--shadow-neon-blue);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--shadow-neon-blue);
    animation: pulse 2s ease-in-out infinite;
}

.logo-content {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--shadow-neon-blue);
    line-height: 1;
}

.logo-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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

.nav-menu a:hover {
    color: var(--neon-blue);
    text-shadow: var(--shadow-neon-blue);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(138, 43, 226, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(138, 43, 226, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles 20s linear infinite;
    pointer-events: none;
}

@keyframes particles {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--neon-gold);
    color: var(--neon-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    to { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: var(--shadow-neon-blue);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--neon-gold);
    margin-bottom: 1rem;
    text-shadow: var(--shadow-neon-gold);
    font-style: italic;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: var(--shadow-neon-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    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 {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

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

.hero-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-symbol {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.symbol-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.symbol-2 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.symbol-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.symbol-4 {
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.symbol-5 {
    bottom: 40%;
    left: 20%;
    animation-delay: 3s;
}

.symbol-6 {
    top: 70%;
    left: 70%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: rgba(26, 26, 46, 0.5);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.disclaimer-box {
    background: rgba(255, 170, 0, 0.1);
    border: 2px solid var(--warning);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 5px 20px rgba(255, 170, 0, 0.2);
}

.disclaimer-box h3 {
    color: var(--warning);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

/* Games Section */
.games {
    background: var(--primary-bg);
}

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

.game-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
}

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

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

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

.game-emoji-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--secondary-bg), var(--tertiary-bg));
    position: relative;
    overflow: hidden;
}

.game-emoji-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(138, 43, 226, 0.1) 50%, 
        rgba(255, 215, 0, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.game-card:hover .game-emoji-bg {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    text-shadow: var(--shadow-neon-blue);
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--neon-gold);
}

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

.game-specs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.spec {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.play-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* Features Section */
.features {
    background: rgba(22, 33, 62, 0.5);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
    box-shadow: var(--shadow-neon-purple);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-primary);
    color: var(--neon-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-primary);
    color: var(--neon-gold);
    margin-bottom: 1rem;
}

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

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

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

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

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

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding-top: 2rem;
}

.disclaimers p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.disclaimers strong {
    color: var(--warning);
}

.disclaimers a {
    color: var(--neon-blue);
    text-decoration: none;
}

.disclaimers a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: var(--secondary-bg);
    margin: 10% auto;
    padding: 2rem;
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-neon-blue);
}

/* Age Modal */
.age-modal-content {
    text-align: center;
}

.age-modal-header {
    margin-bottom: 2rem;
}

.age-modal-header h2 {
    font-family: var(--font-primary);
    color: var(--neon-gold);
    margin-bottom: 1rem;
}

.olympus-symbol {
    font-size: 3rem;
    color: var(--neon-blue);
    text-shadow: var(--shadow-neon-blue);
}

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

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 68, 68, 0.2);
    color: var(--error);
    border: 2px solid var(--error);
}

.btn-secondary:hover {
    background: var(--error);
    color: white;
}

/* Game Modal */
.game-modal {
    z-index: 10001;
}

.game-modal-content {
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: none;
    height: 95%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    color: var(--neon-blue);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--neon-blue);
    color: var(--primary-bg);
    transform: rotate(90deg);
}

#gameFrame {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav {
        padding: 1rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .age-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
    
    .game-modal-content {
        width: 98%;
        height: 90%;
        margin: 5% auto;
    }
    
    section {
        padding: 3rem 0;
    }
}