@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(45deg, #ffd89b, #19547b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px;
}

.hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.notice-box {
    background: rgba(255, 87, 87, 0.2);
    border-left: 4px solid #ff5757;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.notice-box h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box li {
    padding: 8px 0;
    font-size: 16px;
}

.notice-box li:before {
    content: "⚠️ ";
    margin-right: 10px;
}

.game-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
}

.game-container h2 {
    margin-bottom: 30px;
    font-size: 36px;
    text-align: center;
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.content-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.content-section ul, .content-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    border-radius: 20px;
}

.footer h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffd89b;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
}

.age-modal-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.age-modal-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.age-modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-modal-buttons button {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: #4caf50;
    color: #fff;
}

.btn-no {
    background: #f44336;
    color: #fff;
}

.age-modal-buttons button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding: 80px 20px 20px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .game-container {
        padding: 20px;
    }
    
    .game-frame {
        height: 500px;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .age-modal-content {
        padding: 30px;
        margin: 20px;
    }
    
    .age-modal-content h2 {
        font-size: 28px;
    }
}
