/* ===== VARIABLES & RESET ===== */
:root {
  --bg-primary: #07071a;
  --bg-secondary: #0d0d2b;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --purple-glow: rgba(124, 58, 237, 0.4);
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 58, 237, 0.5);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== BACKGROUND ANIMÉ ===== */
.bg-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: var(--max-op, 0.8); transform: scale(1); }
}

.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
}

/* ===== APP CONTAINER ===== */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 90px;
}

/* ===== HEADER ===== */
.app-header {
  padding: 50px 24px 24px;
  text-align: center;
  position: relative;
}

.header-orb {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  position: relative;
}

.orb-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a78bfa, #7c3aed 50%, #4c1d95);
  box-shadow:
    0 0 30px rgba(124, 58, 237, 0.6),
    0 0 60px rgba(124, 58, 237, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: orbPulse 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(124,58,237,0.6), 0 0 60px rgba(124,58,237,0.3), inset 0 0 20px rgba(255,255,255,0.1); transform: scale(1); }
  50% { box-shadow: 0 0 50px rgba(124,58,237,0.9), 0 0 100px rgba(124,58,237,0.5), inset 0 0 30px rgba(255,255,255,0.15); transform: scale(1.05); }
}

.orb-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.4);
  animation: ringRotate 8s linear infinite;
}

.orb-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.app-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #f1f5f9 0%, #a78bfa 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.app-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ===== LIVE CLOCK ===== */
.live-clock-section {
  padding: 0 24px 24px;
}

.live-clock-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.live-clock-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.8), transparent);
}

.live-clock-card.is-mirror {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
  animation: mirrorGlow 1s ease-in-out infinite alternate;
}

@keyframes mirrorGlow {
  from { box-shadow: 0 0 20px rgba(245,158,11,0.3); }
  to { box-shadow: 0 0 60px rgba(245,158,11,0.6), 0 0 100px rgba(245,158,11,0.2); }
}

.clock-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.clock-time {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #f1f5f9, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.clock-time.is-mirror {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  animation: textPulse 0.5s ease-in-out infinite alternate;
}

@keyframes textPulse {
  from { opacity: 0.8; }
  to { opacity: 1; }
}

.clock-date {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.clock-seconds {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.mirror-badge {
  display: none;
  margin-top: 16px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(252,211,77,0.1));
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  animation: fadeInUp 0.5s ease;
}

.mirror-badge.show { display: inline-block; }

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

/* ===== CURRENT MIRROR MESSAGE ===== */
.current-message {
  margin: 0 24px 24px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(252,211,77,0.05));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  display: none;
  animation: fadeInUp 0.5s ease;
}

.current-message.show { display: block; }

.current-message-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.current-message-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

/* ===== NEXT MIRROR ===== */
.next-mirror-section {
  padding: 0 24px 24px;
}

.next-mirror-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.next-mirror-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
}

.next-mirror-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(6,182,212,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.next-mirror-info { flex: 1; }

.next-mirror-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.next-mirror-time {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-light);
}

.next-mirror-countdown {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.next-mirror-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: right;
}

/* ===== TABS ===== */
.tabs-section {
  padding: 0 24px 16px;
}

.tabs {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
}

.tab-btn {
  flex: 1;
  padding: 10px 8px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  color: white;
  box-shadow: 0 4px 15px rgba(124,58,237,0.4);
}

.tab-btn:hover:not(.active) {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* ===== TAB CONTENT ===== */
.tab-content { display: none; padding: 0 24px; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }

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

/* ===== MIRROR HOURS GRID ===== */
.mirror-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mirror-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mirror-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-gradient, linear-gradient(90deg, var(--purple), var(--cyan)));
  opacity: 0;
  transition: var(--transition);
}

.mirror-card:hover::before,
.mirror-card.expanded::before { opacity: 1; }

.mirror-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.mirror-card.is-current {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245,158,11,0.2);
}

.mirror-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mirror-time-badge {
  min-width: 68px;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(124,58,237,0.1));
  border: 1px solid rgba(124,58,237,0.3);
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-light);
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.mirror-card.is-current .mirror-time-badge {
  background: linear-gradient(135deg, rgba(245,158,11,0.3), rgba(245,158,11,0.1));
  border-color: rgba(245,158,11,0.5);
  color: var(--gold-light);
}

.mirror-card-info { flex: 1; min-width: 0; }

.mirror-card-emoji {
  font-size: 18px;
  margin-right: 6px;
}

.mirror-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.mirror-card-preview {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mirror-card-arrow {
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
  flex-shrink: 0;
}

.mirror-card.expanded .mirror-card-arrow {
  transform: rotate(180deg);
  color: var(--purple-light);
}

.mirror-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.mirror-card.expanded .mirror-card-body {
  max-height: 300px;
  opacity: 1;
}

.mirror-card-body-inner {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.mirror-full-message {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.mirror-numerology {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.numerology-tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid;
}

.tag-energy {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.3);
  color: var(--purple-light);
}

.tag-theme {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: var(--gold-light);
}

.tag-element {
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.3);
  color: #67e8f9;
}

/* ===== CURRENT BADGE ON CARD ===== */
.current-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(245,158,11,0.2);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-light);
  margin-left: 8px;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== SETTINGS TAB ===== */
.settings-section { display: flex; flex-direction: column; gap: 16px; }

.settings-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.settings-group-title {
  padding: 14px 18px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: var(--bg-card-hover); }

.settings-item-info { flex: 1; }

.settings-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.settings-item-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ===== TOGGLE SWITCH ===== */
.toggle {
  position: relative;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  border-color: var(--purple);
  box-shadow: 0 0 15px rgba(124,58,237,0.4);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* ===== NOTIFICATION PERMISSION BANNER ===== */
.notif-banner {
  margin: 0 24px 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: var(--radius);
  display: none;
  animation: fadeInUp 0.5s ease;
}

.notif-banner.show { display: block; }

.notif-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-banner-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.btn-enable-notif {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-enable-notif:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124,58,237,0.5);
}

.btn-enable-notif:active { transform: translateY(0); }

/* ===== INSTALL BANNER ===== */
.install-banner {
  margin: 0 24px 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(252,211,77,0.05));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  display: none;
  animation: fadeInUp 0.5s ease;
  align-items: center;
  gap: 14px;
}

.install-banner.show { display: flex; }

.install-banner-icon { font-size: 28px; }

.install-banner-info { flex: 1; }

.install-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.install-banner-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-install {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-install:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245,158,11,0.4); }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 12px 24px 20px;
  background: rgba(7, 7, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 100;
  display: flex;
  justify-content: space-around;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-muted);
}

.nav-btn.active { color: var(--purple-light); }
.nav-btn:hover:not(.active) { color: var(--text-secondary); background: var(--bg-card); }

.nav-icon { font-size: 22px; transition: var(--transition); }
.nav-label { font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
.nav-btn.active .nav-icon { filter: drop-shadow(0 0 8px rgba(167,139,250,0.8)); transform: scale(1.1); }

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: calc(100% - 48px);
  max-width: 400px;
}

.toast {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(20px);
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
}

.toast-success { background: linear-gradient(135deg, rgba(16,185,129,0.9), rgba(5,150,105,0.9)); border: 1px solid rgba(16,185,129,0.5); }
.toast-info { background: linear-gradient(135deg, rgba(124,58,237,0.9), rgba(109,40,217,0.9)); border: 1px solid rgba(124,58,237,0.5); }
.toast-warning { background: linear-gradient(135deg, rgba(245,158,11,0.9), rgba(217,119,6,0.9)); border: 1px solid rgba(245,158,11,0.5); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== PARTICLE BURST ===== */
.particle-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: particleFly var(--dur, 1s) ease-out forwards;
}

@keyframes particleFly {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx, 0), var(--ty, -100px)) scale(0); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.about-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hours-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.timeline-hour {
  padding: 4px 10px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  font-variant-numeric: tabular-nums;
}

.timeline-hour.special {
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.3);
  color: var(--gold-light);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
  .clock-time { font-size: 56px; }
  .app-title { font-size: 24px; }
  .mirror-time-badge { font-size: 15px; min-width: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== SPLASH ===== */
.splash {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash.hidden { opacity: 0; visibility: hidden; }

.splash-orb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a78bfa, #7c3aed 50%, #4c1d95);
  box-shadow: 0 0 60px rgba(124,58,237,0.8), 0 0 120px rgba(124,58,237,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  animation: splashPulse 1.5s ease-in-out infinite;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(124,58,237,0.8); }
  50% { transform: scale(1.08); box-shadow: 0 0 100px rgba(124,58,237,1); }
}

.splash-title {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #f1f5f9, #a78bfa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.splash-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.splash-loader {
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 10px;
}

.splash-loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 2px;
  animation: loadBar 1.5s ease-in-out forwards;
}

@keyframes loadBar {
  from { width: 0%; }
  to { width: 100%; }
}