@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Lora:wght@400;500;600&display=swap');

:root {
    --ocean-deep: #0a1628;
    --ocean-mid: #1a2f4a;
    --aqua: #00bcd4;
    --teal: #26a69a;
    --seafoam: #b2ebf2;
    --sand: #fff8e7;
    --coral: #ff7043;
    --text-light: #ffffff;
    --text-muted: #94a7b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.7;
}

.masthead {
    background: rgba(10, 22, 40, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.masthead-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-wave {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--aqua), var(--teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.4rem;
}

.brand-name {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--sand);
    letter-spacing: 1px;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    width: 26px;
    height: 3px;
    background: var(--aqua);
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.burger.active span:first-child {
    transform: rotate(45deg) translate(5px, 7px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:last-child {
    transform: rotate(-45deg) translate(5px, -7px);
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: var(--aqua);
}

main {
    padding-top: 76px;
}

.splash {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 188, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(38, 166, 154, 0.15) 0%, transparent 50%);
}

.splash-inner {
    max-width: 850px;
}

.splash h1 {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--sand);
    line-height: 1.2;
}

.splash-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.wave-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--aqua), var(--teal));
    color: var(--ocean-deep);
    padding: 1.1rem 3rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.wave-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
}

.pillars {
    padding: 5rem 2rem;
    background: rgba(26, 47, 74, 0.5);
}

.pillars-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.pillar {
    background: rgba(10, 22, 40, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 188, 212, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 188, 212, 0.3);
}

.pillar-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.pillar h3 {
    font-family: 'Lora', serif;
    color: var(--aqua);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.pillar p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.showcase {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: var(--sand);
    margin-bottom: 0.5rem;
}

.showcase-header p {
    color: var(--text-muted);
}

.showcase-frame {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 188, 212, 0.2);
}

.showcase-frame iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.perks {
    background: linear-gradient(135deg, var(--aqua), var(--teal));
    padding: 4rem 2rem;
}

.perks-row {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.perk {
    color: var(--ocean-deep);
}

.perk-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.perk h4 {
    font-family: 'Lora', serif;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.perk p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.narrative {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.narrative h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: var(--sand);
    margin-bottom: 1.5rem;
}

.narrative p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.narrative ul {
    list-style: none;
    margin: 1.5rem 0;
}

.narrative li {
    color: var(--text-muted);
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
}

.narrative li::before {
    content: '🌊';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.base {
    background: rgba(10, 22, 40, 0.9);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(0, 188, 212, 0.2);
}

.base-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.base-brand {
    font-family: 'Lora', serif;
    font-size: 1.6rem;
    color: var(--aqua);
    margin-bottom: 2rem;
}

.safety-net {
    margin-bottom: 2rem;
}

.safety-net h4 {
    color: var(--sand);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.safety-net a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.safety-net a:hover {
    color: var(--aqua);
}

.base-legal {
    border-top: 1px solid rgba(0, 188, 212, 0.1);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.gate {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gate.hidden {
    display: none;
}

.gate-panel {
    background: var(--ocean-mid);
    padding: 3.5rem;
    border-radius: 24px;
    text-align: center;
    max-width: 460px;
    border: 1px solid rgba(0, 188, 212, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gate-panel h2 {
    font-family: 'Lora', serif;
    color: var(--aqua);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.gate-panel p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.gate-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.gate-enter, .gate-exit {
    padding: 1rem 2.5rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.gate-enter {
    background: linear-gradient(135deg, var(--aqua), var(--teal));
    color: var(--ocean-deep);
}

.gate-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.4);
}

.gate-exit {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--text-muted);
}

.gate-exit:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.inner-splash {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(0, 188, 212, 0.2) 0%, transparent 60%);
    padding: 9rem 2rem 4rem;
    text-align: center;
}

.inner-splash h1 {
    font-family: 'Lora', serif;
    font-size: 2.8rem;
    color: var(--sand);
    margin-bottom: 1rem;
}

.inner-splash p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.prose {
    max-width: 880px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.prose h2 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: var(--aqua);
    margin: 2.5rem 0 1rem;
}

.prose h3 {
    color: var(--teal);
    margin: 2rem 0 1rem;
    font-size: 1.15rem;
}

.prose p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.prose ul {
    list-style: none;
    margin: 1rem 0;
}

.prose li {
    color: var(--text-muted);
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.prose li::before {
    content: '○';
    color: var(--aqua);
    position: absolute;
    left: 0;
}

.help-box {
    background: rgba(0, 188, 212, 0.1);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border-left: 4px solid var(--aqua);
}

.help-box h3 {
    font-family: 'Lora', serif;
    color: var(--aqua);
    margin-bottom: 0.8rem;
}

.help-box p {
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .perks-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--ocean-deep);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s;
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .main-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .main-menu a {
        font-size: 1.3rem;
    }
    
    .splash h1 {
        font-size: 2.3rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .perks-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-frame iframe {
        height: 480px;
    }
    
    .inner-splash h1 {
        font-size: 2rem;
    }
    
    .gate-panel {
        margin: 1rem;
        padding: 2.5rem;
    }
    
    .gate-actions {
        flex-direction: column;
    }
    
    .safety-net a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .masthead-content {
        padding: 1rem;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .splash h1 {
        font-size: 1.9rem;
    }
    
    .wave-btn {
        padding: 0.9rem 2rem;
    }
    
    .showcase-frame iframe {
        height: 380px;
    }
    
    .showcase-header h2 {
        font-size: 1.8rem;
    }
}
