:root {
  --bg: #061018;
  --bg-2: #0b1c28;
  --card: rgba(10, 28, 40, 0.72);
  --line: rgba(255, 214, 160, 0.16);
  --gold: #f4c56a;
  --gold-2: #ffd98a;
  --coral: #ff6b4a;
  --teal: #2ad4c0;
  --teal-dim: #1a8f86;
  --sand: #f7ead4;
  --muted: #b7c4cc;
  --white: #fffaf3;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--sand);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(255, 107, 74, 0.28), transparent 55%),
    radial-gradient(700px 420px at 10% 10%, rgba(42, 212, 192, 0.18), transparent 50%),
    radial-gradient(800px 600px at 50% 100%, rgba(244, 197, 106, 0.08), transparent 55%),
    linear-gradient(180deg, #061018 0%, #0a1a24 50%, #07141c 100%);
}
.bg-glow::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
}

.wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 16, 24, 0.62);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 44px; height: 44px; border-radius: 50%;
  box-shadow: 0 6px 16px rgba(20, 140, 60, 0.35);
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 0.92rem; color: var(--muted); }
.nav-links a:hover { color: var(--gold-2); }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #06210f; font-weight: 700;
  padding: 10px 14px; border-radius: 999px; font-size: 0.88rem;
}
.btn-wa:hover { filter: brightness(1.08); }

/* Hero */
.hero { padding: 48px 0 28px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: stretch;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin: 12px 0 16px;
  color: var(--white);
}
h1 em { font-style: italic; color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; line-height: 1.55; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 8px 12px; border-radius: 999px; font-size: 0.82rem; color: var(--sand);
}

/* Player card */
.player-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.player-card::before {
  content: "";
  position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(circle, rgba(255,107,74,0.22), transparent 60%);
  pointer-events: none;
}
.eq {
  display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-bottom: 16px;
}
.eq span {
  width: 7px; border-radius: 6px;
  background: linear-gradient(180deg, var(--gold), var(--coral));
  animation: eq 0.9s ease-in-out infinite;
  height: 18%;
}
.eq span:nth-child(1) { animation-delay: 0s; }
.eq span:nth-child(2) { animation-delay: .12s; }
.eq span:nth-child(3) { animation-delay: .24s; }
.eq span:nth-child(4) { animation-delay: .08s; }
.eq span:nth-child(5) { animation-delay: .3s; }
.eq span:nth-child(6) { animation-delay: .16s; }
.eq span:nth-child(7) { animation-delay: .22s; }
.eq.is-paused span { animation: none; height: 18% !important; opacity: .45; }
@keyframes eq {
  0%, 100% { height: 18%; }
  50% { height: 100%; }
}
.now { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.player-title { font-family: var(--display); font-size: 1.55rem; margin: 4px 0 2px; }
.player-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.controls { display: flex; align-items: center; gap: 12px; }
.play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  padding: 0;
  filter: drop-shadow(0 10px 18px rgba(20, 140, 60, 0.45));
  transition: transform .15s ease;
}
.play-btn:hover { transform: scale(1.06); }
.play-btn img { width: 72px; height: 72px; display: block; }
.pause-mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #9dffb0, #1f8f3a 55%, #0d5a22);
  display: none; place-items: center; gap: 7px;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,.25);
}
.pause-mark[hidden] { display: none; }
.play-btn.is-playing .pause-mark { display: grid; }
.play-btn.is-playing img { display: none; }
.pause-mark span {
  width: 8px; height: 26px; border-radius: 3px; background: #eaffef;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.vol { flex: 1; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.vol input { width: 100%; accent-color: var(--gold); }
.status { margin-top: 14px; font-size: 0.82rem; color: var(--muted); min-height: 1.2em; }
.status.ok { color: #8ff0c4; }
.status.err { color: #ff8d7a; }

/* Sections */
section { padding: 56px 0; }
.section-title {
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}
.section-lead { color: var(--muted); margin-bottom: 28px; max-width: 40rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 1.08rem; margin: 8px 0 8px; }
.card p { color: var(--muted); line-height: 1.55; font-size: 0.95rem; }
.icon { font-size: 1.4rem; }

.claudio {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center;
  background: linear-gradient(120deg, rgba(42,212,192,0.08), rgba(255,107,74,0.08));
  border: 1px solid var(--line); border-radius: 28px; padding: 26px;
}
.avatar {
  width: 180px; height: 180px; border-radius: 28px;
  background:
    radial-gradient(circle at 30% 25%, #ffd98a, transparent 40%),
    linear-gradient(160deg, #2ad4c0, #0b3a44 45%, #ff6b4a);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 4.2rem; color: #102026; font-weight: 700;
  box-shadow: var(--shadow);
}
.claudio h3 { font-family: var(--display); font-size: 1.8rem; }
.claudio p { color: var(--muted); margin: 8px 0 16px; line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prog-item {
  display: flex; gap: 14px; padding: 16px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
}
.time {
  min-width: 92px; color: var(--gold); font-weight: 700; font-size: 0.92rem;
}
.prog-item strong { display: block; margin-bottom: 4px; }
.prog-item span { color: var(--muted); font-size: 0.9rem; }

.cta {
  text-align: center;
  padding: 42px 24px;
  border-radius: 32px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(255,107,74,0.22), transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.cta h2 { font-family: var(--display); font-size: 2rem; margin-bottom: 8px; }
.cta p { color: var(--muted); margin-bottom: 18px; }
.btn-big {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #06210f; font-weight: 800;
  padding: 14px 22px; border-radius: 999px; font-size: 1.02rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted); font-size: 0.9rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.menu-btn { display: none; }

.install-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  background: rgba(8, 22, 30, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.install-bar[hidden] { display: none; }
.install-bar img { width: 36px; height: 36px; }
.install-bar strong { display: block; font-size: 0.92rem; }
.install-bar span { display: block; font-size: 0.75rem; color: var(--muted); }
.install-bar #installBtn {
  margin-left: auto;
  background: #25D366; color: #06210f; font-weight: 800;
  border-radius: 999px; padding: 8px 12px; font-size: 0.82rem;
}
.install-bar #installClose { color: var(--muted); padding: 6px; }

@media (max-width: 860px) {
  .hero-grid, .cards, .claudio, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    background: rgba(6,16,24,0.96); padding: 16px 22px 22px; border-bottom: 1px solid var(--line);
  }
  .avatar { width: 120px; height: 120px; font-size: 2.8rem; }
  h1 { font-size: 2.4rem; }
}
