* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6C3FB5;
    --secondary-purple: #8B5FD9;
    --accent-gold: #FFD700;
    --dark-bg: #1a1a2e;
    --light-bg: #f5f5f5;
    --text-dark: #2d2d2d;
    --text-light: #ffffff;
    --sidebar-width: 280px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
}

/* Age 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);
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-modal-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.age-modal-content h2 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 28px;
}

.age-modal-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.age-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.age-btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.age-yes {
    background: var(--primary-purple);
    color: white;
}

.age-yes:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
}

.age-no {
    background: #e0e0e0;
    color: var(--text-dark);
}

.age-no:hover {
    background: #d0d0d0;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--primary-purple) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    padding: 40px 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 1000;
}

.logo {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    color: var(--primary-purple);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
}

.nav-link.active {
    background: rgba(255, 215, 0, 0.2);
    border-left: 4px solid var(--accent-gold);
}

.nav-icon {
    font-size: 24px;
}

/* Mobile Header */
.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--primary-purple);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
    margin: 0;
}

.mobile-logo h1 {
    font-size: 20px;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    margin: 6px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 60px;
    width: 100%;
}

.content-header {
    margin-bottom: 50px;
}

.content-header h1 {
    font-size: 48px;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 20px;
    color: #666;
}

/* Notice Cards */
.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.notice-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.notice-card.purple {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: white;
}

.notice-card.gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #FFA500 100%);
    color: var(--dark-bg);
}

.notice-card.blue {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.notice-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

/* About Section */
.about-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    color: var(--primary-purple);
    margin-bottom: 25px;
    font-size: 32px;
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Game Section */
.game-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.game-section h2 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 32px;
}

.game-intro {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.game-container {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-note {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-box h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    background: var(--primary-purple);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
}

/* Play Info */
.play-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 20px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Gameplay Tips */
.gameplay-tips {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gameplay-tips h2 {
    color: var(--primary-purple);
    margin-bottom: 25px;
}

.gameplay-tips ul {
    list-style: none;
    padding: 0;
}

.gameplay-tips li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.gameplay-tips li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 20px;
}

/* Legal Content */
.legal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    color: var(--primary-purple);
    margin: 30px 0 20px;
    font-size: 24px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p, .legal-content ul {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
}

.effective-date {
    margin-top: 40px;
    font-style: italic;
    color: #999;
}

/* Disclaimer Boxes */
.disclaimer-box {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid;
}

.disclaimer-box.warning {
    background: #fff3cd;
    border-color: #ffc107;
}

.disclaimer-box.info {
    background: #d1ecf1;
    border-color: #17a2b8;
}

.disclaimer-box.entertainment {
    background: #d4edda;
    border-color: #28a745;
}

.disclaimer-box.legal {
    background: #e2e3e5;
    border-color: #6c757d;
}

.disclaimer-box.responsible {
    background: #f8d7da;
    border-color: #dc3545;
}

.disclaimer-box.technical {
    background: #d6d8db;
    border-color: #6c757d;
}

.disclaimer-box h2 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.disclaimer-box ul {
    margin-top: 15px;
}

.disclaimer-box a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.disclaimer-footer {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    font-weight: 600;
    color: var(--primary-purple);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.footer h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-note {
    font-size: 14px;
    color: #999;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 80px 20px 40px;
    }

    .content-header h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .notice-cards {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-section {
        flex-direction: column;
        gap: 30px;
    }

    .game-container {
        height: 400px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
