/* ============================================================
   Android Phone Emulator — Premium Dark Glassmorphic Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* ──────────────────────────────────────────────────────────────
   Reset & Base
   ────────────────────────────────────────────────────────────── */

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

body {
  background: #06060e;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ──────────────────────────────────────────────────────────────
   Phone Frame & Structure
   ────────────────────────────────────────────────────────────── */

.phone-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.phone-frame {
  width: 400px;
  height: 820px;
  background: linear-gradient(160deg, #1a1a2e, #16163a);
  border-radius: 48px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.06),
    0 0 60px rgba(108, 92, 231, 0.15),
    0 20px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(108, 92, 231, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-notch {
  width: 12px;
  height: 12px;
  background: #0a0b14;
  border-radius: 50%;
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  box-shadow:
    0 0 0 3px #13131f,
    inset 0 0 4px rgba(108, 92, 231, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0b14;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

/* ──────────────────────────────────────────────────────────────
   Status Bar
   ────────────────────────────────────────────────────────────── */

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-size: 12px;
  color: white;
  z-index: 10;
  position: relative;
  font-weight: 500;
}

.status-bar-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  opacity: 0.9;
}

/* ──────────────────────────────────────────────────────────────
   Screen Transition System
   ────────────────────────────────────────────────────────────── */

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

.screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.screen.slide-left {
  opacity: 0.5;
  transform: translateX(-30%);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────
   Home Screen
   ────────────────────────────────────────────────────────────── */

.home-screen {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 206, 201, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(86, 38, 196, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #0d0d1a 0%, #0a0b14 100%);
}

.home-clock {
  font-size: 64px;
  font-weight: 200;
  text-align: center;
  color: white;
  margin-top: 60px;
  letter-spacing: 2px;
  text-shadow:
    0 0 20px rgba(108, 92, 231, 0.3),
    0 0 60px rgba(108, 92, 231, 0.1);
}

.home-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 30px;
  margin-top: 40px;
}

.app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.app-icon:hover {
  transform: scale(1.05);
}

.app-icon:active {
  transform: scale(0.85);
}

.app-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(108, 92, 231, 0.1);
  transition: box-shadow 0.3s ease;
}

.app-icon:hover .app-icon-img {
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(108, 92, 231, 0.2);
}

.app-icon-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  text-align: center;
  font-weight: 400;
}

/* App Icon Variants */
.icon-qr {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.icon-messages {
  background: linear-gradient(135deg, #00b894, #00cec9);
}

.icon-sim {
  background: linear-gradient(135deg, #e17055, #fdcb6e);
}

.icon-settings {
  background: linear-gradient(135deg, #636e72, #b2bec3);
}

/* ──────────────────────────────────────────────────────────────
   App Header (Shared)
   ────────────────────────────────────────────────────────────── */

.app-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 5;
}

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.app-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-left: 12px;
}

.header-badge {
  margin-left: auto;
  background: rgba(108, 92, 231, 0.2);
  color: #a29bfe;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(108, 92, 231, 0.15);
}

/* ──────────────────────────────────────────────────────────────
   QR Scanner Screen
   ────────────────────────────────────────────────────────────── */

.qr-screen {
  background: #0a0b14;
}

.qr-upload-area {
  margin: 20px;
  height: 280px;
  border: 2px dashed rgba(108, 92, 231, 0.4);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(108, 92, 231, 0.05);
  user-select: none;
}

.qr-upload-area:hover {
  border-color: #6c5ce7;
  background: rgba(108, 92, 231, 0.1);
}

.qr-upload-area.dragover {
  border-color: #a29bfe;
  background: rgba(108, 92, 231, 0.15);
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(108, 92, 231, 0.15);
}

.qr-upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.qr-upload-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.qr-upload-hint {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  margin-top: 4px;
}

.qr-preview {
  display: none;
  margin: 20px;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.qr-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 12px;
  object-fit: contain;
}

.qr-result {
  margin: 16px 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.4s ease;
}

.qr-result-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 500;
}

.qr-result-text {
  color: white;
  font-size: 14px;
  word-break: break-all;
  line-height: 1.6;
}

.qr-result-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* ──────────────────────────────────────────────────────────────
   5SIM / Phone Screen
   ────────────────────────────────────────────────────────────── */

.sim-screen {
  background: #0a0b14;
  overflow-y: auto;
}

.sim-balance {
  text-align: center;
  padding: 20px;
  margin: 16px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 206, 201, 0.1));
  border-radius: 20px;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.sim-balance-amount {
  font-size: 32px;
  font-weight: 700;
  color: #a29bfe;
  letter-spacing: 0.5px;
}

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

.sim-section {
  padding: 0 16px;
  margin-bottom: 16px;
}

.sim-section-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-left: 4px;
  font-weight: 500;
}

.sim-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: white;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a29bfe' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.sim-select:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.sim-select option {
  background: #1a1a2e;
  color: white;
  padding: 8px;
}

.sim-buy-btn {
  width: calc(100% - 32px);
  margin: 8px 16px;
  padding: 16px;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.sim-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.sim-buy-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.sim-buy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sim-buy-btn.loading {
  pointer-events: none;
  color: transparent;
}

.sim-buy-btn.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

/* ──────────────────────────────────────────────────────────────
   Active Orders
   ────────────────────────────────────────────────────────────── */

.order-card {
  margin: 0 16px 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.4s ease both;
}

.order-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-phone {
  font-size: 16px;
  font-weight: 600;
  color: white;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  letter-spacing: 0.5px;
}

.order-status {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-status.pending {
  background: rgba(253, 203, 110, 0.15);
  color: #fdcb6e;
  animation: pulse 2s ease-in-out infinite;
}

.order-status.received {
  background: rgba(0, 184, 148, 0.15);
  color: #00b894;
}

.order-status.finished {
  background: rgba(108, 92, 231, 0.15);
  color: #a29bfe;
}

.order-status.canceled {
  background: rgba(255, 118, 117, 0.15);
  color: #ff7675;
}

.order-status.timeout {
  background: rgba(99, 110, 114, 0.15);
  color: #b2bec3;
}

.order-status.banned {
  background: rgba(214, 48, 49, 0.15);
  color: #d63031;
}

.order-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.order-sms {
  padding: 12px;
  background: rgba(0, 184, 148, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(0, 184, 148, 0.15);
  margin-top: 10px;
}

.order-sms-code {
  font-size: 28px;
  font-weight: 700;
  color: #00b894;
  text-align: center;
  letter-spacing: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.order-sms-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  text-align: center;
  line-height: 1.5;
}

.order-sms-sender {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 4px;
}

.order-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.order-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.order-btn.finish {
  background: rgba(0, 184, 148, 0.15);
  color: #00b894;
  border: 1px solid rgba(0, 184, 148, 0.2);
}

.order-btn.cancel {
  background: rgba(255, 118, 117, 0.1);
  color: #ff7675;
  border: 1px solid rgba(255, 118, 117, 0.2);
}

.order-btn.ban {
  background: rgba(214, 48, 49, 0.1);
  color: #d63031;
  border: 1px solid rgba(214, 48, 49, 0.2);
}

.order-btn.copy {
  background: rgba(108, 92, 231, 0.15);
  color: #a29bfe;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.order-btn:hover {
  filter: brightness(1.3);
}

.order-btn:active {
  transform: scale(0.97);
}

/* ──────────────────────────────────────────────────────────────
   Messages Screen
   ────────────────────────────────────────────────────────────── */

.messages-screen {
  background: #0a0b14;
  overflow-y: auto;
}

.message-list {
  padding: 8px;
}

.message-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  margin-bottom: 2px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  align-items: center;
}

.message-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.message-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: white;
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-sender {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.message-preview {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.message-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.message-unread {
  width: 8px;
  height: 8px;
  background: #6c5ce7;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(108, 92, 231, 0.5);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.3);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 14px;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────────
   Settings Screen
   ────────────────────────────────────────────────────────────── */

.settings-screen {
  background: #0a0b14;
  overflow-y: auto;
}

.settings-group {
  margin: 16px;
}

.settings-group-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-left: 4px;
  font-weight: 500;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: background 0.2s ease;
}

.settings-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.settings-item-label {
  font-size: 14px;
  color: white;
  font-weight: 500;
}

.settings-item-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

/* ──────────────────────────────────────────────────────────────
   Notification Toast
   ────────────────────────────────────────────────────────────── */

.notification-toast {
  position: absolute;
  top: 40px;
  left: 12px;
  right: 12px;
  background: rgba(30, 30, 50, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 14px 16px;
  z-index: 100;
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.notification-toast.show {
  transform: translateY(0);
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-app {
  font-size: 10px;
  color: #6c5ce7;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.notification-title {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.notification-body {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  line-height: 1.4;
}

/* ──────────────────────────────────────────────────────────────
   Navigation Bar
   ────────────────────────────────────────────────────────────── */

.nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 12px;
  background: rgba(10, 11, 20, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
}

.nav-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

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

.nav-bar-indicator {
  width: 134px;
  height: 4px;
  background: white;
  border-radius: 2px;
  margin: 0 auto;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

/* ──────────────────────────────────────────────────────────────
   Buttons General
   ────────────────────────────────────────────────────────────── */

.btn-primary {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
}

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

.btn-secondary {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(108, 92, 231, 0.4);
  border-radius: 12px;
  color: #a29bfe;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(108, 92, 231, 0.1);
  border-color: #6c5ce7;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  font-size: 18px;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ──────────────────────────────────────────────────────────────
   Custom Scrollbar
   ────────────────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 92, 231, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 92, 231, 0.5);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(108, 92, 231, 0.3) transparent;
}

/* ──────────────────────────────────────────────────────────────
   Loading Spinner
   ────────────────────────────────────────────────────────────── */

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #6c5ce7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ──────────────────────────────────────────────────────────────
   Keyframe Animations
   ────────────────────────────────────────────────────────────── */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

@keyframes slideDown {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(0);
  }
}

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

/* ──────────────────────────────────────────────────────────────
   Responsive — Small Screens
   ────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .phone-container {
    padding: 0;
  }

  .phone-frame {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .phone-screen {
    border-radius: 0;
  }

  .phone-notch {
    top: 10px;
  }

  body {
    background: #0a0b14;
  }
}
