* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.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: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-modal-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #667eea;
}

.age-modal-content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

.age-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-yes, .btn-no {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-yes {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-no {
    background: #e0e0e0;
    color: #333;
}

.btn-no:hover {
    background: #d0d0d0;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar-header {
    padding: 30px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.close-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.nav-menu a:hover {
    background: #f8f9ff;
    color: #667eea;
    border-left-color: #667eea;
}

.nav-menu a.active {
    background: #f8f9ff;
    color: #667eea;
    border-left-color: #667eea;
    font-weight: 600;
}

.main-wrapper {
    margin-left: 280px;
    min-height: 100vh;
}

.top-header {
    display: none;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
    transition: all 0.3s;
}

.header-logo {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

.content {
    background: white;
    min-height: 100vh;
}

.hero {
    padding: 80px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.95;
}

.info-cards {
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #f8f9ff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #667eea;
}

.card p {
    color: #666;
    line-height: 1.6;
}

.important-notices {
    padding: 60px 40px;
    background: #fff9e6;
    max-width: 1200px;
    margin: 0 auto;
}

.important-notices h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.notice-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #f59e0b;
}

.notice-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
    color: #f59e0b;
}

.notice-item p {
    color: #666;
    line-height: 1.6;
}

.game-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.game-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 18px;
}

.game-container {
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    max-width: 1200px;
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.features {
    padding: 60px 40px;
    background: #f8f9ff;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #667eea;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

.page-header {
    padding: 60px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.game-info {
    padding: 50px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-box {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 15px;
}

.info-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #667eea;
}

.info-box p {
    color: #666;
    line-height: 1.6;
}

.legal-content {
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #667eea;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.disclaimer-highlights {
    padding: 40px 40px 60px;
}

.highlight-box {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 6px solid;
}

.highlight-box.warning {
    background: #fff5f5;
    border-left-color: #ef4444;
}

.highlight-box.info {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.highlight-box.recreational {
    background: #f0fdf4;
    border-left-color: #10b981;
}

.highlight-box h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
}

.footer {
    padding: 50px 40px;
    background: #1f2937;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-links a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #c4b5fd;
}

.footer-text {
    color: #9ca3af;
    font-size: 14px;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .close-btn {
        display: block;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .top-header {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero {
        padding: 50px 20px;
    }

    .info-cards,
    .game-section,
    .features,
    .important-notices {
        padding: 40px 20px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .legal-content {
        padding: 40px 20px;
    }

    .game-frame {
        height: 500px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
