* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-light: #f1f5f9;
    --text-gray: #cbd5e1;
    --border-color: #334155;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Age Gate */
.age-gate {
    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: 10000;
    backdrop-filter: blur(10px);
}

.age-gate.hidden {
    display: none;
}

.age-gate-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--darker-bg) 100%);
    border-radius: 30px;
    padding: 50px;
    max-width: 500px;
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.age-gate-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.age-gate-content h2 {
    font-size: 2rem;
    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;
}

.age-gate-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.age-gate-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.age-btn {
    flex: 1;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    min-width: 180px;
}

.age-yes {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.age-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.age-no {
    background: var(--card-bg);
    color: var(--text-gray);
    border: 2px solid var(--border-color);
}

.age-no:hover {
    background: var(--darker-bg);
    border-color: var(--primary-color);
}

/* Navigation */
header {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-svg {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Main Content */
main {
    padding-bottom: 50px;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--card-bg);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

/* Sections */
section {
    padding: 60px 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Important Notices */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.notice-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notice-primary {
    border-left-color: var(--primary-color);
}

.notice-secondary {
    border-left-color: var(--secondary-color);
}

.notice-accent {
    border-left-color: var(--accent-color);
}

.notice-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.notice-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Game Section */
.game-wrapper {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 20px;
    margin: 40px 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.2);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    background: #000;
}

.game-info {
    background: var(--darker-bg);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.game-info p {
    margin-bottom: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.game-info p:last-child {
    margin-bottom: 0;
}

/* Content Blocks */
.content-blocks {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.content-block {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.content-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-block p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1), transparent);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

/* Play Page */
.play-hero {
    text-align: center;
    padding: 60px 20px;
}

.play-hero h1 {
    font-size: 3rem;
    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;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.instruction-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.instruction-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.instruction-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.instruction-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.technical-info,
.play-reminder {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.technical-info h3,
.play-reminder h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.technical-info p,
.play-reminder ul {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.play-reminder ul {
    list-style: none;
    padding: 0;
}

.play-reminder li {
    padding: 12px;
    margin-bottom: 10px;
    background: var(--darker-bg);
    border-radius: 10px;
}

/* Legal Pages */
.page-header {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.legal-content {
    background: var(--card-bg);
    padding: 60px;
    border-radius: 25px;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    text-align: left;
    font-size: 2rem;
    margin: 40px 0 20px 0;
    color: var(--primary-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: var(--text-light);
}

.legal-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--text-gray);
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 10px;
}

.terms-footer,
.privacy-summary,
.disclaimer-summary {
    background: var(--darker-bg);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 2px solid var(--primary-color);
}

.disclaimer-highlight {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    margin-bottom: 40px;
}

.disclaimer-highlight h2 {
    text-align: center;
    color: var(--accent-color);
}

/* Footer */
footer {
    background: var(--darker-bg);
    border-top: 2px solid var(--border-color);
    padding: 50px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px;
        gap: 0;
        transition: left 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin-bottom: 15px;
    }

    .nav-menu a {
        display: block;
        padding: 15px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .play-hero h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .age-gate-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .age-gate-content h2 {
        font-size: 1.5rem;
    }

    .age-gate-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    .game-frame {
        height: 400px;
    }

    .features-grid,
    .notice-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
    }
}
