/* ========================================
   Laika Memorial - True Story Aesthetic
   (Ultra Premium Dark Theme, Focus on Emotion & Mobile)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Somber Space */
    --primary: #e11d48; /* Deep tragic red */
    --primary-glow: rgba(225, 29, 72, 0.4);
    --secondary: #94a3b8; /* Muted tech grey */
    --secondary-glow: rgba(148, 163, 184, 0.1);
    
    /* Core Dark Palette */
    --bg-body: #050505;
    --bg-card: rgba(15, 17, 21, 0.85); /* Deep slate */
    --bg-glass: rgba(15, 17, 21, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08); /* Very subtle */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-alert: #f43f5e;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
    --grad-surface: linear-gradient(to bottom right, rgba(23, 23, 23, 0.9), rgba(10, 10, 10, 1));
    
    /* Shadow System */
    --shadow-premium: 0 30px 60px -15px rgba(0, 0, 0, 0.9);
    --shadow-glow: 0 0 40px -10px var(--primary-glow);
    --shadow-inner: inset 0 2px 4px 0 rgba(255, 255, 255, 0.02);
    
    /* Variables */
    --radius-sm: 0.75rem;
    --radius-md: 1.2rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2.25rem;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; font-family: 'Inter', sans-serif; background: var(--bg-body); }
body { 
    color: var(--text-primary); 
    line-height: 1.6; 
    overflow-x: hidden; 
    background-image: 
        radial-gradient(circle at 10% 5%, rgba(225, 29, 72, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
}
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

/* ---------------------------------
   Toast Notifications
   --------------------------------- */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: #000; border: 1px solid var(--border-glass);
    padding: 1rem 2rem; border-radius: 99px; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    color: #fff; font-weight: 500; font-size: 0.95rem; display: flex; align-items: center; gap: 0.8rem;
    z-index: 10000; opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.toast-error { border-color: rgba(225, 29, 72, 0.4); background: rgba(225, 29, 72, 0.05); }

/* ---------------------------------
   Top Music Player
   --------------------------------- */
.top-music-btn {
    position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 10000;
    background: rgba(15, 17, 21, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass); border-radius: 99px;
    padding: 0.5rem 1.2rem; display: flex; align-items: center; gap: 0.6rem;
    cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: var(--transition);
    color: #fff; outline: none;
}
.top-music-btn:hover { border-color: var(--primary); transform: translateX(-50%) translateY(-2px); box-shadow: 0 15px 40px rgba(225, 29, 72, 0.3); }

.song-name { font-family: 'Outfit'; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; transition: opacity 0.3s; }

.music-waveform { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.music-waveform i { width: 3px; background: var(--primary); border-radius: 2px; transition: height 0.1s; height: 30%; }
.top-music-btn:not(.paused) .music-waveform i { animation: wave 1s infinite alternate; }
.top-music-btn:not(.paused) .music-waveform i:nth-child(2) { animation-delay: -0.4s; }
.top-music-btn:not(.paused) .music-waveform i:nth-child(3) { animation-delay: -0.8s; }
@keyframes wave { 0% { height: 20%; } 100% { height: 100%; } }

.top-music-btn.paused { color: var(--text-muted); border-color: rgba(255,255,255,0.05); }
.top-music-btn.paused .music-waveform i { background: var(--text-muted); }
.top-music-btn.paused .song-name { text-decoration: line-through; opacity: 0.5; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .top-music-btn { top: 16px; left: 50%; transform: translateX(-50%); padding: 0.4rem 1rem; }
    .top-music-btn:hover { transform: translateX(-50%) translateY(-2px); }
}

/* ---------------------------------
   Navigation
   --------------------------------- */
.navbar {
    position: fixed;
    top: 2rem; left: 50%; transform: translateX(-50%);
    width: calc(100% - 4rem); max-width: 1100px; height: 70px;
    background: var(--bg-glass);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    z-index: 2000;
    display: flex; align-items: center; padding: 0 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: var(--transition);
}
.navbar.scrolled { top: 1rem; border-color: rgba(225, 29, 72, 0.2); height: 60px; }
.nav-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }

.nav-brand {
    display: flex; align-items: center; gap: 0.8rem;
    text-decoration: none; color: #fff; font-size: 1.5rem;
    font-weight: 800; font-family: 'Outfit', sans-serif; letter-spacing: 0.1em;
}

.laika-icon svg { width: 32px; height: 32px; }
.laika-icon stop:first-child { stop-color: #be123c; }
.laika-icon stop:last-child { stop-color: #e11d48; }

.nav-menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--text-secondary); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: var(--transition); }
.nav-menu a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.nav-toggle { display: none; font-size: 1.8rem; background: none; border: none; color: #fff; cursor: pointer; }

/* ---------------------------------
   Hero Memorial Section - Ultra Compact Premium Card
   --------------------------------- */
.hero-section { padding: 8rem 0 4rem; min-height: unset; display: flex; align-items: center; position: relative; z-index: 10; margin-top: 2rem; }

.memorial-card {
    display: grid; grid-template-columns: 450px 1fr;
    background: rgba(15, 17, 21, 0.7); backdrop-filter: blur(35px); -webkit-backdrop-filter: blur(35px);
    border: 1px solid var(--border-glass); border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), inset 0 2px 0 rgba(255,255,255,0.03);
    overflow: hidden; position: relative;
}

.memorial-image-col {
    position: relative; width: 100%; height: 100%; min-height: 400px;
    overflow: hidden; background: #000;
}
.laika-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(20%) brightness(0.9) contrast(1.1);
    transition: filter 1s ease, transform 10s ease;
}
.memorial-card:hover .laika-img {
    filter: grayscale(0%) brightness(1) contrast(1.1); transform: scale(1.05);
}
.image-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent 30%, rgba(15, 17, 21, 0.95) 95%);
}

.memorial-content-col {
    padding: 3.5rem 4rem; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
}

.memorial-header { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.date-badge {
    padding: 0.4rem 1rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass);
    border-radius: 99px; font-size: 0.8rem; font-weight: 700; color: var(--text-secondary); letter-spacing: 0.1em;
}
.status-badge.tragedy {
    padding: 0.4rem 1rem; border-radius: 99px; background: rgba(225, 29, 72, 0.1); 
    border: 1px solid rgba(225, 29, 72, 0.3); color: var(--text-alert); font-weight: 700; 
    font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase;
}

.memorial-title { font-size: 3rem; line-height: 1.1; color: #fff; letter-spacing: -0.02em; }
.memorial-title span { color: var(--primary); font-style: italic; }

.memorial-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; display: flex; flex-direction: column; gap: 0.8rem; }
.memorial-text strong { color: #f8fafc; font-weight: 500; font-size: 1.15rem; }

.feature-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.pill {
    padding: 0.6rem 1.2rem; background: rgba(255,255,255,0.02); border: 1px solid var(--border-glass);
    border-radius: 99px; font-weight: 600; font-size: 0.85rem; color: var(--text-muted); transition: var(--transition);
}
.pill:hover { border-color: rgba(255,255,255,0.2); color: #fff; background: rgba(255,255,255,0.06); }

/* ---------------------------------
   Sections & Typography
   --------------------------------- */
.section { padding: 7rem 0; position: relative; }
.section-header { margin-bottom: 4rem; text-align: left; }
.section-header h2 { font-size: 3.5rem; color: #fff; margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; }
.section-desc { font-size: 1.3rem; color: var(--text-muted); }

/* ---------------------------------
   City Selector (Redesigned)
   --------------------------------- */
.city-section { margin-top: -3rem; position: relative; z-index: 10; margin-bottom: 5rem; }
.city-selector {
    background: var(--bg-card); backdrop-filter: blur(20px);
    padding: 4rem; border-radius: var(--radius-xl); border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-premium); text-align: center; max-width: 900px; margin: 0 auto;
}
.city-label { display: block; font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 2rem; letter-spacing: 0.1em; text-transform: uppercase; }

.city-input-group { display: flex; gap: 1rem; max-width: 600px; margin: 0 auto; position: relative; }
.city-search {
    flex: 1; background: #000; border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); padding: 1.2rem 1.5rem;
    color: #fff; font-size: 1.1rem; font-family: 'Inter'; transition: var(--transition);
}
.city-search:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15); }
.city-search::placeholder { color: #475569; }

.btn-location {
    background: rgba(225, 29, 72, 0.1); color: var(--primary); 
    border: 1px solid rgba(225, 29, 72, 0.3); padding: 0 2rem; height: 56px;
    border-radius: var(--radius-md); font-weight: 800; font-size: 1rem; font-family: 'Outfit';
    cursor: pointer; transition: var(--transition); text-transform: uppercase; 
    letter-spacing: 0.1em; display: flex; align-items: center; justify-content: center; gap: 0.8rem;
    white-space: nowrap; overflow: hidden;
}
.btn-location:hover { 
    background: var(--primary); color: #fff; transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.35); border-color: var(--primary);
}
.radar-icon {
    font-size: 1.2rem;
}

/* City Search Results */
.city-results {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem);
    background: #0a0a0c; border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); max-height: 250px; overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8); z-index: 100; text-align: left;
}
.search-result-item { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border-glass); cursor: pointer; transition: background 0.2s; display: flex; justify-content: space-between; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(225, 29, 72, 0.1); }
.search-result-name { font-weight: 600; color: #fff; }
.search-result-region { font-size: 0.85rem; color: var(--text-muted); }
.search-no-results { padding: 1.5rem; text-align: center; color: var(--text-muted); }

/* ---------------------------------
   Stats Dashboard
   --------------------------------- */
.quick-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 3rem; }
.stat-card {
    background: var(--bg-card); padding: 3rem 2rem; border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass); transition: var(--transition); position: relative; overflow: hidden;
}
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--primary); transition: width 0.5s ease; }
.stat-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.15); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.stat-card:hover::after { width: 100%; }

.stat-icon { font-size: 2.5rem; margin-bottom: 1.5rem; opacity: 0.8; }
.stat-label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.stat-value { font-size: 2.5rem; font-weight: 800; font-family: 'Outfit'; color: #fff; line-height: 1.2; }
.stat-detail { margin-top: 1rem; font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.stat-city {
    font-size: 0.7rem; font-weight: 600; font-family: 'Outfit'; color: var(--text-secondary); 
    margin-top: 1.2rem; letter-spacing: 0.15em; text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.02); padding: 0.4rem 1.2rem; border-radius: 99px; border: 1px solid var(--border-glass);
}

/* ---------------------------------
   Data Grids & Cards (Pollen & Pollutants)
   --------------------------------- */
.pollen-grid, .guide-grid, .pollutants-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }

.pollen-card, .pollutant-card, .guide-card {
    background: transparent; padding: 2.5rem 2rem; border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass); transition: var(--transition);
    position: relative;
}
.pollen-card:hover, .pollutant-card:hover, .guide-card:hover { background: #0a0a0c; border-color: rgba(255,255,255,0.2); }

/* Pollen Specifics */
.pollen-header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.pollen-icon { font-size: 2rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.03); border-radius: 50%; border: 1px solid var(--border-glass); }
.pollen-title { font-size: 1.3rem; font-weight: 700; color: #fff; }
.pollen-subtitle { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }
.pollen-level { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.level-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.level-fill { height: 100%; border-radius: 3px; transition: width 1s ease-in-out; }
.level-value { font-size: 1.5rem; font-weight: 800; font-family: 'Outfit'; }
.level-label { font-size: 0.75rem; color: var(--text-muted); text-align: right; margin-top: 0.5rem; }

/* Pollutants */
.pollutant-value { font-size: 3rem; font-weight: 800; font-family: 'Outfit'; line-height: 1; margin-bottom: 0.2rem; color: #fff; }
.pollutant-unit { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 600; text-transform: uppercase; }
.pollutant-label { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.pollutant-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }

/* Guide Cards */
.guide-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.guide-card h3 { margin-bottom: 1rem; color: #fff; font-size: 1.4rem; }
.guide-box { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }

/* ---------------------------------
   Premium AQI Central Component
   --------------------------------- */
.air-quality-card { display: flex; flex-direction: column; gap: 3rem; }
.aqi-main {
    display: flex; align-items: center; justify-content: center; gap: 6rem;
    background: transparent; padding: 4rem; border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
}
.aqi-circle {
    width: 220px; height: 220px; min-width: 220px; border-radius: 50%;
    background: var(--bg-body); display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 12px solid var(--primary); box-shadow: inset 0 0 40px rgba(0,0,0,0.8), 0 0 60px rgba(225, 29, 72, 0.15);
}
.aqi-number, .aqi-value { font-size: 5rem; font-weight: 800; font-family: 'Outfit'; line-height: 1; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.aqi-label { font-size: 1rem; font-weight: 800; color: var(--text-muted); letter-spacing: 0.3em; margin-top: 0.5rem; }

.aqi-info { display: flex; flex-direction: column; gap: 1rem; }
.aqi-status, #aqiStatus { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; margin: 0; color: #fff; }
.aqi-desc, #aqiDescription { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.6; max-width: 450px; }

/* ---------------------------------
   Recommendations Boxes
   --------------------------------- */
.pollen-recommendations, .aqi-health-tips {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg); padding: 3rem; margin-top: 4rem;
}
.pollen-recommendations h3, .aqi-health-tips h3 {
    font-size: 1.8rem; margin-bottom: 2rem; color: #fff; display: flex; align-items: center; gap: 1rem;
}
.rec-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.rec-item {
    background: transparent; padding: 1.25rem 0; border-bottom: 1px solid var(--border-glass);
    font-size: 1.1rem; color: var(--text-primary); display: flex; align-items: flex-start; gap: 1.5rem;
}
.rec-item:last-child { border-bottom: none; }
.rec-item::before { content: '→'; color: var(--primary); font-size: 1.2rem; font-weight: 800; margin-top: 2px; }

/* ---------------------------------
   Footer
   --------------------------------- */
.footer { border-top: 1px solid var(--border-glass); padding: 4rem 0 2rem; margin-top: 5rem; background: #030303; }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; font-family: 'Outfit'; font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: 0.1em; }
.footer-text { color: var(--text-muted); font-size: 1rem; max-width: 400px; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.copyright { color: #475569; font-size: 0.85rem; margin-top: 2rem; }

/* ---------------------------------
   Utility
   --------------------------------- */
.loading-spinner { grid-column: 1 / -1; text-align: center; padding: 5rem; font-size: 1.2rem; color: var(--text-muted); }

.laika-radar {
    display: inline-block;
    animation: radar-pulse 0.8s infinite alternate, float-rocket 1.5s infinite ease-in-out;
    filter: drop-shadow(0 0 8px rgba(225, 29, 72, 0.9));
    margin-right: 0.5rem;
    font-size: 1.4rem;
}
@keyframes float-rocket {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-10deg); }
    75% { transform: translateY(3px) rotate(10deg); }
}
@keyframes radar-pulse {
    0% { opacity: 0.5; filter: drop-shadow(0 0 2px rgba(225, 29, 72, 0.4)); }
    100% { opacity: 1; filter: drop-shadow(0 0 15px rgba(225, 29, 72, 1)); }
}

/* ---------------------------------
   MOBILE OPTIMIZATION (THE MAGIC)
   --------------------------------- */
@media (max-width: 1024px) {
    .hero-section { padding-top: 6rem; }
    .memorial-card { grid-template-columns: 1fr; border-radius: 28px; }
    .memorial-image-col { min-height: 350px; height: 350px; }
    .image-overlay { background: linear-gradient(to bottom, transparent 30%, rgba(15, 17, 21, 0.95) 95%); }
    .memorial-content-col { padding: 3rem; }
    
    .aqi-main { flex-direction: column; gap: 3rem; text-align: center; padding: 3rem 2rem; }
    .aqi-desc { max-width: 100%; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    body { padding-bottom: 90px; } /* Space for bottom nav */
    .container { padding: 0 1.25rem; }
    .section { padding: 4rem 0; }
    
    /* Native App Bottom Navigation */
    .navbar {
        top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-width: 100%;
        height: 75px; padding: 0; border-radius: 24px 24px 0 0;
        background: rgba(10, 10, 12, 0.95); backdrop-filter: blur(25px);
        border: none; border-top: 1px solid rgba(255,255,255,0.05);
        box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    }
    .navbar.scrolled { top: auto; bottom: 0; height: 75px; border-color: rgba(255,255,255,0.05); }
    .nav-brand { display: none; }
    .nav-toggle { display: none; }
    
    .nav-menu {
        position: static; flex-direction: row; justify-content: space-around;
        width: 100%; height: 100%; background: transparent; backdrop-filter: none;
        opacity: 1; pointer-events: auto; padding: 0 0.5rem; gap: 0;
    }
    .nav-menu li { flex: 1; display: flex; justify-content: center; align-items: center; }
    .nav-menu a {
        font-size: 0.65rem; color: var(--text-muted); display: flex; flex-direction: column;
        align-items: center; gap: 0.4rem; padding: 0.5rem; transition: color 0.3s;
        text-transform: none; font-weight: 600; letter-spacing: 0;
    }
    .nav-menu a:hover, .nav-menu a.active { color: var(--primary); text-shadow: none; }
    
    /* Icons via CSS for Bottom Nav */
    .nav-menu li:nth-child(1) a::before { content: '🌸'; font-size: 1.4rem; filter: grayscale(1); opacity: 0.7; }
    .nav-menu li:nth-child(2) a::before { content: '💨'; font-size: 1.4rem; filter: grayscale(1); opacity: 0.7; }
    .nav-menu li:nth-child(3) a::before { content: '🌤️'; font-size: 1.4rem; filter: grayscale(1); opacity: 0.7; }
    .nav-menu li:nth-child(4) a::before { content: '📚'; font-size: 1.4rem; filter: grayscale(1); opacity: 0.7; }
    .nav-menu li:nth-child(5) a::before { content: '🚀'; font-size: 1.4rem; filter: grayscale(1); opacity: 0.7; }
    
    .nav-menu a.active::before { filter: grayscale(0); opacity: 1; text-shadow: 0 0 10px rgba(225,29,72,0.4); }
    
    /* Hero Adjustments - Ultra Modern Mobile */
    .hero-section { padding-top: 2.5rem; min-height: auto; padding-bottom: 3.5rem; }
    .memorial-card { border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
    .memorial-image-col { min-height: 280px; height: 280px; }
    .image-overlay { background: linear-gradient(to bottom, transparent 20%, rgba(15, 17, 21, 1) 98%); }
    
    .memorial-content-col { padding: 0 1.5rem 2.5rem 1.5rem; gap: 1.5rem; margin-top: -1rem; position: relative; z-index: 2; }
    
    .memorial-header { gap: 0.6rem; margin-bottom: 0.5rem; }
    .date-badge { font-size: 0.7rem; padding: 0.35rem 0.8rem; background: rgba(255,255,255,0.06); border-width: 0.5px; }
    .status-badge.tragedy { font-size: 0.7rem; padding: 0.35rem 0.8rem; border-width: 0.5px; }

    .memorial-title { font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1.05; }
    .memorial-title span { 
        display: block; font-size: 1.3em; margin-top: 0.2rem;
        background: linear-gradient(135deg, #fff, var(--primary)); 
        -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
        filter: drop-shadow(0 4px 8px rgba(225, 29, 72, 0.3));
    }

    .memorial-text { 
        font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.7); 
        gap: 1.2rem; padding-left: 1.2rem; border-left: 3px solid rgba(225, 29, 72, 0.4);
    }
    .memorial-text strong { 
        font-family: 'Outfit'; font-size: 1.2rem; line-height: 1.4; color: #fff; 
        font-weight: 500; letter-spacing: -0.01em; display: block;
    }
    
    .feature-pills { margin-top: 0.5rem; gap: 0.6rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }
    .pill { width: auto; padding: 0.5rem 0.9rem; border-radius: 12px; font-size: 0.75rem; background: rgba(255,255,255,0.04); }
    
    /* City Search - Native Input Feel */
    .city-section { margin-top: 0; margin-bottom: 3rem; }
    .city-selector { padding: 2rem 1.25rem; border-radius: 28px; background: rgba(20,22,26,0.9); }
    .city-input-group { flex-direction: column; gap: 1rem; }
    .city-search { width: 100%; padding: 1.2rem; font-size: 1rem; border-radius: 16px; background: #000; }
    .btn-location { width: 100%; justify-content: center; padding: 1.2rem; border-radius: 16px; }
    .city-results { top: 100%; padding: 0.5rem; border-radius: 16px; width: 100%; left: 0; }
    
    /* Quick Stats - 2x2 Grid Native App Feel */
    .quick-stats { grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
    .stat-card { padding: 1.5rem 1rem; border-radius: 24px; text-align: left; }
    .stat-icon { font-size: 2rem; margin-bottom: 1rem; opacity: 1; }
    .stat-value { font-size: 1.8rem; }
    .stat-label { font-size: 0.75rem; letter-spacing: 0.05em; }
    .stat-detail { font-size: 0.85rem; }
    
    /* Content Grids */
    .pollen-grid, .guide-grid, .pollutants-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .pollen-card, .pollutant-card, .guide-card { padding: 1.5rem; border-radius: 24px; }
    
    .pollen-icon { width: 48px; height: 48px; font-size: 1.5rem; }
    .pollen-title { font-size: 1.15rem; }
    .level-value { font-size: 1.25rem; }
    
    /* AQI Central Ring */
    .aqi-main { flex-direction: column; gap: 2.5rem; padding: 2.5rem 1.5rem; border-radius: 32px; background: rgba(20,22,26,0.9); }
    .aqi-circle { width: 160px; height: 160px; min-width: 160px; border-width: 8px; box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 0 40px rgba(225, 29, 72, 0.1); }
    .aqi-number, .aqi-value { font-size: 3.5rem; }
    .aqi-status { font-size: 1.8rem; }
    .aqi-desc { font-size: 1rem; }
    
    /* Recommendation Cards */
    .pollen-recommendations, .aqi-health-tips { padding: 2rem 1.25rem; border-radius: 28px; margin-top: 2rem; }
    .pollen-recommendations h3, .aqi-health-tips h3 { font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom-width: 2px; }
    .rec-item { padding: 1rem 0; font-size: 0.95rem; gap: 1rem; }
    
    .footer { padding-bottom: 100px; /* Leave space for bottom nav */ }
    .footer-links { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .memorial-meta { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .laika-portrait { aspect-ratio: 1/1; }
    .section-header h2 { font-size: 2.2rem; }
}
