* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}
@keyframes fadeIn {
  from { opacity: 0; } /* Начальное состояние — полностью прозрачный */
  to   { opacity: 1; } /* Конечное состояние — полностью видимый */
}
@keyframes sliding {
  from {
    margin-left: 100%;
    width: 10%;
    opacity: 0;
  }

  to {
    margin-left: 0%;
    width: 100%;
    opacity: 1;
  }
}


body {
    background: #ffffff;
    color: #222;

    font-size: 18px;
}

/* HEADER */

.header {
    animation: fadeIn 3s ease-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Comfortaa', sans-serif;
    padding: 16px 40px;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 14px;
    color: #555;
}

.menu a {
    margin-left: 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
}

.menu a:hover {
    text-decoration: underline;
}

/* CONTENT */

.content {
    padding: 60px 40px;
}

.title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-width: 300;
    color: #8b1c3d;
    margin-bottom: 60px;
}

/* PLAYER BLOCK */

.player-block {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    animation-duration: 3s;
    animation-name: sliding;
}

.player iframe {
    border-radius: 8px;
}


.info h2 {
    font-size: 25px;
    font-width: 400;
    font-family: 'Comfortaa', sans-serif;
    margin-bottom: 12px;
}

.track-title {
    font-size: 32px;
    color: #8b1c3d;
    margin-bottom: 16px;
    font-family: 'Oswald', sans-serif;
}
.track-canvas {
    font-size: 21px;
    color: #8b1c3d;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}
.info-text {
    max-width: 300px;
    font-family: 'Comfortaa', sans-serif;
}
.update-time {
    margin-top: 25px;
    font-size: 14px;
    font-family: 'Comfortaa', sans-serif;
    color: #666;
}


.track-history {
    margin-top: 40px;

}

.track-history h3 {
    font-size: 18px;
    color: #8b1c3d;
    margin-bottom: 16px;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
}

#track-list {
    list-style: none;
    padding: 0;
    text-align: center;
    cursor:pointer;
    transition: opacity:0.2s ease;

}

.track-list li {
    cursor: pointer;
    padding: 6px 0;
    opacity: 0.8;
    justify-content: center;
}

#track-list li:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Подсветка активного трека */
#track-list li.active {
    font-weight: 600;
    color: #8b1c3d;
}

/* Кнопка текущего трека */
#current-track-btn {
    margin-top: 16px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: #8b1c3d;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
}

#current-track-btn:hover {
    opacity: 0.9;
}

/* Плавная смена плеера */
.player iframe {
    transition: opacity 0.3s ease;
}

.player iframe.fade-out {
    opacity: 0;
}