/* ═══════════════════════════════════════════════════════════════
   FIREWATCH HOME THEME - Navesapp
   Beautiful illustrated forest background with warm UI
   ═══════════════════════════════════════════════════════════════ */

/* ─── Firewatch CSS Variables ─── */
:root {
    --fw-deep-purple: #30122d;
    --fw-wine: #870734;
    --fw-crimson: #cb2d3e;
    --fw-fire-orange: #ef473a;
    --fw-sunset-peach: #ff9f43;
    --fw-cream: #ffd6bf;
    --fw-warm-white: #fff5eb;
    --fw-pure-white: #ffffff;

    /* UI Semantic Colors */
    --fw-card-solid: rgba(48, 18, 45, 0.92);
    --fw-card-elevated: rgba(60, 25, 55, 0.95);
    --fw-border-subtle: rgba(255, 214, 191, 0.15);
    --fw-border-accent: rgba(255, 159, 67, 0.4);

    /* Text Colors (High Contrast) */
    --fw-text-primary: #ffffff;
    --fw-text-secondary: #ffd6bf;
    --fw-text-muted: rgba(255, 214, 191, 0.7);
    --fw-text-accent: #ff9f43;

    /* Status Colors */
    --fw-status-online: #4ade80;
    --fw-status-coming: #ff9f43;
    --fw-status-there: #4ade80;
    --fw-status-schedule: #38bdf8;

    /* Typography */
    --fw-font-logo: 'Satisfy', cursive;
    --fw-font-display: 'Cinzel', serif;
    --fw-font-body: 'Nunito', sans-serif;
    --fw-font-handwritten: 'Caveat', cursive;
}

/* ═══════════════════════════════════════════════════════════════
   FIREWATCH SCENE BACKGROUND
   ═══════════════════════════════════════════════════════════════ */

.fw-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url('../background.jpg') center center / cover no-repeat;
    transition: background-image 0.8s ease-in-out;
}

/* ─── Time-based Weather Backgrounds ─── */
.fw-scene.time-morning {
    background: url('../images/backgrounds/weather/morning.jpg') center center / cover no-repeat !important;
}

.fw-scene.time-lunch {
    background: url('../images/backgrounds/weather/lunch.jpg') center center / cover no-repeat !important;
}

.fw-scene.time-evening {
    background: url('../images/backgrounds/weather/evening.jpg') center center / cover no-repeat !important;
}

/* Vignette overlay - top and bottom for better contrast */
.fw-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(20, 10, 15, 0.4) 0%,
            rgba(20, 10, 15, 0.15) 8%,
            transparent 20%,
            transparent 60%,
            rgba(30, 15, 25, 0.3) 100%
        );
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   UI LAYER
   ═══════════════════════════════════════════════════════════════ */

.fw-ui {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 20px 16px 100px;
    max-width: 420px;
    margin: 0 auto;
}

/* ─── Header ─── */
.fw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    animation: fwFadeIn 0.5s ease-out;
}

@keyframes fwFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fw-logo {
    font-family: var(--fw-font-logo);
    font-size: 2.4rem;
    color: var(--fw-pure-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.fw-header-btns {
    display: flex;
    gap: 10px;
}

.fw-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--fw-card-solid);
    border: 1px solid var(--fw-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.fw-icon-btn:hover {
    background: var(--fw-card-elevated);
    border-color: var(--fw-border-accent);
    transform: translateY(-2px);
}

.fw-notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff4757;
}

/* ═══════════════════════════════════════════════════════════════
   PROFILE CARD - Solid Background for Readability
   ═══════════════════════════════════════════════════════════════ */

.fw-profile-card {
    background: var(--fw-card-solid);
    border: 1px solid var(--fw-border-subtle);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fwFadeInUp 0.5s ease-out 0.1s both;
}

@keyframes fwFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subtle fire rim glow */
.fw-profile-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fw-sunset-peach), transparent);
    opacity: 0.5;
}

.fw-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.fw-avatar-wrap {
    position: relative;
}

/* Crown for high-level users */
.fw-avatar-crown {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    color: #ffd700;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.5));
    z-index: 10;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

.fw-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--fw-sunset-peach);
    box-shadow: 0 0 20px rgba(255, 159, 67, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--fw-card-elevated);
    color: var(--fw-sunset-peach);
}

.fw-avatar i {
    font-size: 2rem;
}

.fw-level-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd700, #ff9f43);
    color: var(--fw-deep-purple);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    border: 2px solid var(--fw-deep-purple);
    box-shadow: 0 2px 8px rgba(255, 159, 67, 0.4);
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.fw-level-badge i {
    font-size: 0.8rem;
}

.fw-profile-info {
    flex: 1;
}

.fw-profile-info h1 {
    font-family: var(--fw-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fw-pure-white);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fw-profile-level {
    font-size: 0.8rem;
    color: var(--fw-sunset-peach);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.fw-profile-title {
    font-size: 0.95rem;
    color: var(--fw-cream);
    font-weight: 500;
}

/* XP Bar */
.fw-xp-section {
    margin-top: 16px;
}

.fw-xp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.fw-xp-label {
    font-size: 0.75rem;
    color: var(--fw-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fw-xp-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fw-text-accent);
}

.fw-xp-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    overflow: hidden;
}

.fw-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fw-sunset-peach), #ffd700, var(--fw-sunset-peach));
    background-size: 200% 100%;
    border-radius: 5px;
    animation: fwShimmer 2s linear infinite;
    box-shadow: 0 0 10px rgba(255, 159, 67, 0.5);
}

@keyframes fwShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════════
   GOLDEN ORNAMENTS - Profile Card Decorations
   ═══════════════════════════════════════════════════════════════ */

/* Animated golden border */
.fw-golden-border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--fw-gold, #d4a853), transparent 30%, transparent 70%, var(--fw-gold, #d4a853));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: fwBorderRotate 8s linear infinite;
    pointer-events: none;
}

@keyframes fwBorderRotate {
    0% { background: linear-gradient(0deg, var(--fw-gold, #d4a853), transparent 30%, transparent 70%, var(--fw-gold, #d4a853)); }
    25% { background: linear-gradient(90deg, var(--fw-gold, #d4a853), transparent 30%, transparent 70%, var(--fw-gold, #d4a853)); }
    50% { background: linear-gradient(180deg, var(--fw-gold, #d4a853), transparent 30%, transparent 70%, var(--fw-gold, #d4a853)); }
    75% { background: linear-gradient(270deg, var(--fw-gold, #d4a853), transparent 30%, transparent 70%, var(--fw-gold, #d4a853)); }
    100% { background: linear-gradient(360deg, var(--fw-gold, #d4a853), transparent 30%, transparent 70%, var(--fw-gold, #d4a853)); }
}

/* Corner ornaments */
.fw-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--fw-gold, #d4a853);
    opacity: 0.4;
    pointer-events: none;
}

.fw-corner-tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.fw-corner-tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 4px 0 0;
}

.fw-corner-bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 4px;
}

.fw-corner-br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

/* Diamond ornament */
.fw-diamond {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--fw-gold, #d4a853);
    opacity: 0.5;
    pointer-events: none;
}

/* Glowing avatar */
.fw-profile-card .fw-avatar {
    animation: fwAvatarGlow 3s ease-in-out infinite;
}

@keyframes fwAvatarGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(212, 168, 83, 0.3); }
    50% { box-shadow: 0 0 25px rgba(212, 168, 83, 0.5); }
}

/* Online indicator */
.fw-online-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    border: 2px solid var(--fw-deep-purple, #30122d);
    box-shadow: 0 0 8px #4ade80;
    animation: fwOnlinePulse 2s ease-in-out infinite;
}

@keyframes fwOnlinePulse {
    0%, 100% { box-shadow: 0 0 8px #4ade80; }
    50% { box-shadow: 0 0 16px #4ade80; }
}

/* Streak badge */
.fw-streak-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 20px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--fw-sunset-peach, #ff9f43);
    font-weight: 600;
    z-index: 5;
}

.fw-streak-badge i {
    font-size: 0.85rem;
    color: #ff6b35;
}

/* Divider with icon */
.fw-divider-ornament {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
}

.fw-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fw-gold, #d4a853) 50%, transparent);
    opacity: 0.3;
}

.fw-divider-icon {
    color: var(--fw-gold, #d4a853);
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Member footer */
.fw-member-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 168, 83, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: rgba(255, 214, 191, 0.5);
}

.fw-member-footer i {
    margin-right: 4px;
    color: var(--fw-gold, #d4a853);
    opacity: 0.6;
}

.fw-rank-badge {
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 12px;
    padding: 3px 8px;
    color: var(--fw-gold, #d4a853);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   STATS ROW - Clear Visual Hierarchy
   ═══════════════════════════════════════════════════════════════ */

.fw-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    animation: fwFadeInUp 0.5s ease-out 0.2s both;
}

.fw-stat-card {
    background: var(--fw-card-solid);
    border: 1px solid var(--fw-border-subtle);
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.fw-stat-card:hover {
    border-color: var(--fw-border-accent);
    transform: translateY(-2px);
}

.fw-stat-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.fw-stat-value {
    font-family: var(--fw-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fw-pure-white);
    margin-bottom: 4px;
}

.fw-stat-label {
    font-size: 0.65rem;
    color: var(--fw-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TITLES - Clear Headings
   ═══════════════════════════════════════════════════════════════ */

.fw-section-title {
    font-family: var(--fw-font-display);
    font-size: 0.9rem;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

.fw-section-title i {
    color: var(--fw-sunset-peach);
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.fw-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--fw-border-accent), transparent);
}

/* ═══════════════════════════════════════════════════════════════
   ОКОЛО ОГЪНЯ - Bulletin Board with Polaroids
   ═══════════════════════════════════════════════════════════════ */

.fw-campfire-section {
    margin-bottom: 24px;
    animation: fwFadeInUp 0.5s ease-out 0.3s both;
}

.fw-bulletin-board {
    position: relative;
    background: linear-gradient(135deg, #c9aa73 0%, #b8956a 50%, #c4a574 100%);
    border-radius: 8px;
    padding: 28px 20px 35px;
    min-height: 260px;
    /* Wood frame */
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.2),
        0 0 0 10px #5c4033,
        0 0 0 12px #3d2817,
        0 0 0 14px #6b4423,
        0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Cork texture */
.fw-bulletin-board::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Board title */
.fw-board-title {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #6b4423, #5c4033);
    padding: 8px 20px;
    border-radius: 6px;
    font-family: var(--fw-font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffecd2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    z-index: 20;
    white-space: nowrap;
}

/* Polaroids container */
.fw-polaroids {
    position: relative;
    min-height: 200px;
}

/* Empty state */
.fw-polaroids-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    color: #5c4033;
    font-family: var(--fw-font-handwritten);
    font-size: 1.2rem;
    text-align: center;
}

.fw-polaroids-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.6;
}

/* Polaroid card */
.fw-polaroid {
    position: absolute;
    background: #faf8f0;
    padding: 8px 8px 28px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.fw-polaroid:hover {
    transform: scale(1.12) rotate(0deg) !important;
    z-index: 30;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.fw-polaroid img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.fw-polaroid-name {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--fw-font-handwritten);
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
}

.fw-polaroid-totem {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: #faf8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid #faf8f0;
}

.fw-polaroid-online {
    position: absolute;
    bottom: 30px;
    right: 4px;
    width: 10px;
    height: 10px;
    background: var(--fw-status-online);
    border-radius: 50%;
    border: 2px solid #faf8f0;
    box-shadow: 0 0 6px var(--fw-status-online);
}

/* Push pins */
.fw-pin {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset 0 -2px 3px rgba(0,0,0,0.2), inset 0 2px 2px rgba(255,255,255,0.3);
    z-index: 5;
}

.fw-pin-red { background: linear-gradient(135deg, #ff6b6b, #e63946); }
.fw-pin-yellow { background: linear-gradient(135deg, #ffe066, #ffd93d); }
.fw-pin-green { background: linear-gradient(135deg, #69db7c, #4ade80); }
.fw-pin-blue { background: linear-gradient(135deg, #74c0fc, #60a5fa); }

/* Polaroid positions - dynamic via inline styles */
.fw-pol-1 { top: 10px; left: 8px; transform: rotate(-6deg); }
.fw-pol-2 { top: 5px; left: 95px; transform: rotate(4deg); }
.fw-pol-3 { top: 12px; right: 10px; transform: rotate(-3deg); }
.fw-pol-4 { top: 105px; left: 18px; transform: rotate(5deg); }
.fw-pol-5 { top: 98px; left: 115px; transform: rotate(-4deg); }
.fw-pol-6 { top: 110px; right: 8px; transform: rotate(7deg); }

/* Count badge */
.fw-board-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background: rgba(60, 40, 30, 0.9);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #ffecd2;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 10;
}

/* ═══════════════════════════════════════════════════════════════
   STATUS SELECTION - Distinct Colors (Muted to match background)
   ═══════════════════════════════════════════════════════════════ */

.fw-status-section {
    margin-bottom: 24px;
    animation: fwFadeInUp 0.5s ease-out 0.4s both;
}

/* ═══════════════════════════════════════════════════════════════
   CAMPFIRE GLOW STATUS BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.fw-status-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Primary Campfire Button */
.fw-status-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    min-height: 66px;
    border: none;
    border-radius: 16px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: linear-gradient(180deg,
        rgba(30, 15, 25, 0.95) 0%,
        rgba(20, 10, 20, 0.98) 100%);
    border: 1px solid var(--fire-color-dim, rgba(255, 159, 67, 0.3));
}

/* Fire glow at bottom */
.fw-status-btn::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: var(--fire-color, #f59e0b);
    filter: blur(15px);
    opacity: 0.6;
    animation: fwFirePulse 2s ease-in-out infinite;
}

/* Inner fire glow */
.fw-status-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 120%, var(--fire-color-dim, rgba(245,158,11,0.4)) 0%, transparent 60%);
    opacity: 0.5;
    animation: fwFireGlow 3s ease-in-out infinite alternate;
}

@keyframes fwFirePulse {
    0%, 100% {
        opacity: 0.4;
        filter: blur(12px);
        transform: scaleX(0.9);
    }
    50% {
        opacity: 0.8;
        filter: blur(18px);
        transform: scaleX(1.1);
    }
}

@keyframes fwFireGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Ember particles container */
.fw-status-btn .embers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.fw-status-btn .ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--fire-color, #f59e0b);
    border-radius: 50%;
    bottom: 10px;
    animation: fwEmberFloat 3s ease-out infinite;
    opacity: 0;
}

.fw-status-btn .ember:nth-child(1) { left: 20%; animation-delay: 0s; }
.fw-status-btn .ember:nth-child(2) { left: 40%; animation-delay: 0.5s; }
.fw-status-btn .ember:nth-child(3) { left: 60%; animation-delay: 1s; }
.fw-status-btn .ember:nth-child(4) { left: 80%; animation-delay: 1.5s; }

@keyframes fwEmberFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% { opacity: 1; }
    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
    }
}

.fw-status-btn .fw-icon {
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px var(--fire-color, #f59e0b));
    color: var(--fire-color, #f59e0b);
}

.fw-status-btn span:not(.fw-icon):not(.embers):not(.ember) {
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--fire-color-dim, rgba(245,158,11,0.4));
}

.fw-status-btn:active {
    transform: scale(0.97);
}

/* On my way - Amber Fire */
.fw-btn-coming {
    --fire-color: #f59e0b;
    --fire-color-dim: rgba(245,158,11,0.4);
    color: #fef3c7;
}

/* At camp - Emerald Fire */
.fw-btn-there {
    --fire-color: #10b981;
    --fire-color-dim: rgba(16,185,129,0.4);
    color: #d1fae5;
}

/* Schedule - Cyan Fire */
.fw-btn-schedule {
    --fire-color: #06b6d4;
    --fire-color-dim: rgba(6,182,212,0.4);
    color: #cffafe;
}

/* ═══════════════════════════════════════════════════════════════
   SECONDARY CAMPFIRE BUTTONS (Mini Pills)
   ═══════════════════════════════════════════════════════════════ */

.fw-status-secondary {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.fw-status-btn-sm {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    border: none;
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: linear-gradient(180deg,
        rgba(25, 12, 22, 0.95) 0%,
        rgba(18, 8, 18, 0.98) 100%);
    border: 1px solid var(--fire-color-dim, rgba(139,92,246,0.35));
}

.fw-status-btn-sm::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 15%;
    right: 15%;
    height: 12px;
    background: var(--fire-color, #8b5cf6);
    filter: blur(10px);
    opacity: 0.5;
    animation: fwFirePulseMini 2.5s ease-in-out infinite;
}

.fw-status-btn-sm::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 130%, var(--fire-color-dim, rgba(139,92,246,0.35)) 0%, transparent 70%);
    opacity: 0.4;
}

@keyframes fwFirePulseMini {
    0%, 100% {
        opacity: 0.3;
        filter: blur(8px);
    }
    50% {
        opacity: 0.6;
        filter: blur(12px);
    }
}

.fw-status-btn-sm .fw-icon {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 6px var(--fire-color, #8b5cf6));
    color: var(--fire-color, #8b5cf6);
}

.fw-status-btn-sm span:not(.fw-icon) {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 8px var(--fire-color-dim, rgba(139,92,246,0.35));
}

.fw-status-btn-sm:active {
    transform: scale(0.95);
}

/* Maybe - Purple Fire */
.fw-btn-maybe {
    --fire-color: #8b5cf6;
    --fire-color-dim: rgba(139,92,246,0.35);
    color: #ede9fe;
}

/* Not Coming - Red Fire */
.fw-btn-notcoming {
    --fire-color: #ef4444;
    --fire-color-dim: rgba(239,68,68,0.35);
    color: #fee2e2;
}

/* Elsewhere - Pink Fire */
.fw-btn-elsewhere {
    --fire-color: #ec4899;
    --fire-color-dim: rgba(236,72,153,0.35);
    color: #fce7f3;
}

/* ═══════════════════════════════════════════════════════════════
   CURRENT STATUS DISPLAY
   ═══════════════════════════════════════════════════════════════ */

.fw-current-status {
    background: var(--fw-card-solid);
    border: 1px solid var(--fw-border-subtle);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    animation: fwFadeInUp 0.5s ease-out 0.4s both;
}

.fw-current-status-icon {
    font-size: 4rem;
    margin-bottom: 12px;
}

.fw-current-status-text {
    font-family: var(--fw-font-display);
    font-size: 1.2rem;
    color: var(--fw-pure-white);
    margin-bottom: 8px;
}

.fw-current-status-time {
    font-size: 0.85rem;
    color: var(--fw-text-muted);
}

.fw-current-status-message {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--fw-text-secondary);
    margin-top: 8px;
    padding: 0 16px;
}

.fw-change-status-btn {
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--fw-card-elevated);
    border: 1px solid var(--fw-border-accent);
    border-radius: 12px;
    color: var(--fw-text-accent);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fw-change-status-btn:hover {
    background: rgba(255, 159, 67, 0.2);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   COMING SECTION - People on their way
   ═══════════════════════════════════════════════════════════════ */

.fw-coming-section {
    background: var(--fw-card-solid);
    border: 1px solid var(--fw-border-subtle);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    animation: fwFadeInUp 0.5s ease-out 0.5s both;
}

.fw-coming-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.fw-coming-icon {
    font-size: 2rem;
}

.fw-coming-title {
    font-family: var(--fw-font-display);
    font-size: 1rem;
    color: var(--fw-pure-white);
    letter-spacing: 1px;
}

.fw-coming-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fw-coming-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--fw-border-subtle);
}

.fw-coming-user-avatar {
    font-size: 2rem;
}

.fw-coming-user-info {
    flex: 1;
}

.fw-coming-user-name {
    font-weight: 700;
    color: var(--fw-pure-white);
    font-size: 0.95rem;
}

.fw-coming-user-status {
    font-size: 0.8rem;
    color: var(--fw-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   WEATHER CARD
   ═══════════════════════════════════════════════════════════════ */

.fw-weather-card {
    background: var(--fw-card-solid);
    border: 1px solid var(--fw-border-subtle);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: fwFadeInUp 0.5s ease-out 0.5s both;
}

.fw-weather-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fw-weather-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 8px rgba(255, 200, 87, 0.4));
}

.fw-weather-temp {
    font-family: var(--fw-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fw-pure-white);
}

.fw-weather-desc {
    font-size: 0.85rem;
    color: var(--fw-text-secondary);
    margin-top: 2px;
}

.fw-weather-details {
    text-align: right;
}

.fw-weather-detail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--fw-text-muted);
    margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.fw-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 12px 4px;
    z-index: 100;
    animation: fwFadeInUp 0.4s ease-out 0.6s both;
}

.fw-nav-bar {
    background: rgba(30, 12, 28, 0.95);
    border: 1px solid var(--fw-border-subtle);
    border-radius: 20px;
    padding: 8px 4px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
    max-width: 420px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fw-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--fw-text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    background: none;
    border: none;
}

.fw-nav-item:hover {
    color: var(--fw-text-secondary);
}

.fw-nav-item.fw-active {
    color: var(--fw-text-accent);
}

.fw-nav-item.fw-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--fw-sunset-peach);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 0 8px var(--fw-sunset-peach);
}

.fw-nav-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.fw-nav-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════
   DAILY CHALLENGE CONTAINER
   ═══════════════════════════════════════════════════════════════ */

.fw-daily-challenge {
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 360px) {
    .fw-logo { font-size: 2rem; }
    .fw-polaroid img { width: 50px; height: 50px; }
    .fw-nav-item { padding: 8px 8px; }
    .fw-nav-label { font-size: 0.55rem; }
    .fw-pol-2 { left: 80px; }
    .fw-pol-5 { left: 95px; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

.fw-hidden { display: none !important; }
.fw-text-center { text-align: center; }
.fw-mb-4 { margin-bottom: 16px; }
.fw-mt-4 { margin-top: 16px; }

/* ═══════════════════════════════════════════════════════════════
   FIREWATCH MODALS - Beautiful glassmorphism design
   ═══════════════════════════════════════════════════════════════ */

.fw-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 5, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fwModalFadeIn 0.3s ease-out;
}

@keyframes fwModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fw-modal {
    background: linear-gradient(145deg, rgba(48, 18, 45, 0.98), rgba(30, 12, 28, 0.98));
    border: 1px solid rgba(255, 159, 67, 0.3);
    border-radius: 28px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    position: relative;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 159, 67, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: fwModalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}

.fw-time-input-wrap {
    position: relative;
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 16px;
}

@keyframes fwModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Decorative top glow bar */
.fw-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--fw-sunset-peach) 20%,
        #ffd700 50%,
        var(--fw-sunset-peach) 80%,
        transparent 100%
    );
    border-radius: 28px 28px 0 0;
}

/* Ambient glow effect */
.fw-modal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 159, 67, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: fwModalGlow 4s ease-in-out infinite;
}

@keyframes fwModalGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

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

/* Modal Header */
.fw-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.fw-modal-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(255, 159, 67, 0.4));
    animation: fwIconFloat 3s ease-in-out infinite;
}

@keyframes fwIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fw-modal-title {
    font-family: var(--fw-font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--fw-pure-white);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(255, 159, 67, 0.3);
}

.fw-modal-subtitle {
    font-size: 0.9rem;
    color: var(--fw-text-secondary);
    font-weight: 500;
}

/* Time Input - Custom styled (merged with earlier definition) */

.fw-time-input {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 20px;
    font-family: var(--fw-font-display);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--fw-pure-white);
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 159, 67, 0.3);
    border-radius: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.fw-time-input:focus {
    border-color: var(--fw-sunset-peach);
    box-shadow:
        inset 0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 159, 67, 0.3);
}

/* Chrome/Safari time input styling */
.fw-time-input::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(0deg);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 4px;
}

.fw-time-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Hide inner shadow and spinner in time input */
.fw-time-input::-webkit-inner-spin-button,
.fw-time-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fw-time-input::-webkit-datetime-edit {
    padding: 0;
}

.fw-time-input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.fw-time-input::-webkit-datetime-edit-hour-field,
.fw-time-input::-webkit-datetime-edit-minute-field,
.fw-time-input::-webkit-datetime-edit-ampm-field {
    padding: 2px 4px;
    border-radius: 4px;
}

.fw-time-input::-webkit-datetime-edit-hour-field:focus,
.fw-time-input::-webkit-datetime-edit-minute-field:focus,
.fw-time-input::-webkit-datetime-edit-ampm-field:focus {
    background: rgba(255, 159, 67, 0.3);
    color: #fff;
}

/* Text Input */
.fw-text-input {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 24px;
    font-family: var(--fw-font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fw-pure-white);
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 159, 67, 0.3);
    border-radius: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 28px;
}

.fw-text-input::placeholder {
    color: rgba(255, 214, 191, 0.4);
    font-weight: 500;
}

.fw-text-input:focus {
    border-color: var(--fw-sunset-peach);
    box-shadow:
        inset 0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 159, 67, 0.3);
}

/* Quick Time Presets */
.fw-time-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.fw-time-preset {
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 159, 67, 0.2);
    border-radius: 12px;
    font-family: var(--fw-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fw-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fw-time-preset:hover {
    background: rgba(255, 159, 67, 0.15);
    border-color: var(--fw-sunset-peach);
    color: var(--fw-pure-white);
    transform: translateY(-2px);
}

.fw-time-preset:active {
    transform: translateY(0);
}

/* Modal Buttons */
.fw-modal-btns {
    display: flex;
    gap: 12px;
}

.fw-modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    font-family: var(--fw-font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.fw-modal-btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--fw-text-secondary);
}

.fw-modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--fw-pure-white);
    transform: translateY(-2px);
}

.fw-modal-btn-confirm {
    background: linear-gradient(135deg, var(--fw-sunset-peach), #e68a30);
    color: var(--fw-deep-purple);
    box-shadow: 0 4px 20px rgba(255, 159, 67, 0.4);
}

.fw-modal-btn-confirm:hover {
    background: linear-gradient(135deg, #ffb366, var(--fw-sunset-peach));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 159, 67, 0.5);
}

.fw-modal-btn-confirm:active {
    transform: translateY(0);
}

/* Blue variant for "Elsewhere" modal */
.fw-modal-btn-confirm-blue {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
}

.fw-modal-btn-confirm-blue:hover {
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.5);
}

/* Decorative elements */
.fw-modal-decor {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0.3;
}

.fw-modal-decor span {
    width: 6px;
    height: 6px;
    background: var(--fw-sunset-peach);
    border-radius: 50%;
}

/* Location suggestions */
.fw-location-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.fw-location-chip {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fw-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fw-location-chip:hover {
    background: rgba(96, 165, 250, 0.15);
    border-color: #60a5fa;
    color: var(--fw-pure-white);
}

/* ═══════════════════════════════════════════════════════════════
   STATUS / ACTIVITY TABS
   ═══════════════════════════════════════════════════════════════ */

.fw-tabs-section {
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   EMBER GLOW V2 TAB BUTTONS (Firewatch Perfect Match)
   ═══════════════════════════════════════════════════════════════ */

.fw-tabs-ember {
    display: flex;
    gap: 8px;
    padding: 8px;
    background:
        radial-gradient(ellipse at bottom, rgba(255, 107, 53, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(48, 20, 45, 0.9) 0%, rgba(30, 12, 35, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 168, 83, 0.25);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

/* Animated ember glow line at bottom */
.fw-tabs-ember::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 107, 53, 0.8),
        rgba(255, 159, 67, 1),
        rgba(255, 107, 53, 0.8),
        transparent);
    filter: blur(2px);
    animation: emberTabGlow 3s ease-in-out infinite;
}

@keyframes emberTabGlow {
    0%, 100% {
        opacity: 0.5;
        width: 60%;
    }
    50% {
        opacity: 1;
        width: 90%;
    }
}

.fw-tab-ember {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(250, 243, 224, 0.5);
    font-family: 'Cinzel', var(--fw-font-display), serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

/* Glowing underline indicator */
.fw-tab-ember::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--fw-sunset-orange),
        var(--fw-sunset-peach),
        var(--fw-gold));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1px);
}

.fw-tab-ember:hover {
    color: rgba(250, 243, 224, 0.8);
}

.fw-tab-ember:active {
    transform: scale(0.97);
}

/* Active state - the magic happens here */
.fw-tab-ember.active {
    color: var(--fw-cream);
    text-shadow: 0 0 20px rgba(255, 159, 67, 0.5);
}

.fw-tab-ember.active::after {
    width: 80%;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.8);
}

.fw-tab-ember i {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 4px rgba(255, 159, 67, 0.3));
}

.fw-tab-ember.active i {
    filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.8));
    animation: iconEmberFlicker 2s ease-in-out infinite;
}

@keyframes iconEmberFlicker {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 107, 53, 1));
    }
}

.fw-tab-content {
    background: transparent;
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

/* Status Content (no collapse, direct buttons) */
.fw-status-content {
    padding: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVITY FEED - Ranger's Field Journal Design
   Warm parchment cards with burnt edges and campfire glow
   ═══════════════════════════════════════════════════════════════ */

.fw-activity-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Loading State */
.fw-activity-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--fw-text-muted);
}

.fw-activity-loading i {
    font-size: 2rem;
    color: var(--fw-sunset-peach);
    animation: fwPulseGlow 1.5s ease-in-out infinite;
}

@keyframes fwPulseGlow {
    0%, 100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.3));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.6));
    }
}

/* Empty State - Lonely Campfire */
.fw-activity-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 50px 20px;
    text-align: center;
}

.fw-activity-empty i {
    font-size: 3.5rem;
    color: var(--fw-sunset-peach);
    opacity: 0.4;
    animation: fwEmberFloat 3s ease-in-out infinite;
}

@keyframes fwEmberFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.fw-activity-empty span {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--fw-cream);
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   DAILY REPORT CARD - Aged Parchment Style
   ═══════════════════════════════════════════════════════════════ */

.fw-daily-report {
    position: relative;
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 40%, #fcd34d 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 8px rgba(180, 120, 60, 0.2);
    overflow: hidden;
}

/* Aged paper texture overlay */
.fw-daily-report::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 90, 43, 0.03) 2px,
            rgba(139, 90, 43, 0.03) 4px
        );
    pointer-events: none;
    border-radius: 12px;
}

/* Burnt edge effect */
.fw-daily-report::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 30px rgba(139, 69, 19, 0.15);
    pointer-events: none;
}

/* Header with wax seal */
.fw-daily-report-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(146, 64, 14, 0.2);
    position: relative;
}

/* Wax seal stamp */
.fw-report-seal {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at 35% 35%, #dc2626, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.fw-report-seal i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.fw-report-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #78350f;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Date badge */
.fw-report-date {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(146, 64, 14, 0.15);
    border: 1px solid rgba(146, 64, 14, 0.3);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #92400e;
}

.fw-report-date i {
    font-size: 0.85rem;
}

/* Stats Grid */
.fw-report-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.fw-report-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(146, 64, 14, 0.1);
}

.fw-report-stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.fw-report-stat-icon i {
    font-size: 1rem;
    color: #78350f;
}

.fw-report-stat-info {
    flex: 1;
    min-width: 0;
}

.fw-report-stat-label {
    font-size: 0.6rem;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    line-height: 1;
}

.fw-report-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #78350f;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVITY SECTIONS - Journal Chapter Style
   ═══════════════════════════════════════════════════════════════ */

.fw-activity-section {
    position: relative;
}

/* Section Header - Ribbon Bookmark Style */
.fw-activity-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 6px 0;
    transition: opacity 0.2s ease;
}

.fw-activity-section-header:active {
    opacity: 0.8;
}

/* Ribbon bookmark */
.fw-section-ribbon {
    width: 28px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--ribbon-color, #92400e), var(--ribbon-dark, #78350f));
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.fw-section-ribbon span {
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section variants */
.fw-activity-section.now .fw-section-ribbon {
    --ribbon-color: #16a34a;
    --ribbon-dark: #15803d;
}

.fw-activity-section.today .fw-section-ribbon {
    --ribbon-color: #d97706;
    --ribbon-dark: #b45309;
}

.fw-activity-section.yesterday .fw-section-ribbon {
    --ribbon-color: #6b7280;
    --ribbon-dark: #4b5563;
}

.fw-section-title {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Live indicator for NOW section */
.fw-activity-section.now .fw-section-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: fwLivePulse 1.5s ease-in-out infinite;
}

@keyframes fwLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Decorative flourish */
.fw-section-flourish {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(255, 159, 67, 0.5) 0%,
        transparent 100%);
    margin-left: 8px;
}

/* Chevron */
.fw-section-chevron {
    font-size: 0.9rem;
    color: var(--fw-text-muted);
    transition: transform 0.3s ease;
}

.fw-activity-section.collapsed .fw-section-chevron {
    transform: rotate(-90deg);
}

/* Activity Items Container */
.fw-activity-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 38px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.fw-activity-section.collapsed .fw-activity-items {
    max-height: 0;
    opacity: 0;
    margin: 0;
}

/* Individual Activity Item */
.fw-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg,
        rgba(48, 20, 40, 0.85) 0%,
        rgba(35, 15, 30, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-left: 3px solid var(--fw-sunset-peach);
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.fw-activity-item:active {
    transform: scale(0.98);
    background: linear-gradient(135deg,
        rgba(60, 28, 50, 0.9) 0%,
        rgba(45, 20, 38, 0.95) 100%);
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* User initial avatar */
.fw-activity-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fw-sunset-orange) 0%, var(--fw-sunset-peach) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fw-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fw-dark-brown);
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

/* Time badge */
.fw-activity-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--fw-gold);
    background: rgba(212, 168, 83, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(212, 168, 83, 0.3);
    flex-shrink: 0;
}

/* Activity content */
.fw-activity-body {
    flex: 1;
    min-width: 0;
}

.fw-activity-text {
    font-size: 0.85rem;
    color: var(--fw-cream);
    line-height: 1.4;
    margin-bottom: 4px;
}

.fw-activity-text strong {
    color: var(--fw-sunset-peach);
    font-weight: 600;
}

/* Weather chip */
.fw-activity-weather {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--fw-text-muted);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 10px;
}

.fw-activity-weather i {
    font-size: 0.75rem;
}

/* Meta container (time + ago) */
.fw-activity-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Relative time */
.fw-activity-ago {
    font-size: 0.65rem;
    color: var(--fw-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   LOAD MORE BUTTON
   ═══════════════════════════════════════════════════════════════ */

.fw-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin-top: 12px;
    background: linear-gradient(135deg,
        rgba(139, 69, 19, 0.3) 0%,
        rgba(92, 64, 51, 0.4) 100%);
    border: 1px dashed rgba(212, 168, 83, 0.4);
    border-radius: 12px;
    color: var(--fw-gold);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fw-load-more:hover {
    background: linear-gradient(135deg,
        rgba(139, 69, 19, 0.5) 0%,
        rgba(92, 64, 51, 0.6) 100%);
    border-color: var(--fw-gold);
    transform: translateY(-2px);
}

.fw-load-more:active {
    transform: translateY(0);
}

.fw-load-more i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.fw-load-more:hover i {
    transform: translateY(2px);
}

.fw-load-more.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hidden items for load more */
.fw-activity-item.hidden {
    display: none;
}

.fw-activity-item.revealed {
    animation: fwRevealItem 0.4s ease forwards;
}

@keyframes fwRevealItem {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVITY FILTERS V2 - Clean & Intuitive
   ═══════════════════════════════════════════════════════════════ */

.fw-activity-filters-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

/* Type filter chips - horizontal scroll */
.fw-filter-chips {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fw-filter-chips::-webkit-scrollbar {
    display: none;
}

.fw-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(48, 20, 40, 0.7);
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: 16px;
    color: var(--fw-text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.fw-chip-emoji {
    font-size: 0.85rem;
}

.fw-chip:hover {
    background: rgba(60, 28, 50, 0.8);
    border-color: rgba(212, 168, 83, 0.4);
}

.fw-chip.active {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.9) 0%, rgba(255, 107, 53, 0.9) 100%);
    border-color: var(--fw-gold);
    color: #1a0a1a;
    font-weight: 600;
}

/* User filter row */
.fw-filter-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(30, 15, 25, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 83, 0.15);
}

.fw-filter-label {
    font-size: 0.7rem;
    color: var(--fw-text-muted);
    white-space: nowrap;
}

.fw-filter-user-wrap {
    position: relative;
    flex: 1;
}

.fw-user-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    padding: 5px 10px;
    background: rgba(48, 20, 40, 0.6);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 8px;
    color: var(--fw-cream);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fw-user-select:hover {
    border-color: rgba(212, 168, 83, 0.4);
}

.fw-user-select i {
    font-size: 0.7rem;
    color: var(--fw-text-muted);
    transition: transform 0.2s ease;
}

/* User dropdown */
.fw-user-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(30, 12, 25, 0.98);
    border-radius: 8px;
    border: 1px solid rgba(212, 168, 83, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    transition: all 0.25s ease;
}

.fw-user-dropdown.open {
    max-height: 180px;
    overflow-y: auto;
    opacity: 1;
}

.fw-user-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: var(--fw-text-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(212, 168, 83, 0.08);
}

.fw-user-option:last-child {
    border-bottom: none;
}

.fw-user-option:hover {
    background: rgba(212, 168, 83, 0.1);
    color: var(--fw-cream);
}

.fw-user-option.active {
    background: rgba(212, 168, 83, 0.15);
    color: var(--fw-gold);
}

.fw-user-initial {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fw-sunset-orange) 0%, var(--fw-sunset-peach) 100%);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    color: #1a0a1a;
}

/* Reset/Clear button */
.fw-filter-reset {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 6px;
    color: #fca5a5;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.fw-filter-reset:hover {
    background: rgba(239, 68, 68, 0.3);
}

.fw-filter-reset i {
    font-size: 0.8rem;
}

/* Filter result info */
.fw-filter-info {
    font-size: 0.7rem;
    color: var(--fw-text-muted);
    text-align: center;
    padding: 4px 0;
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVITY FEED MOBILE IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    /* Activity Filters V2 - mobile */
    .fw-chip {
        padding: 5px 8px;
        font-size: 0.68rem;
    }

    .fw-chip-emoji {
        font-size: 0.8rem;
    }

    .fw-filter-user-row {
        padding: 6px 8px;
        gap: 6px;
    }

    .fw-filter-label {
        font-size: 0.65rem;
    }

    .fw-user-select {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    /* Daily Report - compact on mobile */
    .fw-daily-report {
        padding: 12px;
        margin-bottom: 12px;
    }

    .fw-daily-report-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .fw-report-seal {
        width: 30px;
        height: 30px;
    }

    .fw-report-title {
        font-size: 0.85rem;
    }

    .fw-report-date {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 4px;
    }

    .fw-report-stats {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .fw-report-stat {
        padding: 8px;
        gap: 8px;
    }

    .fw-report-stat-icon {
        width: 28px;
        height: 28px;
    }

    .fw-report-stat-icon i {
        font-size: 0.85rem;
    }

    .fw-report-stat-label {
        font-size: 0.55rem;
    }

    .fw-report-stat-value {
        font-size: 0.8rem;
    }

    /* Activity sections - less left padding on mobile */
    .fw-activity-items {
        padding-left: 8px;
        gap: 6px;
    }

    /* Activity section header */
    .fw-activity-section-header {
        gap: 8px;
        margin-bottom: 8px;
    }

    .fw-section-ribbon {
        width: 24px;
        height: 32px;
    }

    .fw-section-ribbon span {
        font-size: 0.6rem;
    }

    .fw-section-title {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    /* Activity item - better mobile layout */
    .fw-activity-item {
        padding: 10px 12px;
        gap: 8px;
        background: linear-gradient(135deg,
            rgba(48, 20, 40, 0.85) 0%,
            rgba(35, 15, 30, 0.9) 100%);
        border: 1px solid rgba(212, 168, 83, 0.2);
        border-left: 3px solid var(--fw-sunset-peach);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .fw-activity-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .fw-activity-body {
        flex: 1;
        min-width: 0;
    }

    .fw-activity-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .fw-activity-meta {
        gap: 2px;
    }

    .fw-activity-time {
        font-size: 0.6rem;
        padding: 2px 5px;
    }

    .fw-activity-ago {
        font-size: 0.55rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FIREWATCH WEATHER PAGE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Weather Container */
.fw-weather-container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 100px;
}

/* Weather Header */
.fw-weather-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 16px;
}

.fw-weather-header .fw-logo {
    font-family: var(--fw-font-logo);
    font-size: 2rem;
    color: var(--fw-cream);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 159, 67, 0.2);
    text-decoration: none;
}

.fw-header-actions {
    display: flex;
    gap: 8px;
}

.fw-icon-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 20, 35, 0.65);
    border: 1px solid rgba(255, 159, 67, 0.18);
    border-radius: 14px;
    color: var(--fw-sunset-peach);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.fw-icon-btn:hover {
    background: rgba(60, 30, 50, 0.85);
    border-color: var(--fw-gold);
    transform: scale(1.08);
}

/* Location Badge */
.fw-location-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(40, 20, 35, 0.65);
    border: 1px solid rgba(255, 159, 67, 0.18);
    border-radius: 24px;
    margin-bottom: 20px;
    backdrop-filter: blur(16px);
}

.fw-location-badge i {
    color: var(--fw-sunset-peach);
    font-size: 1.1rem;
}

.fw-location-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fw-cream);
}

/* Hero Weather Card */
.fw-weather-hero {
    position: relative;
    background: rgba(48, 18, 45, 0.5);
    border: 1px solid rgba(212, 168, 83, 0.4);
    border-radius: 28px;
    padding: 32px 28px;
    margin-bottom: 20px;
    overflow: visible;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Golden corner ornaments */
.fw-weather-hero::before,
.fw-weather-hero::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(212, 168, 83, 0.7);
    pointer-events: none;
    transition: all 0.3s ease;
}

.fw-weather-hero::before {
    top: 12px;
    left: 12px;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.fw-weather-hero::after {
    bottom: 12px;
    right: 12px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

/* Diamond accent at top */
.fw-weather-hero .fw-hero-diamond {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(212, 168, 83, 0.8);
    border: 1px solid rgba(255, 214, 191, 0.5);
    box-shadow: 0 0 10px rgba(212, 168, 83, 0.4);
}

/* Bottom glow line */
.fw-weather-hero .fw-hero-glow {
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 159, 67, 0.6), transparent);
    border-radius: 1px;
}

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

/* Weather icon - centered */
.fw-weather-icon {
    font-size: 5rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 15px rgba(255, 200, 87, 0.4));
    animation: weatherIconFloat 4s ease-in-out infinite;
}

@keyframes weatherIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Temperature display */
.fw-temp-display {
    font-family: var(--fw-font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--fw-cream);
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 6px;
}

.fw-temp-display sup {
    font-size: 2rem;
    font-weight: 600;
    vertical-align: super;
    margin-left: 2px;
    color: var(--fw-sunset-peach);
}

/* Feels like */
.fw-feels-like {
    font-size: 0.95rem;
    color: var(--fw-sunset-peach);
    margin-bottom: 8px;
}

/* Weather description */
.fw-weather-desc {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--fw-cream);
    text-transform: capitalize;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.fw-hero-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.fw-hero-icon {
    font-size: 5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.fw-hero-temp {
    font-family: var(--fw-font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--fw-cream);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fw-hero-feels {
    font-size: 0.9rem;
    color: var(--fw-sunset-peach);
    margin-top: 4px;
}

.fw-hero-desc {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--fw-cream);
    text-transform: capitalize;
    margin-bottom: 16px;
}

/* Smoking Index Badge - Premium Style */
.fw-smoking-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(145deg, #3d2233 0%, #2a1520 50%, #1f0f18 100%);
    border: 2px solid rgba(212, 168, 83, 0.5);
    border-radius: 20px;
    padding: 16px 28px;
    margin-top: 12px;
    transition: all 0.3s ease;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.08),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Corner ornaments */
.fw-smoking-badge::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(212, 168, 83, 0.7);
    border-top: 2px solid rgba(212, 168, 83, 0.7);
    border-radius: 2px 0 0 0;
}

.fw-smoking-badge::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(212, 168, 83, 0.7);
    border-bottom: 2px solid rgba(212, 168, 83, 0.7);
    border-radius: 0 0 2px 0;
}

.fw-smoking-badge:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(212, 168, 83, 0.2);
    border-color: rgba(212, 168, 83, 0.7);
}

.fw-smoking-badge.good {
    background: linear-gradient(145deg, #1a3d2a 0%, #0f2518 50%, #091810 100%);
    border-color: rgba(74, 222, 128, 0.6);
}

.fw-smoking-badge.good::before,
.fw-smoking-badge.good::after {
    border-color: rgba(74, 222, 128, 0.7);
}

.fw-smoking-badge.moderate {
    background: linear-gradient(145deg, #3d3520 0%, #2a2415 50%, #1f1a0f 100%);
    border-color: rgba(250, 204, 21, 0.6);
}

.fw-smoking-badge.moderate::before,
.fw-smoking-badge.moderate::after {
    border-color: rgba(250, 204, 21, 0.7);
}

.fw-smoking-badge.poor {
    background: linear-gradient(145deg, #3d1a1a 0%, #2a0f0f 50%, #1f0909 100%);
    border-color: rgba(248, 113, 113, 0.6);
}

.fw-smoking-badge.poor::before,
.fw-smoking-badge.poor::after {
    border-color: rgba(248, 113, 113, 0.7);
}

.fw-smoking-emoji {
    font-size: 2.8rem;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
    animation: smokeEmojiBounce 2s ease-in-out infinite;
}

@keyframes smokeEmojiBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.fw-smoking-info {
    text-align: left;
}

.fw-smoking-title {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fw-cream);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fw-smoking-score {
    font-family: var(--fw-font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--fw-sunset-peach);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(255, 159, 67, 0.4);
}

.fw-smoking-badge.good .fw-smoking-score {
    color: #86efac;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.5);
}

.fw-smoking-badge.moderate .fw-smoking-score {
    color: #fde047;
    text-shadow: 0 2px 10px rgba(250, 204, 21, 0.5);
}

.fw-smoking-badge.poor .fw-smoking-score {
    color: #fca5a5;
    text-shadow: 0 2px 10px rgba(248, 113, 113, 0.5);
}

/* Stats Grid */
.fw-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.fw-stat-card {
    position: relative;
    background: rgba(48, 18, 45, 0.5);
    border: 1px solid rgba(212, 168, 83, 0.35);
    border-radius: 18px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Golden corner accents */
.fw-stat-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 12px;
    height: 12px;
    border-left: 2px solid rgba(212, 168, 83, 0.6);
    border-top: 2px solid rgba(212, 168, 83, 0.6);
    border-radius: 3px 0 0 0;
    pointer-events: none;
}

.fw-stat-card::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(212, 168, 83, 0.6);
    border-bottom: 2px solid rgba(212, 168, 83, 0.6);
    border-radius: 0 0 3px 0;
    pointer-events: none;
}

.fw-stat-card:hover {
    background: rgba(48, 18, 45, 0.6);
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(212, 168, 83, 0.15);
}

.fw-stat-card:hover::before,
.fw-stat-card:hover::after {
    border-color: rgba(212, 168, 83, 0.8);
}

.fw-stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.fw-stat-value {
    font-family: var(--fw-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 6px;
}

.fw-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--fw-sunset-peach);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Parchment Card (Sun, Campfire) */
.fw-parchment-card {
    position: relative;
    background: linear-gradient(145deg, rgba(139, 90, 43, 0.85), rgba(101, 67, 33, 0.9));
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.fw-parchment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
}

.fw-parchment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.fw-parchment-header i {
    font-size: 1.6rem;
    color: var(--fw-gold);
}

.fw-parchment-title {
    font-family: var(--fw-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Night Sky Card (Moon, Stars, Planets) */
.fw-night-card {
    position: relative;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.85));
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.fw-night-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1.5px 1.5px at 80% 20%, rgba(255, 255, 255, 0.6), transparent);
    pointer-events: none;
}

.fw-night-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fw-night-header i {
    font-size: 1.6rem;
    color: #60a5fa;
}

.fw-night-title {
    font-family: var(--fw-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hourly Forecast */
.fw-forecast-section {
    margin-bottom: 20px;
}

.fw-forecast-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.fw-forecast-header i {
    font-size: 1.4rem;
    color: var(--fw-sunset-peach);
}

.fw-forecast-header span {
    font-family: var(--fw-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fw-forecast-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fw-forecast-scroll::-webkit-scrollbar {
    display: none;
}

.fw-forecast-hour {
    flex-shrink: 0;
    width: 80px;
    background: rgba(40, 20, 35, 0.65);
    border: 1px solid rgba(255, 159, 67, 0.18);
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.fw-forecast-hour:hover {
    border-color: rgba(255, 159, 67, 0.4);
    transform: translateY(-2px);
}

.fw-forecast-time {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 8px;
}

.fw-forecast-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.fw-forecast-temp {
    font-family: var(--fw-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 4px;
}

.fw-forecast-wind {
    font-size: 0.7rem;
    color: var(--fw-sunset-peach);
}

/* Weekly Forecast */
.fw-weekly-card {
    background: rgba(40, 20, 35, 0.65);
    border: 1px solid rgba(255, 159, 67, 0.18);
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 22px;
    backdrop-filter: blur(16px);
}

.fw-weekly-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 159, 67, 0.12);
}

.fw-weekly-header i {
    font-size: 1.5rem;
    color: var(--fw-sunset-peach);
}

.fw-weekly-header span {
    font-family: var(--fw-font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.fw-weekly-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fw-weekly-day {
    display: grid;
    grid-template-columns: 80px 44px 1fr 60px;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    border-radius: 14px;
    transition: all 0.35s ease;
}

.fw-weekly-day:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(6px);
}

.fw-weekly-day.today {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.12), rgba(255, 107, 53, 0.08));
    border: 1px solid rgba(255, 159, 67, 0.25);
}

.fw-day-name {
    font-weight: 700;
    color: var(--fw-cream);
    font-size: 0.95rem;
}

.fw-day-name small {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--fw-sunset-peach);
    margin-top: 3px;
}

.fw-day-icon {
    font-size: 1.8rem;
    text-align: center;
}

.fw-day-conditions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fw-day-desc {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--fw-cream);
}

.fw-day-details {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--fw-sunset-peach);
}

.fw-day-temps {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.fw-day-high {
    font-family: var(--fw-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fw-cream);
}

.fw-day-low {
    font-size: 0.85rem;
    color: var(--fw-sunset-peach);
}

.fw-day-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
}

.fw-day-score.good {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.fw-day-score.moderate {
    background: rgba(234, 179, 8, 0.18);
    color: #fde047;
}

.fw-day-score.poor {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

/* Factors Breakdown Card */
.fw-factors-card {
    background: rgba(40, 20, 35, 0.65);
    border: 1px solid rgba(255, 159, 67, 0.18);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 20px;
    backdrop-filter: blur(16px);
}

.fw-factors-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.fw-factors-header i {
    font-size: 1.4rem;
    color: var(--fw-sunset-peach);
}

.fw-factors-header span {
    font-family: var(--fw-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fw-factor-item {
    margin-bottom: 16px;
}

.fw-factor-item:last-child {
    margin-bottom: 0;
}

.fw-factor-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.fw-factor-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fw-cream);
}

.fw-factor-value {
    font-family: var(--fw-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--fw-sunset-peach);
}

.fw-factor-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 6px;
}

.fw-factor-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease-out;
}

.fw-factor-status {
    font-size: 0.75rem;
}

.fw-factor-status.good {
    color: #86efac;
}

.fw-factor-status.moderate {
    color: #fde047;
}

.fw-factor-status.poor {
    color: #fca5a5;
}

/* Sun Times Grid */
.fw-sun-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fw-sun-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.fw-sun-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.fw-sun-label {
    font-size: 0.75rem;
    color: var(--fw-sunset-peach);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.fw-sun-time {
    font-family: var(--fw-font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 4px;
}

.fw-sun-countdown {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fde68a;
}

/* Moon Section */
.fw-moon-display {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 16px;
}

.fw-moon-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

.fw-moon-name {
    font-family: var(--fw-font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 4px;
}

.fw-moon-phase {
    font-size: 0.9rem;
    color: var(--fw-sunset-peach);
}

/* Stargazing Quality */
.fw-stargazing {
    text-align: center;
    padding: 16px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 14px;
}

.fw-stargazing-label {
    font-size: 0.85rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 8px;
}

.fw-stargazing-stars {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.fw-stargazing-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fw-cream);
}

/* Campfire Card */
.fw-campfire-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.fw-campfire-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
}

.fw-campfire-info {
    flex: 1;
}

.fw-campfire-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 4px;
}

.fw-campfire-score {
    font-size: 0.9rem;
    color: var(--fw-sunset-peach);
}

/* Weather Loading State */
.fw-weather-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.fw-loading-fire {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: firePulse 1.5s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.9)); }
}

.fw-loading-text {
    font-family: var(--fw-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.fw-loading-sub {
    font-size: 0.9rem;
    color: var(--fw-sunset-peach);
}

/* ═══════════════════════════════════════════════════════════════
   FIREWATCH WEATHER - SPECIALIZED CARDS (from test file)
   ═══════════════════════════════════════════════════════════════ */

/* Sun Card - Parchment Yellow Style */
.fw-sun-card {
    position: relative;
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 40%, #fcd34d 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 8px rgba(180, 120, 60, 0.2);
    overflow: hidden;
}

.fw-sun-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(139, 90, 43, 0.03) 2px,
        rgba(139, 90, 43, 0.03) 4px
    );
    pointer-events: none;
}

.fw-sun-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 40px rgba(139, 69, 19, 0.15);
    pointer-events: none;
}

.fw-sun-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(146, 64, 14, 0.2);
    position: relative;
    z-index: 1;
}

.fw-sun-seal {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 35% 35%, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.fw-sun-seal i {
    font-size: 1.3rem;
    color: white;
}

.fw-sun-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #78350f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fw-sun-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.fw-sun-item {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(146, 64, 14, 0.1);
}

.fw-sun-item i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.fw-sun-item .time {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 4px;
}

.fw-sun-item .label {
    font-size: 0.7rem;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fw-sun-item .countdown {
    font-size: 0.75rem;
    color: #b45309;
    margin-top: 4px;
    font-weight: 600;
}

/* Moon & Stars Card - Night Theme */
.fw-astro-card {
    position: relative;
    background: linear-gradient(145deg,
        #0f172a 0%,
        #1e293b 50%,
        #0f172a 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.fw-astro-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 85%, white, transparent),
        radial-gradient(1.5px 1.5px at 45% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 75% 45%, rgba(255,255,255,0.8), transparent);
    opacity: 0.5;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

.fw-moon-display {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
}

.fw-moon-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    margin-bottom: 8px;
}

.fw-moon-name {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 4px;
}

.fw-moon-phase {
    font-size: 0.8rem;
    color: #60a5fa;
}

.fw-stars-rating {
    text-align: center;
    padding: 16px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
}

.fw-stars-title {
    font-size: 0.75rem;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.fw-stars-display {
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.fw-stars-label {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--fw-cream);
}

/* Campfire Card - Ember Glow */
.fw-campfire-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(120, 53, 15, 0.8) 0%,
        rgba(69, 26, 3, 0.9) 100%);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.fw-campfire-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to top, rgba(255, 107, 53, 0.8), transparent);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    animation: emberGlow 2s ease-in-out infinite;
}

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

.fw-campfire-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fw-campfire-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 53, 0.6));
    animation: fireFlicker 1.5s ease-in-out infinite;
    margin-bottom: 12px;
}

@keyframes fireFlicker {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05) translateY(-2px); }
    50% { transform: scale(0.98); }
    75% { transform: scale(1.03) translateY(-1px); }
}

.fw-campfire-card .fw-campfire-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fw-cream);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.fw-campfire-status {
    font-size: 1.2rem;
    color: #fde68a;
    font-weight: 600;
    margin-bottom: 12px;
}

.fw-progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.fw-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #fbbf24);
    border-radius: 4px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.fw-campfire-message {
    font-size: 0.9rem;
    color: #fed7aa;
    line-height: 1.5;
}

/* Tonight's Sky Card - Telescope Lens Style */
.fw-sky-card {
    position: relative;
    background: radial-gradient(circle at center, #1e3a2e 0%, #0a1812 70%, #000000 100%);
    border: 2px solid var(--fw-gold, #d4a853);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 168, 83, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.8);
}

.fw-sky-card::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}

.fw-sky-card::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 16px;
    pointer-events: none;
}

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

.fw-sky-header {
    text-align: center;
    margin-bottom: 20px;
}

.fw-sky-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 20px rgba(212, 168, 83, 0.5));
    margin-bottom: 8px;
}

.fw-sky-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fw-cream);
    text-shadow: 0 0 15px rgba(212, 168, 83, 0.5);
    margin-bottom: 4px;
}

.fw-sky-subtitle {
    font-size: 0.85rem;
    color: #d4a853;
}

.fw-sky-quality {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.fw-quality-label {
    font-size: 0.75rem;
    color: #d4a853;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.fw-quality-stars {
    font-size: 2rem;
    letter-spacing: 4px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(212, 168, 83, 0.4));
}

.fw-quality-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #fde68a;
    margin-bottom: 10px;
}

.fw-quality-factors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.fw-quality-factors span {
    font-size: 0.75rem;
    color: #d4a853;
}

.fw-planets-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.fw-planets-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fw-cream);
    margin-bottom: 12px;
}

.fw-planets-title i {
    color: #d4a853;
}

.fw-planets-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fw-planet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.fw-planet-icon {
    font-size: 1.8rem;
}

.fw-planet-info {
    flex: 1;
}

.fw-planet-name {
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 2px;
}

.fw-planet-brightness {
    font-size: 0.7rem;
    color: #d4a853;
}

.fw-planet-times {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.7rem;
    color: #fde68a;
    text-align: right;
}

.fw-best-hours {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 14px;
    padding: 16px;
}

.fw-hours-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fw-cream);
    margin-bottom: 14px;
}

.fw-hours-label i {
    color: #d4a853;
}

.fw-hours-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fw-hour-block {
    text-align: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.fw-hour-block.peak {
    background: rgba(212, 168, 83, 0.2);
    border: 1px solid #d4a853;
}

.fw-hour-value {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fw-cream);
}

.fw-hour-label {
    font-size: 0.65rem;
    color: #fde68a;
    text-transform: uppercase;
}

.fw-hour-arrow {
    font-size: 1.5rem;
    color: #d4a853;
    opacity: 0.6;
}

/* Meteor Shower Card */
.fw-meteor-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(180, 83, 9, 0.7) 0%,
        rgba(127, 29, 29, 0.8) 50%,
        rgba(180, 83, 9, 0.7) 100%);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
}

.fw-meteor-card::before {
    content: '✦';
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 0.8rem;
    color: white;
    opacity: 0;
    animation: shootingStar 4s ease-in-out infinite;
}

@keyframes shootingStar {
    0% { opacity: 0; transform: translate(0, 0); }
    10% { opacity: 1; }
    30% { opacity: 0; transform: translate(-100px, 80px); }
    100% { opacity: 0; transform: translate(-100px, 80px); }
}

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

.fw-meteor-header {
    text-align: center;
    margin-bottom: 16px;
}

.fw-meteor-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6));
    margin-bottom: 8px;
}

.fw-meteor-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 8px;
}

.fw-meteor-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #dc2626;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.fw-meteor-badge.upcoming {
    background: #d97706;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.9; }
}

.fw-meteor-name {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.fw-meteor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.fw-meteor-stat {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.fw-meteor-stat-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.fw-meteor-stat-value {
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.fw-meteor-stat-label {
    font-size: 0.65rem;
    color: #fed7aa;
    text-transform: uppercase;
}

.fw-meteor-moon-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: white;
}

.fw-meteor-moon-warning.low {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.fw-meteor-moon-warning.medium {
    background: rgba(234, 179, 8, 0.2);
    border: 1px solid rgba(234, 179, 8, 0.4);
}

.fw-meteor-moon-warning.high {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ISS Flyover Card */
.fw-iss-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(8, 145, 178, 0.6) 0%,
        rgba(30, 64, 175, 0.7) 50%,
        rgba(67, 56, 202, 0.6) 100%);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
}

.fw-iss-card::before {
    content: '🛰️';
    position: absolute;
    font-size: 1rem;
    animation: orbitSatellite 8s linear infinite;
}

@keyframes orbitSatellite {
    0% { top: 20%; left: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 80%; left: 110%; opacity: 0; }
}

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

.fw-iss-header {
    text-align: center;
    margin-bottom: 16px;
}

.fw-iss-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.fw-iss-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.fw-iss-subtitle {
    font-size: 0.8rem;
    color: #93c5fd;
}

.fw-iss-tonight {
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.5);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.fw-iss-tonight-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #22c55e;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.fw-iss-tonight-time {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.fw-iss-tonight-date {
    font-size: 0.85rem;
    color: #93c5fd;
    margin-bottom: 12px;
}

.fw-iss-tonight-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.fw-iss-tonight-details span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: white;
}

.fw-iss-tonight-details i {
    color: #93c5fd;
}

.fw-iss-brightness {
    font-size: 0.8rem;
    color: #bfdbfe;
}

.fw-iss-upcoming {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
}

.fw-iss-upcoming-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.fw-iss-upcoming-title i {
    color: #93c5fd;
}

.fw-iss-pass-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fw-iss-pass {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.8rem;
    color: white;
}

.fw-iss-pass.tonight {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.fw-iss-pass-time {
    font-weight: 700;
}

.fw-iss-pass-date {
    color: #93c5fd;
}

.fw-iss-pass-duration {
    text-align: center;
}

.fw-iss-pass-dir {
    text-align: right;
    color: #bfdbfe;
    font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════════════════════
   HOURLY FORECAST SECTION
   ═══════════════════════════════════════════════════════════════ */

.fw-forecast-section {
    margin-bottom: 20px;
}

.fw-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 14px;
    padding-left: 4px;
}

.fw-section-header i {
    font-size: 1.2rem;
    color: var(--fw-sunset-peach);
}

.fw-forecast-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 159, 67, 0.4) transparent;
}

.fw-forecast-scroll::-webkit-scrollbar {
    height: 6px;
}

.fw-forecast-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.fw-forecast-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 159, 67, 0.4);
    border-radius: 3px;
}

.fw-forecast-item {
    flex: 0 0 auto;
    min-width: 70px;
    background: rgba(48, 18, 45, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 214, 191, 0.15);
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.fw-forecast-item:hover {
    background: rgba(60, 25, 55, 0.85);
    border-color: rgba(255, 159, 67, 0.4);
    transform: translateY(-3px);
}

.fw-forecast-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fw-sunset-peach);
    margin-bottom: 10px;
}

.fw-forecast-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.fw-forecast-temp {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fw-cream);
    margin-bottom: 6px;
}

.fw-forecast-wind {
    font-size: 0.7rem;
    color: var(--fw-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   420 SMOKE CHECK CARD - Cannabis Themed 🌿
   ═══════════════════════════════════════════════════════════════ */

.fw-420-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(22, 101, 52, 0.85) 0%,
        rgba(20, 83, 45, 0.9) 30%,
        rgba(30, 58, 95, 0.85) 70%,
        rgba(88, 28, 135, 0.8) 100%);
    border: 2px solid rgba(74, 222, 128, 0.4);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(74, 222, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Floating leaves animation */
.fw-420-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fw-420-leaves .leaf {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: floatLeaf 8s ease-in-out infinite;
}

.fw-420-leaves .l1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.fw-420-leaves .l2 {
    top: 60%;
    right: 5%;
    animation-delay: 2s;
    font-size: 1.2rem;
}

.fw-420-leaves .l3 {
    top: 80%;
    left: 8%;
    animation-delay: 4s;
    font-size: 1rem;
}

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    25% { transform: translateY(-10px) rotate(5deg); opacity: 0.5; }
    50% { transform: translateY(-5px) rotate(-3deg); opacity: 0.4; }
    75% { transform: translateY(-15px) rotate(8deg); opacity: 0.5; }
}

/* Header */
.fw-420-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-420-icon {
    font-size: 3rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.6));
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.6)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 30px rgba(74, 222, 128, 0.9)); transform: scale(1.05); }
}

.fw-420-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow:
        0 0 20px rgba(74, 222, 128, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.fw-420-subtitle {
    font-size: 0.85rem;
    color: rgba(167, 243, 208, 0.8);
    letter-spacing: 1px;
}

/* Vibe meter */
.fw-420-vibe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.fw-420-vibe.lit {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.3), rgba(74, 222, 128, 0.2));
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.2);
}

.fw-420-vibe.chill {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.2), rgba(251, 191, 36, 0.15));
    border-color: rgba(251, 191, 36, 0.4);
}

.fw-420-vibe.nope {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
    border-color: rgba(239, 68, 68, 0.4);
}

.fw-vibe-emoji {
    font-size: 2.5rem;
    animation: bounceEmoji 1s ease-in-out infinite;
}

@keyframes bounceEmoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.fw-vibe-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fw-vibe-score {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.fw-vibe-score span {
    font-size: 1rem;
    color: rgba(167, 243, 208, 0.7);
}

/* Factors grid */
.fw-420-factors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fw-420-factor {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 16px;
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.fw-420-factor:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(74, 222, 128, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.fw-factor-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.fw-factor-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(167, 243, 208, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Glowing meter bar */
.fw-factor-meter {
    position: relative;
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.fw-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80, #86efac);
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
}

.fw-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.fw-meter-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(74, 222, 128, 0.3), transparent);
    pointer-events: none;
}

.fw-factor-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.fw-factor-detail .value {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.fw-factor-detail .emoji {
    font-size: 1.2rem;
}

.fw-factor-tip {
    font-size: 0.7rem;
    color: rgba(167, 243, 208, 0.7);
    font-style: italic;
}

/* Bottom tip */
.fw-420-tip {
    text-align: center;
    padding: 12px 16px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px dashed rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    font-size: 0.85rem;
    color: #a7f3d0;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   THUNDERSTORM TRACKER - Паталеница ⛈️
   ═══════════════════════════════════════════════════════════════ */

.fw-storm-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(30, 41, 59, 0.95) 0%,
        rgba(15, 23, 42, 0.98) 50%,
        rgba(30, 41, 59, 0.95) 100%);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Status-based card styles */
.fw-storm-card.storm-active {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(239, 68, 68, 0.3),
        inset 0 0 30px rgba(239, 68, 68, 0.1);
    animation: stormPulse 2s ease-in-out infinite;
}

@keyframes stormPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 60px rgba(239,68,68,0.3); }
    50% { box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 80px rgba(239,68,68,0.5); }
}

.fw-storm-card.storm-warning {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(251, 191, 36, 0.2);
}

.fw-storm-card.storm-low {
    border-color: rgba(96, 165, 250, 0.4);
}

.fw-storm-card.storm-clear {
    border-color: rgba(74, 222, 128, 0.4);
}

/* Lightning flash effect */
.fw-storm-lightning {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    animation: lightningFlash 4s ease-in-out infinite;
}

@keyframes lightningFlash {
    0%, 89%, 91%, 93%, 100% { opacity: 0; }
    90%, 92% { opacity: 0.3; }
}

/* Rain effect */
.fw-storm-rain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cline x1='10' y1='0' x2='5' y2='15' stroke='rgba(148,163,184,0.3)' stroke-width='1'/%3E%3Cline x1='30' y1='5' x2='25' y2='20' stroke='rgba(148,163,184,0.2)' stroke-width='1'/%3E%3Cline x1='50' y1='2' x2='45' y2='17' stroke='rgba(148,163,184,0.25)' stroke-width='1'/%3E%3Cline x1='70' y1='8' x2='65' y2='23' stroke='rgba(148,163,184,0.2)' stroke-width='1'/%3E%3Cline x1='90' y1='3' x2='85' y2='18' stroke='rgba(148,163,184,0.3)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    opacity: 0.5;
    animation: rainFall 0.5s linear infinite;
    pointer-events: none;
}

@keyframes rainFall {
    0% { background-position: 0 0; }
    100% { background-position: 10px 50px; }
}

/* Header */
.fw-storm-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-storm-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 20px rgba(148, 163, 184, 0.4));
    animation: stormIconFloat 3s ease-in-out infinite;
}

@keyframes stormIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.storm-active .fw-storm-icon {
    animation: stormIconShake 0.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 30px rgba(239, 68, 68, 0.6));
}

@keyframes stormIconShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px) rotate(-2deg); }
    75% { transform: translateX(3px) rotate(2deg); }
}

.fw-storm-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.fw-storm-location {
    font-size: 0.85rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* Status display */
.fw-storm-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-storm-status-icon {
    font-size: 2rem;
}

.storm-active .fw-storm-status-icon {
    animation: alertPulse 1s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.fw-storm-status-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.storm-active .fw-storm-status-text {
    color: #fca5a5;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.storm-warning .fw-storm-status-text {
    color: #fde68a;
}

/* Probability meter */
.fw-storm-meter-section {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-storm-meter-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
}

.fw-storm-meter {
    position: relative;
    height: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.fw-storm-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #eab308, #ef4444);
    border-radius: 6px;
    transition: width 1s ease;
    position: relative;
}

.storm-active .fw-storm-meter-fill {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.fw-storm-meter-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.fw-storm-meter-value {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.storm-active .fw-storm-meter-value {
    color: #fca5a5;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

/* Storm details grid */
.fw-storm-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-storm-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
}

.fw-storm-detail-icon {
    font-size: 1.6rem;
}

.fw-storm-detail-info {
    flex: 1;
}

.fw-storm-detail-value {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.fw-storm-detail-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Safety recommendation */
.fw-storm-safety {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-storm-safety.danger {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.5);
    animation: dangerPulse 2s ease-in-out infinite;
}

@keyframes dangerPulse {
    0%, 100% { background: linear-gradient(90deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2)); }
    50% { background: linear-gradient(90deg, rgba(239, 68, 68, 0.4), rgba(220, 38, 38, 0.3)); }
}

.fw-storm-safety.warning {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.fw-storm-safety.safe {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.fw-storm-safety.clear {
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.15), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.fw-storm-safety-icon {
    font-size: 2rem;
}

.fw-storm-safety-text {
    font-size: 0.9rem;
    color: white;
    line-height: 1.4;
}

/* Forecast section */
.fw-storm-forecast {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fw-storm-forecast-title {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-align: center;
}

.fw-storm-forecast-hours {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.fw-storm-hour {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.fw-storm-hour:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.fw-storm-hour-time {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.fw-storm-hour-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.fw-storm-hour-prob {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

/* Fun fact */
.fw-storm-fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px dashed rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.fw-storm-fact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MOSQUITO INDEX - 🦟 Комарен Индекс
   ═══════════════════════════════════════════════════════════════ */

.fw-mosquito-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(20, 35, 25, 0.95) 0%,
        rgba(30, 50, 40, 0.98) 50%,
        rgba(25, 40, 35, 0.95) 100%);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Level-based styles */
.fw-mosquito-card.level-extreme {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(239, 68, 68, 0.2);
    animation: mosquitoPulse 2s ease-in-out infinite;
}

@keyframes mosquitoPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 40px rgba(239,68,68,0.2); }
    50% { box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 60px rgba(239,68,68,0.4); }
}

.fw-mosquito-card.level-high {
    border-color: rgba(251, 191, 36, 0.5);
}

.fw-mosquito-card.level-moderate {
    border-color: rgba(96, 165, 250, 0.4);
}

.fw-mosquito-card.level-low {
    border-color: rgba(74, 222, 128, 0.4);
}

.fw-mosquito-card.level-minimal {
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(74, 222, 128, 0.15);
}

/* Flying mosquitoes animation */
.fw-mosquito-bugs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fw-mosquito-bugs .bug {
    position: absolute;
    font-size: 1rem;
    opacity: 0.4;
    animation: flyBug 6s ease-in-out infinite;
}

.fw-mosquito-bugs .b1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.fw-mosquito-bugs .b2 {
    top: 40%;
    right: 20%;
    animation-delay: 1s;
    font-size: 0.9rem;
}

.fw-mosquito-bugs .b3 {
    top: 70%;
    right: 8%;
    animation-delay: 2s;
    font-size: 0.8rem;
}

.fw-mosquito-bugs .b4 {
    top: 25%;
    left: 12%;
    animation-delay: 3s;
    font-size: 0.85rem;
}

.fw-mosquito-bugs .b5 {
    top: 55%;
    left: 8%;
    animation-delay: 4s;
    font-size: 0.9rem;
}

@keyframes flyBug {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(-10px, -8px) rotate(10deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(5px, -5px) rotate(-5deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(-5px, 3px) rotate(15deg);
        opacity: 0.6;
    }
}

/* Header */
.fw-mosquito-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-mosquito-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 15px rgba(74, 222, 128, 0.3));
}

.fw-mosquito-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.fw-mosquito-subtitle {
    font-size: 0.85rem;
    color: #86efac;
    letter-spacing: 1px;
}

/* Activity level display */
.fw-mosquito-level {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-mosquito-level-icon {
    font-size: 2.5rem;
}

.level-extreme .fw-mosquito-level-icon {
    animation: shakeAlert 0.5s ease-in-out infinite;
}

@keyframes shakeAlert {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.fw-mosquito-level-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.level-extreme .fw-mosquito-level-text {
    color: #fca5a5;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.level-high .fw-mosquito-level-text {
    color: #fde68a;
}

.level-low .fw-mosquito-level-text,
.level-minimal .fw-mosquito-level-text {
    color: #86efac;
}

/* Activity meter */
.fw-mosquito-meter {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-mosquito-meter-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
}

.fw-mosquito-meter-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.fw-meter-segment {
    flex: 1;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    transition: all 0.5s ease;
}

.fw-meter-segment.active.low {
    background: linear-gradient(to top, #22c55e, #4ade80);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.fw-meter-segment.active.medium {
    background: linear-gradient(to top, #eab308, #fde047);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.fw-meter-segment.active.high {
    background: linear-gradient(to top, #ef4444, #fca5a5);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.fw-mosquito-meter-value {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

/* Factors grid */
.fw-mosquito-factors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fw-mosquito-factor {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 0; /* Prevent overflow */
}

.fw-mosquito-factor .factor-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.fw-mosquito-factor .factor-name {
    flex: 1;
    font-size: 0.7rem;
    color: #94a3b8;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fw-mosquito-factor .factor-value {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.fw-mosquito-factor .factor-value.bad {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.fw-mosquito-factor .factor-value.medium {
    background: rgba(234, 179, 8, 0.2);
    color: #fde68a;
}

.fw-mosquito-factor .factor-value.good {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

/* Peak activity times */
.fw-mosquito-peak {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fw-peak-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fde68a;
    margin-bottom: 10px;
}

.fw-peak-title i {
    color: #fbbf24;
}

.fw-peak-times {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fw-peak-times span {
    font-size: 0.8rem;
    color: #fef3c7;
}

/* Protection tip */
.fw-mosquito-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px dashed rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    font-size: 0.85rem;
    color: #a7f3d0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.fw-mosquito-tip .tip-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Mobile responsive for mosquito card */
@media (max-width: 400px) {
    .fw-mosquito-card {
        padding: 18px;
    }

    .fw-mosquito-icon {
        font-size: 3rem;
    }

    .fw-mosquito-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .fw-mosquito-level {
        padding: 12px;
        gap: 10px;
    }

    .fw-mosquito-level-icon {
        font-size: 2rem;
    }

    .fw-mosquito-level-text {
        font-size: 1.1rem;
    }

    .fw-mosquito-meter-bar {
        gap: 4px;
    }

    .fw-meter-segment {
        height: 12px;
    }

    .fw-mosquito-meter-value {
        font-size: 1.2rem;
    }

    .fw-mosquito-factors {
        gap: 6px;
    }

    .fw-mosquito-factor {
        padding: 8px;
        gap: 5px;
    }

    .fw-mosquito-factor .factor-icon {
        font-size: 1rem;
    }

    .fw-mosquito-factor .factor-name {
        font-size: 0.65rem;
    }

    .fw-mosquito-factor .factor-value {
        font-size: 0.65rem;
        padding: 2px 5px;
    }

    .fw-mosquito-peak {
        padding: 12px;
    }

    .fw-peak-title {
        font-size: 0.8rem;
    }

    .fw-peak-times span {
        font-size: 0.75rem;
    }

    .fw-mosquito-tip {
        padding: 12px;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   GOLDEN HOUR CALCULATOR - 🌅 Златен Час
   ═══════════════════════════════════════════════════════════════ */

.fw-golden-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(120, 53, 15, 0.9) 0%,
        rgba(180, 83, 9, 0.85) 30%,
        rgba(217, 119, 6, 0.8) 60%,
        rgba(245, 158, 11, 0.75) 100%);
    border: 2px solid rgba(253, 230, 138, 0.4);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Sun rays animation */
.fw-golden-rays {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(253, 230, 138, 0.3) 0%, transparent 70%);
    animation: rayPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rayPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Period-based card styles */
.fw-golden-card.period-morning {
    background: linear-gradient(145deg,
        rgba(251, 146, 60, 0.9) 0%,
        rgba(253, 186, 116, 0.85) 50%,
        rgba(254, 215, 170, 0.8) 100%);
    animation: goldenGlow 2s ease-in-out infinite;
}

.fw-golden-card.period-evening {
    background: linear-gradient(145deg,
        rgba(194, 65, 12, 0.9) 0%,
        rgba(234, 88, 12, 0.85) 30%,
        rgba(251, 146, 60, 0.8) 60%,
        rgba(253, 186, 116, 0.75) 100%);
    animation: goldenGlow 2s ease-in-out infinite;
}

@keyframes goldenGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 60px rgba(245,158,11,0.3); }
    50% { box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 80px rgba(245,158,11,0.5); }
}

.fw-golden-card.period-blue {
    background: linear-gradient(145deg,
        rgba(30, 58, 138, 0.95) 0%,
        rgba(59, 130, 246, 0.9) 50%,
        rgba(96, 165, 250, 0.85) 100%);
    border-color: rgba(147, 197, 253, 0.5);
}

.fw-golden-card.period-night {
    background: linear-gradient(145deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border-color: rgba(148, 163, 184, 0.3);
}

.fw-golden-card.period-day,
.fw-golden-card.period-waiting {
    background: linear-gradient(145deg,
        rgba(120, 53, 15, 0.7) 0%,
        rgba(146, 64, 14, 0.65) 50%,
        rgba(180, 83, 9, 0.6) 100%);
}

/* Header */
.fw-golden-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fw-golden-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 20px rgba(253, 230, 138, 0.6));
}

.fw-golden-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow:
        0 0 20px rgba(253, 230, 138, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.fw-golden-subtitle {
    font-size: 0.85rem;
    color: rgba(254, 243, 199, 0.9);
    letter-spacing: 1px;
}

/* Status display */
.fw-golden-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(253, 230, 138, 0.2);
}

.fw-golden-status.active {
    background: linear-gradient(90deg, rgba(253, 230, 138, 0.3), rgba(251, 191, 36, 0.2));
    border-color: rgba(253, 230, 138, 0.5);
    animation: activeGolden 1.5s ease-in-out infinite;
}

@keyframes activeGolden {
    0%, 100% { box-shadow: 0 0 20px rgba(253, 230, 138, 0.3); }
    50% { box-shadow: 0 0 40px rgba(253, 230, 138, 0.5); }
}

.fw-golden-status.blue {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.3), rgba(59, 130, 246, 0.2));
    border-color: rgba(96, 165, 250, 0.5);
}

.fw-golden-status-icon {
    font-size: 2.5rem;
}

.fw-golden-status.active .fw-golden-status-icon {
    animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

.fw-golden-status-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.fw-golden-status.active .fw-golden-status-text {
    color: #fef3c7;
    text-shadow: 0 0 15px rgba(253, 230, 138, 0.5);
}

/* Time cards */
.fw-golden-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fw-golden-time-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(253, 230, 138, 0.2);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.fw-golden-time-card:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(253, 230, 138, 0.4);
    transform: translateY(-3px);
}

.fw-golden-time-card.morning {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(253, 186, 116, 0.1));
}

.fw-golden-time-card.evening {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(251, 146, 60, 0.1));
}

.fw-time-card-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.fw-time-card-label {
    font-size: 0.75rem;
    color: rgba(254, 243, 199, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.fw-time-card-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.fw-time-card-range .start,
.fw-time-card-range .end {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.fw-time-card-range .separator {
    color: rgba(254, 243, 199, 0.5);
}

.fw-time-card-countdown {
    font-size: 0.8rem;
    color: #fde68a;
    font-weight: 600;
}

/* Blue hour section */
.fw-blue-hour {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.15));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fw-blue-icon {
    font-size: 2.5rem;
}

.fw-blue-info {
    flex: 1;
}

.fw-blue-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #93c5fd;
    margin-bottom: 2px;
}

.fw-blue-desc {
    font-size: 0.75rem;
    color: #bfdbfe;
}

.fw-blue-time {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 10px;
}

/* Photography tips */
.fw-golden-tips {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.fw-tips-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 10px;
}

.fw-tips-title i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.fw-tips-content {
    font-size: 0.85rem;
    color: rgba(254, 243, 199, 0.9);
    line-height: 1.5;
}

/* Quality indicator */
.fw-golden-quality {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.quality-label {
    font-size: 0.8rem;
    color: rgba(254, 243, 199, 0.8);
}

.quality-value {
    font-size: 0.85rem;
    font-weight: 700;
}

.quality-value.excellent {
    color: #86efac;
}

.quality-value.great {
    color: #a7f3d0;
}

.quality-value.good {
    color: #fde68a;
}

.quality-value.medium {
    color: #fed7aa;
}

.quality-value.poor {
    color: #fca5a5;
}

/* ============================================
   LOCATION WIDGET - Liquid Gradient Firewatch
   ============================================ */
.fw-location-widget {
    position: relative;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.3s ease;
    margin-bottom: 24px;
}

.fw-location-widget:hover {
    transform: translateY(-4px);
}

/* Rotating gradient background */
.fw-location-bg {
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        #1a0a2e 0deg,
        #2d1b4e 60deg,
        #4a2c6a 120deg,
        #ff6b35 180deg,
        #ff8c42 240deg,
        #4a2c6a 300deg,
        #1a0a2e 360deg
    );
    animation: locationLiquidRotate 15s linear infinite;
}

@keyframes locationLiquidRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Inner card */
.fw-location-inner {
    position: relative;
    margin: 2px;
    padding: 20px 22px;
    background: rgba(48, 18, 45, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 168, 83, 0.35);
}

.fw-location-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Glowing orb */
.fw-location-orb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
        linear-gradient(135deg, #ff6b35, #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 25px rgba(255, 107, 53, 0.4),
        0 0 50px rgba(255, 107, 53, 0.2),
        inset 0 -8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    flex-shrink: 0;
}

/* Orb highlight */
.fw-location-orb::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 14px;
    width: 12px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(3px);
}

/* Pin icon */
.fw-location-icon {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}

.fw-location-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

/* Text content */
.fw-location-text {
    flex: 1;
    min-width: 0;
}

.fw-location-text h3 {
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffd6bf;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fw-location-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 214, 191, 0.5);
}

/* Action button */
.fw-location-action {
    padding: 10px 18px;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d4a853;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fw-location-widget:hover .fw-location-action {
    background: #d4a853;
    color: #1a0a2e;
    border-color: #d4a853;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

/* Active users variant */
.fw-location-widget.has-users .fw-location-bg {
    animation-duration: 8s;
}

.fw-location-widget.has-users .fw-location-orb {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%),
        linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow:
        0 0 25px rgba(34, 197, 94, 0.5),
        0 0 50px rgba(34, 197, 94, 0.25),
        inset 0 -8px 20px rgba(0, 0, 0, 0.3);
    animation: locationOrbPulse 2s ease-in-out infinite;
}

@keyframes locationOrbPulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.5), 0 0 50px rgba(34, 197, 94, 0.25), inset 0 -8px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(34, 197, 94, 0.7), 0 0 70px rgba(34, 197, 94, 0.35), inset 0 -8px 20px rgba(0, 0, 0, 0.3);
    }
}

.fw-location-widget.has-users .fw-location-text p {
    color: #22c55e;
}

/* User avatars */
.fw-location-avatars {
    display: flex;
    margin-top: 8px;
}

.fw-location-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a2c6a, #2d1b4e);
    border: 2px solid #1a0a2e;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #ffd6bf;
    font-weight: 600;
}

.fw-location-avatar:first-child {
    margin-left: 0;
}

.fw-location-avatar.online {
    border-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

/* Location widget inner - ensure proper height */
.fw-location-inner {
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOCATION ACTIVITY SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.fw-location-activity {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 214, 191, 0.1);
    position: relative;
    z-index: 2;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    animation: fadeInSlide 0.5s ease backwards;
}

.activity-item:nth-child(1) { animation-delay: 0.1s; }
.activity-item:nth-child(2) { animation-delay: 0.2s; }

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a2c6a, #2d1b4e);
    border: 2px solid rgba(255, 140, 66, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffd6bf;
    flex-shrink: 0;
}

.activity-avatar.online {
    border-color: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.activity-text {
    flex: 1;
    font-size: 0.75rem;
    color: rgba(255, 214, 191, 0.7);
    line-height: 1.3;
}

.activity-text strong {
    color: #ffd6bf;
    font-weight: 600;
}

.activity-time {
    font-size: 0.65rem;
    color: rgba(255, 214, 191, 0.4);
    white-space: nowrap;
}

.activity-empty {
    font-size: 0.8rem;
    color: rgba(255, 214, 191, 0.4);
    text-align: center;
    padding: 12px 0;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOCATION DECORATIVE ELEMENTS (Firewatch silhouettes)
   ═══════════════════════════════════════════════════════════════════════════ */
.fw-location-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
}

.decoration-glow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 30px;
    background: radial-gradient(ellipse at center bottom,
        rgba(255, 107, 53, 0.15) 0%,
        rgba(255, 140, 66, 0.08) 40%,
        transparent 70%);
}

.decoration-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
}

.mountain {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(26, 10, 46, 0.6) 0%,
        rgba(26, 10, 46, 0.9) 100%);
}

.mountain-1 {
    left: -10%;
    width: 40%;
    height: 35px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.mountain-2 {
    left: 15%;
    width: 50%;
    height: 45px;
    clip-path: polygon(40% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(180deg,
        rgba(45, 27, 78, 0.7) 0%,
        rgba(26, 10, 46, 0.95) 100%);
}

.mountain-3 {
    right: -5%;
    width: 45%;
    height: 38px;
    clip-path: polygon(60% 0%, 100% 100%, 0% 100%);
}

.decoration-trees {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 10px;
}

.tree {
    width: 12px;
    height: 24px;
    background: rgba(26, 10, 46, 0.95);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    position: relative;
}

.tree::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 18px;
    background: rgba(26, 10, 46, 0.9);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.tree::after {
    content: '';
    position: absolute;
    bottom: 180%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 14px;
    background: rgba(26, 10, 46, 0.85);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.tree-small {
    height: 18px;
    width: 10px;
}

.tree-small::before {
    width: 8px;
    height: 14px;
}

.tree-small::after {
    width: 6px;
    height: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WIDGET CAROUSEL - Swipeable container for Location & Music widgets
   ═══════════════════════════════════════════════════════════════════════════ */
.fw-widget-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 24px;
}

.fw-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.fw-carousel-track.dragging {
    transition: none;
}

.fw-carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

/* Remove default margin from widgets in carousel */
.fw-carousel-item .fw-location-widget,
.fw-carousel-item .fw-music-widget {
    margin-bottom: 0;
}

/* Dot indicators */
.fw-carousel-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px 0 6px;
}

.fw-carousel-indicators .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50% !important;
    background: rgba(255, 214, 191, 0.25) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.fw-carousel-indicators .carousel-dot.active {
    background: linear-gradient(135deg, #d4a853, #ff8c42) !important;
    width: 24px;
    border-radius: 4px !important;
    box-shadow: 0 0 12px rgba(212, 168, 83, 0.6);
}

.fw-carousel-indicators .carousel-dot:hover {
    background: rgba(255, 214, 191, 0.45) !important;
    transform: scale(1.1);
}

.fw-carousel-indicators .carousel-dot.active:hover {
    background: linear-gradient(135deg, #d4a853, #ff8c42) !important;
}

/* Swipe hint */
.fw-carousel-hint {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 220, 200, 0.85);
    margin-top: 6px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    opacity: 1;
    transition: opacity 0.3s;
}

.fw-widget-carousel.swiped .fw-carousel-hint {
    opacity: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MUSIC WIDGET - Vinyl Glow Style
   ═══════════════════════════════════════════════════════════════════════════ */
.fw-music-widget {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(48, 18, 45, 0.5);
    border: 1px solid rgba(212, 168, 83, 0.35);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fw-music-content {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* Vinyl Disc */
.fw-vinyl-container {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.fw-vinyl-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #ff6b35,
        #ff6b9d,
        #4a2c6a,
        #ff6b35
    );
    filter: blur(6px);
    opacity: 0.5;
    animation: fwVinylSpin 4s linear infinite reverse;
}

.fw-vinyl-disc {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center,
            #d4a853 0%,
            #d4a853 14%,
            #1a1a1a 14%,
            #1a1a1a 16%,
            #0d0d0d 16%,
            #0d0d0d 100%
        );
    box-shadow:
        0 0 0 2px rgba(26, 26, 26, 0.8),
        0 3px 15px rgba(0, 0, 0, 0.5);
    animation: fwVinylSpin 3s linear infinite;
    position: relative;
}

.fw-vinyl-disc.paused {
    animation-play-state: paused;
}

.fw-vinyl-disc.paused + .fw-vinyl-glow,
.fw-music-widget.paused .fw-vinyl-glow {
    animation-play-state: paused;
    opacity: 0.3;
}

@keyframes fwVinylSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fw-vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #ff6b9d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Music Info */
.fw-music-info {
    flex: 1;
    min-width: 0;
}

.fw-music-title {
    font-family: 'Philosopher', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffd6bf;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fw-music-artist {
    font-size: 0.7rem;
    color: rgba(255, 214, 191, 0.6);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Waveform visualizer */
.fw-music-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 20px;
    margin-bottom: 8px;
}

.fw-wave-bar {
    width: 3px;
    background: linear-gradient(to top, #ff6b35, #d4a853);
    border-radius: 2px;
    animation: fwWave 0.8s ease-in-out infinite;
}

.fw-wave-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.fw-wave-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.fw-wave-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.fw-wave-bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.fw-wave-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.fw-wave-bar:nth-child(6) { height: 80%; animation-delay: 0.5s; }
.fw-wave-bar:nth-child(7) { height: 45%; animation-delay: 0.6s; }
.fw-wave-bar:nth-child(8) { height: 65%; animation-delay: 0.7s; }

.fw-music-widget.paused .fw-wave-bar {
    animation-play-state: paused;
}

@keyframes fwWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* Progress bar */
.fw-music-progress {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fw-progress-time {
    font-size: 0.6rem;
    color: rgba(255, 214, 191, 0.5);
    min-width: 28px;
}

.fw-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.fw-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #d4a853);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Controls */
.fw-music-controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.fw-ctrl-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #ffd6bf;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.fw-ctrl-btn:active {
    transform: scale(0.95);
}

.fw-ctrl-btn.play {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.fw-ctrl-btn.play:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Genre selector - inline expandable */
.fw-genre-dropdown {
    position: relative;
    margin-top: 12px;
}

.fw-genre-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 10px;
    color: #ffd6bf;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fw-genre-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 168, 83, 0.4);
}

.fw-genre-toggle.open {
    border-color: #d4a853;
}

.fw-genre-current {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fw-genre-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s;
}

.fw-genre-toggle.open .fw-genre-arrow {
    transform: rotate(180deg);
}

.fw-genre-menu {
    position: relative;
    background: rgba(26, 10, 46, 0.6);
    border: none;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease, opacity 0.3s ease, border 0.3s ease;
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
}

.fw-genre-menu.open {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 4px 0;
    opacity: 1;
    pointer-events: auto;
    border: 1px solid rgba(212, 168, 83, 0.3);
}

.fw-genre-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: rgba(255, 214, 191, 0.7);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    border-radius: 6px;
    margin: 0 4px;
}

.fw-genre-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffd6bf;
}

.fw-genre-item.active {
    background: rgba(255, 107, 53, 0.2);
    color: #d4a853;
}

.fw-genre-count {
    margin-left: auto;
    font-size: 0.65rem;
    color: rgba(255, 214, 191, 0.4);
}

/* Open in player button */
.fw-music-expand {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 214, 191, 0.6);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-music-expand:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd6bf;
}

/* ============================================
   WEATHER WIDGET v2 - Aurora Glass (from test)
   ============================================ */
.fw-weather-widget {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    min-height: 180px;
}

.fw-weather-widget:hover {
    transform: translateY(-4px);
}

/* Animated aurora background */
.weather-aurora {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 53, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 140, 66, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    animation: auroraShift 8s ease-in-out infinite;
}

@keyframes auroraShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% 0%, 0% 100%, 50% 50%, 0% 0%;
        filter: hue-rotate(15deg);
    }
}

/* Rainy version */
.fw-weather-widget.rainy .weather-aurora {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(147, 197, 253, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #1a0a2e 0%, #1e3a5f 100%);
}

/* Glass overlay */
.weather-glass {
    position: relative;
    margin: 2px;
    padding: 14px;
    background: rgba(48, 18, 45, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 83, 0.35);
    min-height: 176px;
    display: flex;
    flex-direction: column;
}

/* Header with location */
.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.weather-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffd6bf;
}

.weather-location svg {
    width: 14px;
    height: 14px;
    fill: #ff8c42;
}

.weather-sunset {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: rgba(255, 214, 191, 0.7);
    background: rgba(255, 140, 66, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
}

.weather-sunset-icon {
    font-size: 0.85rem;
}

.weather-sunset-urgent {
    color: #ff8c42;
    font-weight: 600;
}

/* Main content row */
.weather-main {
    display: flex;
    align-items: stretch;
    gap: 14px;
    flex: 1;
}

/* Left: Temperature + Icon */
.weather-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.weather-icon-wrapper {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-icon-glow {
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(255, 200, 100, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.weather-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.weather-temp {
    display: flex;
    align-items: flex-start;
    margin-top: 2px;
}

.temp-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffd6bf;
    line-height: 1;
}

.temp-unit {
    font-size: 0.9rem;
    color: rgba(255, 214, 191, 0.6);
    margin-top: 2px;
}

.weather-feels {
    font-size: 0.65rem;
    color: rgba(255, 214, 191, 0.5);
    margin-top: 2px;
}

/* Right: Info Grid */
.weather-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Info Grid - 2x2 */
.weather-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.weather-grid-item {
    background: rgba(255, 214, 191, 0.04);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.grid-item-header {
    display: flex;
    align-items: center;
    gap: 5px;
}

.grid-item-icon {
    font-size: 0.85rem;
}

.grid-item-label {
    font-size: 0.6rem;
    color: rgba(255, 214, 191, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.grid-item-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd6bf;
}

/* Rain chance special styling */
.grid-item-value.rain-high {
    color: #60a5fa;
}

.grid-item-value.rain-low {
    color: #22c55e;
}

/* Campfire indicator */
.grid-item-value.fire-good {
    color: #22c55e;
}

.grid-item-value.fire-warning {
    color: #eab308;
}

.grid-item-value.fire-danger {
    color: #ef4444;
}

/* Bottom: Smoke Index */
.weather-smoke {
    margin-top: auto;
    padding-top: 10px;
}

.smoke-box {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.12) 0%,
        rgba(34, 197, 94, 0.04) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smoke-box.excellent {
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.12) 0%, rgba(132, 204, 22, 0.04) 100%);
    border-color: rgba(132, 204, 22, 0.25);
}

.smoke-box.good {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(234, 179, 8, 0.04) 100%);
    border-color: rgba(234, 179, 8, 0.25);
}

.smoke-box.poor {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0.04) 100%);
    border-color: rgba(249, 115, 22, 0.25);
}

.smoke-box.bad {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
    border-color: rgba(239, 68, 68, 0.25);
}

.smoke-icon {
    font-size: 1.3rem;
}

.smoke-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smoke-info {
    flex: 1;
}

.smoke-label {
    font-size: 0.55rem;
    color: rgba(255, 214, 191, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smoke-status {
    font-size: 0.85rem;
    font-weight: 700;
    color: #22c55e;
}

.smoke-box.excellent .smoke-status { color: #84cc16; }
.smoke-box.good .smoke-status { color: #eab308; }
.smoke-box.poor .smoke-status { color: #f97316; }
.smoke-box.bad .smoke-status { color: #ef4444; }

.smoke-bar-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.smoke-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 214, 191, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.smoke-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #84cc16);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.smoke-box.excellent .smoke-bar-fill {
    background: linear-gradient(90deg, #84cc16, #a3e635);
}

.smoke-box.good .smoke-bar-fill {
    background: linear-gradient(90deg, #eab308, #facc15);
}

.smoke-box.poor .smoke-bar-fill {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.smoke-box.bad .smoke-bar-fill {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.smoke-percent {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 214, 191, 0.7);
    min-width: 28px;
    text-align: right;
}
