:root{
  --bg:#07070b;--panel:#111119;--panel2:#171723;--text:#f7f7fb;--muted:#a7a7b3;
  --pink:#ff3d8d;--violet:#8b5cf6;--cyan:#22d3ee;--line:rgba(255,255,255,.09);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
button,input{font:inherit}.noise{position:fixed;inset:0;pointer-events:none;opacity:.035;z-index:99;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E")}
.topbar{height:78px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:50;background:rgba(7,7,11,.72);backdrop-filter:blur(20px);border-bottom:1px solid var(--line)}
.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:white;letter-spacing:.04em}.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--pink),var(--violet));font-weight:900;box-shadow:0 0 36px rgba(255,61,141,.35)}.brand strong{display:block;font-size:14px}.brand em{font-style:normal;color:var(--pink);font-size:12px}
.desktop-nav{display:flex;gap:30px}.desktop-nav a{color:#c8c8d2;text-decoration:none;font-size:14px}.desktop-nav a:hover{color:white}
.top-actions{display:flex;gap:10px}.primary,.ghost,.glass,.mini-btn,.text-btn,.chip{border:0;cursor:pointer;color:white;transition:.25s ease}.primary{background:linear-gradient(135deg,var(--pink),#b832ff);padding:12px 18px;border-radius:12px;font-weight:750;box-shadow:0 12px 34px rgba(255,61,141,.2)}.primary:hover{transform:translateY(-2px);box-shadow:0 16px 44px rgba(255,61,141,.3)}.ghost,.glass{padding:11px 16px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid var(--line)}.ghost:hover,.glass:hover{background:rgba(255,255,255,.11)}.xl{padding:15px 22px}.full{width:100%}
.hero{min-height:760px;position:relative;padding:90px clamp(20px,6vw,88px) 70px;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 36%,rgba(139,92,246,.22),transparent 35%),radial-gradient(circle at 16% 18%,rgba(255,61,141,.16),transparent 30%),linear-gradient(180deg,#0b0b13 0%,#07070b 90%);z-index:-3}
.hero-glow{position:absolute;width:360px;height:360px;border-radius:50%;filter:blur(100px);opacity:.35;z-index:-2}.glow-one{background:var(--pink);left:-120px;top:180px}.glow-two{background:var(--violet);right:8%;bottom:30px}
.eyebrow{display:block;color:#ff78b1;font-size:12px;font-weight:850;letter-spacing:.16em;margin-bottom:16px}.hero h1{font-size:clamp(58px,8vw,108px);line-height:.88;margin:0 0 28px;letter-spacing:-.065em}.hero h1 span{background:linear-gradient(90deg,#fff 5%,#f472b6 48%,#a78bfa 86%);-webkit-background-clip:text;color:transparent}.hero p{max-width:660px;color:var(--muted);font-size:19px;line-height:1.65}.hero-actions{display:flex;gap:13px;margin:34px 0}.hero-stats{display:flex;gap:38px;margin-top:44px}.hero-stats div{display:flex;flex-direction:column}.hero-stats strong{font-size:22px}.hero-stats span{font-size:12px;color:var(--muted);margin-top:4px}
.stage-card{min-height:520px;background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.13);border-radius:28px;padding:18px;box-shadow:0 32px 100px rgba(0,0,0,.48);transform:perspective(1200px) rotateY(-5deg) rotateX(2deg);backdrop-filter:blur(22px)}
.stage-top,.stage-bottom{display:flex;align-items:center;gap:10px;padding:8px 7px;color:#d9d9e2;font-size:12px}.live-dot{width:8px;height:8px;border-radius:50%;background:#ff285f;box-shadow:0 0 16px #ff285f}.room-code{margin-left:auto;color:#9b9baa}.stage-screen{height:380px;margin:10px 0;border-radius:22px;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 50% 42%,rgba(255,61,141,.28),transparent 30%),linear-gradient(145deg,#28124f,#0b0b19 70%);position:relative;overflow:hidden}.stage-screen:before,.stage-screen:after{content:"";position:absolute;width:6px;height:360px;background:linear-gradient(180deg,rgba(255,255,255,.9),transparent);filter:blur(6px);transform:rotate(30deg);top:-80px}.stage-screen:before{left:22%}.stage-screen:after{right:22%;transform:rotate(-30deg)}.mic-orb{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;font-size:50px;background:rgba(255,255,255,.12);box-shadow:0 0 70px rgba(255,61,141,.44);margin:auto}.lyrics-preview small{color:#ff8fc0;font-weight:800;letter-spacing:.16em}.lyrics-preview h3{font-size:34px;margin:8px}.lyrics-preview p{font-size:17px;margin:0}.stage-bottom{justify-content:space-between}.stage-bottom div{display:flex;flex-direction:column;gap:4px}.stage-bottom span{color:#8e8e9d}.mini-btn{background:#242433;padding:9px 13px;border-radius:10px}
.search-zone{padding:0 clamp(20px,6vw,88px);margin-top:-16px}.search-card{max-width:1000px;margin:auto;background:rgba(255,255,255,.07);border:1px solid var(--line);padding:10px;border-radius:18px;display:flex;align-items:center;gap:10px;backdrop-filter:blur(20px)}.search-icon{font-size:28px;color:#8f8f9b;padding-left:8px}.search-card input{flex:1;border:0;outline:none;background:transparent;color:white;padding:13px;font-size:16px}.search-card input::placeholder{color:#777785}.chips{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.chip{padding:10px 15px;border-radius:999px;background:#111118;border:1px solid var(--line);color:#aaaab6}.chip.active,.chip:hover{color:white;background:linear-gradient(135deg,rgba(255,61,141,.28),rgba(139,92,246,.25));border-color:rgba(255,61,141,.45)}
.section{padding:92px clamp(20px,6vw,88px)}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:26px}.section-head h2,.room-copy h2,.premium h2{font-size:clamp(34px,4.4vw,62px);letter-spacing:-.04em;margin:0}.text-btn{background:none;color:#bdbdc7}.song-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.song-card{background:#111117;border:1px solid var(--line);border-radius:18px;padding:12px;cursor:pointer;transition:.3s}.song-card:hover{transform:translateY(-6px);background:#171720;box-shadow:0 20px 55px rgba(0,0,0,.32)}.cover-wrap{position:relative}.cover-wrap img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:13px;display:block}.play-fab{position:absolute;right:10px;bottom:10px;width:46px;height:46px;border-radius:50%;border:0;background:white;color:#111;display:grid;place-items:center;font-size:17px;opacity:0;transform:translateY(8px);transition:.25s}.song-card:hover .play-fab{opacity:1;transform:none}.song-card h3{font-size:15px;margin:13px 0 4px}.song-card p{margin:0;color:var(--muted);font-size:12px}.meta{display:flex;justify-content:space-between;color:#737381;font-size:11px;margin-top:10px}
.room-section{padding:100px clamp(20px,6vw,88px);display:grid;grid-template-columns:1fr 520px;gap:80px;align-items:center;background:linear-gradient(180deg,#07070b,#0d0a18 45%,#07070b)}.room-copy p{font-size:18px;line-height:1.7;color:var(--muted);max-width:650px}.feature-list{margin-top:36px;display:grid;gap:18px}.feature-list div{display:flex;align-items:center;gap:17px;color:#cacad3}.feature-list b{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.06);display:grid;place-items:center;color:#ff78b1}.queue-panel{background:rgba(255,255,255,.065);border:1px solid var(--line);border-radius:26px;padding:20px;box-shadow:0 35px 90px rgba(0,0,0,.38)}.queue-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid var(--line)}.queue-head div:first-child{display:flex;flex-direction:column}.queue-head small{color:#777784}.queue-head strong{font-size:22px}.fake-qr{width:74px;height:74px;background:white;padding:6px;display:grid;grid-template-columns:repeat(5,1fr);gap:2px}.fake-qr span{background:#111}.fake-qr span:nth-child(2n){background:white}.queue-list{display:grid;gap:10px;margin:18px 0}.queue-item{display:grid;grid-template-columns:34px 1fr auto;gap:11px;align-items:center;background:#111119;border:1px solid var(--line);padding:12px;border-radius:14px}.queue-num{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#242433;color:#d6d6df;font-size:12px}.queue-song strong{display:block;font-size:13px}.queue-song span{color:#888895;font-size:12px}.queue-time{color:#b9b9c3;font-size:12px}.queue-item.now{border-color:rgba(255,61,141,.6);background:linear-gradient(135deg,rgba(255,61,141,.12),rgba(139,92,246,.08))}
.premium{margin:40px clamp(20px,6vw,88px) 100px;padding:58px;border-radius:28px;display:flex;justify-content:space-between;align-items:center;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.13),transparent 24%),linear-gradient(135deg,#ff3d8d,#6d28d9);box-shadow:0 30px 80px rgba(108,40,217,.2)}.premium .eyebrow{color:white}.premium p{max-width:680px;color:rgba(255,255,255,.78);font-size:17px}.premium .primary{background:white;color:#5b21b6}
footer{padding:42px clamp(20px,6vw,88px);border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;color:#8f8f9a}.footer-brand{grid-row:span 2}footer p,footer small{margin:0;text-align:right}
.modal{position:fixed;inset:0;display:none;place-items:center;z-index:100}.modal.open{display:grid}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(16px)}.player-modal{position:relative;width:min(980px,92vw);background:#111119;border:1px solid rgba(255,255,255,.14);border-radius:28px;padding:24px;display:grid;grid-template-columns:380px 1fr;gap:32px;box-shadow:0 42px 120px rgba(0,0,0,.62)}.close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:white;font-size:32px;cursor:pointer}.player-cover img{width:100%;border-radius:20px}.player-info{display:flex;flex-direction:column;justify-content:center}.player-info h2{font-size:42px;margin:0}.player-info>p{color:var(--muted)}.lyrics-box{display:grid;gap:12px;padding:22px 0;font-size:18px}.lyrics-box .past{color:#666674}.lyrics-box strong{font-size:25px;color:#ff78b1}.lyrics-box span:last-child{color:#b8b8c2}.player-info audio{width:100%;margin-top:8px}.player-actions{display:flex;gap:10px;margin-top:22px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,30px);background:white;color:#111;padding:13px 18px;border-radius:12px;font-weight:700;opacity:0;pointer-events:none;transition:.3s;z-index:200}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.song-grid{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.stage-card{max-width:720px;transform:none}.room-section{grid-template-columns:1fr}.queue-panel{max-width:620px}.desktop-nav{display:none}}
@media(max-width:720px){.topbar{height:68px;padding:0 16px}.top-actions .ghost{display:none}.brand-mark{width:38px;height:38px}.hero{padding:64px 18px 46px;gap:38px;min-height:auto}.hero h1{font-size:62px}.hero p{font-size:16px}.hero-actions{flex-direction:column}.hero-actions button{width:100%}.hero-stats{gap:22px;justify-content:space-between}.stage-card{min-height:auto;padding:12px}.stage-screen{height:300px}.search-zone{padding:0 16px}.search-card{flex-wrap:wrap}.search-card input{min-width:200px}.search-card .primary{width:100%}.section{padding:70px 16px}.song-grid{grid-template-columns:repeat(2,1fr);gap:12px}.section-head{align-items:start}.section-head .text-btn{display:none}.room-section{padding:76px 16px;gap:44px}.premium{margin:20px 16px 70px;padding:32px 24px;display:grid;gap:26px}.premium .xl{width:100%}.player-modal{grid-template-columns:1fr;max-height:92vh;overflow:auto;padding:18px}.player-cover{max-width:280px;margin:auto}.player-info h2{font-size:32px}footer{grid-template-columns:1fr}footer p,footer small{text-align:left}.footer-brand{grid-row:auto}}


/* =========================================================
   AGAEL SYSTEMS — AJUSTE RESPONSIVE PROFESIONAL PARA PC
   Laptop 1366x768, Full HD, 2K, ultrawide y 4K
   ========================================================= */

@media (min-width:1101px){
  .topbar{
    padding-inline:max(24px,calc((100vw - 1760px)/2 + 24px));
  }

  .hero{
    min-height:calc(100svh - 78px);
    padding:
      clamp(34px,5vh,72px)
      max(28px,calc((100vw - 1760px)/2 + 28px))
      clamp(104px,13vh,142px);
    grid-template-columns:minmax(0,1.04fr) minmax(470px,.96fr);
    gap:clamp(34px,4.2vw,78px);
  }

  .hero-content{
    width:100%;
    max-width:820px;
  }

  .hero h1{
    font-size:clamp(64px,5.7vw,108px);
    line-height:.88;
  }

  .hero p{
    font-size:clamp(16px,1.12vw,20px);
    max-width:690px;
  }

  .stage-card{
    width:100%;
    max-width:760px;
    min-height:clamp(430px,57vh,560px);
    justify-self:end;
  }

  .stage-screen{
    height:clamp(310px,42vh,420px);
  }

  .search-zone{
    position:relative;
    z-index:8;
    margin-top:clamp(-94px,-8vh,-62px);
    padding-inline:max(28px,calc((100vw - 1760px)/2 + 28px));
  }

  .search-card{
    max-width:1120px;
    box-shadow:0 24px 70px rgba(0,0,0,.32);
  }

  .section,
  .room-section{
    padding-inline:max(28px,calc((100vw - 1760px)/2 + 28px));
  }

  .premium{
    margin-inline:max(28px,calc((100vw - 1760px)/2 + 28px));
  }

  footer{
    padding-inline:max(28px,calc((100vw - 1760px)/2 + 28px));
  }

  .song-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
}

/* Laptop común: 1366×768 y 1600×900 */
@media (min-width:1101px) and (max-height:840px){
  .hero{
    min-height:calc(100svh - 78px);
    padding-top:28px;
    padding-bottom:94px;
    gap:clamp(28px,3.4vw,54px);
  }

  .hero h1{
    font-size:clamp(58px,5.15vw,78px);
    margin-bottom:18px;
  }

  .hero p{
    line-height:1.48;
    margin-top:0;
  }

  .hero-actions{
    margin:22px 0;
  }

  .hero-stats{
    margin-top:22px;
  }

  .stage-card{
    min-height:410px;
    max-width:620px;
    padding:14px;
  }

  .stage-screen{
    height:292px;
    margin-block:8px;
  }

  .mic-orb{
    width:92px;
    height:92px;
    font-size:42px;
  }

  .lyrics-preview h3{
    font-size:29px;
  }

  .search-zone{
    margin-top:-74px;
  }
}

/* PC mediana: evita que el escenario comprima el texto */
@media (min-width:1101px) and (max-width:1399px){
  .hero{
    grid-template-columns:minmax(0,1fr) minmax(430px,.88fr);
  }

  .hero h1{
    letter-spacing:-.055em;
  }

  .stage-card{
    transform:perspective(1200px) rotateY(-2deg) rotateX(1deg);
  }

  .song-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .room-section{
    grid-template-columns:minmax(0,1fr) minmax(430px,500px);
    gap:52px;
  }
}

/* Full HD */
@media (min-width:1600px){
  .hero{
    grid-template-columns:minmax(0,1fr) minmax(570px,730px);
  }

  .search-card{
    max-width:1200px;
  }

  .song-grid{
    gap:20px;
  }
}

/* 2K y monitores grandes */
@media (min-width:2200px){
  .topbar,
  .hero,
  .search-zone,
  .section,
  .room-section,
  footer{
    padding-inline:max(34px,calc((100vw - 1900px)/2 + 34px));
  }

  .premium{
    margin-inline:max(34px,calc((100vw - 1900px)/2 + 34px));
  }

  .hero{
    grid-template-columns:minmax(0,1fr) 760px;
  }

  .hero h1{
    font-size:112px;
  }

  .stage-card{
    max-width:780px;
  }

  .search-card{
    max-width:1260px;
  }
}

/* Ultrawide y 4K: el contenido no se estira demasiado */
@media (min-width:3000px){
  .topbar,
  .hero,
  .search-zone,
  .section,
  .room-section,
  footer{
    padding-inline:calc((100vw - 2000px)/2);
  }

  .premium{
    margin-inline:calc((100vw - 2000px)/2);
  }

  .hero{
    grid-template-columns:1fr 790px;
    gap:100px;
  }

  .song-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
}

/* Pantallas de PC de poca altura */
@media (min-width:1101px) and (max-height:700px){
  .hero{
    padding-top:20px;
    padding-bottom:82px;
  }

  .hero h1{
    font-size:58px;
  }

  .hero p{
    font-size:15px;
  }

  .hero-stats{
    display:none;
  }

  .stage-card{
    min-height:350px;
  }

  .stage-screen{
    height:245px;
  }

  .search-zone{
    margin-top:-66px;
  }
}


/* =========================================================
   CORRECCIÓN FINAL DE ENCUADRE EN PC
   Evita desbordes, botones cortados y mantiene el buscador visible
   ========================================================= */

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

@supports (overflow:clip){
  html,
  body{
    overflow-x:clip;
  }
}

@media (min-width:1101px){
  .topbar{
    width:100%;
    max-width:100vw;
    display:grid;
    grid-template-columns:minmax(170px,1fr) auto minmax(250px,1fr);
    column-gap:24px;
  }

  .topbar .brand{
    justify-self:start;
    min-width:0;
  }

  .desktop-nav{
    justify-self:center;
    min-width:max-content;
  }

  .top-actions{
    justify-self:end;
    margin-left:0;
    flex-shrink:0;
    min-width:max-content;
  }

  .hero{
    width:100%;
    max-width:100vw;
    overflow:hidden;
  }

  .hero-content,
  .stage-card{
    min-width:0;
  }

  .stage-card{
    width:min(100%,740px);
    max-width:100%;
    transform:none;
    transform-origin:right center;
  }

  .search-zone{
    margin-top:-118px;
  }
}

@media (min-width:1101px) and (max-height:840px){
  .search-zone{
    margin-top:-106px;
  }
}

@media (min-width:1101px) and (max-height:700px){
  .search-zone{
    margin-top:-92px;
  }
}

@media (min-width:1101px) and (max-width:1280px){
  .topbar{
    grid-template-columns:minmax(145px,1fr) auto minmax(225px,1fr);
    column-gap:16px;
  }

  .desktop-nav{
    gap:20px;
  }

  .top-actions{
    gap:8px;
  }

  .top-actions button{
    padding-inline:13px;
  }
}
