@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0077BE;
    --secondary: #00A8E8;
    --accent: #00D4FF;
    --dark: #002B47;
    --light: #F0F9FF;
    --ocean: #007EA7;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, #0077BE 0%, #00A8E8 100%);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.4);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.brand-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.7rem;
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0077BE 0%, #00A8E8 50%, #00D4FF 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50 Q 25 30, 50 50 T 100 50" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Content Sections */
.section {
    padding: 4rem 2rem;
}

.section.alt {
    background: white;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 2rem 0 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
}

.highlight {
    background: linear-gradient(135deg, #E6F7FF 0%, #B3E5FC 100%);
    border-left: 6px solid var(--accent);
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 0 15px 15px 0;
}

.highlight h3 {
    color: var(--primary);
    margin-top: 0;
}

.highlight ul {
    margin-left: 2rem;
    margin-top: 1.5rem;
}

.highlight li {
    margin-bottom: 1.2rem;
    color: #333;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 119, 190, 0.1);
    border: 2px solid #E6F7FF;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 119, 190, 0.2);
    border-color: var(--accent);
}

.feature-emoji {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature p {
    color: #666;
}

/* Game Section */
.game-section {
    background: linear-gradient(135deg, #E6F7FF 0%, #B3E5FC 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 119, 190, 0.2);
    border: 3px solid var(--accent);
}

.game-container h2 {
    margin-bottom: 2rem;
}

.game-container iframe {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    margin: 2rem auto;
}

.game-container p {
    margin-top: 2rem;
    color: #666;
    font-style: italic;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0077BE 0%, #00A8E8 100%);
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-3px);
}

.footer-note {
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 71, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-inner {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--accent);
    animation: modalFloat 0.6s ease;
}

@keyframes modalFloat {
    from {
        opacity: 0;
        transform: translateY(-80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-modal-inner h2 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.age-modal-inner p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.modal-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.modal-btn {
    padding: 1.3rem 3.5rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif;
}

.modal-btn-yes {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.modal-btn-yes:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 35px rgba(16, 185, 129, 0.5);
}

.modal-btn-no {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
}

.modal-btn-no:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 35px rgba(239, 68, 68, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, #0077BE 0%, #00A8E8 100%);
        width: 100%;
        padding: 2rem;
        gap: 0.8rem;
        transition: left 0.3s ease;
        box-shadow: 0 8px 30px rgba(0, 119, 190, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        width: 100%;
        height: 400px;
    }

    .age-modal-inner {
        margin: 1rem;
        padding: 2.5rem 1.5rem;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
