:root {
    --bg-base: #050505;
    --glass-bg: rgba(20, 20, 25, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-orange: #f39c12;
    --accent-gold: #d4af37;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --active-pill: rgba(255, 255, 255, 0.15);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    min-height: 100vh;
    padding-bottom: 100px; /* Space for floating nav */
}

/* Top Bar & Search */
.top-bar {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.search-container {
    width: 100%;
    max-width: 400px;
}

#search-input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 30px;
    padding: 15px 20px;
    color: var(--text-main);
    font-size: 14px;
    letter-spacing: 1px;
    outline: none;
    text-transform: uppercase;
}
#search-input::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Node Badge & Clock */
.node-status {
    background: rgba(40, 40, 40, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.status-dot { width: 8px; height: 8px; background-color: #2ecc71; border-radius: 50%; }
.pulsing { box-shadow: 0 0 10px #2ecc71; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.node-text { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--text-muted); }

.live-clock {
    color: var(--accent-orange);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* Main Content Wrapper */
.content-wrapper { padding: 0 20px; }

.tab-content { display: none; }
.tab-content.active-content { display: block; animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Hero Card (The Forest Image Area) */
.hero-image-card {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    /* Placeholder for the forest background */
    background-image: url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#hero-icon { font-size: 48px; margin-bottom: 10px; }

.temp-readout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 5px;
}

#temp-display {
    font-size: 96px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -3px;
}

.steady-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 15px;
    backdrop-filter: blur(5px);
}

.condition-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* RealFeel Badge */
.realfeel-badge {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(243, 156, 18, 0.4);
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.rf-label { background: #fff; color: #000; font-weight: 800; font-size: 10px; padding: 3px 6px; border-radius: 4px; }
.rf-value { color: var(--accent-gold); font-size: 13px; font-weight: 600; }

/* Telemetry Matrix Grid */
.telemetry-section { margin-top: 20px; }
.section-title { font-size: 18px; font-weight: 600; margin-bottom: 15px; }

.telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.matrix-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.matrix-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.matrix-value { font-size: 18px; font-weight: 400; color: var(--text-main); }

/* Floating Nav Bar */
.floating-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    padding: 8px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.nav-pill {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-pill.active {
    background: var(--active-pill);
    color: var(--text-main);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}

.placeholder-text { text-align: center; color: var(--text-muted); padding: 50px 0; font-family: monospace; }
.radar-container { height: 60vh; border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-border); }
