@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-deep: #0A4D68;
    --ocean-mid: #088395;
    --ocean-light: #05BFDB;
    --sand: #F8F6F4;
    --coral: #FF6B6B;
    --seafoam: #4ECDC4;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, #0A4D68 0%, #088395 50%, #05BFDB 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: rgba(10, 77, 104, 0.95);
    padding: 2rem 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--seafoam);
    text-decoration: none;
    display: block;
}

.logo-subtitle {
    color: var(--sand);
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 0.5rem;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav li {
    margin-bottom: 0.5rem;
}

.sidebar nav a {
    display: block;
    padding: 1rem 2rem;
    color: var(--sand);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar nav a:hover {
    background: rgba(5, 191, 219, 0.2);
    border-left-color: var(--seafoam);
}

.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: var(--ocean-deep);
    border-radius: 8px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--seafoam);
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    width: calc(100% - 280px);
}

.wave-header {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.wave-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--ocean-light));
    opacity: 0.1;
}

.wave-header h1 {
    font-size: 2.8rem;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
    font-weight: 800;
}

.wave-header p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.notice-boxes {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.notice-box {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-top: 5px solid var(--coral);
}

.notice-box h3 {
    color: var(--ocean-deep);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.notice-box p {
    color: #666;
    font-size: 0.95rem;
}

.game-section {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.game-section h2 {
    color: var(--ocean-deep);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    background: #f0f0f0;
}

.content-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.content-card h2 {
    color: var(--ocean-deep);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-card h3 {
    color: var(--ocean-mid);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-card p, .content-card ul {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card ul {
    padding-left: 2rem;
}

/* Footer */
footer {
    background: rgba(10, 77, 104, 0.95);
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 30px;
    color: var(--sand);
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    color: var(--seafoam);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--sand);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--seafoam);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.age-modal-content h2 {
    color: var(--ocean-deep);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.age-modal-content p {
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, var(--ocean-mid), var(--seafoam));
    color: white;
}

.btn-no {
    background: #E0E0E0;
    color: #333;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
        padding-top: 70px;
    }
    
    .wave-header h1 {
        font-size: 2rem;
    }
    
    .notice-boxes {
        flex-direction: column;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
