/* ==========================================================================
   EXTRATOR DE VÍDEO PRO - DESIGN SYSTEM & PREMIUM MODERN STYLES
   ========================================================================== */

:root {
  --sve-font: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Color Palette - Ultra Clean & Obsidian Dark */
  --sve-bg: #070a13;
  --sve-card-bg: rgba(15, 23, 42, 0.72);
  --sve-card-border: rgba(255, 255, 255, 0.08);
  --sve-card-glow: rgba(99, 102, 241, 0.12);
  
  --sve-text-main: #f8fafc;
  --sve-text-muted: #94a3b8;
  --sve-text-dim: #64748b;
  
  /* Brand Gradients */
  --sve-grad-ig: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  --sve-grad-tt: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #fe2c55 100%);
  --sve-grad-yt: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  --sve-grad-btn: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #c026d3 100%);
  --sve-grad-btn-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #a21caf 100%);
  
  /* Shadows & Radius */
  --sve-radius-sm: 10px;
  --sve-radius-md: 16px;
  --sve-radius-lg: 26px;
  --sve-radius-full: 9999px;
  
  --sve-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --sve-shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 40px rgba(99, 102, 241, 0.1);
}

/* Reset & Container */
.sve-root {
  box-sizing: border-box;
  font-family: var(--sve-font);
  color: var(--sve-text-main);
  background-color: var(--sve-bg);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99, 102, 241, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(14, 165, 233, 0.08), transparent 70%);
  min-height: 100%;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sve-root *,
.sve-root *::before,
.sve-root *::after {
  box-sizing: inherit;
}

/* App Main Card */
.sve-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--sve-card-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--sve-card-border);
  border-radius: var(--sve-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--sve-shadow-lg);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ambient Glow Orbs */
.sve-ambient-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
}

.sve-glow-1 {
  top: -90px;
  left: -70px;
  background: #833ab4;
}

.sve-glow-2 {
  bottom: -90px;
  right: -70px;
  background: #00f2fe;
}

/* Header */
.sve-header {
  text-align: center;
  margin-bottom: 28px;
}

.sve-badge {
  display: none !important;
}

.sve-title {
  font-size: clamp(28px, 5.5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px 0;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.sve-subtitle {
  font-size: 15px;
  color: var(--sve-text-muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 480px;
}

/* Platform Chips */
.sve-platforms {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.sve-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--sve-radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sve-text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.sve-platform-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.sve-platform-chip.active {
  color: #fff;
}

.sve-platform-yt.active {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.25);
}

.sve-platform-ig.active {
  background: rgba(225, 48, 108, 0.12);
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.25);
}

.sve-platform-tt.active {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.sve-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Input Form */
.sve-form {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sve-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sve-radius-md);
  padding: 4px 6px;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sve-input-wrapper:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sve-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--sve-text-dim);
}

.sve-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 4px;
  min-width: 0;
}

.sve-input::placeholder {
  color: var(--sve-text-dim);
}

.sve-paste-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sve-radius-sm);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.sve-paste-button:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.02);
}

.sve-clear-button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.2s;
  margin-right: 4px;
}

.sve-clear-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Auto-detect Tag */
.sve-detect-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--sve-radius-sm);
  font-size: 12px;
  font-weight: 600;
  animation: sveFadeIn 0.3s ease;
}

.sve-detect-tag.ig {
  background: rgba(225, 48, 108, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(225, 48, 108, 0.3);
}

.sve-detect-tag.tt {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.sve-detect-tag.yt {
  background: rgba(255, 0, 0, 0.15);
  color: #ef4444;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Submit Button */
.sve-btn-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sve-grad-btn);
  color: #ffffff;
  border: none;
  border-radius: var(--sve-radius-md);
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.4);
  touch-action: manipulation;
}

.sve-btn-submit:hover {
  background: var(--sve-grad-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(99, 102, 241, 0.55);
}

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

.sve-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.sve-btn-text {
  display: flex;
  align-items: center;
}

.sve-btn-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sveSpin 0.8s linear infinite;
}

/* Loading Area */
.sve-loading-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  animation: sveFadeIn 0.3s ease;
}

.sve-spinner-ring {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-top-color: #818cf8;
  border-right-color: #c084fc;
  border-radius: 50%;
  animation: sveSpin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  margin-bottom: 16px;
}

.sve-loading-title {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.sve-loading-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--sve-text-muted);
}

/* Error Card */
.sve-error-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--sve-radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  animation: sveFadeIn 0.3s ease;
}

.sve-error-icon {
  font-size: 20px;
}

.sve-error-content {
  flex: 1;
}

.sve-error-content h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  color: #fca5a5;
  font-weight: 700;
}

.sve-error-content p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

.sve-error-close {
  background: transparent;
  border: none;
  color: #fca5a5;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
}

/* Result Card */
.sve-result-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sve-radius-md);
  overflow: hidden;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: sveSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sve-preview-container {
  position: relative;
  width: 100%;
  max-height: 480px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sve-video-element {
  width: 100%;
  max-height: 480px;
  background: #000;
  outline: none;
}

.sve-thumb-element {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.sve-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--sve-radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  z-index: 2;
}

.sve-media-info {
  padding: 20px;
}

.sve-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sve-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.sve-author-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.sve-media-meta {
  font-size: 12px;
  color: var(--sve-text-dim);
}

.sve-caption-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 18px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Download Buttons Grid */
.sve-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.sve-download-action-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--sve-radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--sve-shadow-sm);
  user-select: none;
}

/* Botão Verde em Contagem Regressiva */
.sve-btn-hd-video.sve-btn-countdown {
  background: rgba(6, 78, 59, 0.45);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: #e2e8f0;
  cursor: wait;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sve-countdown-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px #10b981;
}

.sve-timer-icon {
  animation: sveTimerPulse 1.2s infinite ease-in-out;
  color: #34d399;
}

.sve-pill-countdown {
  background: rgba(16, 185, 129, 0.2) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #6ee7b7 !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.sve-pulsing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: svePulseDot 1.2s infinite ease-in-out;
}

/* Botão Verde Pronto / Desbloqueado */
.sve-btn-hd-video.sve-btn-ready,
.sve-btn-hd-video:not(.sve-btn-countdown) {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.45);
}

.sve-btn-hd-video.sve-btn-ready:hover,
.sve-btn-hd-video:not(.sve-btn-countdown):hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(16, 185, 129, 0.6);
}

@keyframes sveTimerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}

@keyframes sveBtnShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.sve-btn-shake {
  animation: sveBtnShake 0.4s ease-in-out;
}

@keyframes sveUnlockPop {
  0% { transform: scale(0.97); }
  50% { transform: scale(1.02); box-shadow: 0 0 35px rgba(16, 185, 129, 0.8); }
  100% { transform: scale(1); }
}

.sve-unlocked-pop {
  animation: sveUnlockPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sve-btn-audio {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.sve-btn-audio:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.sve-btn-icon-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sve-quality-pill {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--sve-radius-full);
  background: rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

/* Tools Row (Share, Copy Link, New) */
.sve-tools-row {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.sve-tool-btn {
  flex: 1;
  min-width: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sve-radius-sm);
  color: var(--sve-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sve-tool-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateY(-1px);
}

/* PWA Mobile Banner */
.sve-pwa-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--sve-radius-md);
  padding: 16px 20px;
  margin-top: 24px;
  animation: sveFadeIn 0.3s ease;
  gap: 16px;
}

.sve-pwa-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sve-pwa-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sve-grad-ig);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.sve-pwa-left strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}

.sve-pwa-left p {
  margin: 0;
  font-size: 12px;
  color: var(--sve-text-muted);
}

.sve-pwa-btn {
  background: #fff;
  color: #0f172a;
  border: none;
  border-radius: var(--sve-radius-full);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.sve-pwa-btn:hover {
  transform: scale(1.05);
}

/* History Section */
.sve-history-container {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sve-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sve-history-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #cbd5e1;
}

.sve-clear-history {
  background: transparent;
  border: none;
  color: var(--sve-text-dim);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
}

.sve-clear-history:hover {
  color: #ef4444;
}

.sve-history-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.sve-history-item {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sve-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sve-history-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.sve-history-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
  background: #1e293b;
}

.sve-history-item span {
  display: block;
  font-size: 11px;
  color: #cbd5e1;
  padding: 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FAQ Footer */
.sve-faq-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sve-faq-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 20px 0;
}

.sve-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 580px) {
  .sve-faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sve-faq-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  border-radius: var(--sve-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sve-faq-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.sve-faq-item strong {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 4px;
}

.sve-faq-item p {
  margin: 0;
  font-size: 12px;
  color: var(--sve-text-muted);
  line-height: 1.4;
}

/* iOS Modal */
.sve-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999999;
  animation: sveFadeIn 0.25s ease;
}

.sve-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sve-radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.sve-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sve-modal-icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.sve-modal-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}

.sve-modal-card p {
  font-size: 13px;
  color: var(--sve-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.sve-ios-steps {
  text-align: left;
  margin: 0 0 20px 0;
  padding-left: 20px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
}

.sve-ios-steps li {
  margin-bottom: 10px;
}

/* Animations */
@keyframes sveSpin {
  to { transform: rotate(360deg); }
}

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

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

/* Ads Containers */
.sve-ad-container {
  width: 100%;
  max-width: 680px;
  text-align: center;
  margin: 16px auto;
  overflow: hidden;
}

/* Mobile Optimizations */
@media (max-width: 640px) {
  .sve-card {
    padding: 24px 18px;
    border-radius: var(--sve-radius-md);
  }

  .sve-pwa-card {
    flex-direction: column;
    text-align: center;
  }

  .sve-pwa-left {
    flex-direction: column;
  }

  .sve-tools-row {
    flex-direction: column;
  }

  .sve-tool-btn {
    width: 100%;
  }
}
