/* Add this to your style.css */
@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-Book.woff2') format('woff2'),
    url('fonts/CircularStd-Book.woff') format('woff'),
    url('fonts/CircularStd-Book.ttf') format('truetype');
    font-weight: 400; /* Normal/Book weight */
    font-style: normal;
}

@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-BookItalic.woff2') format('woff2'),
    url('fonts/CircularStd-BookItalic.woff') format('woff'),
    url('fonts/CircularStd-BookItalic.ttf') format('truetype');
    font-weight: 400; /* Normal/Book weight */
    font-style: italic;
}

@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-Medium.woff2') format('woff2'),
    url('fonts/CircularStd-Medium.woff') format('woff'),
    url('fonts/CircularStd-Medium.ttf') format('truetype');
    font-weight: 500; /* Medium weight */
    font-style: normal;
}

@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-MediumItalic.woff2') format('woff2'),
    url('fonts/CircularStd-MediumItalic.woff') format('woff'),
    url('fonts/CircularStd-MediumItalic.ttf') format('truetype');
    font-weight: 500; /* Medium weight */
    font-style: italic;
}

@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-Bold.woff2') format('woff2'),
    url('fonts/CircularStd-Bold.woff') format('woff'),
    url('fonts/CircularStd-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold weight */
    font-style: normal;
}

@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-BoldItalic.woff2') format('woff2'),
    url('fonts/CircularStd-BoldItalic.woff') format('woff'),
    url('fonts/CircularStd-BoldItalic.ttf') format('truetype');
    font-weight: 700; /* Bold weight */
    font-style: italic;
}

@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-Black.woff2') format('woff2'),
    url('fonts/CircularStd-Black.woff') format('woff'),
    url('fonts/CircularStd-Black.ttf') format('truetype');
    font-weight: 900; /* Black/Heavy weight */
    font-style: normal;
}

@font-face {
    font-family: 'Circular';
    src: url('fonts/CircularStd-BlackItalic.woff2') format('woff2'),
    url('fonts/CircularStd-BlackItalic.woff') format('woff'),
    url('fonts/CircularStd-BlackItalic.ttf') format('truetype');
    font-weight: 900; /* Black/Heavy weight */
    font-style: italic;
}

/* Apply the font globally */
body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Player Container */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #181818;
    border-top: 1px solid #282828;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

/* Player Sections */
/* Player Sections */
.player-left {
    flex: 0.3;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px;
}

.player-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto; /* Center the entire player-center */
    max-width: 600px; /* Prevent it from stretching too wide */
}

.player-right {
    flex: 0.3;
    display: flex;
    justify-content: flex-end;
}

/* Album Art */
#album-art {
    width: 60px;
    height: 60px;
    /* Changed to circular shape with vinyl look */
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 3px solid #000;
}

/* Track Info */
.track-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-title {
    font-size: 14px;
    color: white;
    font-weight: 500;
    margin-bottom: 2px;
}

.track-artist {
    font-size: 12px;
    color: #b3b3b3;
    font-weight: 400;
}

/* Playback Controls */
.playback-controls {
    display: flex;
    gap: 25px;
    align-items: center;
}
.control-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.play-pause {
    background: white;
    color: black;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress Slider */
.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-slider {
    flex-grow: 1;
    height: 4px;
    -webkit-appearance: none;
    background: #404040;
    border-radius: 2px;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #1DB954;
    border-radius: 50%;
    cursor: pointer;
}

.time {
    font-size: 11px;
    color: #b3b3b3;
    min-width: 40px;
}
body {
    margin: 0;
    background: #191414;
    color: #ffffff;
    font-family: 'Circular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

.spotify-ui {
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-rows: 1fr auto;
    height: 100vh;
}

.sidebar {
    background: #000000;
    padding: 24px;
    border-right: 1px solid #282828;
}

.sidebar h1 {
    font-size: 24px;
    margin: 0 0 32px 0;
    color: #1DB954;
}

.main-content {
    padding: 32px;
    background: linear-gradient(180deg, #2b2929 0%, #191414 100%);
    overflow-y: auto;
}

.lebron-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

#lebron-image {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

#album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spinning {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Additional styles from previous versions */
.nav button {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background: none;
    border: none;
    color: #b3b3b3;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
}

.nav button.active {
    background: #282828;
    color: white;
}

.date-display {
    color: #b3b3b3;
    font-size: 14px;
}

#audio-player {
    flex: 0 0 200px;
    height: 40px;
    filter: invert(1);
}
/* Add to style.css */
.playback-controls {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center; /* Center the buttons horizontally */
    width: 100%; /* Ensure it takes full width */
}

.player-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    height: 100%;
    background: #1DB954;
    width: 0%;
    transition: width 0.1s linear;
}

.tiktok-player {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}
/* Keep existing styles and add these */

.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #181818;
    border-top: 1px solid #282828;
    display: flex;
    justify-content: space-between; /* Keep this */
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.player-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

#album-art {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 3px solid #000;
}

.track-title {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
}

.track-artist {
    font-size: 12px;
    color: #b3b3b3;
}

.player-center {
    flex: 1; /* Take available space */
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Add this */
    gap: 12px;
    margin: 0 120px; /* Add side margins to prevent overlap */
}

.playback-controls {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center; /* Ensure horizontal centering */
    width: 100%; /* Take full width of parent */
}

.control-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.control-btn:hover {
    color: white;
}

.play-pause {
    background: white;
    color: black;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: #404040;
    border-radius: 2px;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #1DB954;
    border-radius: 50%;
    cursor: pointer;
}

.progress-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.time {
    font-size: 12px;
    color: #b3b3b3;
    min-width: 40px;
    text-align: center;
}
