/* ============================================================
   SkyPluss Video Downloader - Main Stylesheet
   Glassmorphism + Gradient Design System
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --primary:        #6C63FF;
  --primary-dark:   #5A52D5;
  --secondary:      #FF6B6B;
  --accent:         #43E97B;
  --gradient-main:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero:  linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --gradient-card:  linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  --glass-bg:       rgba(255, 255, 255, 0.08);
  --glass-border:   rgba(255, 255, 255, 0.15);
  --glass-blur:     blur(16px);
  --text-primary:   #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted:     rgba(255,255,255,0.45);
  --bg-body:        #0f0c29;
  --bg-card:        rgba(255,255,255,0.06);
  --bg-input:       rgba(255,255,255,0.1);
  --border-color:   rgba(255,255,255,0.12);
  --shadow-lg:      0 24px 60px rgba(0,0,0,0.4);
  --shadow-glow:    0 0 40px rgba(108,99,255,0.3);
  --radius-card:    20px;
  --radius-btn:     50px;
  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --font-display:   'Space Grotesk', sans-serif;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── LIGHT MODE ─────────────────────────────────────────── */
body.light-mode {
  --primary:        #5046e5;
  --gradient-hero:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --glass-bg:       rgba(255,255,255,0.85);
  --glass-border:   rgba(0,0,0,0.08);
  --text-primary:   #1a1a2e;
  --text-secondary: #444466;
  --text-muted:     #888899;
  --bg-body:        #f0f0f8;
  --bg-card:        rgba(255,255,255,0.9);
  --bg-input:       rgba(255,255,255,0.95);
  --border-color:   rgba(0,0,0,0.1);
  --shadow-lg:      0 24px 60px rgba(0,0,0,0.12);
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

body.light-mode { background: var(--bg-body); }

/* ── ANIMATED BG ────────────────────────────────────────── */
.bg-animated {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background: var(--gradient-hero);
  overflow: hidden;
}

body.light-mode .bg-animated {
  background: linear-gradient(135deg, #e8e8f8 0%, #d8d8f0 50%, #e8e0f8 100%);
}

.bg-animated::before, .bg-animated::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 20s infinite alternate ease-in-out;
}

.bg-animated::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
  top: -200px; right: -200px;
}

.bg-animated::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,60px) scale(1.1); }
}

/* ── GLASS CARD ─────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.glass-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--shadow-glow); }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar-sky {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(15,12,41,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

body.light-mode .navbar-sky {
  background: rgba(240,240,248,0.9);
}

.navbar-brand-sky {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-link-sky {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link-sky:hover { color: var(--text-primary) !important; background: var(--glass-bg); }

/* Theme toggle button */
.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.theme-toggle:hover { background: var(--primary); border-color: var(--primary); }

/* ── HERO SECTION ───────────────────────────────────────── */
.hero-section {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(108,99,255,0.2);
  border: 1px solid rgba(108,99,255,0.4);
  color: #a89fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ── URL INPUT BOX ──────────────────────────────────────── */
.url-input-wrapper {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.url-input-box {
  display: flex;
  gap: 0;
  background: var(--bg-input);
  backdrop-filter: blur(12px);
  border: 2px solid var(--glass-border);
  border-radius: 60px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.url-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 3px rgba(108,99,255,0.2);
}

#urlInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  min-width: 0;
}

#urlInput::placeholder { color: var(--text-muted); }

.paste-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  margin-right: 4px;
}

.paste-btn:hover { background: var(--glass-border); color: var(--text-primary); }

.download-btn-main {
  background: var(--gradient-main);
  border: none;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.download-btn-main:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(108,99,255,0.4);
}

.download-btn-main:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── PLATFORMS GRID ─────────────────────────────────────── */
.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.platform-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.platform-chip i { font-size: 0.9rem; }

/* ── RESULT CARD ─────────────────────────────────────────── */
#resultSection { display: none; margin-top: 2rem; }

.result-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.video-meta {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.video-thumbnail-wrap {
  position: relative;
  flex-shrink: 0;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
}

.video-thumbnail-wrap img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.video-duration {
  position: absolute;
  bottom: 6px; right: 6px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.video-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.video-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

.video-tag {
  background: rgba(108,99,255,0.2);
  color: #a89fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ── DOWNLOAD LINKS TABLE ─────────────────────────────────── */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.format-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}

.format-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(108,99,255,0.3);
}

.format-btn .format-quality {
  font-size: 1.1rem;
  font-weight: 700;
}

.format-btn .format-type {
  font-size: 0.75rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.format-btn .format-size {
  font-size: 0.7rem;
  opacity: 0.6;
}

.format-btn.audio-btn {
  background: rgba(255,107,107,0.1);
  border-color: rgba(255,107,107,0.3);
}

.format-btn.audio-btn:hover { background: #FF6B6B; border-color: #FF6B6B; }

/* ── LOADING STATES ─────────────────────────────────────── */
.loader-wrapper {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.sky-spinner {
  width: 60px; height: 60px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

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

.loader-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  animation: pulse 1.5s ease infinite;
}

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

/* ── STATS SECTION ──────────────────────────────────────── */
.stats-section { padding: 4rem 0; }

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ── FEATURES SECTION ───────────────────────────────────── */
.features-section { padding: 5rem 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 3rem;
}

.feature-card {
  padding: 2rem;
  height: 100%;
}

.feature-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(108,99,255,0.15);
  color: var(--primary);
}

.feature-card h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how-section { padding: 5rem 0; }

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(108,99,255,0.35);
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-section { padding: 5rem 0; }

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }
.faq-question i { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-question.open i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer.open { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ── REVIEWS ────────────────────────────────────────────── */
.reviews-section { padding: 5rem 0; }

.review-card { padding: 1.75rem; height: 100%; }

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

.review-stars { color: #FBBF24; font-size: 0.85rem; }

.review-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0.75rem 0;
}

.review-platform {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── ANNOUNCEMENT BAR ───────────────────────────────────── */
.announcement-bar {
  background: var(--gradient-main);
  color: white;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
}

.announcement-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ── ADS ────────────────────────────────────────────────── */
.ads-container { text-align: center; margin: 1.5rem 0; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer-sky {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-desc { color: var(--text-secondary); font-size: 0.9rem; max-width: 280px; }

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── COOKIE NOTICE ──────────────────────────────────────── */
.cookie-notice {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(92%, 520px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── ERROR TOAST ─────────────────────────────────────────── */
.sky-toast {
  position: fixed;
  top: 90px; right: 1.5rem;
  z-index: 9999;
  max-width: 340px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.sky-toast.error { border-left-color: #FF6B6B; }
.sky-toast.success { border-left-color: #34d399; }

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

/* ── QR CODE ─────────────────────────────────────────────── */
.qr-section { text-align: center; padding: 1rem; }

/* ── COPY URL BTN ────────────────────────────────────────── */
.copy-url-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-url-btn:hover { background: var(--glass-border); color: var(--text-primary); }

/* ── BLOG CARD ──────────────────────────────────────────── */
.blog-card {
  height: 100%;
  overflow: hidden;
  transition: var(--transition);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.blog-card-body { padding: 1.25rem; }
.blog-card-body h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.blog-card-body p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.sky-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.sky-breadcrumb a { color: var(--primary); text-decoration: none; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(108,99,255,0.35);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}

#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { transform: translateY(-3px); }

/* ── RECENT DOWNLOADS ───────────────────────────────────── */
.recent-download-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.recent-download-item:hover { background: var(--bg-input); }
.recent-thumb { width: 48px; height: 32px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.recent-title { font-size: 0.82rem; font-weight: 500; line-height: 1.3; }
.recent-platform { font-size: 0.7rem; color: var(--text-muted); }

/* ── MOBILE RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { padding: 110px 0 60px; }

  .url-input-box {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    gap: 8px;
  }

  .url-input-box input { padding: 0.5rem 0; }

  .paste-btn, .download-btn-main {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }

  .video-meta { flex-direction: column; }
  .video-thumbnail-wrap { width: 100%; }
  .video-thumbnail-wrap img { height: 180px; }

  .formats-grid { grid-template-columns: repeat(2, 1fr); }

  .platforms-grid .platform-chip:nth-child(n+13) { display: none; }

  .footer-sky .col-md-3 { margin-bottom: 1.5rem; }

  .cookie-notice { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .formats-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2rem; }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-sky {
  background: var(--gradient-main);
  border: none;
  color: white;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(108,99,255,0.4);
  color: white;
}

.btn-sky-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-sky-outline:hover {
  background: var(--primary);
  color: white;
}

.divider-text {
  position: relative;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 1.5rem 0;
}

.divider-text::before, .divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-color);
}

.divider-text::before { left: 0; }
.divider-text::after { right: 0; }

/* ── PWA INSTALL PROMPT ─────────────────────────────────── */
.pwa-prompt {
  position: fixed;
  bottom: 5rem; right: 1.5rem;
  z-index: 9998;
  max-width: 300px;
  padding: 1.25rem;
  border-radius: 16px;
  display: none;
}

/* ── PAGE TRANSITION ─────────────────────────────────────── */
.page-enter {
  animation: pageEnter 0.4s ease;
}

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