* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    padding: 2rem 1.5rem;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.logo-section {
    margin-bottom: 3rem;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #4a9eff;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

nav ul {
    list-style: none;
}

nav ul li {
    margin-bottom: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(74, 158, 255, 0.2);
    transform: translateX(5px);
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    width: calc(100% - 280px);
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

h1 {
    color: #2a5298;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    color: #4a9eff;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h3 {
    color: #2a5298;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.notice-box {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(238, 90, 111, 0.3);
}

.notice-box h3 {
    color: white;
    margin-top: 0;
}

.notice-box ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.notice-box li {
    margin-bottom: 0.5rem;
}

.game-container {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.footer {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 16px;
}

.footer h3 {
    color: #4a9eff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.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.5);
}

.age-modal h2 {
    color: #2a5298;
    margin-top: 0;
}

.age-modal p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-buttons button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-yes {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-no {
    background: #e0e0e0;
    color: #555;
}

.btn-no:hover {
    background: #d0d0d0;
}

.hamburger {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 5rem 1rem 1rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
