* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e4e4e4;
    line-height: 1.6;
    min-height: 100vh;
}

/* Age Verification Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-popup.hidden {
    display: none;
}

.age-popup-content {
    background: linear-gradient(135deg, #2d3561 0%, #1f2544 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid #d4af37;
}

.age-logo {
    font-size: 80px;
    margin-bottom: 20px;
}

.age-popup-content h2 {
    color: #d4af37;
    font-size: 32px;
    margin-bottom: 20px;
}

.age-popup-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #e4e4e4;
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-yes, .btn-no {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a2e;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-no {
    background: #4a4a4a;
    color: #fff;
}

.btn-no:hover {
    background: #666;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0f3460 0%, #16213e 100%);
    padding: 30px 0;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 30px 30px;
    border-bottom: 2px solid #d4af37;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
}

.sidebar-nav {
    padding: 30px 0;
}

.sidebar-nav a {
    display: block;
    padding: 15px 30px;
    color: #e4e4e4;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: #d4af37;
    color: #d4af37;
}

.sidebar-nav a.active {
    background: rgba(212, 175, 55, 0.2);
    border-left-color: #d4af37;
    color: #d4af37;
}

.sidebar-footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.age-notice {
    background: #d4af37;
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #d4af37;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a1a2e;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 40px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 15px;
}

.tagline {
    font-size: 20px;
    color: #b8b8b8;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f3460 0%, #1f2544 100%);
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a2e;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Notice Section */
.notice-section {
    margin-bottom: 50px;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.notice-card {
    background: linear-gradient(135deg, #1f2544 0%, #2d3561 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #0f3460;
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.notice-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.notice-card h3 {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 15px;
}

.notice-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* Game Section */
.game-section {
    margin-bottom: 50px;
}

.game-section h2 {
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 20px;
    text-align: center;
}

.section-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    color: #b8b8b8;
}

.game-container {
    background: #000;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-frame {
    width: 100%;
    height: 600px;
    border-radius: 10px;
}

/* Features Section */
.features-section {
    margin-bottom: 50px;
}

.features-section h2 {
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 40px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: linear-gradient(135deg, #1f2544 0%, #2d3561 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #0f3460;
}

.feature-item h4 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* Responsibility Section */
.responsibility-section {
    background: linear-gradient(135deg, #0f3460 0%, #1f2544 100%);
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.responsibility-section h2 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 20px;
}

.responsibility-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.help-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.help-links a {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #d4af37;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-links a:hover {
    background: #d4af37;
    color: #1a1a2e;
}

/* Play Page Styles */
.play-intro {
    margin-bottom: 50px;
}

.play-info {
    background: linear-gradient(135deg, #0f3460 0%, #1f2544 100%);
    padding: 40px;
    border-radius: 20px;
}

.play-info h2 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 20px;
}

.play-info p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.game-tips {
    margin-top: 30px;
}

.game-tips h3 {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 15px;
}

.game-tips ul {
    list-style: none;
    padding: 0;
}

.game-tips li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.game-tips li:last-child {
    border-bottom: none;
}

.game-container-play {
    background: #000;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border-radius: 10px;
}

.reminder-section {
    margin-bottom: 50px;
}

.reminder-box {
    background: linear-gradient(135deg, #1f2544 0%, #2d3561 100%);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #d4af37;
}

.reminder-box h3 {
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 20px;
}

.reminder-box p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Legal Content */
.legal-content {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-section {
    background: linear-gradient(135deg, #1f2544 0%, #2d3561 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.legal-section h2 {
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 20px;
}

.legal-section h3 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 15px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.disclaimer-highlight {
    border: 3px solid #d4af37;
    background: linear-gradient(135deg, #0f3460 0%, #1f2544 100%);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin-bottom: 20px;
    color: #b8b8b8;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #b8941f;
}

.responsible-gaming {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.responsible-gaming p {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 10px;
}

.responsible-gaming a {
    color: #e4e4e4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.responsible-gaming a:hover {
    color: #d4af37;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 80px 20px 20px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 16px;
    }

    .hero-section {
        padding: 30px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .age-popup-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .age-logo {
        font-size: 60px;
    }

    .age-popup-content h2 {
        font-size: 24px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .help-links {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
