* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: #2d3436;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #2d3436;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 15px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2d3436;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-btn {
    color: #2d3436;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
}

.nav-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.4);
}

/* Main Content */
main {
    padding-top: 90px;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    padding: 80px 30px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

#search-input {
    width: 100%;
    padding: 20px 50px 20px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    background: #ffffff;
    color: #2d3436;
    outline: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

#search-input:focus {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

#search-input::placeholder {
    color: #95a5a6;
}

#clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFC00;
    border: none;
    color: #2d3436;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    display: none;
    border-radius: 50%;
    transition: all 0.3s;
    font-weight: 700;
}

#clear-search:hover {
    transform: translateY(-50%) scale(1.1);
    background: #FFD700;
}

#clear-search.visible {
    display: block;
}

/* Search Results */
.search-results {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 30px;
}

.search-results h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 800;
}

#search-results-content {
    display: grid;
    gap: 20px;
}

.search-result-item {
    background: #ffffff;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.search-result-image {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2d3436;
}

.search-result-artist {
    font-size: 1.1rem;
    color: #667eea;
    margin-bottom: 3px;
    font-weight: 600;
}

.search-result-meta {
    font-size: 0.95rem;
    color: #95a5a6;
    font-weight: 500;
}

.no-results {
    text-align: center;
    padding: 50px;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
}

/* News Slider Section */
.news-slider-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    margin-bottom: 20px;
}

.news-slider-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
}

.news-slider-container {
    position: relative;
    overflow: hidden;
}

.news-slider {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.news-loading {
    text-align: center;
    padding: 3rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.news-card {
    min-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 252, 0, 0.3);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--accent-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 252, 0, 0.3);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Artist News Section */
.artist-news-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
}

.artist-news-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
}

.artist-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.artist-news-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: row;
}

.artist-news-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.3);
}

.artist-news-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.artist-news-content {
    padding: 0.75rem;
    flex: 1;
    min-width: 0;
}

.artist-news-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artist-news-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artist-news-meta {
    font-size: 0.75rem;
    color: var(--accent-color);
}

/* Top 40 Page */
.top40-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 30px 60px;
    text-align: center;
}

.top40-hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.top40-hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.top40-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 30px;
}

.top40-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top40-item {
    display: grid;
    grid-template-columns: auto 60px 1fr 350px;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.top40-item:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(255, 252, 0, 0.2);
}

.top40-item-video {
    width: 350px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.top40-item-video iframe {
    width: 100%;
    height: 197px;
    border: none;
    display: block;
}

.top40-item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-add-to-library {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-add-to-library:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

@media (max-width: 1200px) {
    .top40-item {
        grid-template-columns: auto 60px 1fr;
        gap: 12px;
    }
    
    .top40-item-video {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 10px;
    }
    
    .top40-item-video iframe {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .top40-item {
        grid-template-columns: auto 50px 1fr;
        gap: 10px;
        padding: 10px;
    }
    
    .top40-item-video iframe {
        height: 200px;
    }
}

.top40-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.top40-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(255, 252, 0, 0.2);
}

.position-badge {
    font-size: 2rem;
    font-weight: 900;
    min-width: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.position-badge.position-1 {
    color: #FFD700;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.position-badge.position-top3 {
    color: #FFFC00;
}

.position-badge.position-top10 {
    color: #ffffff;
}

.top40-image {
    flex-shrink: 0;
}

.top40-image img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.top40-info {
    flex: 1;
    min-width: 0;
}

.top40-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top40-artist {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.top40-stats {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.top40-actions {
    flex-shrink: 0;
}

.btn-play {
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* Artist Section */
.artist-section, .hits-section, .facts-section, .lyrics-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 30px;
}

.artist-section h2, .hits-section h2, .facts-section h2, .lyrics-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.artist-card {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.artist-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
}

.artist-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.artist-card-info {
    padding: 25px;
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
}

.artist-card-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #2d3436;
    font-weight: 800;
}

.artist-card-info p {
    color: #2d3436;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Artist Hero */
.artist-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 30px;
}

.artist-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

.artist-hero-content img {
    width: 400px;
    height: 400px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.artist-hero-info h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.artist-hero-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 500;
}

/* Facts Section */
.artist-content-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

.artist-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.artist-main {
    min-width: 0;
}

.facts-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
}

.facts-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

#artist-facts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 25px;
    border-left: 6px solid #FFFC00;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.fact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.fact-card p {
    color: #2d3436;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Hits Grid */
.hits-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
}

.hits-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 800;
}

.hits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.hit-card {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hit-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 20px 50px rgba(255, 252, 0, 0.4);
}

.hit-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.hit-card-info {
    padding: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hit-card-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 700;
}

.hit-card-info p {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Admin controls on hit cards */
.hit-card-admin-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.admin-edit-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-edit-btn:hover {
    background: #667eea;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Add song card styling */
.add-song-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.add-song-card:hover {
    border-color: #FFFC00;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.add-song-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.add-song-card .hit-card-info {
    background: transparent;
    text-align: center;
}


/* Song Hero */
.song-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 30px;
    position: relative;
}

.back-button {
    background: #ffffff;
    color: #2d3436;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.song-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.song-hero-content img {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    flex-shrink: 0;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-hero-video {
    flex-shrink: 0;
}

.song-hero-video.sticky-active {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: videoFloat 0.3s ease-out;
}

@keyframes videoFloat {
    from {
        opacity: 0.8;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-container-hero {
    width: 400px;
    height: 225px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s;
}

.song-hero-video.sticky-active .video-container-hero {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.video-container-hero iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-link-hero {
    display: block;
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
    color: #2d3436;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.youtube-link-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.song-info h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.song-info h2 {
    font-size: 2rem;
    color: #FFFC00;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Video Section */
.video-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.video-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 800;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Song Page Content Layout */
.song-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.song-main-content {
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.youtube-direct-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
    color: #2d3436;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.youtube-direct-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 252, 0, 0.4);
}

/* Lyrics Section */
.lyrics-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    margin: 50px auto;
}

.lyrics-section h2 {
    color: #2d3436;
}

#song-lyrics {
    background: #ffffff;
    padding: 40px;
    border-radius: 25px;
    white-space: pre-wrap;
    line-height: 2;
    font-size: 1.1rem;
    color: #2d3436;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
    }

    .logo {
        font-size: 1.4rem;
    }

    nav {
        gap: 10px;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .artist-section, .hits-section, .facts-section, .lyrics-section {
        padding: 30px 20px;
    }

    .artist-hero-content, .song-hero-content {
        flex-direction: column;
        align-items: center;
    }

    .artist-hero-content img, .song-hero-content img {
        width: 100%;
        max-width: 400px;
    }
    
    .video-container-hero {
        width: 100%;
        max-width: 500px;
        height: 0;
        padding-bottom: 56.25%;
    }

    .artist-grid {
        grid-template-columns: 1fr;
    }

    .hits-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .artist-hero-info h1 {
        font-size: 2.5rem;
    }

    .song-info h1 {
        font-size: 2.2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artist-card, .hit-card, .fact-card {
    animation: fadeIn 0.5s ease-out;
}
/* Album Badge */
.song-album {
    font-size: 0.95rem;
    color: #ffffff;
    background: rgba(102, 126, 234, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.song-album:hover {
    background: rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

/* Album Songs List */
.album-songs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.album-song-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.album-song-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.album-song-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.album-song-info {
    flex: 1;
}

.album-song-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #2d3436;
}

.album-song-info p {
    color: #636e72;
    font-size: 0.9rem;
}

.album-song-play {
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.album-song-play:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.4);
}

/* Picture-in-Picture Video */
.video-container {
    position: relative;
    transition: all 0.3s ease-in-out;
}

.video-container.pip-mode {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    height: 200px;
    z-index: 1500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    animation: pipSlideIn 0.3s ease-out;
    padding-bottom: 0;
}

@keyframes pipSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.video-container.pip-mode iframe {
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments for PiP */
@media (max-width: 768px) {
    .video-container.pip-mode {
        width: 250px;
        height: 167px;
        top: 10px;
        right: 10px;
    }
}

/* Emma decoration image */
.emma-decoration {
    display: none;
}

.emma-decoration-2 {
    display: none;
}

/* Footer */
.site-footer {
    position: relative;
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 4rem;
}

.emma-footer {
    display: none;
}

@media (min-width: 1024px) {
    .emma-decoration {
        display: block;
        position: absolute;
        z-index: 10;
        height: 400px;
        margin-left: -175px;
        margin-top: 50px;
    }
    
    .emma-decoration-2 {
        display: block;
        position: absolute;
        z-index: 10;
        height: 200px;
        margin-left: 900px;
        margin-top: -50px;
    }
    
    .emma-footer {
        display: block;
        position: absolute;
        right: 2rem;
        bottom: 0;
        height: 300px;
    }
}

/* Similar Songs Section */
.similar-songs-section {
    margin: 3rem 0;
}

.similar-songs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.similar-song-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.similar-song-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.similar-song-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.similar-song-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.similar-song-player:hover img {
    transform: scale(1.05);
}

.similar-song-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.similar-song-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.similar-song-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.play-icon {
    font-size: 1.2rem;
}

.play-text {
    font-size: 0.9rem;
}

.similar-song-player:hover .play-overlay {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.similar-song-placeholder:hover .play-overlay {
    background: var(--accent-color);
}

.similar-song-info {
    padding: 1rem;
    text-align: center;
}

.similar-song-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-song-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.similar-song-album {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.similar-song-match {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.similar-song-actions {
    flex-shrink: 0;
}

.btn-add-similar {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add-similar:hover {
    background: #ff0055;
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .video-container.pip-mode {
        width: 200px;
        height: 133px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .album-song-item {
        flex-direction: column;
        text-align: center;
    }
    
    .album-song-item img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 10px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    nav.active {
        right: 0;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Stack columns on mobile */
    .artist-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .artist-sidebar {
        order: 2;
    }
    
    .artist-main {
        order: 1;
    }
    
    .facts-section,
    .artist-news-section,
    .hits-section {
        padding: 20px;
    }
    
    .facts-section h2,
    .artist-news-section h2,
    .hits-section h2 {
        font-size: 1.5rem;
    }
    
    /* Compact songs on mobile */
    .hit-card {
        min-height: auto;
    }
    
    .hit-card img {
        height: 180px;
    }
    
    .hit-card-info {
        padding: 15px;
    }
    
    .hit-card-info h3 {
        font-size: 1.1rem;
    }
    
    .hit-card-info p {
        font-size: 0.85rem;
    }
    
    /* Compact song hero on mobile */
    .song-hero {
        padding: 30px 20px;
    }
    
    .song-hero-content {
        flex-direction: column;
    }
    
    .song-hero-info {
        padding: 20px;
    }
    
    .song-hero-info h1 {
        font-size: 1.8rem;
    }
    
    .song-hero-video {
        width: 100%;
        max-width: 100%;
    }
    
    .video-container iframe {
        height: 200px;
    }
    
    /* Compact top 40 on mobile */
    .top40-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .top40-position {
        font-size: 2rem;
        width: 100%;
        text-align: center;
    }
    
    .top40-info {
        width: 100%;
        text-align: center;
    }
    
    .top40-video {
        width: 100%;
    }
    
    .top40-video iframe {
        height: 200px;
    }
    
    /* Compact similar songs on mobile */
    .similar-songs-list {
        grid-template-columns: 1fr;
    }
    
    .similar-song-card {
        max-width: 100%;
    }
    
    /* Compact artist cards on mobile */
    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .artist-card {
        min-height: auto;
    }
    
    .artist-card img {
        height: 150px;
    }
    
    .artist-card-info h3 {
        font-size: 1rem;
    }
    
    .artist-card-info p {
        font-size: 0.85rem;
    }
}