/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Content Section Transitions */
.content-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.content-section.hidden {
    opacity: 0;
    transform: translateY(20px);
}

/* Tab Navigation */
.nav-item {
    transition: all 0.3s ease;
}

.nav-item.active {
    background-color: rgba(29, 185, 84, 0.1);
    color: #1DB954;
}

/* Mobile Navigation */
.mobile-nav-button {
    transition: all 0.3s ease;
}

.mobile-nav-button.active {
    background-color: rgba(29, 185, 84, 0.1);
    color: #1DB954;
}

/* Filter chips */
.category-chip {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.category-chip.active {
    opacity: 1;
    background-color: #1DB954;
    color: white;
}

/* Main Layout */
main {
    transition: margin 0.3s ease;
    padding: 20px;
}

/* Base layout structure */
.content-wrapper {
    min-height: 100vh;
    background: #000000;
}

.fit-content {
    width: fit-content;
    width: -moz-fit-content;
}

.modern-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #000000, #1c1c1c);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: 'JetBrains Mono', monospace;
    z-index: 1000;
}

.player-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.now-playing-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.now-playing-image {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
}

.now-playing-info {
    overflow: hidden;
}

.now-playing-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-playing-album {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.control-button:hover {
    color: white;
    transform: scale(1.1);
}

.play-pause {
    background: #1DB954;
    padding: 1rem;
    color: white;
}

.play-pause:hover {
    transform: scale(1.1);
    background: #1ed760;
}

.progress-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-current {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    background: #1DB954;
    border-radius: 2px;
}

.progress-bar:hover .progress-current {
    background: #1ed760;
}

.player-actions-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.action-button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.action-button:hover {
    color: white;
}

.volume-slider {
    width: 100px;
}

.volume-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-current {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70%;
    background: #1DB954;
    border-radius: 2px;
}

.like-button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.like-button:hover {
    color: #1DB954;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .player-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .player-actions-section {
        justify-content: center;
    }

    .volume-slider {
        display: none;
    }

    .now-playing-section {
        justify-content: center;
    }
}
.song-image {
  width: 110px;border-top-left-radius: 30px;height: 114px;
}
.song-text {
  margin: 0px;color: rgb(172,248,159);max-width: 100%;
}
.song-container {
  margin-bottom: 20px;border-bottom-right-radius: 30px;border: 2px solid var(--gray);border-bottom-style: solid;border-top-left-radius: 30px;
}
audio::-webkit-media-controls-panel {
  background-color: #ff9f44af;
}

a.nav-link {
  color: #f58723;
}

.footer-basic {
  padding: 40px 0;
  background-color: #ffffff;
  color: #4b4c4d;
}

.header-dark {
  background-size: cover;
}

.header-dark h1 {
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 40px;
  padding-top: 60px;
}

/* Highlight Clean */
.highlight-clean {
  color: #313437;
  background-color: #fff;
  padding: 50px 0;
  font-family: 'JetBrains Mono', monospace;
}

.highlight-clean p {
  color: #7d8285;
}

.highlight-clean h2 {
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.5;
  padding-top: 0;
  margin-top: 0;
  color: inherit;
}

.highlight-clean .intro {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 25px;
}

.highlight-clean .buttons {
  text-align: center;
}

.highlight-clean .buttons .btn {
  padding: 16px 32px;
  margin: 6px;
  border: none;
  background: none;
  box-shadow: none;
  text-shadow: none;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.4px;
  line-height: 1;
  outline: none;
  background-color: #ddd;
}

.highlight-clean .buttons .btn:hover {
  opacity: 1;
}

.highlight-clean .buttons .btn:active {
  transform: translateY(1px);
}

.highlight-clean .buttons .btn-primary {
  background-color: #055ada;
  color: #fff;
}

.text-center {
  margin: 10px 0 15px;
}

#saavn-bitrate {
  background-color: #1c1c1c;
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 10px;
}

footer {
  color: rgba(255, 255, 255, 0.753);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.error {
 margin : 20px;
}

/* Modern Header Styles */
.app-header {
    background: linear-gradient(to bottom, #000000, #1c1c1c);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    padding: 0.5rem 2rem;
}

.nav-brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-logo {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.brand-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.9rem;
    font-weight: bold;
    background: linear-gradient(45deg, #1DB954, #1ed760);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.search-container {
    flex-grow: 1;
    max-width: 600px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 20px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 2px rgba(29,185,84,0.5);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1DB954;
    cursor: pointer;
    padding: 5px;
}

.quality-selector select {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 15px;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality-selector select:hover {
    background: rgba(255,255,255,0.15);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.nav-link:hover {
    opacity: 1;
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
}

.hero-section {
    text-align: center;
    padding: 3rem 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1DB954, #1ed760);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(29,185,84,0.1);
    color: #1DB954;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        flex-direction: column;
        align-items: center;
    }

    .nav-brand-section {
        margin-bottom: 1rem;
        justify-content: center;
    }

    .nav-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    .search-container {
        width: 90%;
        margin: 0 auto;
    }

    .search-box {
        display: flex;
        justify-content: center;
    }

    .quality-selector {
        width: 90%;
        margin: 0 auto;
    }

    .quality-selector select {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem;
    }

    .nav-link-item {
        display: flex;
        align-items: center;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(255,255,255,0.1);
        border-radius: 20px;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-link span {
        color: #fff;
    }

    .nav-link svg {
        width: 20px;
        height: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .features-list {
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.8rem;
    }
}

/* New Button Styles */
.song-btn {
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.song-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.song-btn:active {
  transform: translateY(0);
}

.song-btn svg {
  margin: 0;
}

/* Tooltip styles */
[title] {
  position: relative;
  cursor: pointer;
}