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

body {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05)), #991ae2;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
  padding: 10px;
}

.nav-bar {
    border-bottom: 4px solid black;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-links a {
    text-decoration: none;
    color: black;
    margin: 0 4px;
}

.nav-icons {
    display: flex;
    gap: 5px;
}

.sq {
    width: 20px;
    height: 20px;
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.2);
}

.sq.gold {
    background-color: #cfb53b;
}

.sq.red {
    background-color: #d92121;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.song-widget {
    border: 4px solid black;
    background-color: #404040;
    margin-top: 20px;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

.song-header {
    background-color: #1a1a1a;
    color: white;
    font-size: 32px;
    padding: 5px 15px;
    text-transform: uppercase;
    border-bottom: 4px solid #2a2a2a;
}

.song-display-area {
    padding: 20px 0;
    text-align: center;
    position: relative;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.song-title {
    color: white;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 10px;
    height: 30px;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.cards-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.song-card {
    position: absolute;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    transform: scale(0.5);
    z-index: 1;
}

.song-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 10;
}

.song-card.prev {
    opacity: 1;
    transform: translateX(-220px) scale(0.65);
    z-index: 5;
    filter: brightness(0.7);
}

.song-card.next {
    opacity: 1;
    transform: translateX(220px) scale(0.65);
    z-index: 5;
    filter: brightness(0.7);
}

.art-box {
    width: 280px;
    height: 280px;
    background-color: #000;
    border: 4px solid #555;
    position: relative;
    display: flex;
    flex-direction: column;
}

.art-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background-color: rgba(60, 60, 60, 0.9);
    border: 2px solid #777;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.play-overlay:hover {
    background-color: #fff;
}

.play-overlay:hover::after {
    border-left-color: #000;
}

.play-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid white;
    margin-left: 4px;
}

.author-info {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.song-card.active .author-info {
    opacity: 1;
}

.author-avatar {
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 1px solid black;
}

.author-text {
    color: white;
    font-size: 14px;
}

.nav-arrow {
    background-color: #111;
    border: none;
    width: 40px;
    height: 60px;
    cursor: pointer;
    z-index: 20;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background-color: #000;
}

.nav-arrow.left {
    left: 0;
}

.nav-arrow.right {
    right: 0;
}

.arrow-shape {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.arrow-shape.left {
    border-right: 15px solid white;
}

.arrow-shape.right {
    border-left: 15px solid white;
}

.song-footer-date {
    color: white;
    font-size: 28px;
    text-transform: uppercase;
    margin-top: 10px;
}

p {
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
}