/* ============================================
   RETRO SUNSET WEATHER — style.css
   Palette:
     twilight-black  #0d0221
     deep-purple     #1b0a3a
     card-purple     #221447
     border-purple   #2d1b69
     coral           #c45a5a
     amber           #c47a3a
     magenta         #9b4dca
     cyan            #5a9ab5
     warm-white      #ffe4b5
     muted-text      #c9b8e8
============================================ */

/* ---------- Nav brand ---------- */
.nav-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    background: linear-gradient(90deg, #c47a3a, #c45a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 16px;
    letter-spacing: 0.1em;
    text-shadow: none;
}

.nav-brand:hover {
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* ---------- Home hero ---------- */
.home-hero {
    position: relative;
    text-align: center;
    padding: 60px 20px 50px;
    margin-bottom: 30px;
    overflow: hidden;
}

/*
.home-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.25) 3px,
        rgba(0, 0, 0, 0.25) 4px
    );
    pointer-events: none;
    z-index: -1;
}
*/

.home-scanlines {
    display: none;
}

.home-eyebrow {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: #5a9ab5;
    text-shadow: none;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.home-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    background: linear-gradient(135deg, #c47a3a 0%, #c45a5a 50%, #9b4dca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(255, 107, 107, 0.3));
}

.home-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #6b5a8a;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

/* Blinking cursor */
.blink {
    color: #c45a5a;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Home search form */
.home-search {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.home-search input {
    flex: 1;
    min-width: 220px;
}

/* ---------- Stats bar ---------- */
.stats-bar {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: #6b5a8a;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #5a9ab5;
    text-shadow: none;
}

/* ---------- Alert ticker ---------- */
.ticker-wrap {
    display: flex;
    align-items: center;
    background-color: #1f0a1a;
    border: 1px solid #c45a5a;
    overflow: hidden;
    margin-bottom: 40px;
    height: 36px;
}

.ticker-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #c45a5a;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-right: 1px solid #a03030;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    z-index:2;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 600s linear infinite;
    gap: 0;
    z-index: 1;
}

.ticker-item {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: #ffe4b5;
    padding: 0 40px;
    border-right: 1px solid #2d1b69;
}

.ticker-loading {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: #6b5a8a;
    padding: 0 20px;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Feature cards ---------- */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
}

.feature-card {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    width: 200px;
}

.feature-card:hover {
    border-color: #c45a5a;
    box-shadow: none;
    transform: translateY(-3px);
    color: #ffe4b5;
    text-shadow: none;
    -webkit-text-fill-color: #ffe4b5;
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

.feature-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #c47a3a;
    letter-spacing: 0.08em;
    text-shadow: none;
}

.feature-desc {
    font-size: 0.8rem;
    color: #c9b8e8;
    line-height: 1.4;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0d0221;
    background-image:
        linear-gradient(
            180deg,
            #0d0221 0%,
            #1a0533 40%,
            #2d0b4e 65%,
            #3d1a1a 80%,
            #1a0a0a 100%
        );
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: #ffe4b5;
    font-family: 'Exo 2', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
}

/* body::after {
    content: '';
    position: fixed;
    bottom: 25%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.3), rgba(255, 165, 0, 0.3), rgba(255, 0, 255, 0.3), transparent);
    box-shadow: none;
    pointer-events: none;
    z-index: -1;
}
*/

body::after {
    display: none;
}

.page-content {
    position: relative;
    z-index: 1;
}

a {
    color: #5a9ab5;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #c45a5a;
    text-shadow: none;
}

/* ============================================
   RETRO CLOUDS — static
============================================ */

.clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.cloud {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    border-radius: 50px;
}

.cloud::before {
    width: 180px;
    height: 40px;
    top: 20px;
    left: 0;
}

.cloud::after {
    width: 80px;
    height: 60px;
    top: 0;
    left: 40px;
    border-radius: 50%;
}

/* ---------- Fixed positions spread across the sky ---------- */
.cloud-1 { top: 5%;  left: 10%; }
.cloud-2 { top: 14%; left: 35%; }
.cloud-3 { top: 4%;  left: 58%; }
.cloud-4 { top: 18%; left: 75%; }
.cloud-5 { top: 8%;  left: 88%; }

/* ---- CLEAR — no clouds ---- */
.clouds.clear .cloud {
    opacity: 0;
}

/* ---- PARTLY CLOUDY — 2 small subtle clouds ---- */
.clouds.partly_cloudy .cloud-1,
.clouds.partly_cloudy .cloud-3 {
    opacity: 0.25;
}
.clouds.partly_cloudy .cloud-1::before,
.clouds.partly_cloudy .cloud-1::after,
.clouds.partly_cloudy .cloud-3::before,
.clouds.partly_cloudy .cloud-3::after {
    background: linear-gradient(135deg, #9b4dca, #c45a5a, #c47a3a);
}

/* ---- CLOUDY — all 5 clouds ---- */
.clouds.cloudy .cloud {
    opacity: 0.3;
}
.clouds.cloudy .cloud::before,
.clouds.cloudy .cloud::after {
    background: linear-gradient(135deg, #c850c0, #c45a5a, #c47a3a);
}

/* ---- RAIN — dark blue-gray clouds ---- */
.clouds.rain .cloud {
    opacity: 0.35;
}
.clouds.rain .cloud::before,
.clouds.rain .cloud::after {
    background: linear-gradient(135deg, #2d2d8e, #4444aa, #6666cc);
}

/* ---- THUNDERSTORM — bright dramatic clouds ---- */
.clouds.thunderstorm .cloud {
    opacity: 0.4;
}
.clouds.thunderstorm .cloud::before,
.clouds.thunderstorm .cloud::after {
    background: linear-gradient(135deg, #4400aa, #6600cc, #8800ff);
}

/* ---- SNOW — white/silver soft clouds ---- */
.clouds.snow .cloud {
    opacity: 0.3;
}
.clouds.snow .cloud::before,
.clouds.snow .cloud::after {
    background: linear-gradient(135deg, #c8d8e8, #e8f0f8, #ffffff);
}

/* ---- FOG — wide low flat clouds ---- */
.clouds.fog .cloud {
    opacity: 0.25;
    top: 30% !important;
}
.clouds.fog .cloud::before {
    width: 350px;
    height: 25px;
    background: linear-gradient(135deg, #8888aa, #aaaacc, #ccccee);
}
.clouds.fog .cloud::after {
    width: 300px;
    height: 20px;
    top: 5px;
    background: linear-gradient(135deg, #8888aa, #aaaacc);
    border-radius: 20px;
}

/* ---- WINDY — thin stretched clouds ---- */
.clouds.windy .cloud {
    opacity: 0.2;
}
.clouds.windy .cloud::before {
    width: 250px;
    height: 20px;
    background: linear-gradient(135deg, #9b4dca, #c45a5a, #c47a3a);
    border-radius: 20px;
}
.clouds.windy .cloud::after {
    width: 150px;
    height: 15px;
    top: 5px;
    background: linear-gradient(135deg, #c45a5a, #c47a3a);
    border-radius: 15px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #c47a3a, #c45a5a, #9b4dca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: none;
}

h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5a9ab5;
    text-shadow: none;
    margin: 24px 0 12px;
}

h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #c47a3a;
    text-shadow: none;
    margin-bottom: 8px;
}

p {
    color: #c9b8e8;
    margin-bottom: 12px;
}

/* ---------- Nav bar ---------- */
nav {
    background-color: #1b0a3a;
    border-bottom: 1px solid #9b4dca;
    box-shadow: none;
    padding: 14px 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffe4b5;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: none;
    transition: color 0.2s, text-shadow 0.2s;
}

nav a:hover {
    color: #c45a5a;
    text-shadow: none;
}

/* ---------- Page content wrapper ---------- */
.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 24px 80px;
}

/* ---------- Forms ---------- */
form {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    color: #ffe4b5;
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #c45a5a;
    box-shadow: none;
}

input[type="text"]::placeholder {
    color: #6b5a8a;
}

button {
    padding: 12px 22px;
    background: linear-gradient(135deg, #c45a5a, #9b4dca);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.1s;
}

button:hover {
    box-shadow: none;
    transform: translateY(-1px);
}

/* ---------- Cards ---------- */
.forecast-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.forecast-card {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-left: 3px solid #c47a3a;
    border-radius: 4px;
    padding: 14px 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.forecast-card:hover {
    border-left-color: #c45a5a;
    box-shadow: none;
}

.forecast-card .period-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5a9ab5;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

/* ---------- Alert boxes ---------- */
.alert-box {
    background-color: #1f0a1a;
    border: 1px solid #c45a5a;
    border-left: 5px solid #c45a5a;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 10px;
    box-shadow: none;
}

.alert-box .alert-event {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #c45a5a;
    text-shadow: none;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}

.error-message {
    color: #c45a5a;
    background-color: #1f0a1a;
    border: 1px solid #c45a5a;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Exo 2', sans-serif;
}

/* ---------- States list ---------- */
.state-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.state-list li {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.state-list li:hover {
    border-color: #c47a3a;
    box-shadow: none;
}

.state-list .state-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #c47a3a;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}

.state-list a {
    color: #c9b8e8;
    font-size: 0.9rem;
}

.state-list a:hover {
    color: #c45a5a;
}

/* ---------- Radar / satellite / surface map images ---------- */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.radar-card {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    padding: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.radar-card:hover {
    border-color: #5a9ab5;
    box-shadow: none;
}

.radar-loop {
    width: 100%;
    display: block;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #2d1b69;
    transition: box-shadow 0.2s;
}

.radar-loop:hover {
    box-shadow: none;
}

/* ---------- Lightbox overlay ---------- */
#radar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 2, 33, 0.92);
    z-index: 1000;
}

/* ---------- Current conditions ---------- */
.current-conditions {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-top: 3px solid #5a9ab5;
    border-radius: 4px;
    padding: 24px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.current-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.current-temp {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #c47a3a, #c45a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.current-desc {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #5a9ab5;
    text-align: center;
    letter-spacing: 0.08em;
    text-shadow: none;
}

.current-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.current-detail {
    background-color: #0d0221;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 100px;
}

.detail-label {
    font-size: 0.65rem;
    color: #5a9ab5;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffe4b5;
}

/* ---------- Hourly forecast ---------- */
.hourly-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: #2d1b69 #0d0221;
}

.hourly-card {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-top: 3px solid #5a9ab5;
    border-radius: 4px;
    padding: 12px 10px;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hourly-card:hover {
    border-color: #c45a5a;
    border-top-color: #c45a5a;
    box-shadow: none;
}

.hourly-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #5a9ab5;
    letter-spacing: 0.05em;
}

.hourly-temp {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: #c47a3a;
    text-shadow: none;
}

.hourly-desc {
    font-size: 0.72rem;
    color: #c9b8e8;
    text-align: center;
    line-height: 1.3;
}

.hourly-wind {
    font-size: 0.7rem;
    color: #c9b8e8;
}

.hourly-card .hourly-time {
    font-size: 0.62rem;
    text-align: center;
}

.city-list {
    list-style: disc;
    padding-left: 16px;
    margin-top: 6px;
}

.city-list li {
    padding: 2px 0;
    font-size: 0.85rem;
}

.city-list a {
    color: #c9b8e8;
}

.city-list a:hover {
    color: #c45a5a;
}

.city-list {
    list-style: disc;
    padding-left: 16px;
    margin-top: 6px;
    color: #c47a3a;
}

.state-list li {
    background: none;
    border: none;
    padding: 4px 0;
    box-shadow: none;
}

.state-list li:hover {
    border-color: transparent;
    box-shadow: none;
}

/* ---------- About page ---------- */
.about-hero {
    text-align: center;
    padding: 50px 20px 40px;
    border-bottom: 1px solid #2d1b69;
    margin-bottom: 40px;
}

.about-proverb {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-weight: 700;
    background: linear-gradient(90deg, #c47a3a, #c45a5a, #9b4dca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    margin-bottom: 4px;
}

.about-proverb-line2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-weight: 700;
    background: linear-gradient(90deg, #9b4dca, #c45a5a, #c47a3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    margin-bottom: 16px;
}

.about-proverb-origin {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: #6b5a8a;
    letter-spacing: 0.1em;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-block {
    border-left: 3px solid #c47a3a;
    padding-left: 20px;
}

.about-block h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.about-block p {
    color: #c9b8e8;
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-highlight {
    color: #5a9ab5;
    font-weight: 600;
}

.about-footer {
    text-align: center;
    padding: 30px 0 10px;
    border-top: 1px solid #2d1b69;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #2d1b69;
}

/* ---------- Site-wide footer ---------- */
.site-footer {
    text-align: center;
    padding: 24px 20px 40px;
    border-top: 1px solid #2d1b69;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: #6b5a8a;
}

.site-footer a {
    color: #c9b8e8;
    text-decoration: none;
}

.site-footer a:hover {
    color: #c45a5a;
}

.site-footer-sep {
    margin: 0 10px;
    color: #2d1b69;
}

/* ---------- Tropical page ---------- */
.tropical-storm-card {
    background-color: #1b0a3a;
    border: 1px solid #c45a5a;
    border-left: 5px solid #c45a5a;
    border-radius: 4px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.tropical-storm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tropical-basin-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: #0d0221;
    background-color: #c47a3a;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.tropical-storm-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c45a5a;
    letter-spacing: 0.05em;
}

.tropical-storm-desc {
    color: #c9b8e8;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.tropical-nhc-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: #5a9ab5;
    letter-spacing: 0.08em;
}

.tropical-nhc-link:hover {
    color: #c47a3a;
}

.tropical-no-storms {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.tropical-no-storms-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.tropical-no-storms h2 {
    margin-bottom: 8px;
}

.tropical-no-storms p {
    color: #6b5a8a;
    font-size: 0.9rem;
}

.tropical-outlook-card {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-top: 3px solid #5a9ab5;
    border-radius: 4px;
    padding: 18px 20px;
}

.tropical-outlook-text {
    color: #c9b8e8;
    font-size: 0.85rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* ---------- SPC page ---------- */
.spc-watch-card {
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-left: 5px solid;
}

.spc-tornado {
    background-color: #1f0a0a;
    border-color: #a03030;
    border: 1px solid #a03030;
    border-left: 5px solid #a03030;
}

.spc-tstm {
    background-color: #1a1400;
    border-color: #c47a3a;
    border: 1px solid #c47a3a;
    border-left: 5px solid #c47a3a;
}

.spc-watch-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c45a5a;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.spc-tstm .spc-watch-title {
    color: #c47a3a;
}

.spc-watch-desc {
    color: #c9b8e8;
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.spc-md-card {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-left: 5px solid #5a9ab5;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 10px;
}

.spc-md-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5a9ab5;
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

/* ---------- Forecast Discussion (AFD) ---------- */
.afd-note {
    color: #6b5a8a;
    font-size: 0.85rem;
    margin-top: -8px;
    margin-bottom: 20px;
}

.afd-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.afd-section {
    background-color: #221447;
    border: 1px solid #2d1b69;
    border-left: 3px solid #5a9ab5;
    border-radius: 6px;
    padding: 18px 22px;
}

.afd-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #ffe4b5;
    text-shadow: none;
    margin-top: 0;
    margin-bottom: 10px;
}

.afd-section p {
    color: #c9b8e8;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.afd-section p:last-child {
    margin-bottom: 0;
}

.afd-divider {
    border: none;
    border-top: 1px solid #2d1b69;
    margin: 16px 0;
}

/* ---------- State accordion (shared: wildfires, alerts) ---------- */
.state-accordion {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    margin-bottom: 14px;
    overflow: hidden;
}

.state-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
}

.state-accordion-summary::-webkit-details-marker {
    display: none;
}

.state-accordion-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c47a3a;
    letter-spacing: 0.05em;
}

.state-accordion-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: #6b5a8a;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.state-accordion-arrow {
    display: inline-block;
    color: #5a9ab5;
    transition: transform 0.2s;
}

.state-accordion[open] .state-accordion-arrow {
    transform: rotate(90deg);
}

.state-accordion-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    padding: 0 20px 20px;
}

/* ---------- Wildfires ---------- */
.fire-card {
    background-color: #221447;
    border: 1px solid #c47a3a;
    border-left: 5px solid #c47a3a;
    border-radius: 4px;
    padding: 16px 20px;
}

.fire-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.fire-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c47a3a;
    letter-spacing: 0.05em;
}

.fire-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.fire-stat-label {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b5a8a;
}

.fire-stat-value {
    display: block;
    color: #c9b8e8;
    font-size: 0.9rem;
}

.fire-contained-track {
    background-color: #2d1b69;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 4px;
}

.fire-contained-fill {
    background-color: #5a9ab5;
    height: 100%;
}

.fire-contained-label {
    color: #6b5a8a;
    font-size: 0.75rem;
}

.fires-not-configured {
    background-color: #1b0a3a;
    border: 1px solid #2d1b69;
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.fires-not-configured p {
    color: #6b5a8a;
    font-size: 0.9rem;
}

/* ---------- Road Conditions ---------- */
.road-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.road-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.road-status-green { background-color: #12271a; border: 1px solid #4caf6b; color: #4caf6b; }
.road-status-green .road-status-dot { background-color: #4caf6b; }

.road-status-yellow { background-color: #2e2508; border: 1px solid #d9a934; color: #d9a934; }
.road-status-yellow .road-status-dot { background-color: #d9a934; }

.road-status-red { background-color: #2a0f0f; border: 1px solid #c45a5a; color: #c45a5a; }
.road-status-red .road-status-dot { background-color: #c45a5a; }

.road-note {
    color: #6b5a8a;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.road-text-green { color: #4caf6b; font-weight: 700; }
.road-text-yellow { color: #d9a934; font-weight: 700; }
.road-text-red { color: #c45a5a; font-weight: 700; }

/* ---------- Space Weather ---------- */
.sw-current-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.sw-card {
    background-color: #221447;
    border: 1px solid #2d1b69;
    border-top: 3px solid #9b4dca;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sw-card-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b5a8a;
    margin-bottom: 8px;
}

.sw-card-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #c47a3a, #c45a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sw-card-sub {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.85rem;
    color: #c9b8e8;
    margin-top: 6px;
}

.sw-alerts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.sw-alert {
    background-color: #221447;
    border: 1px solid #2d1b69;
    border-left: 3px solid #c45a5a;
    border-radius: 6px;
    padding: 14px 18px;
}

.sw-alert-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: #c45a5a;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.sw-alert p {
    color: #c9b8e8;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 10px;
}

.sw-alert-link {
    display: inline-block;
    color: #5a9ab5;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    text-decoration: none;
}

.sw-alert-link:hover {
    color: #c45a5a;
}

.sw-guide-note {
    color: #6b5a8a;
    font-size: 0.85rem;
    margin-top: -8px;
    margin-bottom: 20px;
}

.sw-guide-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 30px;
}

.sw-guide-row {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 12px 16px;
    border-bottom: 1px solid #2d1b69;
    flex-wrap: wrap;
}

.sw-guide-kp {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: #5a9ab5;
    min-width: 60px;
}

.sw-guide-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffe4b5;
    min-width: 150px;
}

.sw-guide-visibility {
    color: #c9b8e8;
    font-size: 0.85rem;
    flex: 1;
}

.sw-aurora-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}


