* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2043 100%);
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #5d3a8f 0%, #3d2061 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #ffd700;
}

.age-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.age-modal-content h2 {
    color: #ffd700;
    font-size: 32px;
    margin-bottom: 20px;
}

.age-modal-content p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.age-disclaimer {
    font-size: 14px;
    color: #d4b896;
}

.age-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 15px 35px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
}

.age-yes {
    background: #ffd700;
    color: #2d2043;
}

.age-yes:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

.age-no {
    background: #666;
    color: #fff;
}

.age-no:hover {
    background: #555;
}

/* Navigation */
.navbar {
    background: rgba(29, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #ffd700;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(93, 58, 143, 0.9), rgba(45, 32, 67, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a2e" width="1200" height="600"/></svg>');
    padding: 100px 20px;
    text-align: center;
    border-bottom: 4px solid #ffd700;
}

.hero-content h1 {
    font-size: 56px;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    color: #fff;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    padding: 12px 25px;
    border-radius: 30px;
    color: #ffd700;
    font-weight: 700;
    font-size: 16px;
}

/* About Section */
.about-section {
    background: #fff;
    padding: 80px 20px;
}

.about-section h2 {
    text-align: center;
    font-size: 42px;
    color: #5d3a8f;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: linear-gradient(135deg, #5d3a8f 0%, #3d2061 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #ffd700;
    font-size: 26px;
    margin-bottom: 15px;
}

.info-card p {
    color: #fff;
    line-height: 1.8;
}

/* Game Section */
.game-section {
    background: linear-gradient(135deg, #2d2043 0%, #1a1a2e 100%);
    padding: 80px 20px;
}

.game-section h2 {
    text-align: center;
    font-size: 42px;
    color: #ffd700;
    margin-bottom: 20px;
}

.game-intro {
    text-align: center;
    font-size: 18px;
    color: #d4b896;
    margin-bottom: 40px;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 3px solid #ffd700;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Notice Section */
.notice-section {
    background: #f8f8f8;
    padding: 80px 20px;
}

.notice-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    border-left: 6px solid #ffd700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.notice-box h3 {
    color: #5d3a8f;
    font-size: 28px;
    margin-bottom: 25px;
}

.notice-box ul {
    list-style: none;
}

.notice-box li {
    margin-bottom: 20px;
    padding-left: 10px;
    line-height: 1.8;
    color: #333;
}

.notice-box strong {
    color: #5d3a8f;
}

/* Extra Section */
.extra-section {
    background: #fff;
    padding: 80px 20px;
}

.extra-section h2 {
    text-align: center;
    font-size: 42px;
    color: #5d3a8f;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
}

.benefit-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    color: #ffd700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 24px;
    color: #5d3a8f;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #5d3a8f 0%, #3d2061 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    color: #ffd700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: #ffd700;
    color: #2d2043;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    background: #ffed4e;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

/* Play Page Styles */
.play-header {
    background: linear-gradient(135deg, rgba(93, 58, 143, 0.9), rgba(45, 32, 67, 0.9));
    padding: 60px 20px;
    text-align: center;
}

.play-header h1 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 15px;
}

.play-subtitle {
    font-size: 20px;
    color: #fff;
}

.game-play-section {
    background: #fff;
    padding: 60px 20px;
}

.game-info {
    margin-bottom: 40px;
}

.game-info h2 {
    color: #5d3a8f;
    font-size: 32px;
    margin-bottom: 20px;
}

.controls-box {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.controls-box p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #333;
}

.game-wrapper {
    max-width: 1200px;
    margin: 0 auto 40px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid #ffd700;
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.play-notice {
    text-align: center;
    padding: 25px;
    background: #fff3cd;
    border: 2px solid #ffd700;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.play-notice p {
    color: #856404;
    font-size: 16px;
    margin: 0;
}

/* Legal Pages */
.page-header {
    background: linear-gradient(135deg, rgba(93, 58, 143, 0.9), rgba(45, 32, 67, 0.9));
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    color: #fff;
}

.content-section {
    background: #fff;
    padding: 60px 20px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #5d3a8f;
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #333;
}

.disclaimer-highlight {
    background: #fff3cd;
    border: 2px solid #ffd700;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.disclaimer-highlight h2 {
    color: #856404;
    margin-top: 0;
}

.disclaimer-highlight p {
    color: #856404;
}

.disclaimer-footer {
    background: #5d3a8f;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.disclaimer-footer h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.terms-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #ddd;
    color: #666;
}

.terms-footer p {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #1a1a2e;
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: #ffd700;
}

.footer-links h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d4b896;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-legal {
    color: #999;
}

.footer-legal p {
    margin-bottom: 8px;
}

.footer-disclaimer {
    color: #ffd700;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(29, 19, 43, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 30px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .about-section h2,
    .game-section h2,
    .extra-section h2,
    .cta-section h2,
    .play-header h1,
    .page-header h1 {
        font-size: 32px;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .info-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
