* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-content h2 {
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-content p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: #2563eb;
    color: white;
}

.btn-yes:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-no {
    background: #ef4444;
    color: white;
}

.btn-no:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu {
    list-style: none;
    padding: 2rem 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 1.2rem 2rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #60a5fa;
    padding-left: 2.5rem;
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #60a5fa;
    font-weight: 600;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger:hover span {
    background: #1d4ed8;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.content {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-section {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-section h1 {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
}

.notice-section {
    margin-bottom: 2rem;
}

.notice-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.notice-card.warning {
    border-left: 6px solid #f59e0b;
}

.notice-card h2 {
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.notice-card ul {
    list-style: none;
    padding: 0;
}

.notice-card li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.notice-card li:last-child {
    border-bottom: none;
}

.about-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-section h2 {
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.game-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-section h2 {
    color: #2563eb;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.game-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.game-info {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.responsibility-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.responsibility-section h2 {
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.responsibility-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat span {
    color: #666;
    font-size: 1.1rem;
}

.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.play-header {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.play-header h1 {
    color: #2563eb;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.play-header p {
    font-size: 1.2rem;
    color: #666;
}

.game-full {
    margin-bottom: 2rem;
}

.game-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-wrapper iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
}

.play-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.play-info h2 {
    color: #2563eb;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    transition: all 0.3s;
}

.info-card:hover {
    border-color: #2563eb;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.2);
}

.info-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

.reminder-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 20px;
    border-left: 6px solid #f59e0b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.reminder-box h3 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.reminder-box p {
    color: #78350f;
    font-size: 1.1rem;
    line-height: 1.6;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.legal-content h1 {
    color: #2563eb;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.legal-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.highlight-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 6px solid #f59e0b;
}

.highlight-section h2 {
    color: #92400e;
}

.highlight-section p {
    color: #78350f;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .content {
        padding: 1rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .game-wrapper iframe {
        height: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }
}
