* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b0fff;
    --secondary-color: #ff00ff;
    --dark-bg: #0a0015;
    --card-bg: #1a0a2e;
    --accent: #ff006e;
    --text-light: #e0e0e0;
    --text-dim: #b0b0b0;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0a0015 0%, #1a0a2e 50%, #2d1b4e 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2d1b4e 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 50px rgba(139, 15, 255, 0.5);
}

.age-modal-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.age-modal-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.age-notice {
    font-size: 14px;
    color: var(--text-dim);
}

.age-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.age-btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
}

.age-yes {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.age-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 15, 255, 0.6);
}

.age-no {
    background: #333;
    color: white;
}

.age-no:hover {
    background: #555;
}

/* Header */
.main-header {
    background: rgba(26, 10, 46, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(139, 15, 255, 0.1) 0%, transparent 100%);
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-dim);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 15, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 15, 255, 0.6);
}

/* Intro Section */
.intro-section {
    padding: 60px 0;
}

.intro-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(139, 15, 255, 0.3);
}

.intro-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.intro-card p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

/* Notices Section */
.notices-section {
    padding: 60px 0;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.notice-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.notice-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 15, 255, 0.3);
}

.notice-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.notice-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Game Section */
.game-section,
.game-play-section {
    padding: 60px 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.game-container,
.game-wrapper {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(139, 15, 255, 0.3);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    background: #000;
}

.game-iframe-full {
    width: 100%;
    height: 700px;
    border-radius: 10px;
    background: #000;
}

.game-info {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
}

/* Features Section */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(139, 15, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Responsibility Section */
.responsibility-section {
    padding: 60px 0;
}

.responsibility-card {
    background: linear-gradient(135deg, var(--card-bg), #2d1b4e);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--accent);
}

.responsibility-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Play Page Specific */
.play-hero {
    padding: 60px 0 30px;
    text-align: center;
}

.play-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.play-intro {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
}

.game-instructions {
    margin-top: 40px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
}

.game-instructions h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instruction-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.browser-support {
    margin-top: 30px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
}

.browser-support h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.support-note {
    margin-top: 10px;
    color: var(--accent);
    font-weight: 600;
}

.play-reminders {
    margin-top: 30px;
}

.reminder-box {
    background: linear-gradient(135deg, var(--card-bg), #2d1b4e);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}

.reminder-box h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--accent);
}

/* Legal Pages */
.legal-section {
    padding: 60px 0;
}

.legal-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 38px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.legal-updated {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.legal-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.legal-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.legal-content li {
    margin-bottom: 8px;
}

.disclaimer-highlight {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(139, 15, 255, 0.2));
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--accent);
    margin-bottom: 30px;
}

.disclaimer-footer-note {
    background: var(--dark-bg);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border: 2px solid var(--primary-color);
}

/* Footer */
.main-footer {
    background: var(--dark-bg);
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
}

.footer-links h4,
.footer-legal h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-links a,
.footer-legal a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 15, 255, 0.3);
    color: var(--text-dim);
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        flex-direction: column;
        padding: 30px;
        transition: right 0.3s ease;
        border-left: 2px solid var(--primary-color);
    }

    .main-nav.active {
        right: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 400px;
    }

    .game-iframe-full {
        height: 500px;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 22px;
    }

    .age-modal-content {
        padding: 30px 20px;
    }

    .age-buttons {
        flex-direction: column;
    }
}
