* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #34495e 0%, #2c3e50 100%);
    color: #ecf0f1;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-content {
    padding: 0 1.5rem;
}

.logo-area {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(236, 240, 241, 0.2);
}

.logo-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
    display: block;
    letter-spacing: 1px;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 1rem 1.2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.sidebar-nav a:hover {
    background: rgba(52, 152, 219, 0.2);
    padding-left: 1.5rem;
}

.mobile-header {
    display: none;
    background: linear-gradient(90deg, #34495e 0%, #2c3e50 100%);
    color: #ecf0f1;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
}

.menu-toggle {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 3rem;
}

.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #34495e;
    margin-bottom: 0.8rem;
}

.content-header .subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.notice-section {
    background: #fff;
    border-left: 4px solid #e74c3c;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notice-section h2 {
    font-size: 1.8rem;
    color: #e74c3c;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.notice-section ul {
    list-style: none;
    padding: 0;
}

.notice-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    border-bottom: 1px solid #ecf0f1;
}

.notice-section li:last-child {
    border-bottom: none;
}

.notice-section li::before {
    content: "🎯";
    position: absolute;
    left: 0;
}

.content-card {
    background: #fff;
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-card p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.game-wrapper {
    background: #fff;
    border: 2px solid #3498db;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.game-wrapper h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #3498db;
    margin-bottom: 2rem;
    font-weight: 600;
}

.game-iframe {
    width: 100%;
    max-width: 1000px;
    height: 650px;
    border: none;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    background: #000;
}

.page-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
}

.footer-nav a:hover {
    color: #5dade2;
}

.footer-container p {
    color: #95a5a6;
}

.age-check-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.97);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-check-overlay.visible {
    display: flex;
}

.age-check-dialog {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-check-dialog h2 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.age-check-dialog p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.7;
}

.age-check-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-check-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.age-check-btn.yes {
    background: #27ae60;
    color: #fff;
}

.age-check-btn.yes:hover {
    background: #229954;
}

.age-check-btn.no {
    background: #e74c3c;
    color: #fff;
}

.age-check-btn.no:hover {
    background: #c0392b;
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .sidebar.mobile-open {
        display: block;
        width: 100%;
        position: fixed;
        z-index: 1000;
    }

    .mobile-header {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }

    .content-header h1 {
        font-size: 2rem;
    }

    .content-header .subtitle {
        font-size: 1rem;
    }

    .game-iframe {
        height: 450px;
    }

    .age-check-dialog {
        margin: 0 20px;
        padding: 2rem;
    }

    .age-check-buttons {
        flex-direction: column;
    }

    .age-check-btn {
        width: 100%;
    }
}
