/*BASE*/
/*style.css */

@font-face {
    font-family: 'Special Elite';
    src: url('/fonts/SpecialElite-Regular.woff2') format('woff2'),
        url('/fonts/SpecialElite-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- */

body {
  margin: 0;
  padding: 0;
  white-space-collapse: collapse;
  white-space: nowrap;
  /*box-sizing: border-box;*/
}

/* --- */

#iwrap {
  display: grid;
  background-color: black;
}

/* --- */

#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
  cursor: pointer; /* <--- importante: cambia el cursor */
}

.intro-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: black;
  transition: transform 5s ease-in-out;
}

.left { left: 0; }
.right { right: 0; }

.intro-text {
  color: white;
  text-align: center;
  z-index: 5;
  font-family: "Times New Roman", serif;
  opacity: 0;
  transform: translateX(30px); /* entra desde la derecha */
  transition: 
    opacity 1s ease-out,
    transform 1s ease-out;
}

/* Cuando aparece */
.intro-text.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* Cuando desaparece */
.intro-text.fade-out {
  opacity: 0;
  transform: translateX(40px); /* sale hacia la derecha */
  transition: 
    opacity 1s ease-in,
    transform 1s ease-in;
}

/* --- */

#iheader {
  background: black;
}

#itop-bar {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: black;
  color: white;
  border-bottom: 5px solid #252525;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 1000;
}

#marquesina {
  flex: 1;
  overflow: hidden;
}

#marquesina span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0%); }
  to { transform: translateX(-100%); }
}

/* --- */

#reproductor {
  width: 30%;
  height: 100%;
  border-left: 1px solid #505050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  gap: 10px;
  overflow: hidden;
}

/* 🔹 Zona del título */
.song-title {
  flex: 1;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  box-sizing: border-box;
}

.song-title span {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: scroll 15s linear infinite;
}

@keyframes scroll-title {
  /*0%   { transform: translateX(0); }*/
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rbtn {
  width: 12px;
  height: 12px;
  cursor: pointer;
  background-color: white;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.6;
}

/* Botones geométricos (temporal, hasta que pongas tus imágenes) */
.prev {
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.play {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.pause {
  display: flex;
  justify-content: space-between;
}

.pause::before,
.pause::after {
  content: "";
  display: block;
  width: 35%;
  height: 100%;
  background: white;
}

.next {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Slider de volumen */
#volume {
  width: 30%;
  appearance: none;
  height: 2px;
  background: white;
  outline: none;
}

#volume::-webkit-slider-thumb {
  appearance: none;
  width: 6px;
  height: 6px;
  background: white;
  cursor: pointer;
}

/* --- */

body {
  padding-top: 35px;
}

#banner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  width: fit-content;
  text-decoration: none;
  margin: 30px 10% 0px;
  /*align-self: center; vertical*/
}

#logo {
  grid-row: 1 / span 2;
  width: 150px;
  height: 200px;
}

#logo img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

#nombre {
  display: flex;
  align-items: center;
  width: fit-content;
  height: 150px;
  margin-left: 5px;
}

#nombre img {
  /*width: 100%;
  height: 100%;*/
  image-rendering: pixelated;
}

#slogan {
  width: 700px;
  height: 50px;
  background-color: purple;
}

/*.logo-img {
  width: 100%;
  height: auto;               mantiene aspecto del svg
}

.slogan {
  font-size: 1rem;
  margin-top: 0.5em;
}*/

/* --- */

#nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  background: white;
  width: 80%;
  margin: 30px auto 0px;
}

.linea-superior {
  width: 100%;
  height: 8px;
  background: #000;
}

.menu {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.menu-item {
  border-left: 1px solid black;
  border-right: 1px solid black;
  width: 100%;
  height: 45px;
  line-height: 45px;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.linea-inferior {
  width: 100%;
  height: 3px;
  background: #000;
}

/* --- */

