/* Core Design Tokens & Reset */
:root {
    --bg-gradient: linear-gradient(135deg, #e0f7fa 0%, #e8f5e9 50%, #fff8e1 100%);
    --primary-color: #0288d1;
    --primary-light: #b3e5fc;
    --primary-dark: #01579b;
    
    --text-main: #263238;
    --text-muted: #546e7a;
    --text-light: #90a4ae;
    
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(255, 255, 255, 0.4);
    --card-shadow: 0 10px 30px -5px rgba(2, 136, 209, 0.08);
    --hover-shadow: 0 15px 40px -5px rgba(2, 136, 209, 0.15);
    
    --font-outfit: 'Outfit', 'Noto Sans KR', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-outfit);
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    width: 100%;
    max-width: 1280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--primary-color);
    background: var(--primary-light);
    transform: translateX(-3px);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.logo-wrapper h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-normal);
}

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

.demo-badge {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid rgba(239, 108, 0, 0.15);
}

.demo-badge .status-dot {
    background: #ef6c00;
    box-shadow: 0 0 8px #ef6c00;
}

.live-badge {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.15);
}

.live-badge .status-dot {
    background: #2e7d32;
    box-shadow: 0 0 8px #2e7d32;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* Mode Buttons */
.mode-toggle-container {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 30px;
    gap: 2px;
}

.mode-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    outline: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.mode-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.mode-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.4);
}

.settings-btn {
    border: none;
    outline: none;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
}

.settings-btn:hover {
    color: var(--primary-color);
    background: var(--primary-light);
    transform: rotate(45deg);
}

/* Search Bar */
.search-section {
    width: 100%;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

#search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 30px;
    border: 1px solid var(--card-border);
    outline: none;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-main);
    font-size: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
}

#search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.15);
    background: white;
}

.search-clear-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-clear-btn:hover {
    color: var(--text-main);
}

/* App Main Layout */
.app-main {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    transition: var(--transition-slow);
}

/* Selected City Card */
.detail-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.weather-detail-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition-normal);
}

.weather-detail-card:hover {
    box-shadow: var(--hover-shadow);
}

.card-background-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 136, 209, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.city-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
}

.city-info span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.tts-btn {
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(2, 136, 209, 0.1);
    transition: var(--transition-fast);
}

.tts-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.tts-btn.speaking {
    background: #e91e63;
    color: white;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.4);
    animation: wave-pulse 1s infinite alternate;
}

@keyframes wave-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.detail-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-weather-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.weather-icon-large-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.weather-icon-large {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
}

.animate-float {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.temp-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-left: 20px;
}

.current-temp {
    font-size: 72px;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    color: var(--text-main);
}

.temp-unit {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 8px;
}

.condition-wrapper {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.weather-desc {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
}

.temp-range {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.range-icon {
    width: 14px;
    height: 14px;
}

.max-icon { color: #f44336; }
.min-icon { color: #2196f3; }
.range-divider { color: var(--text-light); }

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

.stat-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.stat-card:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    width: 18px;
    height: 18px;
}

.bg-feels { background: #ffebee; color: #e91e63; }
.bg-humidity { background: #e0f2fe; color: #0288d1; }
.bg-wind { background: #e0f2f1; color: #00796b; }
.bg-visibility { background: #efebe9; color: #795548; }
.bg-pressure { background: #f3e5f5; color: #9c27b0; }
.bg-suntime { background: #fffde7; color: #fbc02d; }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

/* Temperature Chart Card */
.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.card-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-section-title i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.chart-container {
    width: 100%;
    height: 200px;
    position: relative;
    padding-top: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

#temp-comparison-chart {
    width: 100%;
    height: 100%;
}

/* Cities Section (Right side) */
.cities-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-subtitle-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-subtitle-text i {
    color: var(--primary-color);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Individual City Cards */
.city-weather-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.city-weather-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.city-weather-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    background: white;
}

.city-weather-card.active {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.12);
}

.city-weather-card.active::after {
    transform: scaleX(1);
}

.city-card-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.city-card-name-kr {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.city-card-name-en {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.city-card-desc {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 4px;
}

.city-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.city-card-temp-wrapper {
    display: flex;
    align-items: flex-start;
}

.city-card-temp {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.city-card-unit {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2px;
}

.city-card-icon {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
}

/* Footer styling */
.app-footer {
    margin-top: auto;
    text-align: center;
    padding: 30px 0 10px 0;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Modal Windows */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.25s ease-out;
}

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

.modal-content {
    background: white;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eceff1;
    padding-bottom: 16px;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: var(--text-main);
}

.modal-header h3 i {
    color: var(--primary-color);
}

.modal-close-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: #f5f5f5;
    color: var(--text-main);
}

.modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

#api-key-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #cfd8dc;
    outline: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

#api-key-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.15);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
}

.radio-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.api-status-log {
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 13px;
    color: var(--text-muted);
    min-height: 40px;
    display: flex;
    align-items: center;
    border-left: 4px solid #cfd8dc;
}

.api-status-log.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left-color: #2e7d32;
}

.api-status-log.error {
    background: #ffebee;
    color: #c62828;
    border-left-color: #c62828;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eceff1;
    padding-top: 20px;
}

.footer-action-right {
    display: flex;
    gap: 8px;
}

/* Button styles */
.btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #cfd8dc;
    color: #37474f;
}

.btn-secondary:hover {
    background: #b0bec5;
}

.btn-danger {
    background: #ffebee;
    color: #c62828;
}

.btn-danger:hover {
    background: #ffcdd2;
}

/* RIDE MODE OVERLAYS / DASHBOARD (High accessibility, Large Text) */
.ride-dashboard {
    display: none; /* Injected dynamically */
    flex-direction: column;
    gap: 24px;
    animation: fadeIn 0.30s ease-out;
}

body.ride-mode-active {
    --bg-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background: var(--bg-gradient);
    background-attachment: fixed;
}

body.ride-mode-active .app-main,
body.ride-mode-active .search-section {
    display: none !important;
}

body.ride-mode-active .ride-dashboard {
    display: flex !important;
}

body.ride-mode-active .app-header {
    border-color: rgba(255, 255, 255, 0.08);
}

body.ride-mode-active .logo-wrapper h1 {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ride-card-main {
    background: rgba(30, 41, 59, 0.85);
    border: 2px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.ride-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0284c7;
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
}

.ride-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ride-city-meta h2 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -1px;
}

.ride-audio-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 24px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 30px;
    color: #38bdf8;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition-fast);
    width: fit-content;
}

.ride-audio-banner:hover {
    background: #38bdf8;
    color: #0f172a;
    transform: scale(1.03);
}

.ride-audio-banner.speaking {
    background: #ef4444;
    border-color: #f87171;
    color: white;
    animation: wave-pulse 1s infinite alternate;
}

.ride-main-weather {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ride-icon-box {
    background: rgba(255, 255, 255, 0.05);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ride-icon-box i {
    width: 80px;
    height: 80px;
    color: #38bdf8;
}

.ride-temp-box {
    display: flex;
    align-items: flex-start;
}

#ride-temp {
    font-size: 96px;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.8;
}

.ride-unit {
    font-size: 36px;
    font-weight: 700;
    color: #38bdf8;
    margin-top: 8px;
}

.ride-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.ride-stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.ride-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.ride-val {
    font-size: 26px;
    font-weight: 800;
}

.font-highlight {
    color: #38bdf8;
}

/* Touch Friendly Grid Scroller */
.ride-cities-scroller {
    margin-top: 10px;
}

.ride-cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ride-city-btn {
    background: rgba(30, 41, 59, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease-out;
}

.ride-city-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
}

.ride-city-btn.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.ride-city-btn h4 {
    font-size: 22px;
    font-weight: 800;
    color: #f8fafc;
}

.ride-city-btn span {
    font-size: 28px;
    font-weight: 900;
    color: #38bdf8;
}

.ride-city-btn i {
    width: 36px;
    height: 36px;
    color: var(--text-muted);
}

.ride-city-btn.active i {
    color: #38bdf8;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .app-main {
        grid-template-columns: 1fr;
    }
    .ride-cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
    }
    .header-left {
        justify-content: center;
    }
    .header-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    .cities-grid {
        grid-template-columns: 1fr;
    }
    .ride-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .ride-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
