    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      --glass-bg: rgba(255, 255, 255, 0.12);
      --glass-bg-hover: rgba(255, 255, 255, 0.18);
      --glass-border: rgba(255, 255, 255, 0.15);
      --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
      --glass-blur: 30px;
      --liquid-radius: 24px;
    }

    body {
      font-family: var(--font-family);
      overflow-x: hidden;
      background: #1a1a2e;
    }

    /* Liquid Glass Base */
    .glass {
      background: var(--glass-bg);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border: 1px solid var(--glass-border);
      border-radius: var(--liquid-radius);
      box-shadow: var(--glass-shadow);
    }

    .glass-light {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
    }

    .weather-bg {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: -1;
      transition: background 0.8s ease;
    }

    .weather-bg::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, var(--bg-top, #FF9500) 0%, var(--bg-bottom, #FFD60A) 100%);
      transition: background 0.8s ease;
    }

    .particles {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .particle {
      position: absolute;
      background: rgba(255, 255, 255, 0.6);
      border-radius: 50%;
      animation: fall linear infinite;
    }

    @keyframes fall {
      0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
      100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
    }

    .app {
      min-height: 100vh;
      padding: 20px;
      padding-bottom: 40px;
    }

    .search-container {
      max-width: 600px;
      margin: 0 auto 30px;
      position: relative;
    }

    .stoic-quote {
      text-align: center;
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.85rem;
      font-style: italic;
      margin-top: 8px;
      padding: 0 20px;
      line-height: 1.5;
      min-height: 3em;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .stoic-quote-text {
      margin-bottom: 6px;
    }

    .stoic-quote-author {
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.4);
      font-style: normal;
    }

    .search-bar {
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px);
      border-radius: 50px;
      padding: 14px 24px;
      gap: 12px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
      transition: all 0.3s ease;
    }

    .search-bar:hover {
      background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.12) 100%);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.25);
    }

    .search-bar:focus-within {
      background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.15) 100%);
      border-color: rgba(255, 255, 255, 0.3);
    }

    .search-icon {
      color: rgba(255, 255, 255, 0.7);
      font-size: 18px;
    }

    .location-btn {
      background: rgba(255, 255, 255, 0.15);
      border: none;
      color: rgba(255, 255, 255, 0.9);
      font-size: 16px;
      cursor: pointer;
      padding: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s;
      min-width: 32px;
      min-height: 32px;
    }

    .location-btn:hover {
      background: rgba(255, 255, 255, 0.3);
      color: white;
    }

    .search-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: white;
      font-size: 16px;
      font-family: var(--font-family);
    }

    .search-input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .search-results {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      margin-top: 12px;
      background: linear-gradient(180deg, rgba(30, 30, 60, 0.95) 0%, rgba(20, 20, 40, 0.98) 100%);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      border-radius: 20px;
      overflow: hidden;
      z-index: 100;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
      display: none;
    }

    .search-results.active {
      display: block;
    }

    .search-result-item {
      padding: 14px 20px;
      color: white;
      cursor: pointer;
      transition: background 0.2s;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .search-result-item:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .search-result-item.selected {
      background: rgba(255, 255, 255, 0.2);
    }

    .weather-main {
      text-align: center;
      margin-bottom: 40px;
      animation: fadeInUp 0.6s ease-out;
    }

    .weather-content {
      position: relative;
      overflow: hidden;
    }

    .watermark-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      pointer-events: none;
      z-index: 0;
    }

    .watermark {
      width: min(40%, 300px);
      height: min(40%, 300px);
      background-image: url('./logo.svg');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      opacity: 0.10;
      animation: drift 25s ease-in-out infinite;
    }

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

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

    .location-name {
      font-size: 28px;
      font-weight: 600;
      color: white;
      margin-bottom: 4px;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .local-time {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 8px;
    }

    .local-time-label {
      color: rgba(255, 255, 255, 0.5);
    }

    .current-temp {
      font-size: 120px;
      font-weight: 700;
      color: white;
      line-height: 1;
      margin: 10px 0;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      animation: float 6s ease-in-out infinite;
      cursor: pointer;
    }

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

    .condition {
      font-size: 22px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 5px;
    }

    .feels-like {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.7);
    }

    .high-low {
      font-size: 18px;
      color: rgba(255, 255, 255, 0.8);
      margin-top: 8px;
    }

    .weather-icon {
      width: 180px;
      height: 180px;
      margin: 0 auto 10px;
      overflow: visible;
    }

    .weather-icon svg {
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .details-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      max-width: 600px;
      margin: 0 auto 30px;
      animation: fadeInUp 0.6s ease-out 0.1s both;
    }

    @media (max-width: 500px) {
      .details-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .detail-card {
      background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px);
      border-radius: 20px;
      padding: 18px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.15);
      transition: all 0.3s ease;
    }

    .detail-card:hover {
      background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.1) 100%);
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.2);
    }

    .detail-card-wide {
      grid-column: span 2;
    }

    @media (max-width: 500px) {
      .detail-card-wide {
        grid-column: span 1;
      }
    }

    .detail-icon {
      font-size: 24px;
      margin-bottom: 8px;
    }

    .detail-label {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.6);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }

    .detail-value {
      font-size: 18px;
      font-weight: 600;
      color: white;
    }

    .section-title {
      font-size: 18px;
      font-weight: 600;
      color: white;
      margin-bottom: 16px;
      text-align: left;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .hourly-scroll {
      display: flex;
      gap: 16px;
      overflow-x: auto;
      padding-bottom: 16px;
      max-width: 600px;
      margin: 0 auto 30px;
      animation: fadeInUp 0.6s ease-out 0.2s both;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .hourly-scroll::-webkit-scrollbar {
      display: none;
    }

    .hourly-item {
      flex-shrink: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 18px;
      padding: 16px 20px;
      text-align: center;
      min-width: 70px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }

    .hourly-item:hover {
      background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .hourly-item.current {
      background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 100%);
      border-color: rgba(255, 255, 255, 0.25);
    }

    .hourly-time {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 8px;
    }

    .hourly-icon {
      font-size: 24px;
      margin-bottom: 8px;
    }

    .hourly-temp {
      font-size: 16px;
      font-weight: 600;
      color: white;
    }

    .daily-list {
      max-width: 500px;
      margin: 0 auto;
      animation: fadeInUp 0.6s ease-out 0.3s both;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 8px;
    }

    @media (max-width: 500px) {
      .daily-list {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 350px) {
      .daily-list {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .daily-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 18px;
      padding: 14px 10px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }

    .daily-item:hover {
      background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .daily-day {
      width: auto;
      font-size: 12px;
      font-weight: 500;
      color: white;
      margin-bottom: 4px;
    }

    .daily-icon {
      font-size: 20px;
      margin-right: 0;
      margin-bottom: 4px;
    }

    .daily-temps {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }

    .daily-high {
      font-size: 13px;
      font-weight: 600;
      color: white;
      width: auto;
    }

    .temp-bar {
      display: none;
    }

    .daily-low {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.6);
      width: auto;
      text-align: center;
    }

    .radar-container {
      max-width: 600px;
      margin: 0 auto 30px;
      animation: fadeInUp 0.6s ease-out 0.25s both;
    }

    .radar-frame {
      width: 100%;
      height: 350px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      overflow: hidden;
      background: rgba(255, 255, 255, 0.1);
    }

    .radar-frame iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .app-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 10px 0;
    }

    .sticky-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: linear-gradient(180deg, rgba(26, 26, 46, 0.45) 0%, rgba(26, 26, 46, 0.3) 100%);
      backdrop-filter: blur(30px) saturate(140%);
      -webkit-backdrop-filter: blur(30px) saturate(140%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 0 0 24px 24px;
      padding: 10px 20px 20px;
      margin: -20px -20px 0;
    }

    body.light-theme .sticky-header {
      background: linear-gradient(180deg, rgba(240, 242, 255, 0.5) 0%, rgba(240, 242, 255, 0.35) 100%);
      border-bottom-color: rgba(0, 0, 0, 0.15);
    }

    .app-logo {
      width: 40px;
      height: 40px;
    }

    .app-logo svg {
      width: 100%;
      height: 100%;
    }

    .app-title {
      font-size: 28px;
      font-weight: 700;
      color: white;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      letter-spacing: -0.5px;
    }

    .settings-btn-small {
      background: rgba(255, 255, 255, 0.15);
      border: none;
      color: rgba(255, 255, 255, 0.9);
      font-size: 16px;
      cursor: pointer;
      padding: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s;
      min-width: 32px;
      min-height: 32px;
    }

    .settings-btn-small:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    .settings-btn-header,
    .theme-btn-header {
      background: rgba(255, 255, 255, 0.15);
      border: none;
      color: white;
      font-size: 18px;
      cursor: pointer;
      padding: 6px 10px;
      border-radius: 8px;
      transition: all 0.2s;
      margin-left: 8px;
    }

    .settings-btn-header:hover,
    .theme-btn-header:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    .theme-btn {
      background: rgba(255, 255, 255, 0.15);
      border: none;
      color: white;
      font-size: 16px;
      cursor: pointer;
      padding: 6px 10px;
      border-radius: 8px;
      transition: all 0.2s;
      margin-left: auto;
    }

    .theme-btn:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    .settings-btn-header {
      margin-left: 8px;
    }
      color: white;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      letter-spacing: -0.5px;
    }

    .daily-item {
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 12px;
      padding: 14px 20px;
      margin-bottom: 8px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .daily-day {
      width: 80px;
      font-size: 15px;
      font-weight: 500;
      color: white;
    }

    .daily-icon {
      font-size: 24px;
      margin-right: 16px;
    }

    .daily-temps {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .daily-high {
      font-size: 16px;
      font-weight: 600;
      color: white;
      width: 40px;
    }

    .temp-bar {
      flex: 1;
      height: 4px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 2px;
      position: relative;
    }

    .temp-bar-fill {
      position: absolute;
      height: 100%;
      background: white;
      border-radius: 2px;
    }

    .daily-low {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.6);
      width: 40px;
      text-align: right;
    }

    .loading {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 16px;
      min-height: 200px;
    }

    .loading-message {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
      margin: 0;
    }

    .spinner {
      width: 50px;
      height: 50px;
      border: 3px solid rgba(255, 255, 255, 0.2);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

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

    .error-message {
      text-align: center;
      color: white;
      padding: 40px;
    }

    .error-message h3 {
      font-size: 20px;
      margin-bottom: 10px;
    }

    .error-message p {
      color: rgba(255, 255, 255, 0.7);
    }

    .retry-btn {
      margin-top: 20px;
      padding: 12px 24px;
      background: rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 25px;
      color: white;
      font-size: 14px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .retry-btn:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .welcome-screen {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 60vh;
      text-align: center;
      color: white;
    }

    .welcome-icon {
      font-size: 64px;
      margin-bottom: 20px;
      opacity: 0.8;
    }

    .welcome-title {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .welcome-text {
      color: rgba(255, 255, 255, 0.7);
      font-size: 16px;
    }

    .hidden {
      display: none !important;
    }

    /* Settings Panel */
    .settings-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .settings-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .settings-panel {
      position: fixed;
      top: 0;
      right: -350px;
      width: 350px;
      height: 100%;
      background: linear-gradient(180deg, rgba(30, 30, 55, 0.97) 0%, rgba(20, 20, 40, 0.98) 100%);
      backdrop-filter: blur(40px);
      -webkit-backdrop-filter: blur(40px);
      z-index: 1001;
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-y: auto;
      padding: 24px;
      border-left: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    }

    .settings-panel.active {
      right: 0;
    }

    .settings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      padding-bottom: 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .settings-title {
      font-size: 20px;
      font-weight: 600;
      color: white;
    }

    .settings-close {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      padding: 4px;
      opacity: 0.7;
      transition: opacity 0.2s;
    }

    .settings-close:hover {
      opacity: 1;
    }

    .settings-section {
      margin-bottom: 25px;
    }

    .settings-label {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.6);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 12px;
    }

    .settings-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .settings-option-label {
      color: white;
      font-size: 15px;
    }

    .settings-select {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 8px;
      color: white;
      padding: 10px 12px;
      font-size: 14px;
      cursor: pointer;
      min-width: 120px;
    }

    .settings-select option {
      background: #1a1a2e;
    }

    .settings-btn {
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 14px;
      color: white;
      font-size: 14px;
      cursor: pointer;
      width: 100%;
      text-align: left;
      transition: background 0.2s;
    }

    .settings-btn:hover {
      background: rgba(255, 255, 255, 0.2);
    }

    .settings-divider {
      border: none;
      height: 1px;
      background: rgba(255, 255, 255, 0.15);
      margin: 20px 0;
    }

    .settings-about {
      text-align: center;
      padding: 10px 0;
    }

    .settings-logo {
      width: 80px;
      height: 80px;
      max-width: 80px;
      max-height: 80px;
      margin: 0 auto 16px auto;
      opacity: 0.8;
      display: block;
    }

    .settings-about p {
      color: rgba(255, 255, 255, 0.65);
      font-size: 12px;
      line-height: 1.6;
      margin: 0;
      padding: 0 10px;
    }

    .settings-version {
      text-align: center;
      color: rgba(255, 255, 255, 0.5);
      font-size: 13px;
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .version-number {
      font-size: 11px;
      margin-top: 8px;
      opacity: 0.6;
    }

    .theme-btn {
      background: rgba(255, 255, 255, 0.15);
      border: none;
      color: white;
      font-size: 16px;
      cursor: pointer;
      padding: 6px 10px;
      border-radius: 8px;
      transition: all 0.2s;
      margin-left: auto;
    }

    .theme-btn:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    /* Pull to refresh */
    .refresh-indicator {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%) translateY(-100%);
      background: rgba(255, 255, 255, 0.9);
      color: #1a1a2e;
      padding: 10px 20px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 500;
      z-index: 100;
      transition: transform 0.3s ease;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .refresh-indicator.active {
      transform: translateX(-50%) translateY(10px);
    }

    /* Sunrise/Sunset */
    .sun-times {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 10px;
    }

    .sun-time {
      display: flex;
      align-items: center;
      gap: 8px;
      color: rgba(255, 255, 255, 0.8);
      font-size: 14px;
    }

    .sun-time-icon {
      font-size: 18px;
    }

    /* Air Quality */
    .air-quality {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .aqi-badge {
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 600;
    }

    .aqi-good { background: #34C759; color: white; }
    .aqi-moderate { background: #FFD60A; color: black; }
    .aqi-unhealthy { background: #FF9500; color: white; }
    .aqi-very-unhealthy { background: #FF3B30; color: white; }
    .aqi-hazardous { background: #AF52DE; color: white; }

    /* Light theme */
    body.light-theme .search-bar,
    body.light-theme .detail-card,
    body.light-theme .hourly-item,
    body.light-theme .daily-item,
    body.light-theme .settings-panel {
      background: rgba(255, 255, 255, 0.7);
      border-color: rgba(0, 0, 0, 0.1);
    }

    body.light-theme .location-name,
    body.light-theme .current-temp,
    body.light-theme .condition,
    body.light-theme .detail-value,
    body.light-theme .section-title,
    body.light-theme .daily-day,
    body.light-theme .hourly-temp,
    body.light-theme .high-low {
      color: #1a1a2e;
      text-shadow: none;
    }

    body.light-theme .feels-like,
    body.light-theme .detail-label,
    body.light-theme .hourly-time,
    body.light-theme .daily-low {
      color: rgba(0, 0, 0, 0.6);
    }

    body.light-theme .search-input,
    body.light-theme .app-title {
      color: #1a1a2e;
    }

    body.light-theme .search-input::placeholder {
      color: rgba(0, 0, 0, 0.4);
    }

    @keyframes sunPulse {
      0%, 100% { transform: scale(1) rotate(0deg); }
      50% { transform: scale(1.1) rotate(180deg); }
    }

    @keyframes cloudMove {
      0%, 100% { transform: translateX(0); }
      50% { transform: translateX(20px); }
    }

    .animated-sun {
      animation: sunPulse 10s ease-in-out infinite;
      transform-origin: center;
    }

    .animated-cloud {
      animation: cloudMove 8s ease-in-out infinite;
    }
