/* ===== RESET ===== */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== TOP BAR ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #000;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #d70000;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 1px;
}

/* allow the menu to scroll horizontally if needed (better than wrapping) */
.menu{
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox hide */
}
.menu::-webkit-scrollbar{ display:none; } /* Chrome/Safari hide */

.menu-btn{
  flex: 0 0 auto;
  background: transparent;
  color: #bdbdbd;
  border: 0;

  font-weight: 900;
  letter-spacing: 0.6px;

  font-size: 20px;     /* <-- MÁS GRANDE */
  line-height: 1;      /* <-- MÁS COMPACTO */

  padding: 12px 18px;  /* <-- un poco más grande */
  border-radius: 12px;

  cursor: pointer;
}

.menu-btn:hover{
  color: #fff;
  background: #1a1a1a;
}

.menu-btn.is-active{
  color: #fff;
  background: #2a2a2a;
}

/* Línea verde */
.green-line{
  height: 2px;
  background: #1db954;
}

/* ===== PAGE ===== */
.page{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 60px;
}

.page-title{
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 1px;
}

/* =========================================================
   NEW: App Pages (Hide/Show by JS)
   ========================================================= */
.app-page{ display: none; }
.app-page.is-active{ display: block; }

/* ===== VERTICAL SECTIONS ===== */
.v-section{
  margin: 22px 0 30px;
}

.section-title{
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 1px;
}

/* ===== HORIZONTAL SCROLL ===== */
.h-scroll{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 6px 14px;
  scroll-snap-type: x mandatory;

  /* “feel Spotify” */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #1db954 #1a1a1a;
}

.h-scroll::-webkit-scrollbar{ height: 10px; }
.h-scroll::-webkit-scrollbar-track{
  background: #1a1a1a;
  border-radius: 999px;
}
.h-scroll::-webkit-scrollbar-thumb{
  background: #1db954;
  border-radius: 999px;
}

/* ===== CARD ===== */
/* Tamaño fijo y responsivo */
.card{
  flex: 0 0 auto;
  width: clamp(140px, 22vw, 220px);
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.card-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  border: 1px solid #2a2a2a;
  background: #0b0b0b;
}

.card-label{
  margin-top: 10px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.15;

  /* evita que se rompa en varias líneas */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover tipo Spotify */
.card:hover .card-img{
  outline: 2px solid #1db954;
  outline-offset: 2px;
}

/* ===== MOBILE TUNING ===== */
@media (max-width: 420px){
  .topbar{ padding: 12px 12px; }
  .menu-btn{ padding: 9px 10px; border-radius: 9px; }
  .h-scroll{ gap: 14px; }
}


.logo{
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;   /* quita la bolita */
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}