/* ============================================
   SPOTIFY CLONE - COMBINED STYLES
   ============================================ */

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* ============================================
   LANDING PAGE - NAVBAR
   ============================================ */

.navbar {
    background-color: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(29, 185, 84, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1bd760;
}

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

.navbar-buttons {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 100px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-btn:hover {
    transform: scale(1.05);
    color: #1bd760;
}

.nav-btn.btn-primary {
    background: #1bd760;
    color: #000;
}

.nav-btn.btn-primary:hover {
    background: #1ed760;
    transform: scale(1.08);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 5rem;
    min-height: 100vh;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 900;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #1bd760, #1ed760);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: #1bd760;
    color: #000;
}

.btn-primary:hover {
    background: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.3);
}

.btn-outline {
    border: 2px solid #1bd760;
    background: transparent;
    color: #1bd760;
}

.btn-outline:hover {
    background: #1bd760;
    color: #000;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: #1bd760;
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Visual Animation */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.music-animation {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.5rem;
    height: 200px;
}

.bar {
    width: 8px;
    background: linear-gradient(to top, #1bd760, #1ed760);
    border-radius: 4px;
    animation: pulse 0.6s ease-in-out infinite;
}

.bar-1 {
    height: 40px;
    animation-delay: 0s;
}

.bar-2 {
    height: 80px;
    animation-delay: 0.1s;
}

.bar-3 {
    height: 120px;
    animation-delay: 0.2s;
}

.bar-4 {
    height: 80px;
    animation-delay: 0.3s;
}

.bar-5 {
    height: 40px;
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scaleY(0.6);
        opacity: 0.6;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(29, 185, 84, 0.05));
    padding: 5rem 2rem;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(29, 185, 84, 0.2);
    border-bottom: 1px solid rgba(29, 185, 84, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(29, 185, 84, 0.05);
    border: 1px solid rgba(29, 185, 84, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(29, 185, 84, 0.1);
    transform: translateY(-10px);
    border-color: #1bd760;
}

.feature-icon {
    font-size: 3rem;
    color: #1bd760;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(29, 185, 84, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.pricing-card.featured {
    background: rgba(29, 185, 84, 0.1);
    border-color: #1bd760;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(29, 185, 84, 0.2);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #1bd760;
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    color: #1bd760;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.features-list i {
    color: #1bd760;
    margin-right: 0.5rem;
}

.features-list li.disabled {
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.5);
}

.features-list li.disabled i {
    color: #999;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: rgba(15, 12, 41, 0.8);
    border-top: 1px solid rgba(29, 185, 84, 0.1);
    padding: 3rem 2rem 1rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #1bd760;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #1bd760;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(29, 185, 84, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #1bd760;
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(29, 185, 84, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   MODAL & AUTH FORMS
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(48, 43, 99, 0.98), rgba(36, 36, 62, 0.98));
    padding: 3rem;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 450px;
    border: 2px solid #1bd760;
    box-shadow: 0 0 40px rgba(29, 185, 84, 0.5), 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    float: right;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-top: -0.5rem;
}

.close-btn:hover {
    color: #fff;
    background: rgba(29, 185, 84, 0.2);
    transform: scale(1.1);
}

.auth-form {
    display: none;
}

.auth-form.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.auth-form h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1bd760;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.3);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.remember-me input {
    margin-right: 0.5rem;
    cursor: pointer;
}

.forgot-password {
    color: #1bd760;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1ed760;
    text-decoration: underline;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 0.5rem;
    width: auto;
    cursor: pointer;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(29, 185, 84, 0.2);
}

.divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(29, 185, 84, 0.2);
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    padding: 0.7rem;
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: #1bd760;
}

.auth-toggle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.auth-toggle a {
    color: #1bd760;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

.auth-toggle a:hover {
    color: #1ed760;
    text-decoration: underline;
}

/* ============================================
   MAIN APP - SIDEBAR & LAYOUT
   ============================================ */

.main {
    display: flex;
    height: 100vh;
    padding: 0;
    background: #000;
    overflow: hidden;
}

.sidebar {
    background-color: #000;
    width: 280px;
    border-radius: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full screen height including behind player */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2; /* Content behind player */
    padding-bottom: 90px;
}

.main-content {
    background: linear-gradient(to bottom, #2d2665 0%, #121212 40%, #121212 100%);
    border-radius: 0;
    overflow-y: auto;
    padding: 0 1.5rem 120px 1.5rem;
    height: 100vh !important; /* Force full height */
    position: fixed !important;
    left: 280px;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto !important; /* Takes remaining width */
    z-index: 1;
}

/* ============================================
   NAV & LIBRARY
   ============================================ */

.nav{
    background-color: transparent; /* Updated for new layout */
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    flex-shrink: 0;
    padding: 0.5rem 0.75rem;
}

.library{
    background-color: transparent; /* Updated for new layout */ 
    border-radius: 0;
    flex-grow: 1; 
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    overflow-y: auto; 
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lib-option img {
    height: 1.25rem;
    width: 1.25rem;
}

.icons {
    font-size: 1.25rem;
    display: flex;
}

.icons i {
    opacity: 0.7;
    margin-right: 1rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.icons i:hover {
    opacity: 1;
}

.box {
    background-color: #232323;
    height: auto;
    min-height: 8rem;
    border-radius: 0.75rem;
    margin: 0.75rem 0 1.75rem 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.box-p1 {
    font-size: 1rem;
    font-weight: 500;
}

.box-p2 {
    font-size: 0.85rem;
    opacity: 0.9;
}

.badge {
    background-color: #fff;
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #000;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    gap: 0.5rem;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.4);
    background: #1bd760;
    color: #000;
}

.dark-badge {
    background-color: #1a1a1a;
    color: #1bd760;
    border: 2px solid #1bd760;
}

.dark-badge:hover {
    background-color: #1bd760;
    color: #000;
    border-color: #1bd760;
}

.sticky-nav {
    position: sticky;
    top: 0;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0; /* Align with content */
    gap: 2rem;
    min-height: 70px;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

.nav-icons {
    margin-left: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.sticky-nav-options {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.sticky-nav-options .badge {
    white-space: nowrap;
    margin: 0;
}

.sticky-nav-options i {
    margin-left: 0.5rem;
}

.nav-item {
    margin-right: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    opacity: 0.8;
}

@media (max-width: 1000px) {
    .hide {
        display: none;
    }
}

.card {
    background-color: #181818;
    width: 220px;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card:hover {
    background-color: #282828;
    transform: scale(1.05);
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.card-img {
    width: 100%;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-title {
    font-weight: 600;
    margin-top: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: 0.25rem;
    line-height: 1.3;
}

.footer {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid rgba(29, 185, 84, 0.2);
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(to bottom, transparent, rgba(29, 185, 84, 0.05));
}

.footer-credit {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 1rem;
    line-height: 1.6;
}

.album {
    width: 25%;
}

.player {
    width: 50%;
}

.controls {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.player-control-icon {
    font-size: 1.25rem;
    margin: 0 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-control-active {
    opacity: 1;
    font-size: 2.5rem !important; /* Forces play button to be bigger */
    margin: 0 1rem;
    height: auto !important; /* Ensure height isn't restricted */
    width: auto !important; /* Ensure width isn't restricted */
    display: inline-flex !important; /* Ensure it's not hidden */
}

.play-bar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-bar {
    width: 70%;
    appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}

.progress-bar::-webkit-slider-runnable-track {
    background-color: #ddd;
    border-radius: 100px;
    height: 0.2rem;
}

.progress-bar::-moz-range-track {
    background-color: #ddd;
    border-radius: 100px;
    height: 0.2rem;
    border: none;
}

.progress-bar::-webkit-slider-thumb {
    appearance: none;
    height: 1rem;
    width: 1rem;
    background-color: #1bd760;
    border-radius: 50%;
    margin-top: -4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.progress-bar::-webkit-slider-thumb:hover {
    background-color: #1ed760;
}

.progress-bar::-moz-range-thumb {
    height: 1rem;
    width: 1rem;
    background-color: #1bd760;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.progress-bar::-moz-range-thumb:hover {
    background-color: #1ed760;
}

.volume-bar {
    appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}

.volume-bar::-webkit-slider-runnable-track {
    background-color: #ddd;
    border-radius: 100px;
    height: 0.15rem;
}

.volume-bar::-moz-range-track {
    background-color: #ddd;
    border-radius: 100px;
    height: 0.15rem;
    border: none;
}

.volume-bar::-webkit-slider-thumb {
    appearance: none;
    height: 0.75rem;
    width: 0.75rem;
    background-color: #fff;
    border-radius: 50%;
    margin-top: -3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.volume-bar::-moz-range-thumb {
    height: 0.75rem;
    width: 0.75rem;
    background-color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.volume-bar::-webkit-slider-thumb:hover {
    background-color: #1bd760;
}

.volume-bar::-moz-range-thumb:hover {
    background-color: #1bd760;
}

.curr-time,
.tot-time {
    font-size: 0.75rem;
    margin: 0 0.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

.hidden {
    display: none;
}

.page {
    width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 8rem 1rem 3rem;
        min-height: auto;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        min-width: auto;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 2rem;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .navbar-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .main {
        flex-direction: column;
        height: auto;
    }

    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .main-content {
        padding-bottom: 80px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card {
        width: 120px;
    }

    .music-player {
        height: auto;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .player-controls {
        flex-wrap: wrap;
    }

    .player-control-icon {
        margin-right: 1rem;
    }
}

.main-content::-webkit-scrollbar {
    width: 6px;
}

.main-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}
