/* diplomacy.boo - Retro Vapor Gradients */
/* Palette: #2d1854, #1a3a5c, #134e5e, #e8e0f0, #f472b6, #5eead4 */

:root {
    --purple: #2d1854;
    --blue: #1a3a5c;
    --teal: #134e5e;
    --text: #e8e0f0;
    --pink: #f472b6;
    --bright-teal: #5eead4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: linear-gradient(to bottom, var(--purple), var(--blue), var(--teal));
    min-height: 400vh;
    color: var(--text);
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 100% 100%, 30px 30px;
}

/* Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.1) 0%, transparent 50%);
    top: 10%;
    left: 15%;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.08) 0%, transparent 50%);
    top: 40%;
    right: 10%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.06) 0%, transparent 50%);
    bottom: 20%;
    left: 40%;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
}

/* Ghost Shape */
.ghost-shape {
    margin-bottom: 2rem;
    position: relative;
    width: 60px;
    height: 70px;
}

.ghost-body {
    width: 60px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px 30px 0 0;
    position: absolute;
    top: 0;
}

.ghost-tail {
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 20px;
    background: rgba(255, 255, 255, 0.12);
    clip-path: polygon(0 0, 20% 100%, 40% 0, 60% 100%, 80% 0, 100% 100%, 100% 0);
}

.brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--text);
    opacity: 0.9;
    animation: brandFade 3s ease forwards;
}

@keyframes brandFade {
    0% { opacity: 0; }
    100% { opacity: 0.9; }
}

.hero-sub {
    font-size: 0.95rem;
    color: rgba(232, 224, 240, 0.5);
    margin-top: 0.5rem;
}

/* Wave Dividers */
.wave-divider {
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Content Sections */
.content-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Ghost Panels */
.ghost-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    margin-bottom: 1.5rem;
}

.ghost-panel.transparent {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

.panel-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--bright-teal);
}

.panel-text {
    font-size: 0.9rem;
    color: rgba(232, 224, 240, 0.7);
    margin-bottom: 0.75rem;
}

.timestamp {
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    color: var(--pink);
    opacity: 0.6;
}

/* Glow Line */
.glow-line {
    width: 1px;
    height: 40px;
    background: rgba(94, 234, 212, 0.3);
    margin: 0 auto;
    box-shadow: 0 0 8px rgba(94, 234, 212, 0.2);
}

/* Vanishing */
.vanishing {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

.whisper {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(232, 224, 240, 0.25);
    text-align: center;
}

/* Fade In */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ghost-panel {
        padding: 20px;
    }
}
