:root {
  --purple: #5b0aa5;
  --purple-dark: #24004d;
  --magenta: #d710a8;
  --yellow: #ffd51f;
  --cyan: #06c8c6;
  --ink: #190b2b;
  --white: #fff;
  --glass: rgba(255,255,255,.12);
  --shadow: 0 24px 70px rgba(25, 0, 61, .32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: #18002f;
  overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.site-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 213, 31, .95), transparent 22%),
    radial-gradient(circle at 8% 30%, rgba(215, 16, 168, .75), transparent 28%),
    radial-gradient(circle at 50% 65%, rgba(6, 200, 198, .18), transparent 34%),
    linear-gradient(135deg, #21003f 0%, #5b0aa5 48%, #8f0f87 72%, #ffb316 118%);
}
.site-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.topbar {
  width: min(1180px, calc(100% - 34px));
  margin: 18px auto 0;
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(31, 0, 65, .62);
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  position: sticky; top: 12px; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 1rem; }
.brand small { opacity: .7; font-size: .76rem; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { padding: 10px 13px; border-radius: 12px; font-size: .92rem; color: rgba(255,255,255,.78); transition: .2s ease; }
nav a:hover { color: white; background: rgba(255,255,255,.1); }
main { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }
.hero { min-height: 700px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 50px; padding: 78px 0 94px; }
.eyebrow { color: #ffe86f; text-transform: uppercase; letter-spacing: .2em; font-weight: 800; font-size: .78rem; margin: 0 0 12px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.live-pill span, .status-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff315c; box-shadow: 0 0 0 0 rgba(255,49,92,.65); animation: pulse 1.8s infinite; }
.hero h1 { font-size: clamp(3.4rem, 7.2vw, 6.8rem); line-height: .88; letter-spacing: -.065em; margin: 20px 0 24px; max-width: 720px; }
.hero h1 em { display: block; font-style: normal; color: var(--yellow); text-shadow: 0 12px 36px rgba(255,213,31,.24); }
.lead { max-width: 650px; font-size: 1.13rem; line-height: 1.75; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.primary-btn, .secondary-btn { min-height: 55px; padding: 0 23px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.primary-btn { border: 0; color: #281100; background: linear-gradient(135deg, #fff06b, var(--yellow)); cursor: pointer; box-shadow: 0 14px 34px rgba(255,213,31,.3); }
.primary-btn svg { width: 21px; fill: currentColor; }
.primary-btn:hover, .secondary-btn:hover { transform: translateY(-2px); }
.secondary-btn { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.status-line { display: flex; align-items: center; gap: 10px; margin-top: 25px; color: rgba(255,255,255,.66); font-size: .88rem; }
.hero-art { position: relative; min-height: 570px; display: grid; place-items: center; }
.logo-card { width: min(430px, 84vw); aspect-ratio: 1; border-radius: 50%; padding: 18px; background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.26); box-shadow: var(--shadow); backdrop-filter: blur(14px); position: relative; z-index: 2; animation: float 5s ease-in-out infinite; }
.logo-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.orbit::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 28px var(--yellow); }
.orbit-one { width: 530px; height: 530px; animation: spin 14s linear infinite; }
.orbit-one::before { top: 38px; left: 62px; }
.orbit-two { width: 610px; height: 610px; border-style: dashed; animation: spin 22s linear infinite reverse; }
.orbit-two::before { right: 80px; bottom: 48px; background: var(--cyan); box-shadow: 0 0 28px var(--cyan); }
.equalizer { position: absolute; bottom: 10px; display: flex; align-items: end; gap: 7px; height: 52px; }
.equalizer i, .visualizer i { display: block; width: 6px; border-radius: 99px; background: linear-gradient(to top, var(--cyan), var(--yellow)); animation: bars 1s ease-in-out infinite alternate; }
.equalizer i:nth-child(2n), .visualizer i:nth-child(2n) { animation-delay: .2s; }
.equalizer i:nth-child(3n), .visualizer i:nth-child(3n) { animation-delay: .4s; }
.equalizer i { height: 25px; }
.listen-section { padding: 90px 0; }
.section-heading { max-width: 650px; margin-bottom: 34px; }
.section-heading h2, .apps-copy h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; margin: 0 0 16px; letter-spacing: -.04em; }
.section-heading > p:last-child, .apps-copy > p { color: rgba(255,255,255,.72); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-grid article { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px); box-shadow: 0 20px 46px rgba(0,0,0,.12); }
.feature-icon { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(135deg, var(--yellow), #ff9a1f); color: #321200; font-weight: 900; }
.feature-icon svg { width: 27px; fill: currentColor; }
.feature-grid h3 { margin: 21px 0 10px; }
.feature-grid p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.apps-section { margin: 60px 0 120px; padding: 60px; border-radius: 36px; display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 44px; background: linear-gradient(130deg, rgba(37,0,78,.92), rgba(99,8,155,.85)); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.apps-section::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; right:-120px; top:-110px; background:radial-gradient(circle,var(--yellow),transparent 68%); opacity:.36; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; position: relative; z-index: 2; }
.store-badge { display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 10px 15px; border-radius: 14px; background: #080808; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 13px 28px rgba(0,0,0,.25); transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-3px); }
.store-badge svg { width: 30px; fill: #fff; }
.store-badge span { display: grid; }
.store-badge small { font-size: .68rem; opacity: .72; }
.store-badge strong { font-size: 1.05rem; }
.phone-mockup { width: 270px; height: 530px; margin: 0 auto -150px; padding: 12px; border-radius: 42px; background: #0c0714; border: 3px solid rgba(255,255,255,.38); box-shadow: 0 24px 70px rgba(0,0,0,.44); position: relative; z-index: 2; transform: rotate(4deg); }
.phone-notch { position: absolute; width: 110px; height: 24px; border-radius: 0 0 16px 16px; background: #0c0714; left: 50%; top: 9px; transform: translateX(-50%); z-index: 3; }
.phone-screen { height: 100%; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at top, #f5b823, transparent 34%), linear-gradient(160deg,#7e0da9,#270051); text-align:center; padding:25px; }
.phone-screen img { width: 150px; height:150px; border-radius:50%; box-shadow:0 15px 32px rgba(0,0,0,.35); }
.phone-screen p { font-weight:900; margin:20px 0 4px; }
.phone-screen span { color:#ffe86f; font-size:.72rem; font-weight:800; letter-spacing:.18em; }
.phone-play { margin-top:26px; width:64px; height:64px; border-radius:50%; display:grid; place-items:center; color:#331100; background:var(--yellow); padding-left:4px; box-shadow:0 14px 34px rgba(255,213,31,.32); }
footer { width: min(1180px, calc(100% - 34px)); margin: 0 auto; padding: 34px 0 120px; display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.68); }
footer img { width: 54px; height: 54px; border-radius: 50%; }
footer strong { color: white; }
footer p { margin: 3px 0 0; font-size: .88rem; }
.copyright { margin-left: auto; }
.welcome-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(17,0,34,.78); backdrop-filter: blur(15px); transition: opacity .35s ease, visibility .35s ease; }
.welcome-modal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.modal-card { width: min(470px, 100%); padding: 34px; border-radius: 32px; text-align: center; background: linear-gradient(160deg, rgba(91,10,165,.98), rgba(36,0,77,.98)); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 90px rgba(0,0,0,.5); position: relative; overflow: hidden; }
.modal-glow { position: absolute; inset: -100px -100px auto auto; width: 270px; height: 270px; border-radius: 50%; background: radial-gradient(circle, rgba(255,213,31,.56), transparent 70%); }
.modal-card > *:not(.modal-glow) { position: relative; z-index: 1; }
.modal-card img { width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.modal-card .live-pill { margin: 20px 0 3px; }
.modal-card h2 { font-size: 2rem; margin: 16px 0 10px; }
.modal-card > p:not(.live-pill) { color: rgba(255,255,255,.72); line-height: 1.6; }
.modal-play { width: 100%; margin: 18px 0 14px; }
.modal-card small { display: block; color: rgba(255,255,255,.52); line-height: 1.5; }
.floating-player { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translate(-50%, calc(100% + 50px)); width: min(720px, calc(100% - 24px)); min-height: 86px; padding: 11px 15px; border-radius: 24px; display: flex; align-items: center; gap: 16px; background: rgba(23,0,48,.9); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 20px 55px rgba(0,0,0,.45); backdrop-filter: blur(20px); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.floating-player.visible { transform: translate(-50%, 0); }
.player-brand { min-width: 0; display: flex; align-items: center; gap: 12px; flex: 1; }
.player-brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.player-brand div { display: grid; min-width: 0; }
.player-brand span { color: rgba(255,255,255,.54); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
.player-brand strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-brand small { color: #7ef1a8; margin-top: 2px; }
.player-toggle { width: 53px; height: 53px; flex: 0 0 53px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #291100; cursor: pointer; }
.player-toggle svg { width: 23px; fill: currentColor; }
.play-icon { display: none; }
.floating-player.paused .play-icon { display: block; }
.floating-player.paused .pause-icon { display: none; }
.visualizer { display: flex; align-items: end; gap: 4px; height: 30px; }
.visualizer i { width: 4px; height: 18px; }
.floating-player.paused .visualizer i { animation-play-state: paused; height: 4px; }
.volume-wrap { display: flex; align-items: center; gap: 8px; }
.volume-wrap svg { width: 20px; fill: rgba(255,255,255,.7); }
.volume-wrap input { width: 92px; accent-color: var(--yellow); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,49,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,49,92,0); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bars { from { height: 8px; } to { height: 48px; } }
@media (max-width: 920px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-art { min-height: 500px; }
  .feature-grid { grid-template-columns: 1fr; }
  .apps-section { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
  .store-buttons { justify-content: center; }
  .phone-mockup { margin-bottom: -190px; }
  footer { margin-top: 120px; }
}
@media (max-width: 620px) {
  .topbar { width: calc(100% - 20px); border-radius: 19px; }
  .brand img { width: 46px; height: 46px; }
  main { width: min(100% - 24px, 1180px); }
  .hero { min-height: auto; gap: 15px; padding: 58px 0 72px; }
  .hero h1 { font-size: clamp(3.25rem, 19vw, 5.5rem); }
  .lead { font-size: 1rem; }
  .hero-actions { width: 100%; }
  .hero-actions > * { width: 100%; }
  .hero-art { min-height: 390px; }
  .orbit-one { width: 350px; height: 350px; }
  .orbit-two { width: 395px; height: 395px; }
  .logo-card { width: 300px; padding: 12px; }
  .listen-section { padding: 50px 0; }
  .apps-section { margin-bottom: 110px; border-radius: 28px; }
  .phone-mockup { width: 230px; height: 450px; margin-bottom: -165px; }
  footer { flex-wrap: wrap; padding-bottom: 130px; }
  .copyright { width: 100%; margin-left: 0; }
  .floating-player { min-height: 76px; gap: 9px; padding: 9px; border-radius: 20px; }
  .player-brand img { width: 50px; height: 50px; }
  .player-brand span, .visualizer, .volume-wrap { display: none; }
  .player-toggle { width: 48px; height: 48px; flex-basis: 48px; }
  .modal-card { padding: 27px 22px; }
  .modal-card img { width: 130px; height: 130px; }
}

/* Invitacion inteligente para instalar la app en iPhone/iPad o Android */
.app-invite {
  position: fixed;
  z-index: 90;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  width: min(560px, calc(100% - 20px));
  min-height: 76px;
  transform: translate(-50%, -130%);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(31, 3, 58, .94);
  box-shadow: 0 18px 50px rgba(0,0,0,.42);
  backdrop-filter: blur(20px);
  transition: transform .38s ease, opacity .38s ease;
}
.app-invite.show { transform: translate(-50%, 0); opacity: 1; }
.app-invite[hidden] { display: none; }
.app-invite img { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 14px; object-fit: cover; }
.app-invite-copy { min-width: 0; display: grid; gap: 3px; flex: 1; }
.app-invite-copy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-invite-copy span { color: rgba(255,255,255,.68); font-size: .8rem; line-height: 1.25; }
.app-invite-button { flex: 0 0 auto; padding: 10px 14px; border-radius: 12px; color: #281100; background: linear-gradient(135deg, #fff06b, var(--yellow)); font-size: .82rem; font-weight: 900; box-shadow: 0 9px 22px rgba(255,213,31,.25); }
.app-invite-close { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 24px; height: 36px; padding: 0; border: 0; color: rgba(255,255,255,.62); background: transparent; font-size: 1.45rem; cursor: pointer; }
@media (min-width: 921px) { .app-invite { display: none !important; } }
@media (max-width: 430px) {
  .app-invite { gap: 9px; padding-right: 9px; }
  .app-invite img { width: 48px; height: 48px; flex-basis: 48px; }
  .app-invite-button { padding: 9px 11px; }
}
