:root {
    --background: #EAF9FB;
    --secondary: #D9F3F6;
    --surface: #FFFFFF;
    --ocean-blue: #189AB4;
    --lagoon: #34D1BF;
    --coral: #FF8866;
    --seafoam: #9AE6D8;
    --pearl: #FDFCF8;
    --deep-marine: #0F4C5C;
    --soft-sand: #F4E5C2;
    --slate: #59727D;
    --primary-text: #22313F;
    --muted-text: #72838F;
    --accent-gradient: linear-gradient(135deg, #189AB4, #34D1BF);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Banner */
.top-banner {
    background-color: var(--deep-marine);
    color: var(--surface);
    text-align: center;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    width: 100%;
    z-index: 9999;
    position: relative;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--deep-marine);
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--ocean-blue);
    transition: all 0.25s ease;
}

/* Typography & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--surface);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-primary:hover {
    transform: translateY(-3px);
    color: var(--surface);
}

.btn-secondary {
    display: inline-block;
    background: var(--surface);
    color: var(--ocean-blue);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid var(--ocean-blue);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--secondary);
}

/* Floating Navigation Wheel Desktop */
.nav-wheel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    min-height: 350px;
}

.nav-wheel {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(24, 154, 180, 0.15);
    z-index: 10;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--ocean-blue);
    font-size: 1.1rem;
    line-height: 1.2;
    padding: 10px;
}

.nav-item {
    position: absolute;
    width: 120px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--slate);
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-item:hover {
    color: var(--ocean-blue);
}

/* Angles for 6 items */
.nav-item:nth-child(1) { top: -20px; left: 50%; transform: translateX(-50%); } /* Home */
.nav-item:nth-child(2) { top: 40px; right: -60px; } /* Game */
.nav-item:nth-child(3) { bottom: 40px; right: -60px; } /* Privacy */
.nav-item:nth-child(4) { bottom: -20px; left: 50%; transform: translateX(-50%); } /* Terms */
.nav-item:nth-child(5) { bottom: 40px; left: -60px; } /* RG */
.nav-item:nth-child(6) { top: 40px; left: -60px; } /* Contact */

.nav-item:nth-child(1):hover { transform: translateX(-50%) translateY(-5px); }
.nav-item:nth-child(2):hover { transform: translateX(5px) translateY(-5px); }
.nav-item:nth-child(3):hover { transform: translateX(5px) translateY(5px); }
.nav-item:nth-child(4):hover { transform: translateX(-50%) translateY(5px); }
.nav-item:nth-child(5):hover { transform: translateX(-5px) translateY(5px); }
.nav-item:nth-child(6):hover { transform: translateX(-5px) translateY(-5px); }

.nav-item.active {
    color: var(--ocean-blue);
    text-shadow: 0 0 10px rgba(24, 154, 180, 0.2);
}

/* Ocean Reception */
.ocean-reception {
    background: var(--surface);
    border-radius: 40px;
    padding: 3rem;
    margin: 1rem auto 3rem;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(24, 154, 180, 0.05);
    position: relative;
    overflow: hidden;
}

.ocean-reception::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.5;
}

.ocean-reception h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ocean-reception p {
    color: var(--muted-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reception-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Optimization Image Placement */
.reception-image-container {
    margin-top: 2rem;
    border-radius: 20px;
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.reception-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Game Platform */
.game-section {
    padding: 2rem 0;
    text-align: center;
}

.game-frame {
    max-width: 1020px;
    margin: 0 auto;
    background: var(--pearl);
    border: 2px solid var(--ocean-blue);
    border-radius: 28px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(15, 76, 92, 0.1);
}

/* Coral corner accents */
.game-frame::before,
.game-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--coral);
    z-index: 2;
}

.game-frame::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-radius: 15px 0 0 0;
}

.game-frame::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 15px 0;
}

.game-container {
    width: 100%;
    height: 550px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--deep-marine);
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-controls {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Information Pods */
.pods-section {
    padding: 4rem 0;
    position: relative;
}

.pods-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.pods-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--ocean-blue);
    z-index: 0;
    opacity: 0.3;
}

.pod {
    width: 240px;
    height: 240px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(24, 154, 180, 0.08);
    position: relative;
    z-index: 1;
    border: 1px solid var(--secondary);
}

.pod h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--ocean-blue);
}

.pod p {
    font-size: 0.85rem;
    color: var(--muted-text);
}

/* Explorer Log */
.explorer-log {
    padding: 3rem 0;
    background: var(--secondary);
    border-radius: 40px;
    margin: 2rem 20px;
}

.explorer-title {
    text-align: center;
    margin-bottom: 2rem;
}

.log-timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.log-bubble {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--surface);
    padding: 1.5rem;
    border-radius: 30px;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.log-bubble h4 {
    margin: 0;
    color: var(--deep-marine);
    font-size: 1rem;
}

.log-arrow {
    color: var(--ocean-blue);
    font-weight: bold;
}

.log-image-container {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}
.log-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Marine Support Hub */
.support-hub {
    background: var(--surface);
    border-radius: 40px;
    padding: 4rem;
    margin: 4rem 20px;
    box-shadow: 0 10px 40px rgba(15, 76, 92, 0.05);
}

.support-hub-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.support-col h3 {
    color: var(--ocean-blue);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.support-col p {
    color: var(--muted-text);
    margin-bottom: 1rem;
}

.support-email {
    font-size: 1.1rem;
    color: var(--deep-marine);
    font-weight: bold;
    word-break: break-all;
}

.faq-list {
    list-style: none;
}

.faq-list li {
    margin-bottom: 1rem;
}

.faq-list strong {
    display: block;
    color: var(--primary-text);
    font-size: 0.9rem;
}

.faq-list span {
    color: var(--muted-text);
    font-size: 0.85rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--secondary);
    border-radius: 8px;
    background: var(--background);
    color: var(--primary-text);
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.hub-image {
    max-width: 100%;
    border-radius: 16px;
    margin-top: 2rem;
    display: block;
}

/* Footer */
.ocean-footer {
    background: var(--deep-marine);
    color: var(--secondary);
    padding: 4rem 20px 2rem;
    text-align: center;
    border-top: 5px solid var(--ocean-blue);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--surface);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--seafoam);
}

.footer-notices {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 0.85rem;
    color: var(--muted-text);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.age-badge {
    display: inline-block;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 36px;
    font-weight: bold;
    margin: 0 auto 1rem;
    color: var(--surface);
}

/* Cookie Popup */
.cookie-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 76, 92, 0.4);
    z-index: 9998;
    display: none;
    justify-content: center;
    align-items: center;
}

.cookie-popup {
    background: var(--pearl);
    width: 320px;
    padding: 2.5rem 2rem;
    border: 3px solid var(--ocean-blue);
    /* Pearl shell shape */
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    z-index: 9999;
}

.cookie-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--coral);
}

.cookie-popup h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cookie-popup p {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.cookie-buttons button {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.btn-accept {
    background: var(--ocean-blue);
    color: var(--surface);
    border: none;
}
.btn-accept:hover { transform: translateY(-2px); }

.btn-reject {
    background: var(--surface);
    color: var(--ocean-blue);
    border: 1px solid var(--ocean-blue);
}
.btn-reject:hover { transform: translateY(-2px); }


/* Legal Pages Architecture */
.legal-page {
    padding: 4rem 20px;
}

.doc-card {
    background: var(--surface);
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 25px rgba(24, 154, 180, 0.05);
}

.doc-divider {
    height: 2px;
    background: var(--lagoon);
    margin: 2rem 0;
    opacity: 0.5;
}

.doc-card h1 { font-size: 2.2rem; text-align: center; }
.doc-card h2 { font-size: 1.4rem; margin-top: 2rem; color: var(--ocean-blue); }
.doc-card p { margin-bottom: 1rem; color: var(--primary-text); }
.doc-card ul { margin-bottom: 1rem; padding-left: 20px; }
.doc-card li { margin-bottom: 0.5rem; color: var(--primary-text); }

.nav-return {
    display: block;
    text-align: center;
    margin: 2rem 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .support-hub-inner {
        grid-template-columns: 1fr;
    }
    .pods-container {
        flex-direction: column;
    }
    .pods-line { display: none; }
}

@media (max-width: 768px) {
    .nav-wheel-container {
        display: none; /* Hide circle nav on mobile */
    }
    
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; width: 100%;
        background: var(--surface);
        box-shadow: 0 -5px 20px rgba(15, 76, 92, 0.1);
        z-index: 9000;
        justify-content: space-around;
        padding: 10px 5px;
    }
    
    .mobile-bottom-nav a {
        font-size: 0.75rem;
        color: var(--slate);
        text-align: center;
        flex: 1;
    }
    .mobile-bottom-nav a.active { color: var(--ocean-blue); font-weight: bold; }
    
    body { padding-bottom: 60px; } /* Space for bottom nav */
    
    .log-timeline {
        flex-direction: column;
    }
    .log-arrow { transform: rotate(90deg); }
    
    .ocean-reception, .support-hub, .doc-card {
        padding: 2rem 1rem;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav { display: none; }
}