/* ============================================
   LOVEBOT.DEV - STYLES
   Decommissioned Space + Organic Growth
   ============================================ */

/* Color Palette */
:root {
    --color-primary-gold: #C4943A;
    --color-secondary-tan: #C9A88A;
    --color-tertiary-cream: #E8D5A3;
    --color-accent-green: #6B8F5E;
    --color-neutral-light: #D4C8B0;
    --color-neutral-dark: #2A241C;
    --color-neutral-darkest: #1A1610;
    --color-neutral-medium: #5C4A2E;

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(196, 148, 58, 0.15);
    --shadow-panel: 0 8px 32px rgba(26, 22, 16, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-neutral-darkest);
    color: var(--color-tertiary-cream);
    line-height: 1.6;
}

/* ============================================
   MAIN CONTAINER & SECTIONS
   ============================================ */

.container {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
}

/* Section 1 Background - Deep blue to warm tan gradient */
.section-1 .section-bg {
    background: linear-gradient(135deg,
        rgba(26, 22, 16, 0.9) 0%,
        rgba(42, 36, 28, 0.8) 50%,
        rgba(92, 74, 46, 0.7) 100%);
}

/* Section 2 Background - Warm with moss tones */
.section-2 .section-bg {
    background: linear-gradient(135deg,
        rgba(92, 74, 46, 0.8) 0%,
        rgba(107, 143, 94, 0.15) 50%,
        rgba(200, 184, 176, 0.1) 100%);
}

/* Section 3 Background - Organic greens */
.section-3 .section-bg {
    background: linear-gradient(135deg,
        rgba(107, 143, 94, 0.2) 0%,
        rgba(196, 148, 58, 0.08) 50%,
        rgba(42, 36, 28, 0.85) 100%);
}

/* Section 4 Background - Deep contemplative */
.section-4 .section-bg {
    background: linear-gradient(135deg,
        rgba(26, 22, 16, 0.95) 0%,
        rgba(107, 143, 94, 0.1) 50%,
        rgba(92, 74, 46, 0.8) 100%);
}

/* Section 5 Background - Warm clarity */
.section-5 .section-bg {
    background: linear-gradient(135deg,
        rgba(196, 148, 58, 0.1) 0%,
        rgba(201, 168, 138, 0.15) 50%,
        rgba(26, 22, 16, 0.9) 100%);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2 {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--color-tertiary-cream);
    text-shadow: 0 0 20px rgba(196, 148, 58, 0.2);
}

h1 {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    letter-spacing: 0.2em;
}

h2 {
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    letter-spacing: 0.16em;
    margin-top: 40px;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-neutral-light);
    margin-bottom: 20px;
}

.subtitle {
    font-family: 'Space Mono', monospace;
    font-size: clamp(0.6rem, 1.1vw, 0.8rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-secondary-tan);
    font-weight: 400;
}

/* ============================================
   HUD OVERLAY
   ============================================ */

.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    font-family: 'Space Mono', monospace;
}

.hud-panel {
    position: fixed;
    padding: 16px 24px;
    border: 1px solid rgba(232, 213, 163, 0.3);
    background: rgba(26, 22, 16, 0.6);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(196, 148, 58, 0.1);
    font-size: clamp(0.6rem, 1.1vw, 0.8rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: all 600ms ease-out;
}

.hud-label {
    font-weight: 400;
    color: var(--color-secondary-tan);
    opacity: 0.7;
    margin-bottom: 8px;
    font-size: 0.65em;
}

.hud-value {
    font-weight: 700;
    color: var(--color-tertiary-cream);
    letter-spacing: 0.1em;
}

/* Top-left panel */
.hud-top-left {
    top: 40px;
    left: 40px;
    min-width: 160px;
}

/* Top-right panel */
.hud-top-right {
    top: 40px;
    right: 40px;
    min-width: 160px;
    text-align: right;
}

/* Bottom-left panel */
.hud-bottom-left {
    bottom: 40px;
    left: 40px;
    min-width: 160px;
}

/* Bottom-right panel */
.hud-bottom-right {
    bottom: 40px;
    right: 40px;
    min-width: 160px;
    text-align: right;
}

/* ============================================
   HEARTBEAT MONITOR
   ============================================ */

.heartbeat-monitor {
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.6;
}

.heartbeat-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(196, 148, 58, 0.3));
}

.heartbeat-line {
    fill: none;
    stroke: var(--color-primary-gold);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        stroke-width: 1.5;
    }
    25% {
        stroke-width: 2;
    }
    50% {
        stroke-width: 1.5;
    }
    75% {
        stroke-width: 2;
    }
}

/* ============================================
   CENTER VERTICAL LINE
   ============================================ */

.hud-center-line {
    position: fixed;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(196, 148, 58, 0.1),
        rgba(232, 213, 163, 0.2),
        rgba(196, 148, 58, 0.1));
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0.5;
}

/* ============================================
   ORGANIC BLOBS
   ============================================ */

.organic-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.blob {
    filter: blur(2px);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    fill: rgba(196, 148, 58, 0.08);
    animation-delay: 0s;
}

.blob-2 {
    fill: rgba(107, 143, 94, 0.06);
    animation-delay: 1.5s;
}

.blob-3 {
    fill: rgba(196, 148, 58, 0.08);
    animation-delay: 3s;
}

.blob-4 {
    fill: rgba(107, 143, 94, 0.06);
    animation-delay: 4.5s;
}

.blob-5 {
    fill: rgba(201, 168, 138, 0.07);
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -15px);
    }
    50% {
        transform: translate(-5px, 10px);
    }
    75% {
        transform: translate(15px, 5px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hud-panel {
        padding: 12px 16px;
        font-size: 0.65rem;
    }

    .hud-top-left,
    .hud-top-right,
    .hud-bottom-left,
    .hud-bottom-right {
        min-width: 120px;
    }

    .hud-top-left,
    .hud-bottom-left {
        left: 20px;
    }

    .hud-top-right,
    .hud-bottom-right {
        right: 20px;
    }

    .hud-top-left,
    .hud-top-right {
        top: 20px;
    }

    .hud-bottom-left,
    .hud-bottom-right {
        bottom: 20px;
    }
}

/* ============================================
   SCROLL BEHAVIOR
   ============================================ */

.container::-webkit-scrollbar {
    width: 4px;
}

.container::-webkit-scrollbar-track {
    background: transparent;
}

.container::-webkit-scrollbar-thumb {
    background: rgba(196, 148, 58, 0.3);
    border-radius: 2px;
}

.container::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 148, 58, 0.6);
}
