* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #1a237e;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

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

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

.age-modal.active {
    display: flex;
}

.age-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-content h2 {
    color: #1a237e;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-content p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.1rem;
}

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

.age-buttons button {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-yes {
    background: #1a237e;
    color: white;
}

.btn-yes:hover {
    background: #0d1642;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);
}

.btn-no {
    background: #dc3545;
    color: white;
}

.btn-no:hover {
    background: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Navigation */
.navbar {
    background: #1a237e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffd700;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffd700;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-notices {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.notice-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Sections */
.intro, .features, .community {
    padding: 4rem 0;
    background: white;
}

.intro h2, .features h2, .community h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Important Notices */
.important-notices {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.notice-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    margin-bottom: 1rem;
    color: #1a237e;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background: white;
}

.game-section h2 {
    text-align: center;
}

.game-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.game-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

/* Play Page */
.play-hero {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.play-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.play-hero p {
    font-size: 1.2rem;
}

.game-play {
    padding: 4rem 0;
    background: white;
}

.game-info {
    margin-bottom: 2rem;
}

.game-tips {
    list-style: none;
    margin-top: 1rem;
}

.game-tips li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.game-embed {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.game-embed iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.play-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.play-notice h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.play-notice p {
    color: #856404;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
    background: white;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a237e;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.legal-notice {
    background: #e3f2fd;
    border-left: 4px solid #1a237e;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 5px;
}

.legal-notice p {
    margin: 0;
}

.disclaimer-highlight {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.disclaimer-highlight h2 {
    color: #856404;
    margin-top: 0;
}

.disclaimer-highlight p {
    color: #856404;
    margin: 0;
}

/* Footer */
footer {
    background: #1a237e;
    color: white;
    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 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1a237e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-notices {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .game-container iframe,
    .game-embed iframe {
        height: 400px;
    }

    .age-content {
        padding: 2rem;
        margin: 1rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}