@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #bdc3c7 0%, #2c3e50 100%);
    min-height: 100vh;
    color: #2c3e50;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.side-panel {
    width: 300px;
    background: linear-gradient(180deg, #34495e 0%, #2c3e50 100%);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.brand-header {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(189, 195, 199, 0.3);
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-title::before {
    content: "? ";
    color: #bdc3c7;
}

.brand-title::after {
    content: " ?";
    color: #bdc3c7;
}

.side-nav {
    padding: 2rem 0;
}

.side-nav ul {
    list-style: none;
}

.side-nav li {
    margin: 0;
}

.side-nav a {
    display: block;
    padding: 1.2rem 2rem;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    font-size: 1.05rem;
}

.side-nav a:hover {
    background: rgba(189, 195, 199, 0.2);
    border-left-color: #bdc3c7;
    padding-left: 2.5rem;
}

.menu-btn {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10001;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: #34495e;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: #ecf0f1;
    transition: 0.3s;
}

.main-area {
    margin-left: 300px;
    flex: 1;
    padding: 3rem;
    min-height: 100vh;
}

.intro-panel {
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #bdc3c7;
}

.intro-panel h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.intro-panel p {
    font-size: 1.08rem;
    line-height: 1.95;
    color: #34495e;
    margin-bottom: 1.2rem;
}

.notice-block {
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    border-radius: 12px;
    padding: 2.2rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.notice-block h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.9rem;
}

.notice-block ul {
    list-style: none;
    padding-left: 0;
}

.notice-block li {
    padding: 0.9rem 0;
    color: white;
    font-weight: 500;
    font-size: 1.05rem;
}

.notice-block li::before {
    content: "? ";
    color: #ecf0f1;
    font-size: 1.3rem;
    margin-right: 0.8rem;
    font-weight: 700;
}

.game-section {
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 2.8rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #bdc3c7;
}

.game-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.3rem;
    font-weight: 700;
}

.game-player {
    width: 100%;
    height: 720px;
    border: none;
    border-radius: 10px;
    background: #2c3e50;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.text-block {
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 3rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #bdc3c7;
}

.text-block h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 900;
}

.text-block h2 {
    color: #34495e;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 2.1rem;
    font-weight: 700;
}

.text-block p {
    line-height: 1.95;
    color: #34495e;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
}

.text-block ul, .text-block ol {
    margin-left: 2.2rem;
    margin-bottom: 1.2rem;
    color: #34495e;
}

.text-block li {
    margin-bottom: 0.7rem;
    line-height: 1.8;
}

.site-footer {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    margin-top: 4rem;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.footer-wrap {
    text-align: center;
}

.footer-wrap h3 {
    color: #ecf0f1;
    margin-bottom: 1.8rem;
    font-weight: 700;
    font-size: 1.7rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1.05rem;
}

.footer-menu a:hover {
    color: #ecf0f1;
}

.footer-wrap p {
    color: #95a5a6;
    margin-top: 1.5rem;
}

.age-check {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-check.active {
    display: flex;
}

.age-check-box {
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
    border: 3px solid #34495e;
}

.age-check-box h2 {
    color: #2c3e50;
    margin-bottom: 1.8rem;
    font-size: 2.5rem;
    font-weight: 900;
}

.age-check-box p {
    color: #34495e;
    margin-bottom: 2.8rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.age-check-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-check-actions button {
    padding: 1.3rem 2.8rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.age-check-actions button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-enter {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ecf0f1;
}

.btn-exit {
    background: #95a5a6;
    color: white;
}

@media (max-width: 1024px) {
    .side-panel {
        transform: translateX(-100%);
    }
    
    .side-panel.active {
        transform: translateX(0);
    }
    
    .menu-btn {
        display: flex;
    }
    
    .main-area {
        margin-left: 0;
        padding: 5rem 2rem 2rem 2rem;
    }
    
    .intro-panel h1, .text-block h1 {
        font-size: 2.2rem;
    }
    
    .intro-panel, .text-block {
        padding: 2.2rem;
    }
    
    .game-player {
        height: 500px;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1.2rem;
    }
}
