/* Surfiora.xyz - Tropical Beach Design */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;600;700&family=Lato:wght@300;400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-blue: #1E88E5;
    --sand-yellow: #FFD54F;
    --coral-pink: #FF6F61;
    --palm-green: #4CAF50;
    --sky-cyan: #00BCD4;
    --sunset-orange: #FF9800;
    --wave-white: #F5F5F5;
    --deep-sea: #0D47A1;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F7FA 50%, #FFF9C4 100%);
    min-height: 100vh;
    color: var(--deep-sea);
}

header {
    background: linear-gradient(135deg, var(--ocean-blue), var(--sky-cyan));
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand::before {
    content: '🏄';
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

nav a:hover {
    background: white;
    color: var(--ocean-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-icon span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.welcome-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 25px;
    padding: 4rem 3rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--sand-yellow);
}

.welcome-banner h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 var(--sand-yellow);
}

.welcome-banner p {
    font-size: 1.4rem;
    color: var(--deep-sea);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 5px solid var(--coral-pink);
}

.feature-card::before {
    content: attr(data-icon);
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

.game-area {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--palm-green);
}

.game-area h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    text-align: center;
    color: var(--ocean-blue);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0 var(--sand-yellow);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.text-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.text-section h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    color: var(--ocean-blue);
    margin-bottom: 1.5rem;
}

.text-section h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    color: var(--coral-pink);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-section p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.text-section ul {
    margin-left: 2rem;
    color: #555;
}

.text-section li {
    margin-bottom: 0.7rem;
}

footer {
    background: linear-gradient(135deg, var(--deep-sea), var(--ocean-blue));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-radius: 25px 25px 0 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--sand-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

footer p {
    opacity: 0.9;
}

.age-check {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.95), rgba(0, 188, 212, 0.95));
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-check.active {
    display: flex;
}

.age-box {
    background: white;
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--sand-yellow);
}

.age-box h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    color: var(--ocean-blue);
    margin-bottom: 1.5rem;
}

.age-box p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-button {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s;
}

.age-button.yes {
    background: linear-gradient(135deg, var(--palm-green), var(--sky-cyan));
    color: white;
}

.age-button.yes:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.age-button.no {
    background: linear-gradient(135deg, var(--coral-pink), var(--sunset-orange));
    color: white;
}

.age-button.no:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 111, 97, 0.4);
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: linear-gradient(135deg, var(--ocean-blue), var(--sky-cyan));
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 0.5rem;
        transition: right 0.3s;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }

    nav ul.open {
        right: 0;
    }

    .welcome-banner h1 {
        font-size: 2.5rem;
    }

    .welcome-banner p {
        font-size: 1.1rem;
    }

    .game-frame {
        height: 500px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .age-box {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-box h2 {
        font-size: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }
}