/* ==========================================================================
   ⚡ SNATCH — Master Stylesheet (main.css)
   Ultra-High Performance | OLED Dark Theme | Zero Layout Thrashing
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-oled: #050505;
  --bg-surface: #0a0a0f;
  --bg-card: #0f1016;
  --bg-card-hover: #151620;
  --bg-glass: rgba(15, 16, 22, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 243, 255, 0.6);
  --border-card: rgba(255, 255, 255, 0.05);

  /* Neon Accents */
  --neon-cyan: #00f3ff;
  --neon-green: #00ff66;
  --neon-violet: #8b5cf6;
  --neon-red: #ff3366;
  --neon-amber: #ffaa00;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Gradients */
  --grad-snatch: linear-gradient(135deg, #00f3ff 0%, #8b5cf6 50%, #00ff66 100%);
  --grad-cyan-green: linear-gradient(135deg, #00f3ff 0%, #00ff66 100%);
  --grad-violet-cyan: linear-gradient(135deg, #8b5cf6 0%, #00f3ff 100%);
  --grad-btn-glow: linear-gradient(90deg, #00f3ff, #8b5cf6, #00ff66);

  /* Shadows & Glows */
  --glow-cyan: 0 0 25px rgba(0, 243, 255, 0.35);
  --glow-green: 0 0 25px rgba(0, 255, 102, 0.35);
  --glow-violet: 0 0 25px rgba(139, 92, 246, 0.35);
  --glow-input: 0 0 0 3px rgba(0, 243, 255, 0.15), 0 0 30px rgba(0, 243, 255, 0.15);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --header-height: 72px;
}

/* ==========================================================================
   CSS Reset, Base Rules & Global Content Protection
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Explicitly Allow Text Selection ONLY for Input / Link Paste Area */
input,
textarea,
[contenteditable="true"],
.selectable,
#snatchInput,
.snatch-input,
.rc-input,
.rc-textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Total Image Shield: No Dragging, No Selection, No Image Downloads */
img {
  -webkit-user-drag: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  pointer-events: none !important;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-oled);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-oled);
}

/* Micro-Grid & Ambient Background Effects */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Content Container — fills the screen on every device */
.container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(5, 5, 8, 0.96);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  padding: 0.85rem 0;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 8, 0.96);
  border-bottom-color: rgba(0, 243, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Left: Brand Link & Shiny Gradient Brand Text ── */
.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

/* Brand wordmark: uses the exact logo.png letterforms as a mask so the
   header reads the same as the brand logo, while keeping the neon shine. */
.brand-text {
  display: inline-block;
  width: clamp(122px, 13vw, 168px);
  aspect-ratio: 1155 / 205;
  height: auto;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00ff66, #00f3ff, #4d7cff, #00ff66);
  background-size: 200% auto;
  animation: textShine 3s linear infinite;
  -webkit-mask-image: url('../assets/logo.png');
  mask-image: url('../assets/logo.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 0 12px rgba(0, 243, 255, 0.3));
  transition: transform 0.25s ease, filter 0.25s ease;
  transition: transform 0.25s ease, filter 0.25s ease;
  display: inline-block;
  line-height: 1.2;
}

.brand-link:hover .brand-text {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(0, 243, 255, 0.5));
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

/* ── Right: Header Actions & Glass Pill Navigation ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Plain text nav links — the glass pill belongs to Install App only */
.header-nav-btn {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  background: none;
  border: none;
  box-shadow: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  font-family: var(--font-family);
  white-space: nowrap;
}

/* Thin neon underline instead of a bubble */
.header-nav-btn::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00f3ff, #00ff66);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.header-nav-btn:hover,
.header-nav-btn.active {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.55);
  background: none;
  border: none;
  box-shadow: none;
}

.header-nav-btn:hover::after,
.header-nav-btn.active::after {
  transform: scaleX(1);
}

/* The single, always-on glass pill CTA */
.header-install-btn {
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
  color: var(--neon-green);
  padding: 8px 22px;
  border-radius: 99px;
  transform: translateZ(0);
}

.header-install-btn::after {
  display: none;
}

.header-install-btn:hover {
  background: rgba(0, 255, 102, 0.18);
  border-color: var(--neon-green);
  box-shadow: 0 10px 30px rgba(0, 255, 102, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: none;
}

/* Legacy support alias */
.pwa-install-btn {
  display: inline-flex;
}

@media (max-width: 768px) {
  #headerInstallBtn,
  .header-install-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* ── Mobile Hamburger Toggle ── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 243, 255, 0.06);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 99px;
  width: 44px;
  height: 44px;
  padding: 10px;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 220;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-toggle:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.35);
}

/* Hamburger to X animation */
body.menu-open .mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Cross (✕) turns neon red on hover / touch while the menu is open */
body.menu-open .mobile-toggle:hover,
body.menu-open .mobile-toggle:focus-visible,
body.menu-open .mobile-toggle:active,
body.menu-open .mobile-toggle.touch-hot {
  background: rgba(255, 0, 60, 0.16);
  border-color: #ff003c;
  box-shadow: 0 0 20px rgba(255, 0, 60, 0.65), inset 0 0 12px rgba(255, 0, 60, 0.25);
}

body.menu-open .mobile-toggle:hover span,
body.menu-open .mobile-toggle:focus-visible span,
body.menu-open .mobile-toggle:active span,
body.menu-open .mobile-toggle.touch-hot span {
  background: #ff003c;
  box-shadow: 0 0 8px rgba(255, 0, 60, 0.9);
}

/* ── Mobile Bubble Menu Styles ── */
#bubble-menu-closer,
#bubble-menu-content {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#bubble-menu-closer {
  z-index: 205;
  background: rgba(3, 5, 12, 0.94);
  cursor: pointer;
}

#bubble-menu-content {
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#bubble-menu-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open #bubble-menu-closer {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open #bubble-menu-content {
  opacity: 1;
  /* The panel covers the viewport, so it must stay click-through:
     only the pills and the close button capture taps, everything else
     falls through to #bubble-menu-closer and closes the menu. */
  pointer-events: none;
}

body.menu-open #bubble-menu-content .pill-list,
body.menu-open #bubble-menu-content .bubble-menu-close {
  pointer-events: auto;
}

/* Close (✕) button inside the bubble menu — idle is neutral,
   it only turns neon red when the cursor / finger is on it */
.bubble-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

/* Neon red only while hovered / pressed / focused */
.bubble-menu-close:hover,
.bubble-menu-close:focus-visible,
.bubble-menu-close:active {
  color: var(--neon-red, #ff2b4e);
  background: rgba(255, 43, 78, 0.12);
  border-color: rgba(255, 43, 78, 0.75);
  border-top-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 3px 12px rgba(255, 43, 78, 0.3),
              0 0 9px rgba(255, 43, 78, 0.35),
              inset 0 2px 10px rgba(255, 255, 255, 0.12);
  filter: drop-shadow(0 0 3px rgba(255, 43, 78, 0.55));
  outline: none;
}

.bubble-menu-close:hover {
  transform: rotate(90deg);
}

.bubble-menu-close:active {
  transform: scale(0.94) rotate(90deg);
}

@media (hover: none) {
  .bubble-menu-close:active {
    color: var(--neon-red, #ff2b4e);
    background: rgba(255, 43, 78, 0.12);
    border-color: rgba(255, 43, 78, 0.75);
    box-shadow: 0 3px 12px rgba(255, 43, 78, 0.3), 0 0 9px rgba(255, 43, 78, 0.35);
  }
}

/* Capsule Pill List matching Image 3 */
.pill-list {
  list-style: none;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 320px;
  align-items: center;
}

.pill-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pill-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  background: #ffffff;
  color: #050505 !important;
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
  transform: scale(0.9) rotate(var(--item-rot, 0deg));
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease,
              opacity 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

body.menu-open #bubble-menu-content .pill-link {
  transform: scale(1) rotate(var(--item-rot, 0deg));
  opacity: 1;
}

body.menu-open #bubble-menu-content .pill-col:nth-child(1) .pill-link {
  transition-delay: 0.05s;
}

body.menu-open #bubble-menu-content .pill-col:nth-child(2) .pill-link {
  transition-delay: 0.10s;
}

body.menu-open #bubble-menu-content .pill-col:nth-child(3) .pill-link {
  transition-delay: 0.15s;
}

.pill-link:hover {
  transform: scale(1.05) rotate(var(--item-rot, 0deg));
  background: var(--hover-bg, #00f3ff);
  color: var(--hover-color, #050505) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px var(--hover-bg-glow);
}

.pill-link:active {
  transform: scale(0.96) rotate(var(--item-rot, 0deg));
}

.pill-link.active {
  background: var(--hover-bg, #00f3ff) !important;
  color: var(--hover-color, #050505) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px var(--hover-bg-glow) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4rem 0 2rem 0;
  text-align: center;
  position: relative;
}

/* Status bubble — same glass pill as the footer buttons, neon violet */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(176, 38, 255, 0.06);
  border: 1px solid rgba(176, 38, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: #eedcff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(176, 38, 255, 0.28), inset 0 2px 10px rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.hero-tag::before {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b026ff;
  animation: heroDotGlow 1.7s ease-in-out infinite;
}

@keyframes heroDotGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px #b026ff, 0 0 18px rgba(176, 38, 255, 0.9);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 1px rgba(176, 38, 255, 0.15);
  }
}

.hero-tag:hover {
  border-color: rgba(176, 38, 255, 0.7);
  box-shadow: 0 8px 28px rgba(176, 38, 255, 0.42), inset 0 2px 10px rgba(255, 255, 255, 0.18);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  /* extra room so descenders (p, g, y) are never clipped */
  line-height: 1.18;
  padding-bottom: 0.12em;
  margin-bottom: 1.4rem;
}

/* Header-wordmark style: the gradient never stops moving */
.title-gradient {
  background: linear-gradient(90deg, #00f3ff, #8b5cf6, #00ff66, #00f3ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: textShine 3s linear infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
  font-weight: 400;
  line-height: 1.5;
}

/* ==========================================================================
   Platform Showcase — round brand logos only (decorative, never clickable)
   ========================================================================== */
.platform-showcase {
  margin-bottom: 2.25rem;
}

/* Same voice as the hero title, one step smaller */
.platform-heading {
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1.15rem;
}

.platform-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 100%;
  margin: 0 auto;
}

.platform-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  transform: translateZ(0);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Name label on hover / touch — logos themselves stay unclickable */
.platform-dot::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(6, 8, 14, 0.95);
  border: 1px solid rgba(0, 243, 255, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.platform-dot:hover::after,
.platform-dot:focus-visible::after,
.platform-dot:active::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.platform-dot img {
  width: 23px;
  height: 23px;
  display: block;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* The platform matching the pasted link wears the footer glass pill */
.platform-dot.is-active {
  background: rgba(0, 243, 255, 0.06);
  border: 1px solid rgba(0, 243, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.22), inset 0 2px 10px rgba(255, 255, 255, 0.12);
  transform: translateY(-2px) scale(1.06);
}

.platform-dot.is-active img {
  opacity: 1;
  transform: scale(1.06);
}

/* ==========================================================================
   Master Input Console
   ========================================================================== */
.console-wrapper {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* 1) Link Input Box */
/* Glass pill — same recipe as .footer-btn */
.console-card {
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  padding: 0.4rem 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 58px;
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.16), inset 0 2px 10px rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
}

.console-card:focus-within {
  border-color: rgba(0, 243, 255, 0.65);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.35), inset 0 2px 10px rgba(255, 255, 255, 0.14);
}

/* Paste + Snatch row: stacked on phones, side by side from 640px up */
.console-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

@media (min-width: 640px) {
  .console-actions {
    flex-direction: row;
    align-items: stretch;
  }

  .console-actions .paste-btn {
    width: auto;
    flex: 0 0 168px;
  }

  .console-actions .snatch-btn {
    flex: 1 1 auto;
    width: auto;
  }
}

/* Platform Auto-Detect Badge inside Input */
.platform-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  flex: 0 0 auto;
  transition: all var(--transition-smooth);
  color: var(--text-muted);
}

.platform-indicator.detected {
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.25);
}

.platform-indicator svg {
  width: 19px;
  height: 19px;
}

/* Input Field */
.url-input-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.snatch-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-size: 1.05rem;
  color: var(--text-primary);
  padding: 0.65rem 0.5rem;
  font-weight: 500;
}

.snatch-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

/* Clear Button — same neon-red ✕ as the mobile menu closer */
.clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin-right: 4px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--neon-red);
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.55);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.28), inset 0 1px 6px rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.clear-btn:hover {
  color: #ffffff;
  background: rgba(255, 51, 102, 0.22);
  border-color: rgba(255, 51, 102, 0.85);
  box-shadow: 0 0 14px rgba(255, 51, 102, 0.5), inset 0 1px 6px rgba(255, 255, 255, 0.18);
  /* same 90° turn as the mobile-menu ✕ */
  transform: rotate(90deg);
}

.clear-btn:active {
  transform: scale(0.92) rotate(90deg);
}

.clear-btn.visible {
  display: inline-flex;
}

/* 2) Paste Button — glass pill */
.paste-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 54px;
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.15rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.16), inset 0 2px 10px rgba(255, 255, 255, 0.08);
}

.paste-btn:hover {
  background: rgba(0, 243, 255, 0.12);
  border-color: rgba(0, 243, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.32), inset 0 2px 10px rgba(255, 255, 255, 0.16);
}

.paste-btn:active {
  transform: translateY(0) scale(0.98);
}

/* 3) CTA Snatch Button — faded until a real http(s) link is present */
.snatch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 54px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 0.8rem 1.6rem;
  border-radius: 99px;
  cursor: pointer;
  opacity: 0.45;
  filter: grayscale(1);
  box-shadow: none;
  transition: opacity 0.3s ease, filter 0.3s ease, transform var(--transition-bounce),
              box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

/* Neon green the moment a valid http:// or https:// link is typed or pasted */
.snatch-btn.is-ready {
  background: linear-gradient(135deg, #00ff66 0%, #00e0a4 55%, #00f3ff 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(0, 255, 102, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  color: #04170b;
  opacity: 1;
  filter: none;
  box-shadow: 0 0 22px rgba(0, 255, 102, 0.45), inset 0 2px 10px rgba(255, 255, 255, 0.25);
}

.snatch-btn.is-ready:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 0 34px rgba(0, 255, 102, 0.6), 0 0 18px rgba(0, 243, 255, 0.35),
              inset 0 2px 10px rgba(255, 255, 255, 0.3);
  filter: brightness(1.05);
}

.snatch-btn:active {
  transform: translateY(0) scale(0.98);
}

.snatch-btn:disabled {
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.35;
}

/* Locking Console Input, Clear Cross & Paste Button during extraction — fade out & unclickable */
.console-card.is-extracting-locked {
  opacity: 0.38 !important;
  pointer-events: none !important;
  cursor: not-allowed;
  transition: opacity 0.25s ease !important;
}

.console-card.is-extracting-locked .snatch-input {
  cursor: not-allowed;
  pointer-events: none !important;
  user-select: none !important;
}

.clear-btn.is-extracting-locked {
  opacity: 0 !important;
  pointer-events: none !important;
  cursor: not-allowed;
  transition: opacity 0.2s ease !important;
}

.paste-btn.is-extracting-locked {
  opacity: 0.35 !important;
  pointer-events: none !important;
  cursor: not-allowed;
  transition: opacity 0.25s ease !important;
}

/* ==========================================================================
   Loading Skeleton
   ========================================================================== */
.skeleton-container {
  max-width: 100%;
  margin: 2rem auto 0 auto;
  display: none;
  animation: fadeIn 0.3s ease;
}

.skeleton-container.active {
  display: block;
}

.skeleton-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
}

.skeleton-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(90deg, #10111a 25%, #191b26 50%, #10111a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.skeleton-line {
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, #10111a 25%, #191b26 50%, #10111a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-btn-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.skeleton-btn {
  height: 40px;
  width: 140px;
  border-radius: 8px;
  background: linear-gradient(90deg, #10111a 25%, #191b26 50%, #10111a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* ==========================================================================
   Instant Result / Download Card
   ========================================================================== */
.result-container {
  max-width: 100%;
  margin: 2rem auto 0 auto;
  display: none;
}

.result-container.active {
  display: block;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.media-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 243, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-snatch);
}

.media-main-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Media Thumbnail & Badges */
.thumb-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 9;
}

.thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.thumb-wrapper:hover .thumb-image {
  transform: scale(1.04);
}

.badge-platform {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.badge-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

/* Media Info */
.media-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.media-header-info {
  margin-bottom: 1rem;
}

.media-creator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.media-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.meta-chip {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Download Actions Grid */
.downloads-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.downloads-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.download-btn .btn-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.download-btn .btn-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

/* Quality Button Variants */
.btn-1080p {
  background: rgba(0, 243, 255, 0.1);
  border-color: rgba(0, 243, 255, 0.3);
  color: var(--neon-cyan);
}

.btn-1080p:hover {
  background: var(--neon-cyan);
  color: #050505;
  box-shadow: var(--glow-cyan);
  border-color: var(--neon-cyan);
}

.btn-720p {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.btn-720p:hover {
  background: var(--neon-violet);
  color: #ffffff;
  box-shadow: var(--glow-violet);
  border-color: var(--neon-violet);
}

.btn-audio {
  background: rgba(0, 255, 102, 0.1);
  border-color: rgba(0, 255, 102, 0.3);
  color: var(--neon-green);
}

.btn-audio:hover {
  background: var(--neon-green);
  color: #050505;
  box-shadow: var(--glow-green);
  border-color: var(--neon-green);
}

.btn-image {
  background: rgba(255, 170, 0, 0.1);
  border-color: rgba(255, 170, 0, 0.3);
  color: var(--neon-amber);
}

.btn-image:hover {
  background: var(--neon-amber);
  color: #050505;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
  border-color: var(--neon-amber);
}

/* Secondary Actions (Preview, Copy Link) */
.media-secondary-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.secondary-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Inline Player Preview Box */
.inline-player-wrapper {
  margin-top: 1.25rem;
  display: none;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.inline-player-wrapper.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.inline-player-wrapper video {
  width: 100%;
  max-height: 420px;
  display: block;
}

.inline-player-wrapper audio {
  width: 100%;
  padding: 1rem;
  display: block;
}

/* ==========================================================================
   SNATCH Pro 3-Tab Media & Formats System (1.jpeg, 2.jpeg, 3.jpeg)
   ========================================================================== */
.media-card-pro {
  background: #0b0e14;
  border: 1px solid rgba(0, 243, 255, 0.22);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 243, 255, 0.06);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(1rem, 1.4vw, 1.75rem);
}

.media-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-snatch);
}

/* 3-Tab Navigation Bar — clean product-style segmented control */
.series-selector-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(0, 243, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
}

.series-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.series-brand-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}

.series-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), inset 0 2px 8px rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.series-title-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-current-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 243, 255, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
}

.series-seasons-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.series-season-btn {
  position: relative;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), inset 0 1px 6px rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.series-season-btn:hover {
  background: rgba(0, 243, 255, 0.08);
  border-color: rgba(0, 243, 255, 0.38);
  border-top-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.series-season-btn.active {
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 3px 14px rgba(0, 243, 255, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.series-ep-scroll-wrap {
  position: relative;
}

.series-ep-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-height: 192px;
  overflow-y: auto;
  overflow-x: visible;
  padding: 18px 14px;
  margin: -14px -14px -10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.series-ep-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.series-ep-scroll-wrap.has-scrollbar .series-ep-grid {
  padding-right: 28px;
}

.series-ep-scrollbar {
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 0;
  width: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 0;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.series-ep-scrollbar.visible {
  opacity: 1;
  pointer-events: all;
}

.series-ep-scrollbar .csb-thumb {
  min-height: 26px;
}

.series-ep-btn {
  position: relative;
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 243, 255, 0.04);
  border: 1px solid rgba(0, 243, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 2px 8px rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  outline: none;
}

.series-ep-btn:hover {
  background: rgba(0, 255, 102, 0.12);
  border-color: rgba(0, 255, 102, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.28), inset 0 2px 8px rgba(255, 255, 255, 0.14);
}

.series-ep-btn.active {
  background: rgba(0, 255, 102, 0.18);
  border: 1px solid rgba(0, 255, 102, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.54);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.48), 0 0 22px rgba(0, 255, 102, 0.22), inset 0 2px 8px rgba(255, 255, 255, 0.22);
}

.series-ep-btn.is-loading,
.series-season-btn.is-loading {
  pointer-events: none;
  transform: translateY(0);
  transition: none;
  color: #ffffff;
  background: rgba(0, 255, 102, 0.16);
  border-color: rgba(0, 255, 102, 0.48);
  border-top-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 6px rgba(0, 255, 102, 0.14);
  will-change: opacity;
  animation: seriesBtnBlink 1.85s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

/* Dedicated GPU-composited halo layer so glow breathes continuously at 60fps without shadow stepping */
.series-ep-btn.is-loading::after,
.series-season-btn.is-loading::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(0, 255, 102, 0.92);
  border-top-color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 255, 102, 0.12);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.68), 0 0 28px rgba(0, 255, 102, 0.3), inset 0 0 10px rgba(0, 255, 102, 0.28);
  pointer-events: none;
  will-change: opacity;
  animation: seriesHaloBreath 1.85s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.series-selector-box.is-busy .series-ep-btn:not(.is-loading),
.series-selector-box.is-busy .series-season-btn:not(.is-loading) {
  opacity: 0.24;
  filter: grayscale(0.45);
  pointer-events: none;
  cursor: not-allowed;
}

@keyframes seriesBtnBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.38;
  }
}

@keyframes seriesHaloBreath {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.04;
  }
}

.snatch-tabs-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.snatch-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.62rem 0.85rem;
  border-radius: 99px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

.snatch-tab-btn .tab-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  opacity: 0.65;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.snatch-tab-btn .tab-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snatch-tab-btn:hover {
  color: #ffffff;
  background: rgba(0, 243, 255, 0.04);
}

.snatch-tab-btn:hover .tab-ico {
  opacity: 1;
}

.snatch-tab-btn:focus-visible {
  outline: 2px solid rgba(0, 243, 255, 0.6);
  outline-offset: 2px;
}

.snatch-tab-btn.active {
  background: rgba(0, 243, 255, 0.07);
  border: 1px solid rgba(0, 243, 255, 0.38);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.22), inset 0 2px 10px rgba(255, 255, 255, 0.12);
}

.snatch-tab-btn.active .tab-ico {
  color: var(--neon-cyan);
  opacity: 1;
}

/* Tab Panes */
.snatch-tab-pane {
  display: none;
}

.snatch-tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease forwards;
}

/* Category Headings */
.category-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 1.25rem 0 0.6rem 0;
  letter-spacing: 0.3px;
}

.category-subheading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0.85rem 0 0.45rem 0;
}

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--neon-cyan);
}

.cat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Format Lists & Rows */
.format-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.format-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.15s ease;
}

.format-dl-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.format-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 140px;
}

.format-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.audio-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #9fb3c8;
}

.audio-stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.audio-stat-icon.muted {
  color: #6b7a8c;
}

.badge-codec {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  width: fit-content;
}

.format-filesize {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Action Download Buttons — footer glass-pill recipe, neon green */
.dl-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 8px 20px;
  border-radius: 99px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  color: #ffffff;
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 18px rgba(0, 255, 102, 0.2), inset 0 2px 9px rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.dl-action-btn svg {
  color: #00ff66;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.dl-action-btn:hover:not(:disabled):not(.is-downloading) {
  background: rgba(0, 255, 102, 0.16);
  border-color: rgba(0, 255, 102, 0.75);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 255, 102, 0.38), inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

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

/* Faded while preparing download, back to neon green after */
.dl-action-btn.is-downloading,
.dl-action-btn:disabled {
  opacity: 0.35 !important;
  pointer-events: none !important;
  cursor: wait;
  transform: none !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease !important;
}

/* Collapsible Formats under Show More */
.collapsible-formats {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.collapsible-formats.expanded {
  max-height: 5000px;
  opacity: 1;
}

/* Show More — same glass pill as the footer links (.footer-btn) */
.btn-show-more {
  width: auto;
  max-width: max-content;
  margin: 1.25rem auto 0 auto;
  padding: 10px 26px;
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 99px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-show-more:hover {
  background: rgba(0, 243, 255, 0.12);
  border-color: rgba(0, 243, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.35), inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

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

/* Bottom Media Card: thumbnail → title → channel → duration */
.bottom-media-card {
  margin: 1.5rem auto 0 auto;
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-sizing: border-box;
}

.bottom-media-thumb-wrap {
  width: 100%;
  height: auto;
  background: #050505;
  border-radius: 10px;
  overflow: hidden;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Keeps the thumbnail's own ratio, full width, and is not grab/save-able */
.bottom-media-thumb {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.bottom-media-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
}

.bottom-media-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bottom-media-channel {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--neon-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.bottom-media-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin: 0;
}

/* ==========================================================================
   Tab 2: Thumbnail & Subtitles Styles
   ========================================================================== */
.thumb-preview-box {
  width: 100%;
  height: auto;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.85rem;
}

/* Shows every thumbnail at its real ratio instead of forcing 16:9 */
.thumb-preview-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.thumb-res-primary-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.1rem;
  background: rgba(0, 255, 102, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.84rem;
  border: 1px solid rgba(0, 255, 102, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.26), inset 0 2px 10px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  margin-bottom: 0.65rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumb-res-primary-btn:hover {
  background: rgba(0, 255, 102, 0.24);
  border-color: rgba(0, 255, 102, 0.85);
  border-top-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  box-shadow: 0 6px 26px rgba(0, 255, 102, 0.42), inset 0 2px 12px rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.thumb-res-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.thumb-res-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.54rem 0.75rem;
  background: rgba(0, 243, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.74rem;
  line-height: 1.2;
  text-align: center;
  border: 1px solid rgba(0, 243, 255, 0.26);
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 2px 8px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumb-res-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumb-res-btn:hover {
  background: rgba(0, 243, 255, 0.14);
  border-color: rgba(0, 243, 255, 0.62);
  border-top-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 243, 255, 0.28), inset 0 2px 10px rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.thumb-res-primary-btn.is-downloading,
.thumb-res-btn.is-downloading {
  opacity: 0.32 !important;
  pointer-events: none !important;
  cursor: wait;
}

/* Subtitle Tracks */
.subtitles-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.subtitle-track-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sub-chips {
  display: flex;
  gap: 0.35rem;
}

.sub-chip {
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: transparent;
  cursor: pointer;
  border: 1px solid currentColor;
  transition: all 0.15s ease;
}

.chip-srt {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.6);
}

.chip-srt:hover {
  background: #10b981;
  color: #050505;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.chip-vtt {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.6);
}

.chip-vtt:hover {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.chip-txt {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.6);
}

.chip-txt:hover {
  background: #f59e0b;
  color: #050505;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.sub-lang-label {
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 500;
}

/* ==========================================================================
   Tab 3: Trim / Cut Video Styles
   ========================================================================== */
.trim-player-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.85rem;
  position: relative;
}

.trim-iframe,
.trim-video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.trim-player-fallback {
  position: relative;
  width: 100%;
  height: 100%;
}

.fallback-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fallback-overlay-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--neon-cyan);
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  border-radius: 4px;
}

.trim-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.mono-val {
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 700;
}

.time-inputs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.time-group {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  color: var(--text-muted);
}

.time-num-input {
  width: 22px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  padding: 0;
  cursor: text;
}

.time-dash {
  color: var(--text-muted);
  font-weight: 700;
}

/* Dual Range Slider */
.dual-slider-wrap {
  position: relative;
  height: 24px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.slider-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.slider-track-fill {
  position: absolute;
  height: 4px;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #3b82f6, #ef4444);
  border-radius: 2px;
  pointer-events: none;
}

.range-handle {
  position: absolute;
  width: 100%;
  height: 24px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  outline: none;
}

.range-handle::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  transition: transform 0.1s ease;
}

.range-handle::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.handle-start::-webkit-slider-thumb {
  background: #3b82f6;
}

.handle-end::-webkit-slider-thumb {
  background: #ef4444;
}

.range-handle::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
}

.handle-start::-moz-range-thumb {
  background: #3b82f6;
}

.handle-end::-moz-range-thumb {
  background: #ef4444;
}

/* Control Buttons */
.trim-ctrl-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.trim-ctrl-btn {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-preview,
.btn-apply {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-preview:hover,
.btn-apply:hover {
  background: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.btn-apply.applied {
  background: rgba(0, 255, 102, 0.16) !important;
  border: 1px solid #00ff66 !important;
  color: #00ff66 !important;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.35) !important;
}

.btn-apply.pulse-highlight {
  animation: applyPulse 0.5s ease-in-out 3;
}

@keyframes applyPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(239, 68, 68, 0);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.9);
    border-color: #ef4444;
  }
}

.btn-reset {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-reset:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.trim-segment-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

/* ==========================================================================
   Features & Core Philosophy Section
   ========================================================================== */
.features-section {
  padding: 5rem 0 3rem 0;
}

/* Anchor jumps land with the section eyebrow visible under the sticky header */
#features,
#faq {
  scroll-margin-top: calc(var(--header-height, 72px) + 18px);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  color: var(--neon-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Exact Chanakya AI Style Card + Shimmer Animation — Zero Shadow/Glow (Zero Lag) */
.feature-card {
  cursor: pointer;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(0, 243, 255, 0.5);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, border-left-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
}

/* Shimmer sweep — exact from Chanakya AI */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: left 0s;
  pointer-events: none;
  z-index: 10;
}

.feature-card:hover::before,
.feature-card.is-hovered::before {
  left: 150%;
  transition: left 0.75s ease-in-out;
}

.feature-card:hover,
.feature-card.is-hovered {
  background: #000000;
  border-left: 3px solid #00f3ff;
  border-color: rgba(0, 243, 255, 0.5);
  transform: translateY(-6px);
  box-shadow: none !important;
}

.feature-card:active {
  transform: translateY(-2px);
}

.feature-icon-box {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.feature-title {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-desc {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section — Zero Shadow/Glow (Zero Lag)
   ========================================================================== */
.faq-section {
  padding: 3rem 0 5rem 0;
}

.faq-accordion {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition-smooth), background var(--transition-smooth);
  box-shadow: none !important;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background var(--transition-smooth);
  z-index: 1;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(0, 243, 255, 0.4);
  box-shadow: none !important;
}

.faq-item:hover::before,
.faq-item.active::before {
  background: var(--grad-snatch);
}

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

.faq-question:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: -3px;
  border-radius: 12px;
}

.faq-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 243, 255, 0.24);
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.06);
  color: var(--neon-cyan);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease;
  transform-origin: center center;
  padding: 0;
  line-height: 1;
  box-shadow: none !important;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  display: block;
  pointer-events: none;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(0, 243, 255, 0.16);
  border-color: rgba(0, 243, 255, 0.5);
  box-shadow: none !important;
}

.faq-answer {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0 1.5rem;
}

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


/* ==========================================================================
   Minimalist Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 360px;
  width: 100%;
}

.toast {
  background: #0d0e15;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: #ffffff;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-exit {
  animation: toastSlideOut 0.25s forwards;
}

.toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--text-primary);
}

.toast-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--neon-cyan);
  animation: toastProgress 3.5s linear forwards;
}

.toast.toast-success .toast-progress { background: var(--neon-green); }
.toast.toast-error .toast-progress { background: var(--neon-red); }
.toast.toast-warning .toast-progress { background: var(--neon-amber); }

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

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

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Master Footer (Matching Chanakya AI with Pixel Watermark & Periodic Shine)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 5;
  padding: 60px 0 25px;
  background: #000000;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer Links Container (Top 3 Pills) */
.footer-links-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 clamp(16px, 4vw, 60px);
  margin-bottom: 25px;
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-btn {
  text-decoration: none;
  color: #ffffff;
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.footer-btn:hover {
  background: rgba(0, 243, 255, 0.12);
  border-color: rgba(0, 243, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.35), inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.legal-btn-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.legal-tooltip {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-right: 12px;
  animation: pulseTooltip 2s infinite alternate;
}

@keyframes pulseTooltip {
  0% { opacity: 0.7; text-shadow: 0 0 5px transparent; }
  100% { opacity: 1; text-shadow: 0 0 10px var(--neon-cyan); }
}

/* Giant Pixel Watermark Text with Sweep Shine */
.footer-watermark {
  font-family: 'Pixelify Sans', monospace;
  font-size: clamp(4.5rem, 16vw, 15rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  margin: 15px 0 15px 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;

  /*
   * Pure white shine on text only.
   * 4.5s total animation: 2.5s sweep (~55.55%) + 2s pause (~44.45%).
   */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    rgba(255, 255, 255, 0.08) 100%
  );
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: footerShine 4.5s steps(40, end) infinite;
}

@keyframes footerShine {
  0%     { background-position: 100% 0; }
  55.55% { background-position: 0% 0; } /* Takes 2.5 seconds to sweep left to right */
  100%   { background-position: 0% 0; } /* Pauses for 2 seconds */
}

/* Copyright & Signature (Apple / Steve Jobs Style) */
.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 15px 24px;
  text-align: center;
}

.footer-signature {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.6px;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.signature-name {
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #00f3ff, #8b5cf6, #00ff66, #00f3ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 3s linear infinite;
  display: inline-block;
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.copyright-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

.copyright-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.copyright-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.copyright-link:hover {
  color: var(--neon-violet);
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Responsive Mobile Footer */
@media (max-width: 680px) {
  .footer-links-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
  }
  .legal-btn-wrapper {
    align-items: center;
  }
  .legal-tooltip {
    padding-right: 0;
  }
  .footer-watermark {
    font-size: 19vw;
  }
  .copyright {
    text-align: center;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Floating Action Button: Scroll-To-Top (Top to Bottom / Bottom to Top)
   ========================================================================== */
.floating-action-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.06);
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  cursor: pointer;
  z-index: 995;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 16px, 0) scale(0.92);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.floating-action-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

.floating-action-btn:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: rgba(0, 243, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.2);
  transform: translate3d(0, -3px, 0) scale(1.08);
}

.floating-action-btn:active {
  transform: translate3d(0, 0, 0) scale(0.95);
}

/* Hide floating actions while the fullscreen mobile menu is open */
body.menu-open #scrollToTop,
body.menu-open #floating-coffee-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(0, 16px, 0) scale(0.92) !important;
}

.scroll-to-top .scroll-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--neon-cyan);
  transition: transform 0.2s ease;
}

.scroll-to-top:hover .scroll-arrow {
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .floating-action-btn {
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    right: max(16px, env(safe-area-inset-right, 16px));
    width: 44px;
    height: 44px;
  }
  .scroll-to-top .scroll-arrow {
    width: 17px;
    height: 17px;
  }
}

/* ==========================================================================
   Custom Glass Scrollbar (100% Matching Chanakya AI Implementation)
   ========================================================================== */
/* Suppress native browser scrollbar when custom glass scrollbar is active */
html.custom-scrollbar-active {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.custom-scrollbar-active::-webkit-scrollbar,
html.custom-scrollbar-active body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#custom-scrollbar {
  position: fixed;
  right: 6px;
  top: var(--header-height, 72px); /* Starts cleanly below the sticky header across all devices */
  bottom: 8px;
  width: 10px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#custom-scrollbar.visible {
  opacity: 1;
  pointer-events: all;
}

/* Hide the page scrollbar for overlays that do not own a scrollable panel. */
body.lightbox-open #custom-scrollbar,
body.menu-open #custom-scrollbar,
body.modal-open #custom-scrollbar {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Lock page background completely during modal display */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overscroll-behavior: none !important;
}

.csb-btn {
  width: 10px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 99px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.25);
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
  transition: all 0.25s ease;
  user-select: none;
}

.csb-btn:hover {
  background: rgba(0, 243, 255, 0.25);
  border-color: rgba(0, 243, 255, 0.6);
  box-shadow: 0 0 14px rgba(0, 243, 255, 0.5), 0 0 28px rgba(0, 243, 255, 0.2);
}

.csb-btn:active {
  background: rgba(0, 243, 255, 0.5);
  border-color: rgba(0, 243, 255, 0.9);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.8), 0 0 40px rgba(0, 243, 255, 0.4);
  transform: scale(0.92);
}

.csb-btn svg {
  width: 8px;
  height: 8px;
  stroke: var(--neon-cyan);
  opacity: 0.85;
  pointer-events: none;
}

.csb-track {
  flex: 1;
  width: 10px;
  position: relative;
  margin: 4px 0;
  cursor: pointer;
}

.csb-thumb {
  position: absolute;
  left: 0;
  width: 10px;
  border-radius: 99px;
  background: rgba(0, 243, 255, 0.35);
  border: 1px solid rgba(0, 243, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
  cursor: grab;
  transition: background 0.2s, box-shadow 0.2s;
  min-height: 30px;
}

.csb-thumb:hover {
  background: rgba(0, 243, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.6);
}

.csb-thumb.dragging,
.csb-thumb:active {
  cursor: grabbing;
  background: rgba(0, 243, 255, 0.85);
  box-shadow: 0 0 22px rgba(0, 243, 255, 0.8), 0 0 44px rgba(0, 243, 255, 0.35);
}

/* Generic Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.spin-anim {
  animation: spinAnim 0.8s linear infinite;
}

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

/* ==========================================================================
   Legal Pages — Dark Card Container (Chanakya-style)
   ========================================================================== */
.about-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 40px auto 100px;
  padding: 50px;
  background: #08080d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-container.legal-doc-wide {
  width: 100%;
  max-width: 100%;
  margin: 40px 0 100px;
}

.about-container h2 {
  font-size: 1.4rem;
  color: #fff;
  margin: 36px 0 10px;
  font-weight: 700;
}

.about-container h2:first-of-type {
  margin-top: 0;
}

.about-container p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.about-container ul {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 18px;
}

.about-container ul li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.about-container a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.about-container a:hover {
  opacity: 0.8;
}

/* Legal page title */
.legal-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.legal-base {
  color: #fff;
}

.legal-accent {
  background: linear-gradient(90deg, #00f3ff, #8b5cf6, #00ff66, #00f3ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 3s linear infinite;
  display: inline-block;
}

/* ── Legal & Policy Hub Center ── */
.legal-hero {
  padding: 40px 24px 30px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.legal-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-family);
  padding: 10px 24px;
  background: #0a0a0f;
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  color: #ff3366;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  line-height: 1.5;
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.22), inset 0 1px 4px rgba(255, 255, 255, 0.08);
  animation: warningButtonPulse 3s infinite alternate;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 14px;
  transition: all 0.25s ease;
}

.legal-warning:hover {
  background: #0e0a10;
  border-color: #ff3366;
  color: #ffffff;
  box-shadow: 0 6px 28px rgba(255, 51, 102, 0.45);
  transform: translateY(-2px);
}

@keyframes warningButtonPulse {
  0% {
    box-shadow: 0 4px 18px rgba(255, 51, 102, 0.18), inset 0 1px 4px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 51, 102, 0.35);
  }
  100% {
    box-shadow: 0 4px 26px rgba(255, 51, 102, 0.4), inset 0 1px 6px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 51, 102, 0.7);
  }
}

.policy-grid-section {
  padding: 20px 24px 80px;
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 10;
}

.policy-card {
  background: #0a0a10;
  border: 1px solid rgba(0, 243, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.policy-icon {
  font-size: 2.5rem;
  color: var(--neon-cyan);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-icon svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.4));
  transition: filter 0.25s ease;
}

.policy-name {
  font-family: 'Audiowide', 'Orbitron', var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.policy-card:hover {
  transform: translateY(-4px);
  background: #0e0f18;
  border-color: rgba(0, 243, 255, 0.65);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 243, 255, 0.25);
}

.policy-card:hover .policy-icon {
  transform: scale(1.1);
  color: #ffffff;
}

.policy-card:hover .policy-icon svg {
  filter: drop-shadow(0 0 14px rgba(0, 243, 255, 0.8));
}

.policy-card:hover .policy-name {
  color: #ffffff;
}

.legal-date {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-bottom: 2.5rem;
  display: block;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color var(--transition-fast);
}

.back-btn:hover {
  color: var(--neon-cyan);
}

@media (max-width: 768px) {
  .about-container {
    margin: 24px 16px 80px;
    padding: 28px 20px;
    border-radius: 16px;
  }
  .about-container.legal-doc-wide {
    margin-left: 0;
    margin-right: 0;
  }
  .legal-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .about-container {
    margin: 16px 12px 70px;
    padding: 22px 16px;
  }
  .about-container.legal-doc-wide {
    margin-left: 0;
    margin-right: 0;
  }
  .legal-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   ⚡ SNATCH — FLOATING COFFEE / FUEL BUTTON & CYBERPUNK PATRON MODAL
   ========================================================================== */

/* ── Floating Coffee / Fuel Button ── */
.floating-coffee-btn {
  color: var(--neon-cyan);
}

.floating-coffee-btn .coffee-cup-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0, 243, 255, 0.45));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s;
}

.floating-coffee-btn:hover .coffee-cup-icon {
  transform: rotate(-6deg) scale(1.1);
  stroke: #ffffff;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.8));
}

/* Tooltip for Coffee Button */
.floating-coffee-btn::before {
  content: "⚡ Fuel SNATCH";
  position: absolute;
  right: 62px;
  background: rgba(10, 14, 28, 0.94);
  color: var(--neon-cyan);
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 243, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.floating-coffee-btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ── Cyberpunk Patron Modal Overlay ── */
.donation-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: contain;
}

.donation-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.donation-modal-overlay:not(.active) .donation-title {
  animation-play-state: paused !important;
}

.donation-modal-card {
  position: relative;
  width: 75vw;
  max-width: 960px;
  min-height: 480px;
  max-height: 90vh;
  background: #08080c !important;
  border: 1px solid rgba(0, 243, 255, 0.3) !important;
  border-radius: clamp(18px, 2vw, 32px);
  padding: clamp(24px, 3.2vw, 56px) clamp(24px, 3.8vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transform: translate3d(0, 10px, 0) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.15);
}

.donation-modal-card::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.patron-grid-container {
  margin: auto 0;
}

.donation-modal-overlay.active .donation-modal-card {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Close Button — same neon-red glass ✕ as the menu / input crosses */
.donation-modal-close {
  position: absolute;
  top: clamp(12px, 1.4vw, 22px);
  right: clamp(14px, 1.6vw, 24px);
  width: clamp(34px, 2.6vw, 44px);
  height: clamp(34px, 2.6vw, 44px);
  border-radius: 50%;
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.55);
  color: var(--neon-red);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.28), inset 0 1px 6px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.donation-modal-close:hover {
  background: rgba(255, 51, 102, 0.22);
  border-color: rgba(255, 51, 102, 0.85);
  color: #ffffff;
  transform: rotate(90deg);
  box-shadow: 0 0 14px rgba(255, 51, 102, 0.5), inset 0 1px 6px rgba(255, 255, 255, 0.18);
}

.donation-modal-close:active {
  transform: scale(0.92) rotate(90deg);
}

/* Grid Container */
.patron-grid-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(20px, 3.5vw, 52px);
  width: 100%;
  align-items: center;
}

/* Left Panel */
.patron-left-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  width: 100%;
}

.donation-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(6px, 0.8vw, 14px);
  width: 100%;
}

.donation-logo-direct {
  width: clamp(48px, 4.5vw, 76px);
  height: clamp(48px, 4.5vw, 76px);
  object-fit: contain;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 16px rgba(0, 243, 255, 0.5));
  pointer-events: none;
}

.donation-title {
  font-size: clamp(1.15rem, 1.8vw, 2.2rem);
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 2px;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.25;
}

.don-accent {
  background: linear-gradient(90deg, #00f3ff 0%, #ffffff 25%, #8b5cf6 50%, #00ff66 75%, #00f3ff 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 3s linear infinite;
  display: inline-block;
}

.donation-subtitle {
  font-size: clamp(0.82rem, 1.02vw, 1.15rem);
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
  width: 100%;
}

/* Supported Methods Chips */
.patron-methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 0.7vw, 12px);
  width: 100%;
}

.method-chip {
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  padding: clamp(4px, 0.5vw, 8px) clamp(10px, 1.1vw, 18px);
  font-size: clamp(0.72rem, 0.82vw, 0.95rem);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.method-chip:hover {
  background: rgba(0, 243, 255, 0.12);
  border-color: rgba(0, 243, 255, 0.6);
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(0, 243, 255, 0.25);
}

/* Trust Badge */
.patron-trust-badge {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.6vw, 10px);
  font-size: clamp(0.72rem, 0.8vw, 0.92rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.patron-trust-badge svg {
  width: clamp(14px, 1.1vw, 18px);
  height: clamp(14px, 1.1vw, 18px);
  stroke: var(--neon-cyan);
  flex-shrink: 0;
}

/* Right Panel */
.patron-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  width: 100%;
}

.patron-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 243, 255, 0.22);
  border-radius: clamp(14px, 1.4vw, 24px);
  padding: clamp(12px, 1.4vw, 22px);
  width: 100%;
}

.patron-qr-box {
  position: relative;
  width: clamp(130px, 14vw, 200px);
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: clamp(12px, 1.2vw, 18px);
  padding: clamp(8px, 0.8vw, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(0, 243, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.patron-qr-box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(0, 243, 255, 0.45);
}

.patron-qr-box:active {
  transform: scale(0.97);
}

.patron-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  pointer-events: none;
}

.patron-qr-hint {
  font-size: clamp(0.72rem, 0.8vw, 0.9rem);
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  margin-top: clamp(8px, 0.8vw, 12px);
  line-height: 1.35;
}

.patron-qr-hint-main {
  display: flex;
  align-items: center;
  gap: 6px;
}

.patron-qr-hint-sub {
  font-size: 0.88em;
  color: var(--neon-cyan);
  font-weight: 600;
}

.patron-qr-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--neon-cyan);
}

/* Direct Instant Pay Button */
.patron-btn-direct-pay {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 10px);
  padding: clamp(11px, 1.1vw, 18px) clamp(16px, 1.8vw, 28px);
  border-radius: 99px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.85rem, 1vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.patron-btn-direct-pay svg {
  width: clamp(14px, 1.2vw, 18px);
  height: clamp(14px, 1.2vw, 18px);
}

.patron-btn-direct-pay:hover {
  background: rgba(0, 243, 255, 0.18);
  border-color: rgba(0, 243, 255, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.45), inset 0 2px 10px rgba(255, 255, 255, 0.22);
}

/* Clean Link Bar */
.patron-link-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(0, 243, 255, 0.3);
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: clamp(0.78rem, 0.88vw, 0.95rem);
}

.patron-link-bar:hover {
  background: rgba(0, 243, 255, 0.08);
  border-color: rgba(0, 243, 255, 0.6);
}

.patron-link-label {
  color: var(--text-muted);
}

.patron-link-url {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Floating Center Toast */
.patron-center-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: rgba(6, 12, 24, 0.96);
  border: 1px solid var(--neon-green);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.45), 0 10px 40px rgba(0, 0, 0, 0.85);
  border-radius: 14px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--neon-green);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.patron-center-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.copied-pulse {
  animation: copiedPulseAnim 0.45s ease;
}

@keyframes copiedPulseAnim {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Mobile responsive for patron modal */
@media (max-width: 768px) {
  .donation-modal-card {
    width: 92vw;
    min-height: 0;
    max-height: 86vh;
    padding: 34px 18px 24px;
    border-radius: 18px;
    justify-content: flex-start;
  }
  .patron-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .patron-left-panel {
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .donation-brand-wrap {
    align-items: center;
  }
  .patron-methods-row {
    justify-content: center;
  }
  .patron-trust-badge {
    justify-content: center;
  }
  .patron-qr-box {
    width: 140px;
  }
  .floating-coffee-btn::before {
    display: none;
  }
}
/* ==========================================================================
   Unified Page Headings · Footer Row · Spacing Fixes  (Nov 2026)
   ========================================================================== */

/* Footer must sit at the bottom of the viewport (kills the empty gap) */
main {
  flex: 1 0 auto;
}

/* Page heading — mirrors "Contact Command Center" */
.page-heading {
  font-family: 'Audiowide', 'Orbitron', var(--font-family, system-ui), sans-serif;
  font-weight: 400;
  font-size: clamp(1.55rem, 4vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: 0.3px;
  text-align: center;
  color: #ffffff;
  margin: 0 0 0.9rem;
}

.ph-plain {
  color: #ffffff;
}

.ph-accent {
  background: linear-gradient(90deg, #00f3ff, #8b5cf6, #00ff66, #00f3ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 3s linear infinite;
  display: inline-block;
}

/* Every document title uses the same display face as the Command Center */
.legal-title {
  font-family: 'Audiowide', 'Orbitron', var(--font-family, system-ui), sans-serif;
  font-weight: 400;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  letter-spacing: 0.3px;
  line-height: 1.25;
}

.legal-accent {
  background: linear-gradient(90deg, #00f3ff, #8b5cf6, #00ff66, #00f3ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 3s linear infinite;
  display: inline-block;
}

/* ── Footer row: left · center · right (Chanakya layout) ── */
.footer-links-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  column-gap: 18px;
}

.footer-links-container > .footer-btn:first-child {
  justify-self: start;
}

.footer-links-container > .report-btn {
  justify-self: center;
}

.footer-links-container > .legal-btn-wrapper {
  justify-self: end;
}

@media (max-width: 680px) {
  .footer-links-container {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 16px;
  }

  .footer-links-container > .footer-btn:first-child,
  .footer-links-container > .report-btn,
  .footer-links-container > .legal-btn-wrapper {
    justify-self: center;
  }
}

/* Tighter gap between content and footer */
.resolution-center {
  padding-bottom: 56px;
}

.about-container {
  margin-bottom: 64px;
}

/* ==========================================================================
   Contact Command Center — legal/contact
   ========================================================================== */
.contact-center {
  padding: 56px 1.5rem 72px;
}

.cc-card {
  max-width: 760px;
  margin: 0 auto;
  background: #08080d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 44px 44px 40px;
  position: relative;
  z-index: 2;
}

.cc-card .page-heading {
  margin-bottom: 22px;
}

.cc-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: #ff4d6a;
  background: rgba(255, 51, 102, 0.06);
  border: 1px solid rgba(255, 51, 102, 0.45);
  border-radius: 99px;
  padding: 10px 22px;
  margin: 0 auto 34px;
  max-width: 620px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 51, 102, 0.16);
  transition: all 0.25s ease;
}

.cc-note svg {
  flex-shrink: 0;
}

.cc-note:hover {
  color: #ffffff;
  border-color: #ff3366;
  background: rgba(255, 51, 102, 0.12);
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.32);
}

.cc-field {
  margin-bottom: 22px;
}

.cc-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #c7ccd6;
  margin-bottom: 8px;
}

.cc-label .req {
  color: var(--neon-cyan);
}

.cc-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.cc-input:focus {
  border-color: rgba(0, 243, 255, 0.5);
  background: rgba(0, 243, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.1), 0 0 20px rgba(0, 243, 255, 0.08);
}

.cc-input[readonly] {
  color: #8b93a3;
  cursor: not-allowed;
}

.cc-tarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.cc-count {
  text-align: right;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.cc-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 99px;
  border: 1px solid rgba(0, 243, 255, 0.35);
  background: rgba(0, 243, 255, 0.06);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cc-file-label:hover {
  background: rgba(0, 243, 255, 0.14);
  border-color: rgba(0, 243, 255, 0.7);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.25);
}

.cc-file-name {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--neon-green);
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 36px;
  border-radius: 99px;
  border: 1px solid rgba(0, 243, 255, 0.45);
  background: rgba(0, 243, 255, 0.05);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cc-btn:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: rgba(0, 243, 255, 0.85);
  box-shadow: 0 0 26px rgba(0, 243, 255, 0.35);
  transform: translateY(-2px);
}

.cc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.cc-actions {
  display: flex;
  justify-content: center;
  margin: 30px 0 34px;
}

.cc-schedule {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
}

.cc-schedule-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.cc-schedule .cc-btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

/* Keep native date/time pickers readable on the dark card */
.cc-input[type="date"],
.cc-input[type="time"] {
  color-scheme: dark;
}

.cc-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin: 40px 0 32px;
}

.cc-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8ecf3;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.22s ease;
}

.cc-social:hover {
  color: #050505;
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.55);
  transform: translateY(-3px);
}

.cc-back {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

/* Exact Chanakya AI animated gradient (#00d2ff -> #7b2ff7 -> #bd00ff -> #00d2ff) */
.chanakya-gradient {
  background: linear-gradient(90deg, #00d2ff, #7b2ff7, #bd00ff, #00d2ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: textShine 3s linear infinite;
}

/* Consent line directly beneath Snatch Media button */
.snatch-consent-note {
  margin: 0.7rem auto 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.snatch-consent-checkbox {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0 2px 0 0;
  accent-color: var(--neon-cyan, #00f3ff);
  cursor: pointer;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.snatch-consent-note.consent-required {
  color: #ffb3c0;
  animation: consentShake 0.42s ease;
}

.snatch-consent-note.consent-required .snatch-consent-checkbox {
  box-shadow: 0 0 0 2px rgba(255, 43, 78, 0.9), 0 0 14px rgba(255, 43, 78, 0.55);
  transform: scale(1.1);
}

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

.snatch-consent-note .consent-star {
  color: var(--neon-cyan, #00f3ff);
  font-size: 0.88rem;
  line-height: 1;
}

.snatch-consent-note a {
  color: var(--neon-cyan, #00f3ff);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.snatch-consent-note a:hover {
  color: #ffffff;
}

/* Bottom Legal Notice Glass Pill (above footer, neon red with blinking dot) */
.legal-notice-section {
  padding: 0 0 3.25rem;
}

.legal-notice-pill {
  width: 100%;
  padding: 16px 32px;
  border-radius: 9999px;
  background: rgba(255, 43, 78, 0.06);
  border: 1px solid rgba(255, 43, 78, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(255, 43, 78, 0.22), inset 0 2px 10px rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.legal-notice-pill:hover {
  border-color: rgba(255, 43, 78, 0.78);
  box-shadow: 0 8px 28px rgba(255, 43, 78, 0.34), inset 0 2px 10px rgba(255, 255, 255, 0.14);
}

.legal-notice-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #ffb3c0;
}

.legal-notice-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff335c;
  font-weight: 700;
  margin-right: 4px;
}

.legal-notice-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2b4e;
  animation: legalDotBlink 1.7s ease-in-out infinite;
}

@keyframes legalDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px #ff2b4e, 0 0 18px rgba(255, 43, 78, 0.9);
  }
  50% {
    opacity: 0.28;
    transform: scale(0.78);
    box-shadow: 0 0 1px rgba(255, 43, 78, 0.15);
  }
}

.legal-notice-text a {
  color: #ff6b86;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-notice-text a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Chanakya AI Studio Showcase Banner & Post-Download Popup
   ========================================================================== */
.chanakya-promo-wrap {
  width: 100%;
  max-width: 100%;
  margin: 6rem auto 0.25rem;
}

.chanakya-promo-card {
  background: #08080d;
  border: 1px solid rgba(0, 255, 102, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.chanakya-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px;
  border-radius: 99px;
  background: rgba(0, 243, 255, 0.06);
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.18), inset 0 2px 10px rgba(255, 255, 255, 0.1);
  color: #e6fbff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  user-select: none;
}

.chanakya-pill-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff66;
  animation: chanakyaDotBlink 1.7s ease-in-out infinite;
}

@keyframes chanakyaDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px #00ff66, 0 0 18px rgba(0, 255, 102, 0.9);
  }
  50% {
    opacity: 0.28;
    transform: scale(0.78);
    box-shadow: 0 0 1px rgba(0, 255, 102, 0.15);
  }
}

.chanakya-eyebrow {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neon-cyan, #00f3ff);
}

.chanakya-promo-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.chanakya-promo-desc {
  margin: 0;
  max-width: 760px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text-secondary, #94a3b8);
}

.chanakya-neon-btn {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.22), inset 0 2px 10px rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  cursor: pointer;
}

.chanakya-neon-btn:hover {
  background: rgba(0, 255, 102, 0.18);
  border-color: #00ff66;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 102, 0.38), inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

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

/* Post-Download Popup (NO backdrop blur per user requirement) */
.dl-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 100050;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.dl-promo-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dl-promo-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #08080d;
  border: 1px solid rgba(0, 243, 255, 0.34);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 2.3rem 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.85);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}

.dl-promo-overlay.active .dl-promo-card {
  transform: translateY(0) scale(1);
}

.dl-promo-close {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
}

.dl-promo-pill {
  background: rgba(0, 255, 102, 0.06);
  border-color: rgba(0, 255, 102, 0.38);
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.dl-promo-title {
  margin: 0.15rem 0 0;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.dl-promo-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary, #cbd5e1);
}

.dl-promo-snooze {
  margin-top: 0.55rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: default;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary, #94a3b8);
}

.dl-promo-snooze input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #00ff66;
  cursor: pointer;
}

@media (max-width: 768px) {
  .legal-notice-pill {
    border-radius: 22px;
    padding: 16px 18px;
  }
}

@media (max-width: 680px) {
  .chanakya-promo-card {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
  }

  .dl-promo-card {
    padding: 2.1rem 1.25rem 1.4rem;
    border-radius: 20px;
  }

  .contact-center {
    padding: 32px 1rem 56px;
  }

  .cc-card {
    padding: 30px 20px 26px;
    border-radius: 18px;
  }

  .cc-schedule-row {
    grid-template-columns: 1fr;
  }

  .cc-note {
    border-radius: 18px;
    font-size: 0.78rem;
  }
}
