:root{
  --green:#1db954;
  --green-d:#1aa34a;
  --bg:#000;
  --player-grad:linear-gradient(180deg,#3a6b8c 0%,#1f3a4d 70%,#000 100%);
  --card:#181818;
  --card2:#222;
  --msg:#4a90c2;
  --text:#fff;
  --muted:#b3b3b3;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{
  font-family:'Montserrat',system-ui,sans-serif;
  background:#0a0a0a;color:var(--text);
  display:flex;justify-content:center;
}
.device{
  width:100%;max-width:440px;min-height:100vh;
  background:var(--bg);position:relative;
  overflow-y:auto;overflow-x:hidden;
  padding-bottom:78px;
  box-shadow:0 0 60px rgba(0,0,0,.6);
}
.hidden{display:none !important}
.screen{min-height:100vh}

/* ====== Botões ====== */
.icon-btn{background:rgba(0,0,0,.4);border:none;color:#fff;width:34px;height:34px;
  border-radius:50%;font-size:18px;cursor:pointer;display:grid;place-items:center}
.btn-green{background:var(--green);color:#000;border:none;font-weight:700;font-size:16px;
  padding:15px 40px;border-radius:999px;cursor:pointer;transition:.2s;font-family:inherit}
.btn-green:hover{transform:scale(1.04);background:#1ed760}
.btn-white{background:#fff;color:#111;border:none;font-weight:700;font-size:14px;
  padding:11px 24px;border-radius:999px;cursor:pointer;font-family:inherit}

/* ====== TELA INTRO (Wrapped) ====== */
.intro{background:#0c0c0c;display:flex;flex-direction:column;padding:18px}
.intro-top{display:flex;align-items:center;gap:14px}
.wrapped-pill{background:var(--green);color:#000;font-weight:700;font-size:14px;
  padding:5px 16px;border-radius:999px}
.intro-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:22px;padding:0 10px}
.intro-title{font-size:34px;font-weight:800;line-height:1.15}
.intro-title .green{color:var(--green)}
.intro-sub{color:var(--muted);font-size:15px;line-height:1.5}

/* ====== PLAYER ====== */
.player{background:var(--player-grad);padding:16px 20px 26px;border-radius:0 0 20px 20px}
.player-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.player-title{font-weight:700;font-size:15px}
.heart{font-size:14px}
.cover{width:100%;aspect-ratio:1/1;border-radius:10px;background-size:cover;background-position:center;
  box-shadow:0 18px 40px rgba(0,0,0,.5);margin-bottom:22px}
.track{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.track-info h2{font-size:24px;font-weight:800}
.track-info p{color:#d7e3ea;font-size:15px;margin-top:2px}
.check{width:30px;height:30px;border-radius:50%;border:none;background:var(--green);color:#000;
  font-size:15px;cursor:pointer;flex-shrink:0}
.progress{cursor:pointer}
.progress-bar{height:5px;background:rgba(255,255,255,.25);border-radius:5px;overflow:hidden}
.progress-bar span{display:block;width:0;height:100%;background:#fff;transition:width .2s linear}
.progress-time{display:flex;justify-content:space-between;font-size:12px;color:#cdd9e0;margin-top:8px}
.controls{display:flex;align-items:center;justify-content:space-between;margin-top:18px}
.ctrl{background:none;border:none;color:#fff;font-size:20px;cursor:pointer;opacity:.85}
.ctrl:hover{opacity:1}
.ctrl-play{background:#fff;color:#1f3a4d;width:64px;height:64px;border-radius:50%;
  font-size:24px;display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.3)}

/* ====== CARDS ====== */
.card{margin:18px 16px;background:var(--card);border-radius:var(--radius);padding:18px;overflow:hidden}
.card-label{font-size:17px;font-weight:700;margin-bottom:14px}

/* Sobre o casal */
.about-photo{width:100%;aspect-ratio:16/10;border-radius:10px;background-size:cover;background-position:center;margin-bottom:14px}
.about-info h2{font-size:22px;font-weight:800}
.about-info p{color:var(--muted);font-size:14px;margin-top:2px}
.counter{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.counter-box{background:var(--card2);border-radius:10px;padding:14px 8px;text-align:center}
.counter-box b{display:block;font-size:26px;font-weight:800}
.counter-box span{font-size:12px;color:var(--muted)}

/* Mensagem */
.message{background:var(--msg)}
.message .card-label{opacity:.9}
.message-text{font-size:21px;font-weight:700;line-height:1.35;white-space:pre-wrap;
  max-height:140px;overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent);
  mask-image:linear-gradient(180deg,#000 55%,transparent)}
.message-text.expanded{max-height:none;-webkit-mask-image:none;mask-image:none}
.message .btn-white{margin-top:16px}

/* Galeria */
.gallery-grid{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.gallery-grid::-webkit-scrollbar{display:none}
.gallery-item{flex:0 0 120px;aspect-ratio:3/4;border-radius:10px;background-size:cover;background-position:center;
  position:relative;display:flex;align-items:flex-end;padding:10px}
.gallery-item::after{content:'';position:absolute;inset:0;border-radius:10px;
  background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.75))}
.gallery-item span{position:relative;z-index:1;font-size:13px;font-weight:700}

/* Conquistas */
.ach-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.ach-count{background:#000;color:#fff;font-size:13px;font-weight:600;padding:4px 12px;border-radius:999px}
.ach-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ach-badge{aspect-ratio:1/1;border-radius:12px;background:#000;border:1px solid #333;
  display:grid;place-items:center;font-size:26px;opacity:.35;filter:grayscale(1)}
.ach-badge.unlocked{opacity:1;filter:none;border-color:var(--green)}

/* Retrospectiva */
.retro{margin:18px 16px;border-radius:var(--radius);overflow:hidden;background:#0e0e0e;
  text-align:center;position:relative}
.retro-mid{padding:50px 20px}
.retro-mid h2{font-size:30px;font-weight:900}
.retro-mid p{color:var(--muted);margin-top:6px}
.retro-wave{height:90px;background:
  linear-gradient(90deg,#ff2d75,#ff6b9d,#c850c0);
  filter:blur(2px);opacity:.9}
.retro-wave.top{border-radius:0 0 50% 50%/0 0 100% 100%}
.retro-wave.bottom{border-radius:50% 50% 0 0/100% 100% 0 0}

/* ====== NAV INFERIOR ====== */
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:440px;background:rgba(10,10,10,.96);backdrop-filter:blur(10px);
  border-top:1px solid #181818;display:flex;justify-content:space-around;padding:10px 0 14px;z-index:20}
.nav-item{background:none;border:none;color:var(--muted);font-size:11px;font-family:inherit;
  display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer}
.nav-item.active{color:#fff}
.nav-ic{font-size:20px}

@media(min-width:441px){
  body{align-items:flex-start;padding:24px 0}
  .device{border-radius:26px;min-height:auto;height:calc(100vh - 48px)}
  .bottom-nav{border-radius:0 0 26px 26px}
}
