* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6b46c1;
    --secondary: #9f7aea;
    --accent: #f6ad55;
    --dark: #1a202c;
    --light: #f7fafc;
    --text: #2d3748;
    --border: #e2e8f0;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-gate.hidden {
    display: none;
}

.age-gate-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-gate-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2em;
}

.age-gate-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.age-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.age-buttons button {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
}

.age-buttons button:first-child {
    background: var(--primary);
    color: white;
}

.age-buttons button:first-child:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.age-buttons button:last-child {
    background: #e2e8f0;
    color: var(--text);
}

.age-buttons button:last-child:hover {
    background: #cbd5e0;
}

/* Header */
header {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
    font-size: 1.05em;
}

nav a:hover {
    color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.9), rgba(159, 122, 234, 0.9));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.hero h2 {
    font-family: 'Cinzel', serif;
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.important-notices {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.notice {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
    background: white;
    margin: 40px 0;
    padding: 60px 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

/* Game Section */
.game-section {
    background: linear-gradient(to bottom, #f7fafc, #edf2f7);
}

.game-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.feature-card p {
    line-height: 1.7;
}

/* About */
.about {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}

.about p {
    font-size: 1.15em;
    line-height: 1.9;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Play Page */
.page-header {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.9), rgba(159, 122, 234, 0.9));
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.8em;
    color: white;
}

.game-play {
    background: white;
}

.game-info {
    background: #f7fafc;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.game-info h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.game-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.game-info li {
    padding: 10px 0;
    font-size: 1.1em;
}

.reminder {
    background: #fff5f5;
    border-left: 4px solid #f56565;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

/* Legal Pages */
.legal-page {
    background: white;
    padding: 60px 0;
}

.legal-page h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.legal-page h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary);
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page p,
.legal-page li {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-page ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.updated {
    color: #718096;
    font-style: italic;
    margin-bottom: 30px;
}

.disclaimer-notice {
    background: #fff5f5;
    border: 2px solid #fc8181;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.disclaimer-notice h3 {
    color: #c53030;
    margin-top: 0;
}

/* Footer */
footer {
    background: rgba(26, 32, 44, 0.95);
    color: var(--light);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 80px);
        background: rgba(26, 32, 44, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: right 0.3s;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        right: 0;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero .lead {
        font-size: 1.1em;
    }

    .important-notices {
        gap: 15px;
    }

    .notice {
        font-size: 0.95em;
        padding: 12px 20px;
    }

    section h2 {
        font-size: 2em;
    }

    .game-frame {
        height: 400px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .age-gate-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .age-gate-content h2 {
        font-size: 1.5em;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }
}
