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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Age Gate Modal */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-gate-modal {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
    border: 2px solid #00ffff;
    max-width: 400px;
    width: 90%;
}

.age-gate-content h2 {
    color: #00ffff;
    margin-bottom: 20px;
    font-size: 24px;
}

.age-gate-content p {
    margin-bottom: 20px;
    color: #cccccc;
}

.age-gate-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
}

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

.btn-secondary {
    background: linear-gradient(45deg, #ff4444, #cc0000);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 20px;
    z-index: 1000;
    border-top: 2px solid #00ffff;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: #cccccc;
}

.cookie-content a {
    color: #00ffff;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.btn-accept, .btn-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #000;
}

.btn-decline {
    background: linear-gradient(45deg, #666666, #444444);
    color: white;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #00ffff;
}

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

.nav-logo h1 {
    color: #00ffff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f0f23 100%);
}

.cosmic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 128, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 200, 0.05) 0%, transparent 50%);
    animation: cosmicShift 20s ease-in-out infinite;
}

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

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

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #00ffff;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    letter-spacing: 3px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 30px rgba(0, 255, 255, 0.6); }
    to { text-shadow: 0 0 50px rgba(0, 255, 255, 1); }
}

.hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #cccccc;
    line-height: 1.8;
}

.cta-button,
a.cta-button {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover,
a.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.5);
}

/* Game Showcase */
.game-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e, #0f0f23);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.section-description {
    text-align: center;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #cccccc;
    line-height: 1.8;
}

.game-interface {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.game-preview-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    border: 2px solid #00ffff;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.game-preview-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.3);
}
.play-game-btn,
a.play-game-btn {
    display: block;
    margin: 40px auto 0;
    padding: 18px 40px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    text-decoration: none;
    width: fit-content;
    text-align: center;
}

.play-game-btn:hover,
a.play-game-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.5);
}

/* About Preview */
.about-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ninja-character {
    font-size: 120px;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

.about-text h2, .about-text h3 {
    color: #00ffff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.about-text h2 {
    font-size: 32px;
}

.about-text h3 {
    font-size: 20px;
    margin-top: 40px;
}

.about-text p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    padding: 60px 0 20px;
    border-top: 2px solid #00ffff;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.responsible-gaming-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.responsible-gaming-logos img {
    height: 40px;
    transition: all 0.3s ease;
}

.responsible-gaming-logos a:nth-child(1) img,
.responsible-gaming-logos a:nth-child(2) img {
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.responsible-gaming-logos img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.age-disclaimer {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff4444;
    border-radius: 10px;
}

.age-disclaimer p {
    color: #ff4444;
    font-size: 18px;
    font-weight: bold;
}

.contact-info {
    margin: 30px 0;
    color: #cccccc;
}

.contact-info a {
    color: #00ffff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 12px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-bottom-controls {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .responsible-gaming-logos {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .game-interface {
        padding: 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .age-gate-overlay,
    .cookie-banner,
    .navbar,
    .cta-button,
    .play-game-btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}