@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-teal: #008B8B;
    --deep-sea: #001F3F;
    --wave-blue: #1E90FF;
    --foam-white: #F0FFFF;
    --coral-accent: #FF7F50;
    --aqua-light: #00CED1;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(180deg, #001F3F 0%, #003366 50%, #004d73 100%);
    color: var(--foam-white);
    line-height: 1.7;
    min-height: 100vh;
}

/* Floating Header */
header {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 31, 63, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid var(--ocean-teal);
    border-radius: 50px;
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 139, 139, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--aqua-light);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--foam-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aqua-light);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--aqua-light);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid var(--ocean-teal);
    color: var(--aqua-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Main Container */
main {
    padding: 10rem 2rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Hero Banner */
.banner {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 139, 139, 0.2), rgba(30, 144, 255, 0.2));
    border-radius: 25px;
    border: 1px solid rgba(0, 206, 209, 0.4);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 209, 0.2), transparent);
    animation: wave 3s infinite;
}

@keyframes wave {
    to {
        left: 100%;
    }
}

.banner h1 {
    font-size: 4rem;
    color: var(--aqua-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 25px rgba(0, 206, 209, 0.5);
}

.banner p {
    font-size: 1.4rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 2;
}

/* Info Panels */
.info-panel {
    background: rgba(0, 139, 139, 0.15);
    border-left: 5px solid var(--ocean-teal);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.info-panel:hover {
    background: rgba(0, 139, 139, 0.25);
    transform: translateX(10px);
}

.info-panel h3 {
    color: var(--aqua-light);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-panel p {
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Content Sections */
.section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

.section-item {
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(0, 139, 139, 0.5);
    border-radius: 18px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.section-item:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: var(--aqua-light);
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 206, 209, 0.4);
}

.section-item h2 {
    color: var(--coral-accent);
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.section-item p {
    font-size: 1.05rem;
    line-height: 1.9;
}

/* Game Display */
.game-display {
    background: rgba(0, 31, 63, 0.7);
    border: 3px solid var(--ocean-teal);
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
}

.game-display h2 {
    color: var(--aqua-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.game-display p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.game-display iframe {
    width: 100%;
    max-width: 950px;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
}

/* Footer */
footer {
    background: rgba(0, 31, 63, 0.9);
    border-top: 3px solid var(--ocean-teal);
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrapper h3 {
    color: var(--aqua-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--foam-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--aqua-light);
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
}

.footer-wrapper p {
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

/* Age Gate Modal */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 15, 30, 0.98);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.age-gate.active {
    display: flex;
}

.age-content {
    background: linear-gradient(135deg, #001F3F, #003366);
    border: 3px solid var(--ocean-teal);
    border-radius: 25px;
    padding: 3.5rem;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 70px rgba(0, 206, 209, 0.6);
}

.age-content h2 {
    color: var(--aqua-light);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.age-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.age-btn {
    padding: 1.3rem 3rem;
    border: none;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn-accept {
    background: linear-gradient(135deg, var(--ocean-teal), var(--wave-blue));
    color: white;
}

.age-btn-accept:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 206, 209, 0.8);
}

.age-btn-exit {
    background: rgba(255, 127, 80, 0.3);
    color: var(--coral-accent);
    border: 2px solid var(--coral-accent);
}

.age-btn-exit:hover {
    background: rgba(255, 127, 80, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        top: 1rem;
        width: calc(100% - 2rem);
        padding: 1rem;
    }

    .header-content {
        gap: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(0, 31, 63, 0.98);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: right 0.3s ease;
        border-left: 3px solid var(--ocean-teal);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .game-display iframe {
        height: 500px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    main {
        padding-top: 7rem;
    }
}
