body {
  font-family: Arial, sans-serif;
  direction: rtl;
  text-align: right;
}
    
.lyric {
  display: inline-block;
  position: relative;
  line-height: 1em;
}

.chord-wrapper {
  display: inline-block;
  position: relative;
  text-align: right;
  line-height: 1.6em;
  vertical-align: bottom;
  transform: translateY(15%); /* So it will not be to different than lyrics lines without chords */
  transition: line-height 0.6s ease;  /* smooth animation */
}

.chord-wrapper.nochords {
  line-height: 1.0em;
  transition: line-height 0.6s ease;  /* smooth animation */
}

.chord {
  position: absolute;
  top: -1.1em;         /* controla la altura del acorde */
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: bold;
  color:blue;
  white-space: nowrap;
  direction: ltr;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.chord-wrapper.nochords .chord {
  /* display:none; */
  opacity: 0;
  visibility: hidden;
}

.tinfo {
  font-size: 10px;
  font-style: italic;
  font-family: cursive;
  color:purple;
}

.ltr {
  direction: ltr;
  text-align: left;
}  

.mono {
  font-family: "Roboto Mono", "Menlo", "Courier New", monospace;
}

.songtable td {
  padding:10px;
  padding-left:30px;
  text-align: right;
  vertical-align: top;
}

#linktable {
  position: relative;
  height: 100vh;            /* cada celda igual a la altura de la pantalla */
  overflow-y: auto;         /* scroll interno vertical */
  z-index: 10; /* encima de todo... */
}

#songFilter{
  max-width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  margin: 10px auto;
  border-radius: 10px;
}

.pianolista {
  list-style: none;
  padding: 0;
  max-width: 300px;
  margin: 10px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.pianolista li {
  padding: 7px 10px;
  cursor: pointer;
  font-size: 14px;
  background: linear-gradient(95deg, #ffe, #eee);
  border-left: 1px solid #555;
  border-bottom: 3px solid #555;
  transition: background 0.3s, transform 0.15s;
  position: relative;
}

.pianolista li:last-child {
  border-bottom: none;
}

.pianolista li:hover , li.glissando {
  background: linear-gradient(95deg, #eed, #ffe);
  transform: translateX(-3px);
  border-left: 4px solid #555;
  box-shadow:
    4px 4px 5px rgba(0,0,0,0.5),      /* sombra externa to the right, back side of key*/
    inset 0 4px 2px rgba(0,0,0,0.3); /* sombra interna */
}

.pianolista li.active {
  background: linear-gradient(135deg, #a8e0ff, #84c0ff);
  color: #fff;
  font-weight: bold;
}

/* black key decoration */
.pianolista li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 80px;        /* narrower than white */
  height: 12px;       /* shorter than white key */
  background: black;
  box-shadow: -1px 2px 7px rgba(30,30,0,0.6);
  opacity:0.9;
  border-radius: 5px 0 0 2px ;
  z-index: 5;  
}

/* remove black keys for E and B (3rd and 7th) and last key */
/* .pianolista li:nth-child(3)::after,
.pianolista li:nth-child(7)::after, 
.pianolista li:last-child::after {  display: none; }*/
.pianolista li:is(:nth-child(3), :nth-child(7), :nth-child(10), :nth-child(14),
                   :nth-child(17), :nth-child(21), :nth-child(24), :nth-child(28),
                   :nth-child(31), :nth-child(35), :nth-child(38),:last-child)::after { display: none; }

/*****************************/

/*****************************/

.songdisptable {
    min-height: 100vh;
    background: linear-gradient(135deg, #cce, #eff, #ded, #fef);
    position: relative;
    font-family: 'Arial', sans-serif;
    box-shadow: inset 0 0 30px 15px rgba(255, 255, 255, 1); /* Inner white glow */
    border-radius: 2%;
    animation: gradientShift 60s ease infinite alternate;
}

/* Animación de cambio de color y dirección */
@keyframes gradientShift {
  0%   { background: linear-gradient(135deg, #CCE, #EFF); }
  5%   { background: linear-gradient(138deg, #C8C8E8, #E8F8F8); }
  15%  { background: linear-gradient(140deg, #CDE, #FFF); }
  20%  { background: linear-gradient(150deg, #C8D8E8, #F8F8F8); }
  35%  { background: linear-gradient(160deg, #CEE, #FFE); }
  40%  { background: linear-gradient(170deg, #C8E8E8, #F8F8E8); }
  50%  { background: linear-gradient(180deg, #CEF, #FFE); }
  60%  { background: linear-gradient(190deg, #C8E8F8, #F8F8E8); }
  65%  { background: linear-gradient(200deg, #CEE, #FEE); }
  80%  { background: linear-gradient(220deg, #C8E8E8, #F8E8E8); }
  85%  { background: linear-gradient(240deg, #CED, #FEE); }
  90%  { background: linear-gradient(250deg, #C8E8D8, #F8E8E8); }
  100% { background: linear-gradient(265deg, #CEC, #FEF); }
}

.bokeh-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;  /* 👈 allows clicks to pass through */
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(2px);
    animation: float 20s infinite linear;
}

.bokeh-circle:nth-child(1) {
    width: 160px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.1) 70%, transparent 100%);
    top: 20%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.bokeh-circle:nth-child(2) {
    width: 120px;
    height: 110px;
    background: radial-gradient(circle, rgba(255,182,193,0.7) 0%, rgba(255,182,193,0.1) 70%, transparent 100%);
    top: 60%;
    right: 15%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.bokeh-circle:nth-child(3) {
    width: 65px;
    height: 60px;
    background: radial-gradient(circle, rgba(173,216,230,0.8) 0%, rgba(173,216,230,0.1) 70%, transparent 100%);
    top: 40%;
    left: 60%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.bokeh-circle:nth-child(4) {
    width: 95px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,218,185,0.6) 0%, rgba(255,218,185,0.1) 70%, transparent 100%);
    top: 80%;
    left: 25%;
    animation-duration: 28s;
    animation-delay: -15s;
}

.bokeh-circle:nth-child(5) {
    width: 95px;
    height: 80px;
    background: radial-gradient(circle, rgba(221,160,221,0.7) 0%, rgba(221,160,221,0.1) 70%, transparent 100%);
    top: 10%;
    right: 30%;
    animation-duration: 35s;
    animation-delay: -20s;
}

.bokeh-circle:nth-child(6) {
    width: 75px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,224,0.8) 0%, rgba(255,255,224,0.1) 70%, transparent 100%);
    top: 30%;
    left: 80%;
    animation-duration: 26s;
    animation-delay: -8s;
}

.bokeh-circle:nth-child(7) {
    width: 100px;
    height: 120px;
    background: radial-gradient(circle, rgba(152,251,152,0.6) 0%, rgba(152,251,152,0.1) 70%, transparent 100%);
    top: 70%;
    right: 40%;
    animation-duration: 32s;
    animation-delay: -12s;
}

.bokeh-circle:nth-child(8) {
    width: 80px;
    height: 95px;
    background: radial-gradient(circle, rgba(255,160,122,0.7) 0%, rgba(255,160,122,0.1) 70%, transparent 100%);
    top: 50%;
    left: 5%;
    animation-duration: 24s;
    animation-delay: -18s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0;
    }
}

/* Additional floating particles */
.particle {
    position: absolute;
    width: 5px;
    height: 4px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    animation: particle-float 15s infinite linear;
}

.particle:nth-child(odd) {
    animation-duration: 20s;
    background: rgba(255,255,255,0.4);
}

@keyframes particle-float {
    0% {
        transform: translateY(0vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Content overlay */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: flex-start; /* top of the page */
    min-height: 100vh;
    padding-top: 30px;
}

.card {
    background: #ffffff;
    background: radial-gradient(circle,rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.card h3 {
    font-size: 2.5em;
    margin: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.card p {
    font-size: 1.1em;
    line-height: 1.0;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255,255,255,0.2);
    color: gray;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    font-weight: bold;
    z-index: 10; /* above all */
}

.btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .card {
        margin: 10px;
        padding: 10px 10px;
    }
    
    .card h1 {
        font-size: 2em;
    }
    
    .bokeh-circle {
        transform: scale(0.7);
    }
}

/*********************************/

.button-control {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.button-control button {
  background: #eee;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: background 0.2s;
}

.button-control button:hover {
  background: #ddd;
}

.ctlbtn {
  background: linear-gradient(135deg, #ddd, #bbb);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Hover = cuando el mouse está encima */
.ctlbtn:hover {
  background: linear-gradient(135deg, #eee, #ccc);
  transform: translateY(-2px);
}

/* Active = cuando está siendo presionado + class active */
.ctlbtn.active {
  background: linear-gradient(135deg, #84c0ff, #a8e0ff);
  transform: translateY(1px);
}

/* Hover + Active al mismo tiempo */
.ctlbtn.active:hover {
  background: linear-gradient(135deg, #64a0ff, #88c0ff);
}

.RoundButton {
  border-radius: 15px 15px 15px 15px;
}
.leftRoundButton {
  border-radius: 15px 0 0 15px;
}
.rightRoundButton {
  border-radius: 0 15px 15px 0;
}

.button-control input {
  width: 25px;
  height: 23px;
  text-align: center;
  font-size: 14px;
  border: 1px solid #ccc;
  background: #fff;
}

.spotify-frame {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}

.spotifylink {
  font-family: Arial, sans-serif;
  direction: ltr;
  text-align: left;
  padding:5px;
  border-radius:12px;
  background-color:#334;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  color:#fff;
}

.youtube-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
  text-align:center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/*******************************/

/* A animação de flutuar basico 0 */
@keyframes floatUp0 {
  0% {
    transform: translateY(100vh) scale(0.8);
    opacity: 0;
    filter: blur(4px);
  }
  15% {
    opacity: 1;
    filter: blur(0px);
  }
  70% {
    opacity: 1;
    width: 400px;
  }
  100% {
    transform: translateY(-150px) scale(1);
    opacity: 0;
  }
}

/* Animación con efectos extra 1 */
@keyframes floatUp1 {
  0% {
    transform: translateY(90vh) rotate(0deg);
    opacity: 0;
    filter: blur(2px);
    width: 100px;
  }
  10% {
    opacity: 1;
    filter: blur(1px);
  }
  50% {
    transform: translateY(50vh) rotate(10deg);
  }
  80% {
    opacity: 0.9;
    filter: blur(0px);
    width: 400px;
  }
  100% {
    transform: translateY(0vh) rotate(-10deg);
    opacity: 0;
    filter: blur(1px);
  }
}

/* floatUp2 — Drift suave para os lados (sinusoidal) */
@keyframes floatUp2 {
  0% {
    transform: translate(0, 100vh) rotate(0deg);
    opacity: 0;
    filter: blur(3px);
  }
  10% {
    opacity: 1;
    filter: blur(0px);
  }
  50% {
    transform: translate(60px, 40vh) rotate(5deg);
  }
  75% {
    transform: translate(-60px, 20vh) rotate(-5deg);
    width: 400px;
  }
  100% {
    transform: translate(0, -150px) rotate(0deg);
    opacity: 0;
    filter: blur(2px);
  }
}

/*  floatUp3 — Movimento ondulado / serpentina */
@keyframes floatUp3 {
  0% {
    transform: translate(0, 100vh) rotate(-10deg);
    opacity: 0;
    filter: blur(3px);
  }
  20% { opacity: 1; filter: blur(0); }
  40% {
    transform: translate(-25px, 60vh) rotate(5deg);
  }
  60% {
    transform: translate(25px, 30vh) rotate(-5deg);
    width: 400px;
  }
  80% {
    transform: translate(-15px, 10vh) rotate(3deg);
  }
  100% {
    transform: translate(0, -150px) rotate(0deg);
    opacity: 0;
  }
}

/* floatUp4 — Zoom-in com fade elegante */
@keyframes floatUp4 {
  0% {
    transform: translateY(100vh) scale(0.7);
    opacity: 0;
    filter: blur(4px);
  }
  20% {
    opacity: 1;
    filter: blur(1px);
  }
  60% {
    transform: translateY(40vh) scale(1);
  }
  100% {
    transform: translateY(-150px) scale(1.2);
    opacity: 0;
    filter: blur(2px);
  }
}

/* floatUp5 — Girando lentamente (spin suave) */
@keyframes floatUp5 {
  0% {
    transform: translateY(100vh) rotate(-20deg);
    opacity: 0;
    filter: blur(3px);
  }
  20% {
    opacity: 1;
    filter: blur(0);
  }
  50% {
    transform: translateY(50vh) rotate(20deg);
  }
  80% {
    transform: translateY(15vh) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-150px) rotate(-15deg);
    opacity: 0;
    filter: blur(1px);
  }
}

#picfloat-container {
  overflow: hidden;
}

#picfloat-container.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#picfloat-container.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Todas imagens começam escondidas */
.picfloat {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}

.picfloat.active {
  visibility: visible;
  opacity: 1;
}



/*******************************/