@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&family=Righteous&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-blue: #0a4d68;
    --turquoise: #088395;
    --coral: #ff6b6b;
    --light-coral: #ff8787;
    --cream: #fef5ed;
    --sand: #d4a574;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(to bottom, #05445e 0%, #0a4d68 40%, #088395 100%);
    color: var(--cream);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header Styles */
header {
    background: rgba(10, 77, 104, 0.9);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Righteous', cursive;
    font-size: 2.2rem;
    color: var(--coral);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: var(--coral);
    border-bottom-color: var(--coral);
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--coral);
    color: var(--coral);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
}

.hero h1 {
    font-family: 'Righteous', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--coral);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--cream);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--coral) 0%, var(--light-coral) 100%);
    color: white;
    padding: 1.2rem 3.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Righteous', cursive;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--coral);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.wave-divider {
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ff6b6b" opacity="0.2"/></svg>') repeat-x;
    background-size: cover;
    margin: 3rem 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--coral);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.card h3 {
    color: var(--coral);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-family: 'Righteous', cursive;
}

.notice-panel {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(8, 131, 149, 0.2) 100%);
    border: 3px solid var(--coral);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notice-panel h3 {
    color: var(--coral);
    margin-bottom: 1.5rem;
    font-family: 'Righteous', cursive;
    font-size: 1.8rem;
}

.notice-panel ul {
    list-style: none;
    padding-left: 0;
}

.notice-panel li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.notice-panel li::before {
    content: '🌊';
    position: absolute;
    left: 0;
}

/* Game Container */
.game-container {
    background: rgba(10, 77, 104, 0.6);
    padding: 2.5rem;
    border-radius: 25px;
    margin: 3rem 0;
    border: 3px solid var(--turquoise);
    box-shadow: 0 15px 50px rgba(8, 131, 149, 0.4);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
}

/* Footer */
footer {
    background: rgba(5, 68, 94, 0.95);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    border-top: 3px solid var(--coral);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--coral);
    margin-bottom: 1.2rem;
    font-family: 'Righteous', cursive;
}

.footer-section a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--coral);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 107, 0.3);
    color: var(--cream);
    opacity: 0.8;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 68, 94, 0.97);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #0a4d68 0%, #088395 100%);
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    border: 4px solid var(--coral);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.4);
}

.age-modal-content h2 {
    font-family: 'Righteous', cursive;
    color: var(--coral);
    margin-bottom: 1.8rem;
    font-size: 2.2rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 30px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-yes {
    background: linear-gradient(135deg, var(--coral) 0%, var(--light-coral) 100%);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
}

.btn-no {
    background: transparent;
    color: var(--cream);
    border: 3px solid var(--cream);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 77, 104, 0.98);
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 0;
        display: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 1.2rem 2rem;
        border-bottom: 1px solid rgba(255, 107, 107, 0.2);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .logo {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 400px;
    }

    .age-modal-content {
        margin: 1.5rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Legal Content Styling */
.legal-content {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 20px;
    margin: 2rem 0;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.legal-content h2 {
    color: var(--coral);
    margin-bottom: 1.5rem;
    font-family: 'Righteous', cursive;
}

.legal-content h3 {
    color: var(--light-coral);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1.2rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2.5rem;
    margin-bottom: 1.2rem;
}

.legal-content li {
    margin-bottom: 0.7rem;
}

.legal-content a {
    color: var(--coral);
    text-decoration: none;
    border-bottom: 1px solid var(--coral);
}

.legal-content a:hover {
    color: var(--light-coral);
    border-bottom-color: var(--light-coral);
}