* {
    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: #1f2937;
    display: flex;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: #1e40af;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #60a5fa;
    color: #fff;
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #fbbf24;
    color: #fff;
    font-weight: 600;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    width: calc(100% - 280px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Sections */
.intro-section {
    margin-bottom: 2rem;
}

.intro-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.intro-card h2 {
    color: #1e40af;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-card p {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* Important Notices */
.important-notices {
    margin-bottom: 2rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.notice-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 6px solid;
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.notice-card.no-money {
    border-left-color: #10b981;
}

.notice-card.recreation {
    border-left-color: #3b82f6;
}

.notice-card.age-restrict {
    border-left-color: #ef4444;
}

.notice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.notice-card p {
    line-height: 1.7;
    color: #6b7280;
}

/* Game Section */
.game-section {
    margin-bottom: 2rem;
}

.game-section h2 {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-container {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    background: #000;
}

.game-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.game-info p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Features Section */
.features-section {
    margin-bottom: 2rem;
}

.features-section h2 {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsibility Section */
.responsibility-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.responsibility-section h2 {
    color: #1e40af;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.responsibility-section p {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* Play Page */
.play-section {
    margin-bottom: 2rem;
}

.game-container-full {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    background: #000;
}

.play-info {
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-card h2 {
    color: #1e40af;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card h3 {
    color: #2563eb;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.info-card p {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

.info-card ul {
    margin: 1rem 0 1rem 2rem;
    color: #4b5563;
}

.info-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Legal Content */
.legal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-section h3 {
    color: #2563eb;
    font-size: 1.15rem;
    margin: 1.25rem 0 0.75rem;
    font-weight: 600;
}

.legal-section p {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    color: #4b5563;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.disclaimer-highlight {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 6px solid #f59e0b;
}

.disclaimer-highlight h2 {
    color: #92400e;
}

.disclaimer-highlight p,
.disclaimer-highlight li {
    color: #78350f;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-note {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Age Verification Modal */
.age-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.age-modal-content h2 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.age-modal-content p {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-buttons button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.age-buttons button:first-child {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.age-buttons button:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.age-buttons .btn-no {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.age-buttons .btn-no:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 250px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 4rem 1rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-content h2 {
        font-size: 1.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
