html, body {
  overscroll-behavior: none;
}
.fs-5 {
    font-size: 50px;
    font-size: 1.333333rem;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
}
h3, .entry-content h3 {
    font-size: 20px;
    /* font-size: 2rem; */
    font-weight: 900;
    margin-bottom: 5px;
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
}
.modal-body {
    font-size: 1.010rem;
}
.touch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}



                   .player-rating {
                display: flex;
                justify-content: center;
                margin-top: 20px;
            }
            .rating-button {
                background: none;
                border: none;
                cursor: pointer;
                font-size: 24px;
                margin: 0 10px;
                margin-right: -55px;
                transition: transform 0.2s, color 0.2s;
            }
            .rating-button:hover {
                transform: scale(1.1);
            }
            .rating-button.active {
                color: #f30606;
                transform: scale(1.2);
            }
            .song-info {
                text-align: center;
                margin-top: 20px;
            }
            .song-art {
                width: 200px;
                height: 200px;
                object-fit: cover;
                margin-bottom: 10px;
            }
            .error-message {
                color: red;
                text-align: center;
                margin-top: 10px;
            }
            .like-button, .dislike-button {
                transition: all 0.3s ease;
            }
            .like-button.active, .dislike-button.active {
                transform: scale(1.1);
                box-shadow: 0 0 10px rgba(0,0,0,0.2);
            }
            .rating-button-like {
                background: none;
                border: none;
                cursor: pointer;
                font-size: 24px;
                margin: -2px 7px 0px -50px;
                transition: transform 0.2s, color 0.2s;
            }
            .rating-button-like:hover {
                transform: scale(1.1);
            }
            .rating-button-like.active {
                color: #28a745;
                transform: scale(1.2);
            }
            .iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.4s ease-out;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
}

.iframe-container.active {
    opacity: 1;
    pointer-events: auto;
}
            @keyframes slideInLeft {
                from {
                    transform: translateX(-100%);
                }
                to {
                    transform: translateX(0);
                }
            }
            @keyframes slideInRight {
                from {
                    transform: translateX(100%);
                }
                to {
                    transform: translateX(0);
                }
            }
            @keyframes slideInBottom {
                from {
                    transform: translateY(100%);
                }
                to {
                    transform: translateY(0);
                }
            }
            @keyframes slideOutBottom {
                from {
                    transform: translateY(0);
                }
                to {
                    transform: translateY(100%);
                }
            }
            .iframe-container.slide-left {
                animation: slideInLeft 0.3s ease-in-out forwards;
            }
            .iframe-container.slide-right {
                animation: slideInRight 0.3s ease-in-out forwards;
            }
            .iframe-container.slide-up {
                animation: slideInBottom 0.3s ease-in-out forwards;
            }
            .iframe-container.slide-down {
                animation: slideOutBottom 0.3s ease-in-out forwards;
            }
            .content-container {
                width: 100%;
                height: 100%;
                display: none;
                overflow-y: auto;
            }
            .content-container.active {
                display: block;
            }
            .top-right-buttons {
                position: fixed;
                top: 10px;
                right: 10px;
                z-index: 1000;
                display: flex;
                gap: 10px;
            }
            .top-right-button {
                background-color: rgba(255, 255, 255, 0.7);
                border: none;
                border-radius: 50%;
                width: 40px;
                height: 40px;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                transition: background-color 0.3s;
            }
            .top-right-button:hover {
                background-color: rgba(255, 255, 255, 0.9);
            }
            .top-right-button svg {
                width: 24px;
                height: 24px;
            }
            .swipe-instructions {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                z-index: 1000;
                display: none;
            }
            .swipe-animation {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.swipe-animation img {
    width: 40px;
    height: 40px;
    position: absolute;
}

.swipe-animation.left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.swipe-animation.right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.swipe-animation.up {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.swipe-animation.left img {
    left: 0;
    top: 30px;
    animation: slideAnimationLeft 1.5s infinite;
}

.swipe-animation.right img {
    right: 0;
    top: 30px;
    animation: slideAnimationRight 1.5s infinite;
}

.swipe-animation.up img {
    left: 30px;
    bottom: 0;
    animation: slideAnimationUp 1.5s infinite;
}

@keyframes slideAnimationLeft {
    0% { transform: translateX(0); }
    50% { transform: translateX(40px); }
    100% { transform: translateX(0); }
}

@keyframes slideAnimationRight {
    0% { transform: translateX(0); }
    50% { transform: translateX(-40px); }
    100% { transform: translateX(0); }
}

@keyframes slideAnimationUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(-40px); }
    100% { transform: translateY(0); }
}
            .swipe-animation.left {
                top: 50%;
                left: 10px;
                transform: translateY(-50%);
            }
            .swipe-animation.right {
                top: 50%;
                right: 10px;
                transform: translateY(-50%);
            }
            .swipe-animation.up {
                bottom: 10px;
                left: 50%;
                transform: translateX(-50%);
            }
            @media (max-width: 1024px) {
                .swipe-instructions {
                    display: block;
                }
            }
             .container2 {
    max-width: 90%;
    margin-left: 5%;
    margin-top: 8%;
    width: 100vw;
    padding: 0rem;
  }

  .song-list {
    list-style-type: none;
    padding: 0;
    margin: 0px 0px 0px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .song-item {
    flex: 0 0 auto;
    width: calc(16% - 1rem);
    max-width: 250px;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
  }

  .song-item:hover {
    transform: translateY(-5px);
  }

  .song-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .song-art.loaded {
    opacity: 1;
  }

  .song-info {
    text-align: center;
  }

  .song-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #333;
    max-width: 20ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .song-artist {
    font-size: 0.9rem;
    color: #666;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .song-time {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
  }

  .playing-next {
   background-color: #f9f9f9;
    border: 2px solid #f8f9fa;
  }

  .playing-next::before {
    content: "Próxima";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ef2e4c;
    color: white;
    padding: 0px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .countdown {
    font-size: 1rem;
    font-weight: bold;
    color: #743074;
    margin-top: 0.5rem;
  }

  .next-song-timer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #743074;
    margin-bottom: 1rem;
    text-align: center;
  }

  .now-playing {
    background-color: #f9f9f9;
    border: 2px solid #f9f9f9;
  }

  .now-playing::before {
    content: "Tocando";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff691a;
    color: white;
    padding: 0px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .time-remaining {
    font-size: 0.9rem;
    color: #ef2e4c;
    font-weight: bold;
    margin-top: 0.5rem;
  }

  .next-play-time {
    font-size: 0.9rem;
    color: #743074;
    font-weight: bold;
    margin-top: 0.5rem;
  }

  /* Responsive Design */
  @media (max-width: 1200px) {
      .container2 {
        width: 100%;
        max-width: 100%;
        margin-left: 0%;
        margin-top: 14%;
        /* padding: 1rem; */
    }
    .song-item {
      width: calc(50% - 1rem);
      max-width: 240px;
    }
    .song-list {
      margin: 0px 0px 0px 0px;
    }
  }

  @media (max-width: 992px) {
          .container2 {
        width: 100%;
        max-width: 100%;
        margin-left: 0%;
        margin-top: 10%;
        padding: 1rem;
    }
    .song-item {
      width: calc(50% - 1rem);
      max-width: 230px;
    }
    .song-list {
      margin: 0px 0px 0px 0px;
    }
  }

  @media (max-width: 768px) {
    .container2 {
      width: 100%;
      max-width: 100%;
        margin-left: 0%;
        margin-top: 17%;
      padding: 1rem;
    }

    .song-list {
      flex-direction: column;
      margin: 0px 0px 0px -0px;
      align-items: center;
    }

    .song-item {
      width: 100%;
      max-width: 100%;
      display: flex;
      align-items: center;
      padding: 0.5rem;
    }

    .song-art {
      width: 80px;
      height: 80px;
      margin-right: 1rem;
      margin-bottom: 0;
    }

    .song-info {
      text-align: left;
      flex: 1;
    }

    .song-title, .song-artist {
      white-space: normal;
      overflow: visible;
    }

    .next-song-timer {
      font-size: 1rem;
    }

    .playing-next::before, .now-playing::before {
      top: -8px;
      font-size: 0.7rem;
    }
  }
  .top15-container {
            display: flex;
            max-width: 90%;
    margin-top: 12%;
    margin-left: 5%;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .top15-column {
            width: 100%;
            margin-bottom: 20px;
        }
        .top15-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        .top15-item {
            display: flex;
            align-items: flex-start;
            border-bottom: 1px solid #eee;
            padding: 1rem;
            background: #f9f9f9;
            border-radius: 8px;
            margin: 5px 0px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease-in-out, opacity 0.5s ease-in-out;
        }
        .top15-rank {
            font-weight: bold;
            margin-right: 10px;
            color: #b3bbbb;
            min-width: 25px;
        }
        .top15-cover {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 10px;
        }
        .top15-details {
            flex-grow: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        .top15-item .top15-details p.top15-title {
            font-weight: bold;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            color: #333333;
            text-overflow: ellipsis;
            line-height: 1.2;
            margin-bottom: 0 !important;
        }
        .top15-item .top15-details p.top15-artist {
            font-size: 0.85em;
            color: #7f8c8d;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
            margin-bottom: 0 !important;
        }
        .top15-ratings {
            display: flex;
            align-items: center;
            font-size: 0.85em;
            padding-top: 5px;
            white-space: nowrap;
        }
        .top15-rating {
            display: flex;
            align-items: center;
            margin-right: 8px;
        }
        .top15-rating-icon {
            margin-right: 3px;
        }
        .top15-likes {
            color: #2ecc71;
        }
        .top15-dislikes {
            color: #e74c3c;
        }

        @media (min-width: 768px) {
            .top15-column {
                width: 32%;
            }
        }
        @media (max-width: 768px) {
    .top15-container {
    display: flex;
    max-width: 90%;
    margin-top: 24%;
    margin-left: 5%;
    flex-wrap: wrap;
    justify-content: space-between;
}
}
@media (max-width: 992px) {
    .top15-container {
    display: flex;
    max-width: 90%;
    margin-top: 24%;
    margin-left: 5%;
    flex-wrap: wrap;
    justify-content: space-between;
}
}
@media (max-width: 1200px) {
    .top15-container {
    display: flex;
    max-width: 90%;
    margin-top: 24%;
    margin-left: 5%;
    flex-wrap: wrap;
    justify-content: space-between;
}
}