@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Open+Sans:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-blue: #0077be;
    --deep-sea: #003d5c;
    --wave-light: #5eb3e4;
    --foam: #e0f4ff;
    --sand: #f5f1e8;
    --coral: #ff6b6b;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--sand);
    color: var(--deep-sea);
    line-height: 1.7;
}

/* Unique sidebar layout */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--ocean-blue) 0%, var(--deep-sea) 100%);
    color: white;
    padding: 2rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 3px 0 15px rgba(0,0,0,0.2);
}

.sidebar-header {
    margin-bottom: 3rem;
}

.brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.brand-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 0.9rem;
    color: var(--wave-light);
    font-weight: 300;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav li {
    margin-bottom: 0.5rem;
}

.sidebar nav a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.sidebar nav a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
}

.mobile-header {
    display: none;
    background: linear-gradient(90deg, var(--ocean-blue) 0%, var(--deep-sea) 100%);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    align-items: center;
    justify-content: space-between;
}

.mobile-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--deep-sea);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ocean-blue);
}

h2 {
    font-size: 2.2rem;
    border-bottom: 3px solid var(--wave-light);
    padding-bottom: 0.5rem;
}

.wave-section {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(0,119,190,0.1);
    border-left: 5px solid var(--ocean-blue);
}

.alert-box {
    background: linear-gradient(135deg, var(--ocean-blue), var(--wave-light));
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.alert-box::before {
    content: '🌊';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 4rem;
    opacity: 0.3;
}

.alert-box h3 {
    color: white;
    margin-top: 1rem;
}

.alert-box ul {
    list-style: none;
    margin-top: 1rem;
}

.alert-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.alert-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: bold;
}

.game-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,119,190,0.1);
    text-align: center;
    margin: 2rem 0;
}

.game-wrapper iframe {
    border: none;
    border-radius: 8px;
    max-width: 100%;
}

.content-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 5px 25px rgba(0,119,190,0.1);
}

.content-card p {
    margin-bottom: 1.2rem;
}

.content-card ul, .content-card ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

footer {
    background: var(--deep-sea);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: var(--wave-light);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--wave-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,61,92,0.95);
    z-index: 1000;
}

.age-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.age-modal h2 {
    color: var(--ocean-blue);
    border: none;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.age-btn:hover {
    transform: scale(1.05);
}

.age-btn-yes {
    background: var(--ocean-blue);
    color: white;
}

.age-btn-no {
    background: var(--coral);
    color: white;
}

/* Mobile Styles */
@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 200;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-header {
        display: flex;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .wave-section, .content-card, .game-wrapper {
        padding: 1.5rem;
    }
}
