@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #003d5c 0%, #006994 50%, #005f7f 100%);
    color: #e6f7ff;
    line-height: 1.75;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(32, 178, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(72, 209, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: wave-movement 20s ease-in-out infinite;
}

@keyframes wave-movement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    background: linear-gradient(to right, rgba(0, 61, 92, 0.95), rgba(0, 105, 148, 0.95));
    border-bottom: 4px solid #20b2aa;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(32, 178, 170, 0.4);
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand {
    font-family: 'Merriweather', serif;
    font-size: 2.3rem;
    font-weight: 900;
    color: #20b2aa;
    text-decoration: none;
    text-shadow: 2px 2px 8px rgba(32, 178, 170, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-wave {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #20b2aa, #48d1cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(32, 178, 170, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.8rem;
}

nav a {
    color: #e6f7ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(32, 178, 170, 0.15);
    font-size: 1rem;
}

nav a:hover {
    background: rgba(32, 178, 170, 0.3);
    color: #20b2aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: rgba(32, 178, 170, 0.2);
    border-radius: 8px;
    border: 2px solid #20b2aa;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #20b2aa;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.intro-section {
    padding: 5rem 0;
    text-align: center;
}

h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.8rem;
    font-weight: 900;
    color: #20b2aa;
    margin-bottom: 1.2rem;
    text-shadow: 3px 3px 10px rgba(32, 178, 170, 0.7);
    letter-spacing: 1px;
}

h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.4rem;
    color: #48d1cc;
    margin: 3rem 0 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(72, 209, 204, 0.5);
}

h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    color: #afeeee;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.intro-subtitle {
    font-size: 1.4rem;
    color: #87ceeb;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.primary-button {
    display: inline-block;
    background: linear-gradient(135deg, #20b2aa, #48d1cc);
    color: #003d5c;
    padding: 1.2rem 3rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(32, 178, 170, 0.5);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(32, 178, 170, 0.7);
}

.content-area {
    padding: 3.5rem 0;
}

.card-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.info-tile {
    background: linear-gradient(135deg, rgba(0, 95, 127, 0.7), rgba(0, 61, 92, 0.7));
    border: 3px solid #20b2aa;
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.info-tile:hover {
    transform: translateY(-8px);
    border-color: #48d1cc;
    box-shadow: 0 12px 40px rgba(32, 178, 170, 0.4);
}

.tile-symbol {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(32, 178, 170, 0.5));
}

.game-container {
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.85), rgba(0, 95, 127, 0.85));
    border: 4px solid #20b2aa;
    border-radius: 22px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 12px 50px rgba(0,0,0,0.5), 0 0 40px rgba(32, 178, 170, 0.3);
    backdrop-filter: blur(10px);
}

.game-iframe {
    width: 100%;
    height: 680px;
    border: none;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 8px 35px rgba(0,0,0,0.7);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.detail-item {
    background: rgba(0, 95, 127, 0.5);
    border-left: 5px solid #20b2aa;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.detail-item:hover {
    background: rgba(0, 95, 127, 0.7);
    border-left-color: #48d1cc;
    transform: translateX(6px);
}

footer {
    background: rgba(0, 45, 70, 0.95);
    border-top: 4px solid #20b2aa;
    padding: 3.5rem 0 1.8rem;
    margin-top: 5rem;
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-area h3 {
    color: #20b2aa;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-area a {
    color: #87ceeb;
    text-decoration: none;
    display: block;
    margin: 0.7rem 0;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-area a:hover {
    color: #20b2aa;
    padding-left: 8px;
}

.footer-end {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid #20b2aa;
    color: #87ceeb;
    font-weight: 500;
}

.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 40, 0.97);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-verification.active {
    display: flex;
}

.age-box {
    background: linear-gradient(135deg, rgba(0, 95, 127, 0.95), rgba(0, 61, 92, 0.95));
    border: 4px solid #20b2aa;
    border-radius: 22px;
    padding: 3.5rem;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 70px rgba(32, 178, 170, 0.7);
    backdrop-filter: blur(15px);
}

.age-box h2 {
    color: #20b2aa;
    margin-bottom: 1.5rem;
}

.age-box p {
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    color: #e6f7ff;
}

.age-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 3rem;
    border: 3px solid #20b2aa;
    background: transparent;
    color: #20b2aa;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}

.age-btn:hover {
    background: #20b2aa;
    color: #003d5c;
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(32, 178, 170, 0.6);
}

.legal-info {
    background: rgba(0, 61, 92, 0.5);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2.5rem 0;
    border-left: 5px solid #20b2aa;
    backdrop-filter: blur(5px);
}

.legal-info p {
    margin-bottom: 1.2rem;
}

.legal-info ul {
    margin-left: 2.5rem;
    margin-bottom: 1.2rem;
}

.legal-info li {
    margin: 0.7rem 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(0, 61, 92, 0.98);
        transition: 0.3s;
        padding: 5rem 2rem;
        border-left: 4px solid #20b2aa;
        backdrop-filter: blur(15px);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    nav a {
        font-size: 1.15rem;
        display: block;
        text-align: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .brand {
        font-size: 1.7rem;
    }
    
    .game-iframe {
        height: 480px;
    }
    
    .card-layout {
        grid-template-columns: 1fr;
    }
    
    .intro-section {
        padding: 3.5rem 0;
    }
}
