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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #15151f;
    --accent: #ff6b35;
    --accent-hover: #ff8555;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.4);
    --glow: rgba(255, 107, 53, 0.3);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 70px; /* Space for fixed top nav */
    padding-bottom: 80px; /* Space for mini player */
}

/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-back-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 12px;
}

.nav-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.nav-back-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.05);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-spacer {
    flex: 1;
}

/* Feedback Icon */
.feedback-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feedback-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.feedback-icon svg {
    flex-shrink: 0;
}

.feedback-text {
    white-space: nowrap;
}

/* Hide text on mobile, show only icon */
@media (max-width: 640px) {
    .feedback-text {
        display: none;
    }
    
    .feedback-icon {
        padding: 8px;
    }
}

/* Page Management */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header */
.header {
    position: relative;
    text-align: center;
    padding: 60px 20px 40px;
    overflow: hidden;
}

.header-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -2px;
    position: relative;
    animation: fadeInDown 0.8s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Main */
.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.hidden {
    display: none !important;
}

/* Podcasts Container */
.podcasts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    animation: fadeIn 0.8s ease-out;
}

/* Podcast Card */
.podcast-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    animation: slideUp 0.6s ease-out backwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.podcast-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px var(--shadow), 0 0 40px var(--glow);
}

.podcast-artwork {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--accent) 0%, #d946a6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.podcast-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.podcast-card:hover .podcast-artwork img {
    transform: scale(1.1);
}

.podcast-details {
    padding: 24px;
}

.podcast-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.podcast-category {
    display: inline-block;
    background: var(--accent);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.podcast-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.podcast-network {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Back Button */
.podcast-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 12px;
}

.back-btn, .refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.back-btn:hover, .refresh-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-4px);
}

.refresh-btn:hover {
    transform: rotate(180deg);
}

/* Podcast Detail Page */
.podcast-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.podcast-hero-artwork {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #d946a6 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.podcast-hero-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-hero-info {
    flex: 1;
}

.podcast-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.podcast-hero-category {
    display: inline-block;
    background: var(--accent);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.podcast-hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.podcast-hero-network {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}

/* Episode Search */
.episode-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

.episode-search-input {
    width: 100%;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.episode-search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.episode-search-input::placeholder {
    color: var(--text-muted);
}

/* Episode Loading */
.episode-loading {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

/* Episode List */
.episode-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.episode-item {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.episode-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.episode-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.episode-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.episode-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.episode-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .podcasts-container {
        grid-template-columns: 1fr;
    }
    
    .podcast-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .podcast-hero-artwork {
        width: 220px;
        height: 220px;
    }
    
    .podcast-hero-title {
        font-size: 2rem;
    }
    
    .player-artwork-full {
        max-width: 280px;
    }
    
    .player-title-full {
        font-size: 1.5rem;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Mini Player (Android-style bottom bar) */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px var(--shadow);
}

.mini-player.hidden {
    transform: translateY(100%);
}

.mini-player-progress {
    height: 3px;
    background: var(--border);
    position: relative;
}

.mini-player-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s linear;
}

.mini-player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 16px;
}

.mini-player-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.mini-player-artwork {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #d946a6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.mini-player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-player-info {
    flex: 1;
    min-width: 0;
}

.mini-player-title {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.mini-player-podcast {
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mini-player-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mini-player-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mini-player-play-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mini-player-play-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.mini-player-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mini-player-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Now Playing Page - Always as Sidebar */
.now-playing-page {
    position: fixed;
    right: 0;
    top: 70px;
    bottom: 0;
    width: 400px;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 998;
    box-shadow: -4px 0 20px var(--shadow);
}

/* Show sidebar when active */
.now-playing-page.active {
    transform: translateX(0);
}

.now-playing-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.now-playing-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.now-playing-content {
    max-width: 100%;
    padding: 20px;
    padding-top: 60px; /* Space for close button */
}

/* Adjust main content when sidebar is open */
body.now-playing-open .page:not(.now-playing-page) {
    padding-right: 420px; /* 400px sidebar + 20px spacing */
    transition: padding-right 0.3s ease;
}

/* Adjust podcast grid for narrower space */
body.now-playing-open #podcastsContainer {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* Adjust mini player position */
body.now-playing-open .mini-player {
    right: 400px; /* Position to left of sidebar */
    transition: right 0.3s ease;
}

/* Mobile Responsive - Full screen on mobile */
@media (max-width: 1023px) {
    .now-playing-page {
        top: 0;
        width: 100%;
        z-index: 1001;
        background: var(--bg-dark);
    }
    
    .now-playing-page.active {
        transform: translateX(0);
    }
    
    body.now-playing-open .page:not(.now-playing-page) {
        display: none; /* Hide main content on mobile when Now Playing is open */
    }
    
    body.now-playing-open .mini-player {
        display: none; /* Hide mini player on mobile */
    }
    
    body.now-playing-open .top-nav {
        display: none; /* Hide top nav on mobile */
    }
    
    .now-playing-content {
        padding-top: 20px;
    }
}

.now-playing-artwork {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    margin: 20px auto;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #d946a6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.now-playing-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.now-playing-info {
    text-align: center;
    padding: 20px;
}

.now-playing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.now-playing-podcast {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Progress Section */
.now-playing-progress-section {
    padding: 20px 0;
}

.now-playing-progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-bottom: 10px;
}

.now-playing-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.now-playing-progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--text-primary);
    border-radius: 50%;
    left: 0%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.now-playing-time {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Main Controls */
.now-playing-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.control-btn-play {
    width: 80px;
    height: 80px;
    background: var(--accent);
}

.control-btn-play:hover {
    background: var(--accent-hover);
}

.control-label {
    position: absolute;
    bottom: 2px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Settings Panel */
.now-playing-settings {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.setting-group {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.setting-group:last-child {
    border-bottom: none;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Speed Buttons */
.speed-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.speed-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 20px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.speed-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.speed-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border);
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.volume-percent {
    min-width: 40px;
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Sleep Timer Buttons */
.sleep-timer-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timer-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 20px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.timer-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.timer-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}

.timer-status {
    background: rgba(255, 107, 53, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--accent);
    font-size: 0.9rem;
    text-align: center;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--accent);
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Mini Player Speed Button */
.speed-text {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .now-playing-artwork {
        max-width: 300px;
    }
    
    .speed-buttons,
    .sleep-timer-buttons {
        justify-content: center;
    }
}
