/* jungchi.boo - Seapunk Political Paranormal */

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.8;
    color: #E0F0F0;
    background: linear-gradient(180deg, #0A1820, #0E2830);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Sonar Labels */
.sonar-label {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00E8C8;
}

/* Particles Container */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bio-particle {
    position: absolute;
    border-radius: 50%;
    background: #00E8C8;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-25vh) translateX(5px); }
    50% { transform: translateY(-50vh) translateX(-5px); }
    75% { transform: translateY(-75vh) translateX(3px); }
    100% { transform: translateY(-100vh) translateX(0); }
}

/* Ghost Silhouettes */
.ghost-silhouette {
    position: fixed;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    animation: ghost-drift 60s ease-in-out infinite;
}

.g1 { top: 10%; left: 5%; }
.g2 { top: 40%; right: 3%; animation-delay: -20s; }
.g3 { top: 70%; left: 10%; animation-delay: -40s; }

@keyframes ghost-drift {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(15px) translateX(-8px); }
}

/* Navigation */
#nav-bar {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #708888;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-dot.active {
    background: #00E8C8;
    box-shadow: 0 0 8px #00E8C8, 0 0 16px rgba(0, 232, 200, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 8px #00E8C8, 0 0 16px rgba(0, 232, 200, 0.3); }
    50% { box-shadow: 0 0 12px #00E8C8, 0 0 24px rgba(0, 232, 200, 0.5); }
}

/* =============================================
   Sonar Ping
   ============================================= */

.sonar-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.sonar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border: 1px solid #00E8C8;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.sonar-ring.active {
    animation: sonar-expand 3s ease-out forwards;
}

.sonar-ring.r2.active { animation-delay: 0.8s; }
.sonar-ring.r3.active { animation-delay: 1.6s; }

@keyframes sonar-expand {
    0% { width: 0; height: 0; opacity: 0.3; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

/* =============================================
   SECTION 1: The Deep Hero
   ============================================= */

#the-deep {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

#hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.1em;
    color: #E0F0F0;
    text-shadow: 0 0 20px rgba(0, 232, 200, 0.4);
    opacity: 0;
    transition: opacity 0.8s ease;
}

#hero-title.visible {
    opacity: 1;
}

.hero-sub {
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-sub.visible {
    opacity: 1;
}

/* =============================================
   Depth Fog
   ============================================= */

.depth-fog {
    height: 120px;
    background: radial-gradient(ellipse at center, #0E2830, transparent 70%);
    position: relative;
    z-index: 2;
}

/* =============================================
   Haunt Sections
   ============================================= */

.haunt-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

.content-panel {
    max-width: 600px;
    background: rgba(14, 40, 48, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 3rem;
    border-radius: 4px;
    border-left: 2px solid rgba(0, 232, 200, 0.2);
    position: relative;
    z-index: 3;
}

.content-panel h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: 0.08em;
    color: #00E8C8;
    margin: 0.75rem 0 1.2rem;
}

.content-panel p {
    margin-bottom: 1rem;
    color: #E0F0F0;
}

.content-panel .sonar-label {
    margin-bottom: 0;
}

/* Slide Up Animation */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Footer
   ============================================= */

#site-footer {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: #00E8C8;
    margin-bottom: 0.5rem;
}

.footer-sub {
    color: #708888;
    border-top: 1px solid #FF4040;
    display: inline-block;
    padding-top: 0.5rem;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 768px) {
    #nav-bar { display: none; }
    .content-panel { padding: 2rem; }
    .ghost-silhouette { display: none; }
}
