* {
    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: #1a1a2e;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 20px rgba(0,0,0,0.3);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 2rem 0;
}

.sidebar-nav a {
    display: block;
    padding: 1rem 2rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 400;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(139, 92, 246, 0.3);
    color: white;
    border-left: 4px solid #8B5CF6;
}

/* Main Content */
.main-content {
    margin-left: 0;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 999;
    background: rgba(26, 26, 46, 0.9);
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger:hover {
    background: rgba(139, 92, 246, 0.9);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(59, 130, 246, 0.9));
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(59, 130, 246, 0.9));
    padding: 6rem 2rem 3rem;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.intro-section,
.features-section,
.play-section {
    padding: 4rem 0;
    background: white;
}

.intro-section h2,
.features-section h2,
.game-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
    text-align: center;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #4a4a4a;
}

/* Notice Cards */
.notice-cards {
    padding: 4rem 0;
    background: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.notice-card {
    padding: 2rem;
    border-radius: 15px;
    color: white;
    text-align: center;
    transition: transform 0.3s;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-card.purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.notice-card.blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.notice-card.indigo {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.notice-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-container {
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

.feature-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.feature-box p {
    color: #4a4a4a;
    line-height: 1.6;
}

/* Play Page Specific */
.game-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.game-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: left;
}

.game-info p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.game-tips {
    list-style: none;
    margin-top: 1rem;
}

.game-tips li {
    padding: 0.5rem 0;
    color: #4a4a4a;
    font-size: 1rem;
}

.game-container-play {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.game-frame-play {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.play-reminder {
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.play-reminder p {
    margin: 0;
    font-size: 1.1rem;
}

/* Legal Content */
.legal-content {
    padding: 3rem 0;
    background: white;
    min-height: 60vh;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.legal-section p {
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.disclaimer-highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border-left: 4px solid #8B5CF6;
}

/* Footer */
.footer {
    background: #1a1a2e;
    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 h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #8B5CF6;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8B5CF6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Age Modal */
.age-modal {
    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: 2000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.age-modal-content h2 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.age-modal-content p {
    color: #4a4a4a;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-notice {
    font-size: 0.95rem;
    opacity: 0.8;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-confirm,
.btn-decline {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-confirm {
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.btn-decline {
    background: #e9ecef;
    color: #4a4a4a;
}

.btn-decline:hover {
    background: #dee2e6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .intro-section h2,
    .features-section h2,
    .game-section h2 {
        font-size: 1.8rem;
    }
    
    .cards-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .game-frame-play {
        height: 500px;
    }
    
    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
