/* ═══════════════════════════════════════════
   MYLOVE — Nevermind underwater palette
   ═══════════════════════════════════════════ */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}

a { color: inherit; text-decoration: none; }

/* ── header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.5rem;
  border-bottom: 1px solid rgba(0,212,255,.15);
  background: rgba(8,6,13,.85);
}

.back-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 50%;
  background: rgba(0,212,255,.05);
  transition: background .2s, border-color .2s, transform .15s;
}
.back-btn:hover {
  background: rgba(220,60,80,.1);
  border-color: #dc3c50;
}
.back-btn:active { transform: scale(.92); }

.logo {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--gold);
  letter-spacing: .1em;
  text-shadow: 0 0 20px var(--glow-gold);
}

.audio-btn {
  background: none;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 50%;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.audio-btn:hover {
  background: rgba(220,60,80,.1);
  border-color: #dc3c50;
}
.audio-btn:active { transform: scale(.92); }
.audio-btn.active {
  border-color: #dc3c50;
  background: rgba(220,60,80,.1);
  color: #ff8a8a;
}

/* ═══════════════════════════════════════════
   HERO — VINYL
   ═══════════════════════════════════════════ */
.hero {
  display: flex; justify-content: center; align-items: center;
  padding: clamp(1.5rem, 4vh, 3rem) 1.25rem clamp(.8rem, 2vh, 1.5rem);
}

.vinilo {
  width: min(50vw, 30vmin);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
    #1a2a40 18%, #0e1a2e 22%,
    #1a2a40 26%, #0e1a2e 45%,
    #1a2a40 49%, #0a1422 100%
  );
  border: 2px solid rgba(255,255,255,.07);
  position: relative;
  animation: spin 6s linear infinite;
  box-shadow:
    0 20px 50px -15px rgba(0,0,0,.8),
    0 0 60px -15px rgba(0,212,255,.1),
    inset 0 0 20px rgba(0,0,0,.4);
  opacity: 0;
  animation: vinylIn 1s ease forwards, spin 6s 1s linear infinite;
}
@keyframes vinylIn {
  from { opacity:0; transform:scale(.8) rotate(-30deg); }
  to { opacity:1; transform:scale(1) rotate(0deg); }
}

.vinilo__grooves {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle,
      transparent 0%, transparent 3%,
      rgba(255,255,255,.02) 3%, rgba(255,255,255,.02) 3.5%
    );
}

.vinilo__label {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(220,60,80,.18), rgba(224,247,255,.06));
  border: 1px solid rgba(220,60,80,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vinilo__name {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  font-weight: 700;
  color: #ff8a8a;
  text-shadow: 0 0 18px rgba(220,60,80,.3);
}

/* ═══════════════════════════════════════════
   MENU GRID — CARD VINYLs
   ═══════════════════════════════════════════ */
.menu-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0 1.25rem clamp(1rem, 2vh, 2rem);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.2rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,.12);
  background: rgba(255,255,255,.02);
  cursor: pointer;
  position: relative;
  transition: border-color .3s, background .3s, transform .3s;
  text-decoration: none;
}
.card:hover {
  border-color: rgba(0,212,255,.3);
  background: rgba(0,212,255,.04);
  transform: translateY(-4px);
}

.card__vinyl {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle,
    #1a2a40 18%, #0e1a2e 22%,
    #1a2a40 26%, #0e1a2e 45%,
    #1a2a40 49%, #0a1422 100%
  );
  border: 1.5px solid rgba(255,255,255,.07);
  position: relative;
  transition: box-shadow .3s, border-color .3s;
  animation: spin 4s linear infinite;
  animation-play-state: paused;
}
.card:hover .card__vinyl {
  animation-play-state: running;
  box-shadow: 0 0 15px rgba(220,60,80,.2);
  border-color: rgba(220,60,80,.3);
}
.card__vinyl-inner {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc3c50, #ff8a8a);
  opacity: .5;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: .06em;
  transition: color .3s;
}
.card:hover .card__title { color: #ff8a8a; }

.card__desc {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--dim);
  letter-spacing: .1em;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  flex-shrink: 0;
  text-align: center;
  padding: .6rem 1rem;
}
.footer__divider {
  width: 60px; height: 2px; margin: 0 auto .5rem;
  background: linear-gradient(90deg, #dc3c50, var(--gold));
  border-radius: 1px;
  opacity: .5;
}
.footer__text {
  font-family: var(--font-display);
  font-size: .8rem;
  color: #ff8a8a;
  letter-spacing: .1em;
  min-height: 1.2em;
}
.footer__credit {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: .15em;
  margin-top: .3rem;
  opacity: .8;
}

/* ═══════════════════════════════════════════
   TABBAR
   ═══════════════════════════════════════════ */
.tabbar {
  position: fixed; bottom: 0; left: 0; width: 100%;
  display: none;
  justify-content: space-around;
  background: rgba(4,14,26,.95);
  border-top: 1px solid rgba(0,212,255,.2);
  box-shadow: 0 -6px 24px -16px rgba(0,0,0,.8);
  z-index: 1000;
  padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
}
.tabbar__indicator {
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, #dc3c50, var(--gold));
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 10px rgba(220,60,80,.3);
  transition: transform .4s cubic-bezier(.22,.8,.25,1), width .3s;
  pointer-events: none;
}
.tabbar__item {
  flex: 1; text-align: center;
  padding: .5rem .3rem .4rem;
  border-radius: 10px;
  transition: background .3s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.tabbar__item:active { transform: translateY(1px); }
.tabbar__ico { font-size: 1.15rem; display: block; }
.tabbar__label {
  font-family: var(--font-display);
  font-size: .6rem; letter-spacing: .08em;
  color: var(--dim);
  display: block; margin-top: 2px;
  transition: color .3s;
}
.tabbar__item.active {
  background: rgba(0,212,255,.1);
}
.tabbar__item.active .tabbar__label { color: var(--gold); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .tabbar { display: flex; }
  body { padding-bottom: 0; }
  .header { padding: .6rem 1rem; }
  .hero { padding: 1.5rem 1rem .8rem; }
  .vinilo { width: 45vmin; }
  .menu-grid { gap: 1rem; }
  .card { padding: 1rem 1.5rem; }
  .card__vinyl { width: 48px; height: 48px; }
}
@media (min-width: 601px) {
  .tabbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
