* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
  --bg: #000000;
  --bg2: #0a0a0c;
  --surface: #1c1c1e;
  --surface2: #2c2c2e;
  --surface3: #3a3a3c;
  --text: #ffffff;
  --text2: #ebebf5;
  --text3: #8e8e93;
  --accent: #0a84ff;
  --accent2: #5e5ce6;
  --green: #30d158;
  --yellow: #ffd60a;
  --orange: #ff9f0a;
  --red: #ff453a;
  --purple: #bf5af2;
  --gray: #8e8e93;
}

body {
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  overflow: hidden;
  user-select: none;
}

/* ── Phone Frame ── */
.phone-frame {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.device {
  width: 375px;
  height: 762px;
  background: var(--bg2);
  border-radius: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.05), 0 20px 40px rgba(0,0,0,0.8);
}

/* On real phones: fill the entire screen */
@media (max-width: 430px), (max-height: 800px) {
  .phone-frame { background: #000; align-items: stretch; justify-content: stretch; }
  .device { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
}

/* ── Dynamic Island ── */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: 35px;
  background: var(--surface);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.dynamic-island.expanded { height: 70px; padding: 0 16px; }
.di-time { font-weight: 600; font-size: 15px; letter-spacing: 0.5px; }
.di-indicators { display: flex; gap: 4px; }
.di-dot { width: 6px; height: 6px; border-radius: 3px; background: var(--green); }
.di-camera {
  width: 24px; height: 24px; border-radius: 20px;
  background: #1a1a1e; border: 1px solid rgba(255,255,255,0.1);
  margin-left: 4px; position: relative;
}
.di-camera::after {
  content: ''; width: 8px; height: 8px; border-radius: 4px;
  background: #0a0a0c; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,0.2);
}
.di-live {
  background: var(--red); color: white;
  padding: 4px 8px; border-radius: 16px; font-size: 12px; font-weight: 600;
}

/* ── Main Container ── */
.container { position: absolute; inset: 0; overflow: hidden; }

/* ── Lock Screen ── */
.lock-screen {
  position: absolute; inset: 0; background: var(--bg); z-index: 900;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lock-screen.unlocked { transform: translateY(100%); }
.lock-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a2e, #16213e); }
.lock-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.2); backdrop-filter: blur(10px); }
.lock-content {
  position: relative; height: 100%; display: flex; flex-direction: column;
  justify-content: space-between; padding: 80px 24px 40px;
}
.lock-time { font-size: 82px; font-weight: 300; letter-spacing: -2px; line-height: 1; }
.lock-date { font-size: 18px; color: var(--text2); margin-top: 8px; font-weight: 400; }
.lock-notifications { display: flex; flex-direction: column; gap: 12px; }
.lock-notif {
  background: rgba(28,28,30,0.8); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  padding: 16px; display: flex; gap: 12px; align-items: center;
  animation: slideUp 0.3s ease;
}
.lock-notif-icon {
  width: 44px; height: 44px; border-radius: 22px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.lock-notif-content { flex: 1; }
.lock-notif-app { font-weight: 600; font-size: 15px; }
.lock-notif-text { color: var(--text2); font-size: 14px; margin-top: 2px; }
.lock-hint { text-align: center; color: var(--text3); font-size: 15px; letter-spacing: 0.5px; animation: pulse 2s infinite; }

/* ── Home Screen ── */
.home-screen {
  position: absolute; inset: 0; background: var(--bg);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  overflow-y: auto; padding-bottom: 20px;
  display: flex; flex-direction: column;
}
.home-screen.active { opacity: 1; pointer-events: all; }
.home-bg { position: fixed; inset: 0; background: linear-gradient(135deg, #0a0a0c, #1a1a2e); }
.home-header {
  position: relative; padding: 60px 20px 20px;
  display: flex; justify-content: space-between; align-items: center; z-index: 10;
}
.home-header-left, .home-header-right { display: flex; gap: 8px; }
.home-header-btn {
  width: 40px; height: 40px; border-radius: 20px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.05);
}
.home-header-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.2); }
.home-search {
  margin: 0 20px 20px; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 30px; padding: 12px 20px;
  display: flex; align-items: center; gap: 10px;
  color: var(--text3); font-size: 16px; cursor: pointer;
}
.home-search:active { background: rgba(255,255,255,0.15); }
.home-search span { color: var(--text3); font-size: 14px; }

/* ── App Grid ── */
.app-icon {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 12px 4px; border-radius: 16px;
  cursor: pointer; transition: all 0.2s; animation: fadeIn 0.3s ease;
}
.app-icon:active { transform: scale(0.9); background: rgba(255,255,255,0.05); }
.app-icon-wrapper {
  width: 60px; height: 60px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  overflow: hidden; flex-shrink: 0;
}
.app-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; border-radius: 11px;
  background: var(--red); color: white; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px; border: 2px solid var(--bg);
}
.app-name { font-size: 12px; font-weight: 500; color: var(--text2); }

/* ── Dock ── */
.dock {
  margin: 0 16px; background: rgba(28,28,30,0.8); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 40px;
  padding: 8px 12px; display: flex; justify-content: space-around;
}
.dock .app-icon .app-name { display: none; }
.dock .app-icon-wrapper { width: 54px; height: 54px; font-size: 28px; }

/* ── Paged App Grid ── */
.pages-wrapper { overflow: hidden; flex: 1; position: relative; margin: 0 0 4px; }
.pages-track {
  display: flex; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  will-change: transform; height: 100%;
}
.app-page {
  min-width: 100%; display: grid;
  grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(3,1fr);
  gap: 4px; padding: 0 12px; box-sizing: border-box; align-content: start;
}

@media (max-width: 430px) {
  .app-icon-wrapper { width: 68px; height: 68px; border-radius: 20px; font-size: 34px; }
  .dock .app-icon-wrapper { width: 62px; height: 62px; font-size: 30px; }
  .app-name { font-size: 11px; }
  .app-icon { padding: 10px 2px; }
}

/* ── Page dots ── */
.page-dots { display: flex; justify-content: center; gap: 6px; padding: 4px 0 8px; z-index: 10; position: relative; }
.page-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.3); transition: all 0.25s ease; }
.page-dot.active { width: 18px; background: rgba(255,255,255,0.9); }

/* ── Control Center ── */
.control-center {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(10,10,12,0.95); backdrop-filter: blur(40px);
  z-index: 950; padding: 70px 20px 30px;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255,255,255,0.1); max-height: 80vh; overflow-y: auto;
}
.control-center.open { transform: translateY(0); }
.cc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.cc-item {
  background: rgba(44,44,46,0.8); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 16px 8px; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.cc-item:active { transform: scale(0.95); background: rgba(44,44,46,1); }
.cc-item.active { background: var(--accent); }
.cc-icon { font-size: 24px; margin-bottom: 6px; }
.cc-label { font-size: 12px; color: var(--text2); }
.cc-slider-container { margin: 20px 0; }
.cc-slider-label { display: flex; justify-content: space-between; color: var(--text2); font-size: 14px; margin-bottom: 8px; }
.cc-slider { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; position: relative; }
.cc-slider-fill { height: 100%; background: white; border-radius: 3px; width: 65%; }

/* ── Notification Center ── */
.notification-center {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(10,10,12,0.98); backdrop-filter: blur(40px);
  z-index: 940; padding: 70px 16px 20px;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 85vh; overflow-y: auto;
}
.notification-center.open { transform: translateY(0); }
.nc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 0 4px; }
.nc-title { font-weight: 700; font-size: 24px; }
.nc-clear { color: var(--accent); font-size: 16px; cursor: pointer; padding: 8px 12px; border-radius: 20px; background: rgba(255,255,255,0.05); }
.nc-clear:active { background: rgba(255,255,255,0.1); }
.nc-group { margin-bottom: 24px; }
.nc-group-title { color: var(--text3); font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0 4px; }
.nc-notification {
  background: rgba(44,44,46,0.6); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 16px; margin-bottom: 8px;
  display: flex; gap: 12px; cursor: pointer; animation: slideIn 0.3s ease;
}
.nc-notification:active { background: rgba(44,44,46,0.8); }

/* ── Notification Panel (swipe top-left) ── */
.notification-panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: rgba(10,10,12,0.97); backdrop-filter: blur(40px);
  z-index: 945; padding: 60px 16px 20px;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-height: 85%; overflow-y: auto; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.notification-panel.open { transform: translateY(0); }
.np-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.np-title { font-weight: 700; font-size: 22px; }
.np-clear { color: var(--accent); font-size: 14px; cursor: pointer; padding: 6px 12px; border-radius: 16px; background: rgba(255,255,255,0.05); }

/* ── Settings Quick Panel (swipe top-right) ── */
.settings-panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: rgba(10,10,12,0.97); backdrop-filter: blur(40px);
  z-index: 944; padding: 60px 16px 24px;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.settings-panel.open { transform: translateY(0); }
.sp-title { font-weight: 700; font-size: 22px; margin-bottom: 20px; }
.sp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 20px; }
.sp-item {
  background: rgba(44,44,46,0.8); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 14px 6px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.sp-item:active { transform: scale(0.92); }
.sp-item.on { background: var(--accent); }
.sp-icon { font-size: 22px; margin-bottom: 5px; }
.sp-label { font-size: 11px; color: var(--text2); }

/* ── Apps Container ── */
.apps-container {
  position: absolute; inset: 0; background: var(--bg2);
  z-index: 800; display: none; flex-direction: column;
}
.apps-container.active { display: flex; }
.app-header {
  height: 70px; display: flex; align-items: center; padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,10,12,0.8); backdrop-filter: blur(20px);
}
.app-back {
  width: 40px; height: 40px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: pointer; transition: all 0.2s;
}
.app-back:active { background: rgba(255,255,255,0.1); transform: scale(0.9); }
.app-title { flex: 1; text-align: center; font-weight: 600; font-size: 18px; }
.app-content { flex: 1; overflow-y: auto; padding: 16px; scrollbar-width: none; }

/* ── WebView ── */
.webview-container { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.webview-container iframe { flex: 1; border: none; width: 100%; height: 100%; }
.webview-bar {
  background: rgba(10,10,12,0.95); backdrop-filter: blur(20px);
  padding: 8px 12px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.webview-url {
  flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 6px 12px; font-size: 12px; color: var(--text3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.webview-btn {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; transition: all 0.15s;
}
.webview-btn:active { background: rgba(255,255,255,0.15); }

/* ── Call Screen ── */
.call-screen { position: absolute; inset: 0; background: var(--bg); z-index: 1000; display: none; flex-direction: column; }
.call-screen.active { display: flex; }
.call-video { flex: 1; background: #1a1a1e; position: relative; }
.call-video video { width: 100%; height: 100%; object-fit: cover; }
.call-self-video {
  position: absolute; bottom: 100px; right: 20px; width: 90px; height: 130px;
  background: #2c2c2e; border-radius: 20px; border: 2px solid white; overflow: hidden;
}
.call-info { text-align: center; padding: 30px 20px; }
.call-name { font-size: 32px; font-weight: 600; margin-bottom: 8px; }
.call-duration { color: var(--text2); font-size: 18px; }
.call-actions { display: flex; justify-content: center; gap: 30px; padding: 20px; }
.call-btn { width: 70px; height: 70px; border-radius: 35px; display: flex; align-items: center; justify-content: center; font-size: 30px; cursor: pointer; transition: all 0.2s; }
.call-btn:active { transform: scale(0.9); }
.call-btn.end { background: var(--red); color: white; }
.call-btn.mute { background: rgba(255,255,255,0.1); }

/* ── Phone App ── */
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.key {
  aspect-ratio: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; cursor: pointer; transition: all 0.2s;
}
.key:active { background: rgba(255,255,255,0.15); transform: scale(0.95); }
.key-number { font-size: 32px; font-weight: 400; }
.key-letters { font-size: 11px; color: var(--text3); margin-top: 2px; }
.dial-number { font-size: 40px; font-weight: 300; text-align: center; margin: 20px 0; padding: 10px; background: rgba(255,255,255,0.03); border-radius: 20px; letter-spacing: 2px; }
.call-actions-row { display: flex; justify-content: center; gap: 30px; margin: 20px 0; }

/* ── Messages App ── */
.threads-list { display: flex; flex-direction: column; gap: 8px; }
.thread { display: flex; gap: 12px; padding: 12px; border-radius: 16px; cursor: pointer; transition: all 0.2s; background: rgba(255,255,255,0.02); }
.thread:active { background: rgba(255,255,255,0.05); }
.thread-avatar { width: 54px; height: 54px; border-radius: 27px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; font-weight: 600; flex-shrink: 0; }
.thread-info { flex: 1; }
.thread-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.thread-name { font-weight: 600; font-size: 16px; }
.thread-time { color: var(--text3); font-size: 13px; }
.thread-last { color: var(--text2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-badge { background: var(--accent); color: white; font-size: 12px; font-weight: 600; min-width: 22px; height: 22px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-left: 8px; }
.chat-view { display: flex; flex-direction: column; height: 100%; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.message { max-width: 80%; padding: 14px 18px; border-radius: 22px; font-size: 15px; line-height: 1.4; animation: messageIn 0.3s ease; }
.message.sent { align-self: flex-end; background: var(--accent); border-bottom-right-radius: 6px; }
.message.received { align-self: flex-start; background: rgba(44,44,46,0.8); border-bottom-left-radius: 6px; }
.message-time { font-size: 11px; color: var(--text3); margin-top: 4px; text-align: right; }
.message.sent .message-time { color: rgba(255,255,255,0.7); }
.chat-input-area { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; gap: 8px; background: rgba(10,10,12,0.8); backdrop-filter: blur(10px); }
.chat-input { flex: 1; background: rgba(44,44,46,0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 14px 18px; color: white; font-size: 16px; outline: none; }
.chat-input:focus { border-color: var(--accent); }
.chat-send { width: 52px; height: 52px; border-radius: 26px; background: var(--accent); border: none; color: white; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.chat-send:active { transform: scale(0.9); }

/* ── Camera App ── */
.camera-view { flex: 1; background: #000; position: relative; overflow: hidden; }
#camera-preview { width: 100%; height: 100%; object-fit: cover; }
.camera-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 33.33% 25%; pointer-events: none; }
.camera-controls { position: absolute; bottom: 40px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.camera-modes { display: flex; gap: 20px; background: rgba(0,0,0,0.6); padding: 10px 20px; border-radius: 40px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); }
.camera-mode { color: var(--text3); font-size: 15px; font-weight: 500; padding: 6px 12px; border-radius: 20px; cursor: pointer; transition: all 0.2s; }
.camera-mode.active { color: var(--yellow); background: rgba(255,255,255,0.1); }
.camera-shutter-row { display: flex; align-items: center; gap: 30px; }
.camera-shutter { width: 80px; height: 80px; border-radius: 40px; background: white; border: 4px solid rgba(255,255,255,0.3); cursor: pointer; transition: all 0.2s; }
.camera-shutter:active { transform: scale(0.9); background: #f0f0f0; }
.camera-side-btn { width: 56px; height: 56px; border-radius: 28px; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.2s; }
.camera-side-btn:active { transform: scale(0.9); background: rgba(0,0,0,0.8); }
.camera-gallery-thumb { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3); overflow: hidden; cursor: pointer; }
.camera-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Photos App ── */
.photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.photo-item { aspect-ratio: 1; background: var(--surface); cursor: pointer; transition: all 0.2s; }
.photo-item:active { opacity: 0.7; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contacts App ── */
.contacts-list { display: flex; flex-direction: column; gap: 8px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 16px; cursor: pointer; transition: all 0.2s; background: rgba(255,255,255,0.02); }
.contact-item:active { background: rgba(255,255,255,0.05); }
.contact-avatar { width: 52px; height: 52px; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; font-weight: 600; }
.contact-details { flex: 1; }
.contact-name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.contact-phone { color: var(--text3); font-size: 14px; }
.contact-actions { display: flex; gap: 12px; }
.contact-action { width: 44px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; transition: all 0.2s; }
.contact-action:active { background: rgba(255,255,255,0.1); transform: scale(0.9); }

/* ── Voicemail App ── */
.voicemail-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: all 0.2s; }
.voicemail-item:active { background: rgba(255,255,255,0.02); }
.voicemail-icon { width: 52px; height: 52px; border-radius: 26px; background: var(--purple); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.voicemail-info { flex: 1; }
.voicemail-contact { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.voicemail-meta { color: var(--text3); font-size: 13px; margin-bottom: 4px; }
.voicemail-transcript { color: var(--text2); font-size: 14px; font-style: italic; }

/* ── Settings App ── */
.settings-group { margin-bottom: 24px; }
.settings-header { color: var(--text3); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; padding: 0 12px; }
.settings-item { display: flex; align-items: center; gap: 16px; padding: 16px; cursor: pointer; transition: all 0.2s; border-radius: 12px; }
.settings-item:active { background: rgba(255,255,255,0.02); }
.settings-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: rgba(255,255,255,0.05); }
.settings-label { flex: 1; font-size: 16px; }
.settings-value { color: var(--text3); font-size: 15px; }

/* ── Toast ── */
.toast-container { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 2000; pointer-events: none; }
.toast { background: rgba(28,28,30,0.9); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 14px 28px; border-radius: 40px; font-size: 16px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.5); animation: toastIn 0.3s ease, toastOut 0.3s 2.2s ease forwards; }

/* ── Quick Actions ── */
.quick-actions { position: fixed; z-index: 2000; background: rgba(28,28,30,0.95); backdrop-filter: blur(40px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 8px 0; min-width: 220px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); opacity: 0; transform: scale(0.8); transition: all 0.2s; pointer-events: none; }
.quick-actions.show { opacity: 1; transform: scale(1); pointer-events: all; }
.qa-item { padding: 16px 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: all 0.2s; }
.qa-item:active { background: rgba(255,255,255,0.05); }
.qa-icon { width: 28px; font-size: 20px; }
.qa-text { font-size: 16px; font-weight: 500; }

/* ── Empty States ── */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 20px; padding: 40px; text-align: center; }
.empty-icon { font-size: 80px; opacity: 0.3; }
.empty-text { color: var(--text3); font-size: 16px; line-height: 1.5; }

/* ── Loading States ── */
.loading { display: flex; justify-content: center; padding: 40px; }
.loading-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--text3); margin: 0 4px; animation: loading 1s infinite; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* ── Gesture Hint ── */
.gesture-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 140px; height: 5px; background: rgba(255,255,255,0.3); border-radius: 3px; z-index: 1000; }

/* ── Animations ── */
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes messageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-20px); } }
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes loading { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.2); opacity: 1; } }
