@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050A14;
  --bg2: #0C1322;
  --bg3: #111827;
  --accent: #00D4FF;
  --accent2: #7B61FF;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --text: #F0F4FF;
  --muted: #8892A4;
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --green: #00E676;
  --red: #FF5252;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-logo span { -webkit-text-fill-color: var(--text); }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}

.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent); color: #000;
  padding: 8px 20px; border-radius: 8px;
  font-weight: 700; font-size: 0.875rem; text-decoration: none;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  background: none; border: none; color: var(--text);
  cursor: pointer; padding: 4px;
}

/* ─── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,212,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(123,97,255,0.1) 0%, transparent 55%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--accent);
  padding: 6px 16px; border-radius: 99px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  background: var(--accent); color: #000;
  padding: 14px 32px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-secondary {
  background: transparent; color: var(--text);
  padding: 14px 32px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }

.hero-stats {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--accent);
  display: block;
}

.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── SECTIONS ─────────────────────────────────── */
section { padding: 5rem 2rem; }

.container { max-width: 1140px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; margin-bottom: 1rem; line-height: 1.2;
}

.section-subtitle { color: var(--muted); font-size: 1.05rem; max-width: 520px; }

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

/* ─── FEATURES ─────────────────────────────────── */
.features-bg { background: var(--bg2); }

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover { border-color: rgba(0,212,255,0.25); transform: translateY(-3px); }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,212,255,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ─── CHANNELS TITLE ORBITRON ───────────────────── */
#canais .section-title {
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em;
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent;
}

/* ─── CHANNELS ─────────────────────────────────── */
.channels-scroll {
  overflow: hidden; position: relative;
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.channels-track {
  display: flex; gap: 1rem;
  animation: scroll-left 35s linear infinite;
  width: max-content;
}

.channels-track2 {
  animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.channel-pill {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 8px 20px;
  font-size: 0.85rem; font-weight: 500; white-space: nowrap;
  color: var(--muted);
}

.channel-pill.highlight { border-color: rgba(0,212,255,0.3); color: var(--accent); }

/* ─── PLANS ─────────────────────────────────────── */
.plans-bg { background: var(--bg2); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
  border-color: var(--accent);
  animation: plan-glow-pulse 1.8s ease-in-out infinite;
}

@keyframes plan-glow-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0,212,255,0.2); }
  50% { box-shadow: 0 0 32px rgba(0,212,255,0.45); }
}

.plan-card.featured {
  background: rgba(0,212,255,0.05);
  border-color: var(--accent);
  animation: plan-glow-pulse 2.4s ease-in-out infinite;
}

.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 16px; border-radius: 99px;
}

.plan-name { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem; }
.plan-connections { font-size: 2.5rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; color: var(--accent); line-height: 1; margin-bottom: 0.25rem; }
.plan-connections span { font-size: 1rem; font-weight: 500; color: var(--muted); }

.plan-price {
  margin: 1.25rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plan-price .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem; font-weight: 700;
}

.plan-price .currency {
  font-size: 1.1rem; font-weight: 600; vertical-align: top; margin-top: 6px; display: inline-block; color: var(--muted);
}

.plan-price .period { font-size: 0.85rem; color: var(--muted); display: block; margin-top: 2px; }

.plan-features { list-style: none; margin-bottom: 2rem; }

.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--muted);
  padding: 6px 0; border-bottom: 1px solid var(--border);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,230,118,0.15); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0;
}

.btn-plan {
  width: 100%; padding: 13px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; text-align: center; display: block;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-plan:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-plan.primary { background: var(--accent); color: #000; }
.btn-plan.secondary { background: var(--card-bg); color: var(--text); border: 1px solid var(--border); }

/* ─── TRIAL ─────────────────────────────────────── */
.trial-section {
  background: var(--bg);
  text-align: center;
}

.trial-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(123,97,255,0.08) 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 24px;
  padding: 4rem 2rem;
  max-width: 640px; margin: 0 auto;
}

.trial-box h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.trial-box p { color: var(--muted); margin-bottom: 2rem; }

.trial-highlight {
  display: inline-block;
  background: rgba(0,230,118,0.12);
  border: 1px solid rgba(0,230,118,0.3);
  color: var(--green);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 99px;
  margin-bottom: 1.25rem;
}

/* ─── FAQ ────────────────────────────────────────── */
.faq-grid {
  max-width: 780px; margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--card-bg);
}

.faq-item.open {
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 0 20px rgba(0,212,255,0.07);
}

.faq-q {
  font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; gap: 12px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
  position: relative;
}

.faq-q::before {
  content: '?'; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,212,255,0.12); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; flex-shrink: 0;
  transition: background 0.25s;
}

.faq-item.open .faq-q::before {
  background: rgba(0,212,255,0.22);
}

.faq-q-text {
  flex: 1;
}

.faq-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.25s, border-color 0.25s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.3);
}

.faq-arrow svg {
  width: 14px; height: 14px;
  stroke: var(--muted);
  transition: stroke 0.25s;
}

.faq-item.open .faq-arrow svg {
  stroke: var(--accent);
}

.faq-a {
  color: var(--muted); font-size: 0.9rem;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease, opacity 0.35s ease;
  opacity: 0;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
  opacity: 1;
}

/* barra de progresso no topo do item aberto */
.faq-item::before {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px 2px 0 0;
}

.faq-item.open::before {
  width: 100%;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: rgba(123,97,255,0.4); }

.service-icon {
  font-size: 2rem; margin-bottom: 1rem;
}

.service-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.875rem; }

/* ─── CONTACT ────────────────────────────────────── */
.contact-bg { background: var(--bg2); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.contact-method {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s;
}

.contact-method:hover { border-color: rgba(0,212,255,0.35); }

.contact-method-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}

.whatsapp-icon { background: rgba(0,230,118,0.12); }
.email-icon { background: rgba(0,212,255,0.12); }

.contact-method-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-method-value { font-weight: 600; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block; margin-bottom: 0.75rem;
}

footer p { color: var(--muted); font-size: 0.85rem; }

.footer-links {
  display: flex; justify-content: center; gap: 2rem;
  list-style: none; margin: 1.5rem 0;
}

.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── UPTIME BAR ─────────────────────────────────── */
.uptime-bar {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.2);
  border-radius: 99px; font-size: 0.8rem; font-weight: 600;
  color: var(--green); width: fit-content; margin: 0 auto 3rem;
}

.uptime-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse 1.5s ease-in-out infinite;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 10, 20, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-cta { display: none; }

  .nav-toggle { display: block; }

  section { padding: 3.5rem 1.25rem; }

  .hero { padding: 6rem 1.25rem 3rem; min-height: auto; }

  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas a { width: 100%; justify-content: center; }

  .hero-stats { gap: 1.5rem 2rem; }

  .section-title { font-size: 1.6rem; }
  #canais .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); font-family: 'Orbitron', sans-serif; }
  .section-subtitle { font-size: 0.95rem; }

  .features-grid, .services-grid { grid-template-columns: 1fr; }

  .plans-grid { grid-template-columns: 1fr !important; }

  .faq-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .contact-method { flex-wrap: wrap; padding: 1rem; }
  .contact-method-label { font-size: 0.7rem; }

  footer { padding: 2.5rem 1.25rem; }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .hero-stats { gap: 1.25rem 1.5rem; }
  .stat-num { font-size: 1.5rem; }

  .channel-pill { font-size: 0.8rem; padding: 6px 14px; }
}

/* ─── HERO CANVAS PARTICLES ─────────────────────── */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ─── HERO TYPING CURSOR ─────────────────────────── */
.hero-badge .badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ─── COUNTER ANIMATION ──────────────────────────── */
.stat-num {
  display: block;
  transition: transform 0.3s ease;
}

/* ─── HERO GLOW ACCENT LINE ──────────────────────── */
.hero-accent-line {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 99px;
  margin: 0 auto 1.5rem;
  opacity: 0.7;
}

/* ─── WHATSAPP FLUTUANTE ─────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #00E676;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  z-index: 999;
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.35), 0 0 0 0 rgba(0,230,118,0.5); }
  50% { box-shadow: 0 4px 16px rgba(0,0,0,0.35), 0 0 0 12px rgba(0,230,118,0); }
}

/* ─── MUSIC PLAYER ───────────────────────────────── */
#music-player {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
}

#music-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--text);
  padding: 9px 16px 9px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
  font-family: 'Inter', sans-serif;
}

#music-btn:hover {
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 16px rgba(0,212,255,0.15);
  transform: translateY(-1px);
}

#music-btn.playing {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
  color: var(--accent);
}

#music-label {
  transition: color 0.2s;
}

/* barrinhas animadas */
#music-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

#music-bars.active {
  display: flex;
}

#music-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  animation: bar-bounce 0.8s ease-in-out infinite;
}

#music-bars span:nth-child(1) { animation-delay: 0s;    height: 6px; }
#music-bars span:nth-child(2) { animation-delay: 0.15s; height: 10px; }
#music-bars span:nth-child(3) { animation-delay: 0.3s;  height: 7px; }
#music-bars span:nth-child(4) { animation-delay: 0.1s;  height: 12px; }

@keyframes bar-bounce {
  0%, 100% { transform: scaleY(0.4); opacity: 0.7; }
  50%       { transform: scaleY(1);   opacity: 1; }
}

@media (max-width: 768px) {
  #music-player { bottom: 80px; right: 16px; }
}

