        :root {
            --bg-primary: #ffffff; --bg-secondary: #fafbfc; --bg-tertiary: #f3f4f6; --bg-card: #ffffff;
            --text-primary: #0f1419; --text-secondary: #536471; --text-tertiary: #8b98a5;
            --border-light: #eff3f4; --border-medium: #e1e8ed;
            --accent-blue: #1d9bf0; --accent-green: #00ba7c; --accent-red: #f4212e;
            --accent-orange: #ff6a00; --accent-yellow: #ffad1f; --accent-purple: #7856ff;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
            --shadow-lg: 0 10px 15px rgba(0,0,0,0.08); --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
        }
        [data-theme="dark"] {
            --bg-primary: #000000; --bg-secondary: #16181c; --bg-tertiary: #1e2328; --bg-card: #16181c;
            --text-primary: #e7e9ea; --text-secondary: #a8b3c0; --text-tertiary: #71767b;
            --border-light: #2f3336; --border-medium: #3e4347;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-secondary); color: var(--text-primary); min-height: 100vh;
            font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
        }
        .navbar {
            background: var(--bg-primary); border-bottom: 1px solid var(--border-light);
            position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm);
        }
        .nav-container {
            max-width: 1400px; margin: 0 auto; padding: 0 20px;
            display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px;
        }
        .logo { display: flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 800;
            color: var(--text-primary); text-decoration: none; letter-spacing: -0.5px;
        }
        .logo-icon {
            width: 40px; height: 40px; background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            color: white; font-size: 20px; box-shadow: 0 4px 12px rgba(29,155,240,0.3);
        }
        .nav-search { flex: 1; max-width: 500px; position: relative; display: none; }
        .nav-search-input {
            width: 100%; padding: 10px 40px 10px 16px; border: 1.5px solid var(--border-medium);
            border-radius: 12px; background: var(--bg-secondary); color: var(--text-primary);
            font-size: 14px; font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.2s;
        }
        .nav-search-input:focus { outline: none; border-color: var(--accent-blue); background: var(--bg-card); }
        .nav-search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
            color: var(--text-tertiary); font-size: 14px; }
        .search-suggestions {
            position: absolute; top: calc(100% + 8px); left: 0; right: 0;
            background: var(--bg-card); border: 1px solid var(--border-light);
            border-radius: 14px; box-shadow: var(--shadow-xl); z-index: 1000;
            max-height: 400px; overflow-y: auto; display: none;
        }
        .search-suggestions.active { display: block; }
        .suggestion-item {
            padding: 12px 16px; cursor: pointer; transition: all 0.2s;
            display: flex; align-items: center; gap: 12px;
            border-bottom: 1px solid var(--border-light);
        }
        .suggestion-item:last-child { border-bottom: none; }
        .suggestion-item:hover { background: var(--bg-secondary); }
        .suggestion-icon {
            width: 36px; height: 36px; border-radius: 10px;
            background: var(--bg-tertiary); display: flex;
            align-items: center; justify-content: center;
            color: var(--accent-blue); font-size: 14px;
        }
        .suggestion-content { flex: 1; }
        .suggestion-title {
            font-size: 14px; font-weight: 700; color: var(--text-primary);
            margin-bottom: 2px;
        }
        .suggestion-subtitle {
            font-size: 12px; color: var(--text-secondary); font-weight: 600;
        }
        .suggestion-name {
            font-size: 14px; font-weight: 700; color: var(--text-primary);
            margin-bottom: 2px;
        }
        .suggestion-meta {
            font-size: 12px; color: var(--text-secondary); font-weight: 600;
        }
        .suggestion-count {
            font-size: 13px; font-weight: 700; color: var(--text-tertiary);
            background: var(--bg-tertiary); padding: 4px 10px;
            border-radius: 8px; flex-shrink: 0;
        }
        .suggestion-empty {
            padding: 20px; text-align: center; color: var(--text-secondary);
            font-size: 13px; font-weight: 600;
        }
        .nav-right { display: flex; align-items: center; gap: 10px; }
        .search-btn-mobile {
            width: 44px; height: 44px; border: 1.5px solid var(--border-medium); background: var(--bg-card);
            color: var(--text-primary); border-radius: 12px; cursor: pointer; display: flex;
            align-items: center; justify-content: center; font-size: 16px; transition: all 0.2s;
        }
        .search-btn-mobile:hover { border-color: var(--accent-blue); transform: scale(1.05); }
        .theme-switch {
            width: 44px; height: 44px; border: 1.5px solid var(--border-medium); background: var(--bg-card);
            color: var(--text-primary); border-radius: 12px; cursor: pointer; display: flex;
            align-items: center; justify-content: center; font-size: 18px; transition: all 0.2s;
        }
        .theme-switch:hover { border-color: var(--accent-blue); transform: scale(1.05); }
        .back-btn {
            padding: 10px 18px; background: var(--bg-tertiary); border: 1.5px solid var(--border-light);
            border-radius: 12px; color: var(--text-primary); text-decoration: none; font-weight: 700;
            font-size: 14px; display: flex; align-items: center; gap: 8px; transition: all 0.2s;
        }
        .back-btn:hover { background: var(--accent-blue); color: white; border-color: var(--accent-blue); }
        .container { max-width: 1400px; margin: 0 auto; padding: 28px 20px; }

        /* Breadcrumb Navigation */
        .breadcrumb {
            display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
            padding: 12px 18px; background: var(--bg-card); border-radius: 12px;
            border: 1px solid var(--border-light); flex-wrap: wrap;
        }
        .breadcrumb-item {
            font-size: 14px; font-weight: 600; color: var(--text-secondary);
            text-decoration: none; display: flex; align-items: center; gap: 6px;
            transition: all 0.2s; padding: 4px 8px; border-radius: 8px;
        }
        .breadcrumb-item:hover {
            color: var(--accent-blue); background: var(--bg-secondary);
        }
        .breadcrumb-item.active {
            color: var(--text-primary); font-weight: 700;
            background: var(--bg-secondary); cursor: default;
        }
        .breadcrumb-item i { font-size: 13px; }
        .breadcrumb-separator {
            font-size: 16px; color: var(--text-tertiary); font-weight: 400;
            user-select: none;
        }

        .hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 28px; }
        .hero-card {
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            border-radius: 24px; padding: 36px; color: white; position: relative;
            overflow: hidden; box-shadow: var(--shadow-lg);
        }
        .hero-pattern {
            position: absolute; top: -40px; right: -40px; width: 160px; height: 160px;
            border-radius: 50%; background: rgba(255,255,255,0.1); filter: blur(30px);
        }
        .hero-content { position: relative; z-index: 1; }
        .hero-title {
            font-size: 40px; font-weight: 900; margin-bottom: 10px;
            display: flex; align-items: center; gap: 14px; letter-spacing: -1.5px;
        }
        .hero-subtitle { font-size: 16px; opacity: 0.95; margin-bottom: 28px; font-weight: 500; }
        .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
        .hero-stat {
            padding: 12px; background: rgba(255,255,255,0.15); border-radius: 14px;
            backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
        }
        .hero-stat-value { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
        .hero-stat-label { font-size: 12px; opacity: 0.9; font-weight: 600; }
        .weather-card {
            background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 24px;
            padding: 36px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; justify-content: center;
        }
        .weather-title {
            font-size: 18px; font-weight: 800; margin-bottom: 24px;
            display: flex; align-items: center; gap: 10px; color: var(--text-primary);
        }
        .weather-main { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
        .weather-icon { font-size: 72px; }
        .weather-temp-section { flex: 1; }
        .weather-temp { font-size: 48px; font-weight: 800; color: var(--text-primary); line-height: 1; letter-spacing: -1.5px; }
        .weather-desc { color: var(--text-secondary); font-weight: 600; font-size: 16px; margin-top: 6px; }
        .weather-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .weather-detail {
            display: flex; align-items: center; gap: 10px; font-size: 14px;
            color: var(--text-secondary); font-weight: 600;
        }
        .weather-detail i { width: 20px; color: var(--accent-blue); font-size: 14px; }
        .districts-section {
            background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 20px;
            padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
        }
        .districts-title {
            font-size: 14px; font-weight: 800; color: var(--text-secondary);
            text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; text-align: center;
        }
        .districts-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
        .district-btn {
            padding: 10px 18px; background: var(--bg-secondary); border: 1.5px solid var(--border-light);
            border-radius: 12px; color: var(--text-primary); font-weight: 700; font-size: 14px;
            cursor: pointer; transition: all 0.2s; text-decoration: none;
        }
        .district-btn:hover {
            background: var(--accent-blue); color: white; border-color: var(--accent-blue); transform: translateY(-2px);
        }
        .ai-analysis {
            background: linear-gradient(135deg, rgba(120,86,246,0.08), rgba(29,155,240,0.08));
            border: 1.5px solid rgba(120,86,246,0.2); border-radius: 20px; padding: 32px;
            margin-bottom: 28px; position: relative; overflow: hidden;
        }
        .ai-analysis::before {
            content: ''; position: absolute; top: -80px; right: -80px; width: 250px; height: 250px;
            background: radial-gradient(circle, rgba(120,86,246,0.1), transparent 70%);
            animation: pulse 3s ease-in-out infinite;
        }
        @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.05); opacity: 0.8; } }
        .ai-header {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 20px; position: relative; z-index: 1; flex-wrap: wrap; gap: 14px;
        }
        .ai-title-section { display: flex; align-items: center; gap: 12px; }
        .ai-icon {
            width: 48px; height: 48px; background: var(--accent-purple); border-radius: 12px;
            display: flex; align-items: center; justify-content: center; color: white; font-size: 22px;
            box-shadow: 0 4px 14px rgba(120,86,246,0.3);
        }
        .ai-title { font-size: 20px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
        .ai-content { font-size: 16px; line-height: 1.7; color: var(--text-secondary); position: relative; z-index: 1; }
        .ai-content p { margin-bottom: 16px; }
        .ai-content p:last-child { margin-bottom: 0; }
        .ai-content strong { color: var(--text-primary); font-weight: 700; }
        .ai-content em { color: var(--accent-blue); font-style: italic; }
        .ai-content h2, .ai-content h3 { color: var(--text-primary); font-weight: 700; margin: 20px 0 12px 0; }
        .ai-content h2 { font-size: 20px; }
        .ai-content h3 { font-size: 18px; }
        .ai-content code {
            background: var(--bg-tertiary); padding: 2px 6px; border-radius: 4px;
            font-family: 'Courier New', monospace; font-size: 14px; color: var(--accent-blue);
        }
        .ai-content a { color: var(--accent-blue); text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.2s; }
        .ai-content a:hover { border-bottom-color: var(--accent-blue); }
        .ai-date {
            font-size: 13px; font-weight: 500; color: var(--text-tertiary);
            display: block; margin-top: 4px; opacity: 0.8;
        }
        .ai-refresh-btn {
            background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
            border: none; border-radius: 8px; padding: 10px 18px;
            color: white; font-size: 14px; font-weight: 600; cursor: pointer;
            display: flex; align-items: center; gap: 8px;
            transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,186,124,0.3);
        }
        .ai-refresh-btn:hover {
            transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,186,124,0.4);
        }
        .ai-refresh-btn:active {
            transform: translateY(0); box-shadow: 0 2px 8px rgba(0,186,124,0.3);
        }
        .ai-refresh-btn:disabled {
            opacity: 0.6; cursor: not-allowed; transform: none;
        }
        .ai-refresh-btn i { font-size: 13px; }
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 28px; }
        .stat-box {
            background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 20px;
            padding: 24px; box-shadow: var(--shadow-sm); transition: all 0.3s; position: relative; overflow: hidden;
        }
        .stat-box::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
            opacity: 0; transition: opacity 0.3s;
        }
        .stat-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
        .stat-box:hover::before { opacity: 1; }
        .stat-box-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 16px; }
        .stat-box-title {
            font-size: 13px; font-weight: 800; color: var(--text-tertiary);
            text-transform: uppercase; letter-spacing: 0.8px;
        }
        .stat-box-icon {
            width: 44px; height: 44px; border-radius: 12px;
            display: flex; align-items: center; justify-content: center; font-size: 20px;
        }
        .stat-box-value { font-size: 36px; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; letter-spacing: -1px; }
        .main-grid { display: grid; grid-template-columns: 1fr 420px; gap: 28px; margin-bottom: 28px; }
        .card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); }
        .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
        .card-title { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 12px; letter-spacing: -0.5px; }

        /* Filter Chips */
        .filter-chips {
            display: flex;
            gap: 8px;
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        .filter-chips::-webkit-scrollbar {
            display: none;
        }
        .filter-chip {
            padding: 10px 18px;
            background: var(--bg-tertiary);
            border: 1.5px solid transparent;
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.2s ease;
            font-family: 'Plus Jakarta Sans', sans-serif;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .filter-chip:hover {
            background: var(--bg-secondary);
        }
        .filter-chip.active {
            background: var(--accent-blue);
            color: white;
            border-color: var(--accent-blue);
        }

        .earthquake-list { display: flex; flex-direction: column; gap: 14px; max-height: 700px; overflow-y: auto; padding-right: 8px; }
        .earthquake-list::-webkit-scrollbar { width: 6px; }
        .earthquake-list::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: 3px; }
        .earthquake-list::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }
        .earthquake-item {
            padding: 18px; background: var(--bg-secondary); border: 1px solid var(--border-light);
            border-radius: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px;
            align-items: center; transition: all 0.2s; cursor: pointer;
        }
        .earthquake-item:hover { background: var(--bg-tertiary); transform: translateX(3px); box-shadow: var(--shadow-sm); }
        .magnitude-badge {
            width: 60px; height: 60px; border-radius: 14px; display: flex; flex-direction: column;
            align-items: center; justify-content: center; font-weight: 800; border: 2px solid;
        }
        .magnitude-number { font-size: 24px; line-height: 1; }
        .magnitude-unit { font-size: 10px; opacity: 0.9; margin-top: 2px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
        .mag-low { background: rgba(0,186,124,0.1); border-color: var(--accent-green); color: var(--accent-green); }
        .mag-medium { background: rgba(255,173,31,0.1); border-color: var(--accent-yellow); color: var(--accent-yellow); }
        .mag-high { background: rgba(244,33,46,0.1); border-color: var(--accent-red); color: var(--accent-red); }
        .earthquake-info { flex: 1; min-width: 0; }
        .earthquake-location {
            font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .earthquake-meta { font-size: 13px; color: var(--text-secondary); display: flex; gap: 12px; flex-wrap: wrap; font-weight: 600; }
        .earthquake-meta i { font-size: 11px; }
        .earthquake-time { text-align: right; font-size: 12px; }
        .earthquake-time-rel { color: var(--accent-blue); font-weight: 700; }
        .earthquake-time-exact { color: var(--text-secondary); margin-top: 3px; font-weight: 600; }
        .twitter-feed { max-height: 700px; overflow-y: auto; padding-right: 8px; }
        .twitter-feed::-webkit-scrollbar { width: 6px; }
        .twitter-feed::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: 3px; }
        .twitter-feed::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }
        .tweet {
            padding: 18px; background: var(--bg-secondary); border: 1px solid var(--border-light);
            border-radius: 16px; margin-bottom: 14px; transition: all 0.2s;
        }
        .tweet:hover { background: var(--bg-tertiary); box-shadow: var(--shadow-sm); }
        .tweet-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
        .tweet-avatar {
            width: 40px; height: 40px; border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            display: flex; align-items: center; justify-content: center;
            color: white; font-weight: 700; flex-shrink: 0; font-size: 16px;
        }
        .tweet-author { flex: 1; min-width: 0; }
        .tweet-name { font-weight: 700; font-size: 15px; color: var(--text-primary); }
        .tweet-username { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
        .tweet-text { font-size: 15px; line-height: 1.5; color: var(--text-primary); margin-bottom: 12px; }
        .tweet-meta { display: flex; gap: 18px; font-size: 13px; color: var(--text-tertiary); font-weight: 600; }
        .news-section {
            background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 24px;
            padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
        }
        .news-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
        .news-title { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 12px; letter-spacing: -0.5px; }
        .news-carousel-wrapper { position: relative; overflow: hidden; }
        .news-carousel {
            display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
            padding: 4px 0; scrollbar-width: none; -ms-overflow-style: none;
        }
        .news-carousel::-webkit-scrollbar { display: none; }
        .news-item {
            flex: 0 0 340px; padding: 20px; background: var(--bg-secondary);
            border: 1px solid var(--border-light); border-radius: 16px;
            transition: all 0.3s; cursor: pointer; text-decoration: none;
        }
        .news-item:hover { background: var(--bg-tertiary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .news-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
        .news-source {
            padding: 5px 12px; background: linear-gradient(135deg, rgba(29,155,240,0.1), rgba(120,86,246,0.1));
            border: 1px solid rgba(29,155,240,0.3); border-radius: 8px; font-size: 12px;
            font-weight: 800; color: var(--accent-blue); text-transform: uppercase; letter-spacing: 0.5px;
        }
        .news-time { font-size: 12px; color: var(--text-secondary); font-weight: 600; }
        .news-item-title {
            font-size: 16px; font-weight: 700; color: var(--text-primary);
            margin-bottom: 10px; line-height: 1.4;
        }
        .news-item-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-weight: 500; }
        .carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
        .carousel-btn {
            width: 44px; height: 44px; border: 1.5px solid var(--border-medium);
            background: var(--bg-card); color: var(--text-primary); border-radius: 12px;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            transition: all 0.2s; font-size: 16px;
        }
        .carousel-btn:hover {
            background: var(--accent-blue); color: white; border-color: var(--accent-blue); transform: scale(1.05);
        }
        .content-wrapper { display: grid; grid-template-columns: 1fr 420px; gap: 28px; margin-bottom: 28px; }
        .charts-section { display: flex; flex-direction: column; gap: 24px; }
        .chart-card {
            background: var(--bg-card); border: 1px solid var(--border-light);
            border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm);
        }
        .chart-header { margin-bottom: 24px; }
        .chart-title { font-size: 18px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; }
        .chart-subtitle { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
        .chart-wrapper { height: 260px; position: relative; }
        .info-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 28px; }
        .info-card {
            background: var(--bg-card); border: 1px solid var(--border-light);
            border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm);
        }
        .info-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
        .info-card-icon {
            width: 48px; height: 48px; border-radius: 14px;
            display: flex; align-items: center; justify-content: center; font-size: 22px;
        }
        .info-card-title { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
        .info-card-content { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
        .info-list { list-style: none; padding: 0; margin: 14px 0 0 0; }
        .info-list li {
            padding: 12px 0 12px 32px; position: relative; font-size: 15px;
            color: var(--text-secondary); line-height: 1.6; font-weight: 500;
        }
        .info-list li::before {
            content: "✓"; position: absolute; left: 0; top: 12px; width: 22px; height: 22px;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            border-radius: 8px; display: flex; align-items: center; justify-content: center;
            color: white; font-weight: 700; font-size: 12px;
        }
        .risk-meter {
            background: var(--bg-card); border: 1px solid var(--border-light);
            border-radius: 24px; padding: 32px; margin-bottom: 28px; text-align: center; box-shadow: var(--shadow-sm);
        }
        .risk-meter-title { font-size: 18px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.3px; }
        .risk-gauge { width: 200px; height: 200px; margin: 0 auto 24px; position: relative; }
        .risk-circle {
            width: 100%; height: 100%; border-radius: 50%;
            background: conic-gradient(var(--accent-green) 0deg 120deg, var(--accent-yellow) 120deg 240deg, var(--accent-red) 240deg 360deg);
            display: flex; align-items: center; justify-content: center;
        }
        .risk-inner {
            width: 160px; height: 160px; border-radius: 50%; background: var(--bg-card);
            display: flex; align-items: center; justify-content: center; flex-direction: column;
        }
        .risk-value { font-size: 44px; font-weight: 800; color: var(--accent-yellow); }
        .risk-label { font-size: 14px; color: var(--text-secondary); font-weight: 700; }
        .risk-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; font-weight: 500; }
        .services-section {
            background: var(--bg-card); border: 1px solid var(--border-light);
            border-radius: 24px; padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
        }
        .services-title { font-size: 20px; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; letter-spacing: -0.5px; }
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
        .service-card {
            padding: 24px; background: var(--bg-secondary); border: 1px solid var(--border-light);
            border-radius: 16px; transition: all 0.3s; cursor: pointer;
        }
        .service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .service-icon {
            width: 56px; height: 56px; border-radius: 14px; display: flex;
            align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
        }
        .service-name { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
        .service-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; font-weight: 500; }
        .icon-blue { background: linear-gradient(135deg, rgba(29,155,240,0.15), rgba(120,86,246,0.15)); color: var(--accent-blue); }
        .icon-red { background: linear-gradient(135deg, rgba(244,33,46,0.15), rgba(255,106,0,0.15)); color: var(--accent-red); }
        .icon-green { background: linear-gradient(135deg, rgba(0,186,124,0.15), rgba(29,155,240,0.15)); color: var(--accent-green); }
        .icon-yellow { background: linear-gradient(135deg, rgba(255,173,31,0.15), rgba(255,106,0,0.15)); color: var(--accent-yellow); }
        .icon-orange { background: linear-gradient(135deg, rgba(255,106,0,0.15), rgba(244,33,46,0.15)); color: #ff6a00; }
        .icon-purple { background: linear-gradient(135deg, rgba(120,86,246,0.15), rgba(29,155,240,0.15)); color: var(--accent-purple); }
        .search-modal {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.75); z-index: 2000; padding: 20px; animation: fadeIn 0.2s;
            backdrop-filter: blur(8px);
        }
        .search-modal.active { display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; }
        .search-modal-content {
            background: var(--bg-card); border-radius: 20px; width: 100%; max-width: 600px;
            box-shadow: var(--shadow-xl); animation: slideDown 0.3s;
        }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
        .search-modal-header {
            padding: 20px; border-bottom: 1px solid var(--border-light);
            display: flex; align-items: center; gap: 12px;
        }
        .search-modal-input {
            flex: 1; padding: 12px; border: none; background: transparent;
            color: var(--text-primary); font-size: 16px; font-family: 'Plus Jakarta Sans', sans-serif;
        }
        .search-modal-input:focus { outline: none; }
        .search-modal-close {
            width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tertiary);
            color: var(--text-primary); border: none; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
        }
        .search-results { padding: 12px; max-height: 400px; overflow-y: auto; }
        .search-result-item {
            padding: 14px; border-radius: 12px; cursor: pointer; transition: all 0.2s;
            display: flex; align-items: center; gap: 12px;
        }
        .search-result-item:hover { background: var(--bg-secondary); }
        .search-result-icon {
            width: 40px; height: 40px; background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            color: white; font-size: 16px;
        }
        .search-result-content { flex: 1; }
        .search-result-title {
            font-size: 15px; font-weight: 700; color: var(--text-primary);
            margin-bottom: 3px;
        }
        .search-result-subtitle {
            font-size: 13px; color: var(--text-secondary); font-weight: 600;
        }
        .search-result-text { flex: 1; font-size: 15px; font-weight: 600; }
        .modal-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.75); z-index: 2000; align-items: center; justify-content: center;
            backdrop-filter: blur(8px); animation: fadeIn 0.3s; padding: 20px;
        }
        .modal-overlay.active { display: flex; }
        .modal-box {
            background: var(--bg-card); border-radius: 24px; max-width: 1000px; width: 100%;
            max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-xl);
            border: 1px solid var(--border-light); animation: slideUp 0.4s;
        }
        @keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
        .modal-top {
            padding: 32px; border-bottom: 1px solid var(--border-light);
            display: flex; justify-content: space-between; align-items: center;
        }
        .modal-heading { font-size: 24px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
        .modal-close-btn {
            width: 44px; height: 44px; border: 1.5px solid var(--border-medium);
            background: var(--bg-tertiary); color: var(--text-primary); border-radius: 12px;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            font-size: 20px; transition: all 0.2s;
        }
        .modal-close-btn:hover { background: var(--border-light); transform: scale(1.05); }
        .modal-content { padding: 32px; }
        .detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; }
        .detail-box {
            background: var(--bg-secondary); padding: 24px; border-radius: 16px;
            border: 1px solid var(--border-light);
        }
        .detail-label {
            font-size: 12px; font-weight: 800; color: var(--text-tertiary);
            margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
        }
        .detail-value { font-size: 24px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
        .map-wrapper {
            width: 100%; height: 450px; border-radius: 20px; overflow: hidden;
            border: 1px solid var(--border-light); margin-top: 32px; background: var(--bg-secondary);
            display: flex; align-items: center; justify-content: center;
        }
        .map-placeholder-content { text-align: center; }
        .map-placeholder-icon { font-size: 48px; color: var(--text-tertiary); margin-bottom: 12px; }
        .map-placeholder-text { font-size: 15px; color: var(--text-secondary); font-weight: 600; }
        @media (min-width: 769px) {
            .nav-search { display: block; }
            .search-btn-mobile { display: none; }
        }
        @media (max-width: 1200px) {
            .main-grid, .content-wrapper { grid-template-columns: 1fr; }
        }
        
        @media (max-width: 768px) {
            .hero-grid { grid-template-columns: 1fr; }
            .hero-title { font-size: 32px; }
            .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .breadcrumb {
                padding: 10px 14px; gap: 6px; font-size: 13px;
            }
            .breadcrumb-item {
                font-size: 13px; padding: 3px 6px;
            }
            .breadcrumb-separator {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .hero-stats { grid-template-columns: 1fr; }
            
            .nav-container {
                height: 60px;
                padding: 0 12px;
            }

            .logo {
                font-size: 16px;
                gap: 10px;
            }

            .logo-icon {
                width: 36px;
                height: 36px;
                font-size: 18px;
            }

            .theme-switch {
                width: 38px;
                height: 38px;
                font-size: 15px;
            }

            .search-btn-mobile {
                width: 38px;
                height: 38px;
                font-size: 15px;
            }

            /* Filter Chips Mobile */
            .card-header {
                gap: 10px;
            }

            .card-title {
                font-size: 16px;
                width: 100%;
            }

            .filter-chips {
                width: 100%;
                gap: 6px;
            }

            .filter-chip {
                padding: 8px 14px;
                font-size: 12px;
            }

            /* Earthquake List Mobile */
            .earthquake-item {
                padding: 14px;
                grid-template-columns: auto 1fr;
                gap: 10px;
            }

            .magnitude-badge {
                width: 52px;
                height: 52px;
            }

            .magnitude-number {
                font-size: 20px;
            }

            .magnitude-unit {
                font-size: 9px;
            }

            .earthquake-location {
                font-size: 14px;
            }

            .earthquake-meta {
                font-size: 12px;
                gap: 8px;
            }

            .earthquake-time {
                grid-column: 1 / -1;
                text-align: left;
                margin-top: 6px;
                padding-top: 8px;
                border-top: 1px solid var(--border-light);
            }

            /* Chart'ları mobilde küçült */
            .chart-card {
                padding: 14px;
                margin-bottom: 14px;
                border-radius: 18px;
            }

            .chart-wrapper {
                height: 140px; /* Mobilde daha küçük */
            }

            .chart-header {
                margin-bottom: 12px;
            }

            .chart-title {
                font-size: 15px;
            }

            .chart-subtitle {
                font-size: 11px;
            }

            /* Hero section */
            .hero-title {
                font-size: 24px;
            }

            .hero-subtitle {
                font-size: 13px;
            }

            .stat-box {
                padding: 16px;
            }

            .stat-box-value {
                font-size: 28px;
            }

            .stat-box-label {
                font-size: 12px;
            }

            /* AI section */
            .ai-content {
                padding: 16px;
            }

            /* Events */
            .event-card {
                padding: 14px;
            }

            /* Mobil deprem listesi */
            .earthquake-item {
                padding: 12px;
                gap: 10px;
                grid-template-columns: auto 1fr;
                border-radius: 14px;
            }

            .magnitude-badge {
                width: 52px;
                height: 52px;
                border-radius: 12px;
            }

            .magnitude-number {
                font-size: 20px;
            }

            .magnitude-unit {
                font-size: 9px;
            }

            .earthquake-location {
                font-size: 13px;
                margin-bottom: 5px;
            }

            .earthquake-meta {
                font-size: 11px;
                gap: 8px;
            }

            .earthquake-meta i {
                font-size: 10px;
            }

            .earthquake-time {
                grid-column: 2;
                text-align: left;
                margin-top: 6px;
                font-size: 11px;
            }

            .earthquake-time-rel {
                font-size: 12px;
            }

            .earthquake-time-exact {
                font-size: 10px;
                margin-top: 2px;
            }

            .earthquakes-grid {
                gap: 10px;
            }

            /* Map */
            .map-wrapper {
                height: 300px;
                margin-top: 24px;
            }

            /* News items */
            .news-item {
                flex: 0 0 280px;
                padding: 16px;
            }

            .news-item-title {
                font-size: 14px;
            }

            .news-item-desc {
                font-size: 12px;
            }

            /* Modal responsive için iPhone */
            .modal-overlay {
                padding: 12px;
            }

            .modal-box {
                border-radius: 18px;
                max-height: 95vh;
            }

            .modal-top {
                padding: 18px;
            }

            .modal-heading {
                font-size: 18px;
            }

            .modal-close-btn {
                width: 38px;
                height: 38px;
            }

            .modal-close-btn i {
                font-size: 16px;
            }

            .modal-content {
                padding: 18px;
            }

            .detail-grid {
                gap: 14px;
                margin-bottom: 20px;
            }

            .detail-box {
                padding: 16px;
                border-radius: 14px;
            }

            .detail-label {
                font-size: 11px;
                margin-bottom: 6px;
            }

            .detail-value {
                font-size: 20px;
            }

            .map-wrapper {
                height: 220px;
                border-radius: 14px;
            }

            .map-placeholder-icon i {
                font-size: 36px;
            }

            .map-placeholder-text {
                font-size: 12px;
            }

            /* Search modal responsive */
            .search-modal {
                padding: 12px;
            }

            .search-modal-content {
                border-radius: 16px;
            }

            .search-modal-header {
                padding: 16px;
            }

            .search-modal-input {
                font-size: 15px;
                padding: 10px;
            }

            .search-modal-close {
                width: 36px;
                height: 36px;
            }
        }
