@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Sans+Pro:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(180deg, #001a33 0%, #003d5c 50%, #00172e 100%);
    color: #d4e6f1;
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Animated water effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 150, 199, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 100, 150, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: wave 15s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Top Navigation Bar */
.top-nav {
    background: rgba(0, 26, 51, 0.95);
    border-bottom: 3px solid #0096c7;
    box-shadow: 0 4px 20px rgba(0, 150, 199, 0.3);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #90e0ef;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 0 15px rgba(144, 224, 239, 0.6);
}

.title-icon {
    font-size: 2.8rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: #caf0f8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #90e0ef;
    transition: width 0.3s;
}

.main-nav a:hover {
    color: #90e0ef;
    background: rgba(0, 150, 199, 0.1);
}

.main-nav a:hover::before {
    width: 80%;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-hamburger span {
    width: 28px;
    height: 3px;
    background: #90e0ef;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Banner */
.banner {
    background: linear-gradient(135deg, rgba(0, 150, 199, 0.2), rgba(0, 61, 92, 0.2));
    border-bottom: 2px solid #0096c7;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(144,224,239,0.2)"/></svg>') repeat;
    opacity: 0.4;
}

.banner h1 {
    font-size: 4rem;
    color: #90e0ef;
    text-shadow: 0 0 20px rgba(144, 224, 239, 0.7);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.banner .subtitle {
    font-size: 1.5rem;
    color: #caf0f8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.action-btn {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: linear-gradient(135deg, #0096c7, #0077b6);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 150, 199, 0.5);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 150, 199, 0.7);
    background: linear-gradient(135deg, #00b4d8, #0096c7);
}

/* Main Content Area */
.content-area {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(0, 61, 92, 0.4);
    border: 2px solid rgba(0, 150, 199, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #0096c7;
    box-shadow: 0 10px 35px rgba(0, 150, 199, 0.4);
}

.feature-card .card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: #90e0ef;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #caf0f8;
}

/* Content Sections */
.section-block {
    background: rgba(0, 26, 51, 0.6);
    border-left: 5px solid #0096c7;
    border-radius: 10px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.section-block h2 {
    font-size: 3rem;
    color: #90e0ef;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(144, 224, 239, 0.5);
}

.section-block h3 {
    font-size: 2rem;
    color: #caf0f8;
    margin: 2rem 0 1rem;
}

.section-block p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.3rem;
    color: #d4e6f1;
}

.section-block ul {
    margin-left: 2.5rem;
    margin-bottom: 1.3rem;
}

.section-block li {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #caf0f8;
}

/* Game Display */
.game-display {
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid #0096c7;
    border-radius: 15px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 0 40px rgba(0, 150, 199, 0.4);
}

.game-display h2 {
    text-align: center;
    font-size: 3rem;
    color: #90e0ef;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 20px rgba(144, 224, 239, 0.6);
}

.game-display iframe {
    width: 100%;
    height: 700px;
    border: 2px solid rgba(0, 150, 199, 0.5);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: rgba(0, 26, 51, 0.95);
    border-top: 3px solid #0096c7;
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-block h3 {
    color: #90e0ef;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.footer-block p {
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #caf0f8;
}

.footer-block a {
    color: #caf0f8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    transition: color 0.3s;
}

.footer-block a:hover {
    color: #90e0ef;
    text-decoration: underline;
}

.footer-base {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 150, 199, 0.3);
    color: #7ba8bb;
}

/* Age Check Overlay */
.age-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 20, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-overlay.show {
    display: flex;
}

.age-dialog {
    background: linear-gradient(135deg, #001a33, #003d5c);
    border: 4px solid #0096c7;
    border-radius: 20px;
    padding: 3.5rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 10px 60px rgba(0, 150, 199, 0.6);
}

.age-dialog h2 {
    font-size: 3rem;
    color: #90e0ef;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(144, 224, 239, 0.7);
}

.age-dialog p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #caf0f8;
}

.age-dialog .highlight {
    color: #90e0ef;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 1.5rem 0;
}

.age-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.age-option {
    padding: 1.3rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Playfair Display', serif;
}

.age-option.yes {
    background: linear-gradient(135deg, #2a9d8f, #087f5b);
    color: #fff;
    box-shadow: 0 5px 20px rgba(42, 157, 143, 0.5);
}

.age-option.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(42, 157, 143, 0.7);
}

.age-option.no {
    background: linear-gradient(135deg, #e63946, #a4161a);
    color: #fff;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.5);
}

.age-option.no:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-hamburger {
        display: flex;
    }

    .main-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(0, 26, 51, 0.98);
        flex-direction: column;
        padding: 4rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    }

    .main-nav ul.open {
        right: 0;
    }

    .banner h1 {
        font-size: 2.8rem;
    }

    .banner .subtitle {
        font-size: 1.3rem;
    }

    .section-block {
        padding: 2rem;
    }

    .section-block h2 {
        font-size: 2.3rem;
    }

    .game-display iframe {
        height: 500px;
    }

    .age-dialog {
        margin: 0 1.5rem;
        padding: 2.5rem;
    }

    .age-options {
        flex-direction: column;
    }

    .age-option {
        width: 100%;
    }
}
