/* HorizonFetch Pro - Design System & AdSense Integration Suite */
:root {
  --bg-dark: #090a0f;
  --bg-card: rgba(18, 22, 36, 0.8);
  --bg-card-hover: rgba(28, 34, 56, 0.9);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(139, 92, 246, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-primary: #8b5cf6;
  --accent-secondary: #ec4899;
  --accent-gold: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);

  /* Platform Accent Colors */
  --youtube-red: #ff0000;
  --instagram-pink: #e1306c;
  --tiktok-cyan: #00f2fe;
  --facebook-blue: #1877f2;
  --twitter-blue: #1da1f2;
  --reddit-orange: #ff4500;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glows */
.ambient-glow {
  position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; z-index: 0; opacity: 0.35;
}

.glow-1 { width: 550px; height: 550px; background: radial-gradient(circle, #7c3aed, transparent 70%); top: -100px; left: 15%; }
.glow-2 { width: 450px; height: 450px; background: radial-gradient(circle, #ec4899, transparent 70%); top: 350px; right: -100px; }
.glow-3 { width: 600px; height: 600px; background: radial-gradient(circle, #3b82f6, transparent 70%); bottom: -200px; left: -100px; }

.app-container { max-width: 1200px; margin: 0 auto; padding: 12px 20px; position: relative; z-index: 1; }

/* Official Google AdSense Clean Slots (Strict 0px height when empty) */
.ad-slot {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.ad-slot:empty, 
.adsbygoogle:empty, 
.adsbygoogle[data-ad-status="unfilled"],
.ad-slot:has(.adsbygoogle:empty) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.leaderboard-ad { margin-bottom: 0px; }
.mid-page-ad { margin-top: 0px; margin-bottom: 0px; }

.adsbygoogle {
  display: block;
  width: 100%;
}

/* Navbar Header & Official HorizonFetch Logo */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; background: var(--bg-card); backdrop-filter: blur(20px);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg); margin-bottom: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.brand-logo-img:hover { transform: scale(1.05); }

.brand-text h1 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; }
.brand-text h1 span { font-size: 10px; padding: 2px 6px; background: rgba(139, 92, 246, 0.25); border: 1px solid var(--accent-primary); border-radius: var(--radius-full); color: #c084fc; vertical-align: middle; margin-left: 4px; }

.creation-tag {
  font-size: 10px; font-weight: 700; color: #c084fc;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 2px 8px; border-radius: var(--radius-full); margin-top: 1px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.platform-chips { display: flex; gap: 6px; }

.chip {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); font-size: 16px; transition: var(--transition-fast);
  cursor: pointer;
}

.chip:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.15); }
.chip.yt { color: var(--youtube-red); }
.chip.ig { color: var(--instagram-pink); }
.chip.fb { color: var(--facebook-blue); }
.chip.tk { color: var(--tiktok-cyan); }
.chip.tw { color: var(--twitter-blue); }

.vip-badge-btn {
  background: var(--gold-gradient); border: none; color: #fff; padding: 7px 14px;
  border-radius: var(--radius-full); font-size: 12px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); transition: var(--transition-fast);
}

.vip-badge-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6); }

/* User Profile Header Widget */
.user-profile-menu {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-color);
  padding: 4px 12px 4px 6px; border-radius: var(--radius-full);
}

.user-avatar { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent-gold); }
.user-details { display: flex; flex-direction: column; text-align: left; }
.user-name { font-size: 11px; font-weight: 700; }
.user-vip-tag { font-size: 9px; color: var(--accent-gold); font-weight: 600; }

.logout-icon-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 15px; margin-left: 4px; }
.logout-icon-btn:hover { color: #ef4444; }

.server-status {
  display: flex; align-items: center; gap: 6px; padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color);
  border-radius: var(--radius-full); font-size: 11px; color: var(--text-secondary);
}

.status-dot { width: 7px; height: 7px; border-radius: 50%; background-color: #eab308; box-shadow: 0 0 10px #eab308; }
.server-status.online .status-dot { background-color: #22c55e; box-shadow: 0 0 10px #22c55e; }

/* Hero Section */
.hero-section { max-width: 920px; margin: 0 auto; }
.hero-content { text-align: center; margin-bottom: 20px; }

.free-forever-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px;
  background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-full); color: #4ade80; font-size: 11px; font-weight: 700; margin-bottom: 12px;
}

.hero-title {
  font-family: 'Outfit', sans-serif; font-size: 38px; font-weight: 800; line-height: 1.2;
  margin-bottom: 10px; letter-spacing: -1px;
}

.hero-title span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 14px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 20px; line-height: 1.4; }

/* Mode Tabs */
.mode-tabs {
  display: inline-flex; background: rgba(255, 255, 255, 0.04); padding: 4px;
  border-radius: var(--radius-full); border: 1px solid var(--border-color); margin-bottom: 18px; gap: 4px;
}

.tab-btn {
  background: transparent; border: none; color: var(--text-secondary);
  padding: 8px 18px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 6px; transition: var(--transition-fast);
}

.tab-btn.active { background: var(--accent-primary); color: #fff; box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4); }
.tab-btn.studio-tab { color: var(--accent-gold); }

/* Input Card */
.input-card {
  background: var(--bg-card); backdrop-filter: blur(24px); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 16px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); transition: var(--transition-normal);
}

.input-card:focus-within { border-color: var(--accent-primary); box-shadow: 0 0 30px var(--border-glow); }

.input-wrapper {
  display: flex; align-items: center; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 6px 12px; gap: 10px; margin-bottom: 12px; transition: var(--transition-fast);
}

.platform-indicator { font-size: 20px; color: var(--text-muted); display: flex; align-items: center; }
.input-wrapper input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-size: 15px; padding: 8px 0; }
.input-wrapper input::placeholder { color: var(--text-muted); }

.paste-btn, .clear-btn {
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-color); color: var(--text-primary);
  padding: 7px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 6px; transition: var(--transition-fast);
}

.paste-btn:hover, .clear-btn:hover { background: rgba(255, 255, 255, 0.18); }

.action-btn {
  width: 100%; padding: 14px; background: var(--accent-gradient); border: none; border-radius: var(--radius-md);
  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
  transition: var(--transition-fast); display: flex; justify-content: center; align-items: center;
}

.action-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(124, 58, 237, 0.6); }
.btn-content { display: flex; align-items: center; gap: 8px; }

/* Batch Card */
.batch-wrapper label { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; display: block; text-align: left;}
.batch-wrapper textarea { width: 100%; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 12px; color: var(--text-primary); font-size: 13px; outline: none; }

/* Skeleton Loading Card */
.skeleton-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 20px; margin-top: 24px; display: flex; gap: 20px; }
.skeleton-thumb { width: 240px; height: 160px; border-radius: var(--radius-md); background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-info { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.skeleton-line { height: 18px; border-radius: var(--radius-sm); background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-line.long { width: 90%; }
.skeleton-line.short { width: 50%; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.skeleton-box { height: 42px; border-radius: var(--radius-md); background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Result Card */
.result-card {
  background: var(--bg-card); backdrop-filter: blur(20px); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 20px; margin-top: 24px; display: grid; grid-template-columns: 280px 1fr; gap: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); animation: fadeIn 0.4s ease-out;
}

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

.thumbnail-wrapper { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.thumbnail-wrapper img { width: 100%; height: 180px; object-fit: cover; display: block; }
.duration-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0, 0, 0, 0.8); padding: 3px 6px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; }
.platform-badge { position: absolute; top: 8px; left: 8px; background: rgba(18, 22, 36, 0.85); border: 1px solid var(--border-color); padding: 3px 8px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 6px; }

.details-column { display: flex; flex-direction: column; }
.media-title { font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.meta-row { display: flex; gap: 14px; font-size: 12px; color: var(--text-secondary); margin-bottom: 14px; }
.meta-item { display: flex; align-items: center; gap: 4px; }

.format-section { margin-bottom: 14px; }
.format-header { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.format-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); gap: 8px; }

.format-chip {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color);
  padding: 8px 10px; border-radius: var(--radius-md); cursor: pointer; text-align: center; transition: var(--transition-fast);
}

.format-chip.active { background: rgba(139, 92, 246, 0.2); border-color: var(--accent-primary); box-shadow: 0 0 15px rgba(139, 92, 246, 0.3); }
.format-chip .quality { font-size: 13px; font-weight: 700; color: var(--text-primary); display: block; }
.format-chip .sub { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Studio Quick Action Bar */
.studio-quick-bar { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }

.studio-mini-btn {
  background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold); padding: 5px 10px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px;
  transition: var(--transition-fast);
}

.studio-mini-btn:hover { background: rgba(245, 158, 11, 0.25); transform: translateY(-1px); }

.download-action-box { display: flex; gap: 10px; margin-top: auto; }

.download-now-btn {
  flex: 1; padding: 12px 16px; background: #22c55e;
  border-radius: var(--radius-md); color: #fff; font-weight: 700; text-decoration: none;
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 6px 15px rgba(34, 197, 94, 0.4); transition: var(--transition-fast); font-size: 14px;
}

.download-now-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(34, 197, 94, 0.6); }

.secondary-btn {
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-color);
  color: var(--text-primary); padding: 12px 14px; border-radius: var(--radius-md);
  font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: var(--transition-fast); font-size: 13px;
}

.secondary-btn:hover { background: rgba(255, 255, 255, 0.18); }

/* Studio VIP Power Tools Showcase Section */
.studio-showcase { margin-top: 24px; }
.studio-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.vip-tag {
  padding: 3px 10px; background: rgba(245, 158, 11, 0.15); border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full); color: var(--accent-gold); font-size: 11px; font-weight: 700;
}

.studio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.studio-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 14px; position: relative; cursor: pointer; transition: var(--transition-fast);
}

.studio-card:hover { transform: translateY(-2px); border-color: var(--accent-gold); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2); }

.vip-lock-badge {
  position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 6px; border-radius: var(--radius-full); display: flex; align-items: center; gap: 4px;
}

.studio-card-icon { font-size: 22px; color: var(--accent-gold); margin-bottom: 6px; }
.studio-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.studio-card p { font-size: 11px; color: var(--text-secondary); line-height: 1.3; }

/* Platforms Showcase Grid */
.platforms-showcase { margin-top: 24px; }
.section-title { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.section-title span { color: var(--accent-gold); }

.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.platform-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px; transition: var(--transition-fast); display: flex; flex-direction: column; cursor: pointer; }
.platform-card:hover { transform: translateY(-2px); border-color: var(--accent-primary); }
.platform-icon { font-size: 24px; margin-bottom: 8px; }
.yt-card .platform-icon { color: var(--youtube-red); }
.ig-card .platform-icon { color: var(--instagram-pink); }
.tk-card .platform-icon { color: var(--tiktok-cyan); }
.fb-card .platform-icon { color: var(--facebook-blue); }
.tw-card .platform-icon { color: var(--twitter-blue); }

.platform-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.platform-card p { font-size: 11px; color: var(--text-secondary); line-height: 1.3; margin-bottom: 10px; }
.platform-card .tag { align-self: flex-start; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-full); background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.3); color: #4ade80; margin-top: auto; }

/* History Section & Ultra Compact Empty State Box */
.history-section { margin-top: 24px; margin-bottom: 16px; }
.history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.clear-history-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); padding: 4px 10px; border-radius: var(--radius-sm); font-size: 11px; cursor: pointer; }
.clear-history-btn:hover { color: #ef4444; border-color: #ef4444; }

.history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.history-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 10px; display: flex; gap: 10px; align-items: center; }
.history-item img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; }
.history-details { flex: 1; overflow: hidden; }
.history-details h5 { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.history-details span { font-size: 10px; color: var(--text-muted); }

/* Compact Slim Empty History Banner */
.empty-history {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px 20px;
  background: rgba(18, 22, 36, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.empty-icon-wrapper {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-bottom: 0;
}

.empty-text-box {
  text-align: left;
}

.empty-history h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.empty-history p {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Zero Gap Ultra Compact Footer */
.footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.brand-info h3 span {
  font-size: 9px;
  padding: 1px 5px;
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-full);
  color: #c084fc;
}

.footer-creation-tag {
  font-size: 10px;
  font-weight: 700;
  color: #c084fc;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.footer-creation-tag span {
  color: var(--accent-gold);
}

.footer-brand-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.footer-col a {
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.footer-col a:hover {
  color: var(--accent-primary);
  transform: translateX(2px);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: var(--text-muted);
}

.footer-bottom-links span {
  color: var(--text-secondary);
  font-size: 10px;
}

/* Studio VIP Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(5, 7, 12, 0.85); backdrop-filter: blur(16px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn 0.3s ease-out;
}

.vip-modal, .legal-modal {
  background: #111422; border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg); padding: 24px; max-width: 860px; width: 100%;
  position: relative; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  max-height: 90vh; overflow-y: auto;
}

.legal-modal {
  border-color: rgba(139, 92, 246, 0.4);
  max-width: 680px;
}

.close-modal-btn {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-color);
  color: var(--text-primary); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.vip-modal-header, .legal-modal-header { text-align: center; margin-bottom: 18px; }

.vip-icon-badge, .legal-icon-badge {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-gradient);
  margin: 0 auto 8px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.legal-icon-badge {
  background: var(--accent-gradient);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.vip-modal-header h2, .legal-modal-header h2 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; }
.vip-modal-header h2 span, .legal-modal-header h2 span { color: var(--accent-gold); }
.legal-modal-header h2 span { color: #c084fc; }

.legal-modal-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.legal-modal-body h4 {
  color: var(--text-primary);
  font-size: 15px;
  margin-top: 14px;
  margin-bottom: 6px;
}

.legal-modal-body p {
  margin-bottom: 10px;
}

.legal-modal-body ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.legal-modal-footer {
  display: flex;
  justify-content: flex-end;
}

/* Currency Toggle */
.currency-toggle-wrapper { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 18px; }
.currency-label { font-size: 11px; font-weight: 600; color: var(--text-secondary); }

.currency-switch {
  display: flex; background: rgba(255, 255, 255, 0.06);
  padding: 2px; border-radius: var(--radius-full); border: 1px solid var(--border-color);
}

.curr-btn {
  background: transparent; border: none; color: var(--text-secondary);
  padding: 4px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; cursor: pointer;
  transition: var(--transition-fast);
}

.curr-btn.active { background: var(--accent-gold); color: #fff; }

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 16px; }

.price-card {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 16px; position: relative;
  display: flex; flex-direction: column;
}

.price-card.popular {
  border-color: var(--accent-gold); background: rgba(245, 158, 11, 0.05);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

.popular-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold-gradient); color: #fff; font-size: 9px; font-weight: 800;
  padding: 2px 8px; border-radius: var(--radius-full); letter-spacing: 0.5px; white-space: nowrap;
}

.plan-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.plan-price { font-size: 24px; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; }
.plan-price span { font-size: 11px; font-weight: 400; color: var(--text-secondary); }

.plan-features { list-style: none; margin-bottom: 14px; flex: 1; }
.plan-features li { font-size: 11px; color: var(--text-secondary); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.plan-features li i { color: #22c55e; font-size: 14px; }

.checkout-btn {
  width: 100%; padding: 9px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  color: var(--text-primary); font-weight: 700; cursor: pointer; transition: var(--transition-fast); font-size: 12px;
}

.checkout-btn:hover { background: rgba(255, 255, 255, 0.2); }

.checkout-btn.highlight {
  background: var(--gold-gradient); border: none; color: #fff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Google Auth Box in Modal */
.google-auth-box {
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 12px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}

.auth-security-notice {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-secondary); text-align: center;
}

.auth-security-notice i { color: #22c55e; font-size: 14px; }

.google-auth-btn {
  width: 100%; max-width: 280px; padding: 9px 14px;
  background: #ffffff; border: none; border-radius: var(--radius-md);
  color: #1f2937; font-size: 12px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); transition: var(--transition-fast);
}

.google-auth-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3); }

/* AdBlocker Shield Modal Styling */
.adblock-modal-overlay {
  z-index: 3000;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(20px);
}

.adblock-modal {
  background: #13121d;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.25);
  animation: fadeIn 0.3s ease-out;
}

.adblock-shield-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.3);
}

.adblock-modal h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.adblock-modal h2 span {
  color: #ef4444;
}

.adblock-notice {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.adblock-notice strong {
  color: var(--text-primary);
}

.adblock-perks-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.adblock-option {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.adblock-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adblock-retry-btn {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.adblock-retry-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.adblock-vip-btn {
  width: 100%;
  padding: 12px;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transition: var(--transition-fast);
}

.adblock-vip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

/* Toast Notification */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: rgba(18, 22, 36, 0.95); backdrop-filter: blur(12px);
  border: 1px solid var(--border-color); border-left: 4px solid var(--accent-primary);
  padding: 12px 20px; border-radius: var(--radius-sm); color: var(--text-primary); font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); animation: slideIn 0.3s ease-out;
}

@media (max-width: 768px) {
  .hero-title { font-size: 26px; }
  .result-card { grid-template-columns: 1fr; }
  .platform-chips { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 16px; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; gap: 8px; text-align: center; }
}
