@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg-deep: #030712;
  --bg-surface: #0b1329;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --bg-input: #070e20;
  
  --neon-cyan: #00f2fe;
  --neon-blue: #4facfe;
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-green: #10b981;
  
  --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #a855f7 100%);
  --gradient-btn: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 75%);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-neon: rgba(0, 242, 254, 0.4);
  --border-purple: rgba(168, 85, 247, 0.4);
  
  --radius-2xl: 28px;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
  
  --shadow-neon: 0 0 40px rgba(0, 242, 254, 0.3);
  --shadow-purple: 0 0 40px rgba(168, 85, 247, 0.3);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

body {
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 🌌 HYPER-FUTURISTIC AURORA GLOW BACKGROUND */
body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: 25%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.16) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -2;
  pointer-events: none;
  animation: auroraFloat 14s infinite alternate ease-in-out;
}

body::after {
  content: '';
  position: fixed;
  top: 35%;
  right: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  filter: blur(110px);
  z-index: -2;
  pointer-events: none;
  animation: auroraFloat 18s infinite alternate-reverse ease-in-out;
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.15); }
  100% { transform: translate(-40px, 50px) scale(0.9); }
}

/* Page Layout */
.page-layout {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.center-content {
  flex: 1;
  max-width: 980px;
  min-width: 0;
  width: 100%;
}

/* Skyscraper Ads */
.ad-skyscraper {
  width: 160px;
  min-width: 160px;
  height: 600px;
  position: sticky;
  top: 110px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(16px);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 8px;
  text-align: center;
  align-self: flex-start;
  transition: var(--transition);
}

.ad-skyscraper:hover {
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-neon);
}

.ad-skyscraper .ad-label {
  position: absolute;
  top: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.ad-skyscraper-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

/* 👑 VERCEL/APPLE-GRADE FLOATING NAVBAR */
.navbar {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 900;
  font-size: 1.55rem;
  transition: var(--transition);
}

.brand-logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  background: var(--gradient-brand);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: var(--shadow-neon);
  transition: var(--transition);
}

.brand-logo:hover .logo-icon {
  box-shadow: var(--shadow-purple);
  transform: rotate(-6deg) scale(1.08);
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.03em;
  font-family: 'Outfit', sans-serif;
}

.logo-text span {
  color: var(--neon-cyan);
  font-weight: 800;
}

.logo-badge-4k {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-left: 6px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.6);
}

/* Glass Pill Navigation Container */
.nav-links-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 5px 8px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25) 0%, rgba(79, 172, 254, 0.25) 100%);
  border: 1px solid var(--border-neon);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.dropdown-menu {
  position: absolute;
  top: 125%;
  left: 0;
  background: rgba(11, 19, 41, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), var(--shadow-neon);
  min-width: 250px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(0, 242, 254, 0.12);
  color: var(--neon-cyan);
}

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

.btn-header {
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: var(--shadow-neon);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6);
}

.btn-contact-nav {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-contact-nav:hover, .btn-contact-nav.active {
  color: #fff;
  border-color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.12);
}

/* Banner Ads */
.ad-placement {
  position: relative;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(16px);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  margin: 24px 0;
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
}

.ad-placement:hover {
  border-color: var(--neon-cyan);
}

.ad-label {
  position: absolute;
  top: 4px;
  left: 12px;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.ad-content {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.ad-placeholder-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 24px 0 80px;
}

/* 💎 HERO SECTION REDESIGN */
.hero-section {
  text-align: center;
  max-width: 920px;
  margin: 20px auto 40px;
  padding: 0 15px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.hero-badge .pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-green);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  text-shadow: 0 0 45px rgba(0, 242, 254, 0.25);
  font-family: 'Outfit', sans-serif;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  margin-bottom: 38px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
}

/* 🚀 WORLD'S BEST DOWNLOADER HERO BOX (FROM SCRATCH) */
.downloader-box {
  background: rgba(11, 19, 41, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border-neon);
  padding: 14px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card), var(--shadow-neon);
  display: flex;
  gap: 12px;
  position: relative;
  transition: var(--transition);
}

.downloader-box.batch-input-box {
  flex-wrap: wrap;
}

.downloader-box:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 55px rgba(0, 242, 254, 0.45), var(--shadow-card);
}

.input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.input-icon {
  position: absolute;
  left: 22px;
  color: var(--neon-cyan);
  font-size: 1.3rem;
}

.url-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 52px 18px 58px;
  color: var(--text-primary);
  font-size: 16px;
  border-radius: var(--radius-xl);
  outline: none;
  transition: var(--transition);
  font-weight: 600;
}

.url-input:focus {
  border-color: var(--neon-cyan);
  background: rgba(7, 14, 32, 0.95);
}

.url-input::placeholder {
  color: var(--text-muted);
}

.btn-paste {
  position: absolute;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.btn-paste:hover {
  background: rgba(0, 242, 254, 0.2);
  color: var(--neon-cyan);
  border-color: var(--border-neon);
}

.btn-download {
  background: var(--gradient-btn);
  color: #ffffff;
  border: none;
  padding: 18px 38px;
  border-radius: var(--radius-xl);
  font-weight: 900;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.7);
}

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

.hero-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-info:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Results Section */
.result-card {
  display: none;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(25px);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-2xl);
  padding: 26px;
  margin-top: 35px;
  box-shadow: var(--shadow-card), var(--shadow-neon);
  animation: fadeIn 0.35s ease-out;
}

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

.result-content {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: center;
}

.thumbnail-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.thumbnail-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
}

.video-info h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: 800;
}

.meta-info {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.download-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-quality {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-quality:hover {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
  color: #030712;
}

.btn-quality.hd {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--border-neon);
}

.btn-quality.upscale-4k {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(0, 242, 254, 0.25) 100%);
  border: 1px solid var(--border-purple);
}

.btn-quality.upscale-4k:hover {
  background: linear-gradient(135deg, #a855f7 0%, #00f2fe 100%);
  border-color: #a855f7;
  box-shadow: var(--shadow-purple);
  color: #fff;
}

.badge-hd {
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 900;
}

.badge-4k {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.6);
}

/* Bulk Page Video Grid & Cards */
.batch-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.batch-video-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.batch-video-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.25);
}

.batch-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.batch-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-play-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 242, 254, 0.95);
  color: #030712;
  border: none;
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 12;
}

.btn-play-preview:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: 22px;
  accent-color: var(--neon-cyan);
  cursor: pointer;
  z-index: 15;
}

.batch-card-body {
  padding: 16px;
}

.batch-card-body h4 {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Quality Selection Radio Cards */
.quality-radio-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quality-radio-card {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}

.quality-radio-card:hover, .quality-radio-card.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
}

.quality-radio-card input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--neon-cyan);
}

.radio-info {
  flex: 1;
}

.radio-info strong {
  font-size: 0.98rem;
  color: #fff;
  font-weight: 800;
}

.radio-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Extension Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: rgba(11, 19, 41, 0.96);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-2xl);
  padding: 30px;
  max-width: 530px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-card), var(--shadow-neon);
  animation: fadeIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #fff;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 900;
}

/* Grid Section (Updates & FAQs) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.card-box {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-2xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-glass);
}

.card-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.card-header h2 {
  font-size: 1.4rem;
  font-weight: 900;
}

/* Updates List */
.updates-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.update-item {
  background: var(--bg-input);
  border-left: 4px solid var(--neon-cyan);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: var(--transition);
}

.update-date {
  font-size: 0.78rem;
  color: var(--neon-cyan);
  font-weight: 900;
  margin-bottom: 4px;
  display: block;
  letter-spacing: 0.04em;
}

.update-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-neon);
  background: rgba(0, 242, 254, 0.05);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--neon-cyan);
}

.faq-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--neon-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px 22px;
}

/* Footer */
.footer {
  background: #02050c;
  border-top: 1px solid var(--border-glass);
  padding: 44px 0 26px;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(11, 19, 41, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-neon);
  color: var(--text-primary);
  padding: 14px 26px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), var(--shadow-neon);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 4000;
  pointer-events: none;
  max-width: 90vw;
  font-weight: 700;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s ease-in-out infinite;
}

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

/* GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 20px;
  right: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: rgba(11, 19, 41, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-2xl);
  padding: 18px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), var(--shadow-neon);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  bottom: 20px;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.btn-cookie-accept {
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

/* 📱 ULTRA-RESPONSIVE MOBILE BREAKPOINTS */
@media (max-width: 1350px) {
  .ad-skyscraper {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nav-links-wrapper {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-pill);
    padding: 5px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links {
    white-space: nowrap;
    width: max-content;
  }

  .nav-actions {
    justify-content: space-between;
    width: 100%;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .result-content {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 650px) {
  .navbar {
    padding: 12px 0;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .downloader-box {
    flex-direction: column;
    padding: 10px;
  }

  .input-wrapper {
    min-width: 100%;
  }

  .url-input {
    font-size: 16px;
    padding: 14px 42px 14px 46px;
  }

  .btn-download {
    width: 100%;
    padding: 16px;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-info {
    width: 100%;
  }

  .download-options {
    grid-template-columns: 1fr;
  }
  
  .btn-quality.upscale-4k {
    grid-column: span 1;
  }

  .batch-video-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: -150px;
  }
  
  .cookie-banner.show {
    bottom: 12px;
  }

  .btn-cookie-accept {
    width: 100%;
  }
}
