/* ============================================
   PREM'S MUSIC NOTEBOOK - PROFESSIONAL DESIGN
   Professional Color Scheme & Mobile Responsive
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2.2rem;
    animation: bounce 2s infinite;
}

.logo i:last-child {
    animation-delay: 0.2s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.8);
    border-width: 2px;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo i {
        font-size: 1.8rem;
    }

    .nav-menu {
        gap: 0.75rem;
    }

    .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.55rem 0.85rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main {
    flex: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(100, 200, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.hero-subtitle li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideIn 0.6s ease-out backwards;
}

.hero-subtitle li:nth-child(1) { animation-delay: 0.1s; }
.hero-subtitle li:nth-child(2) { animation-delay: 0.2s; }
.hero-subtitle li:nth-child(3) { animation-delay: 0.3s; }
.hero-subtitle li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle li:before {
    content: "♪";
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #00d4ff;
}

.hero-image {
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background-image: url(../impremachandra.jpg);
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.hero-image img {
    max-width: 350px;
    height: auto;
    border-radius: 12px;
}

/* CTA Container */
.cta-container {
    text-align: center;
    padding: 2rem 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    text-decoration: none;
    padding: 1.4rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.35);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    position: relative;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.45);
}

.cta-button:active {
    transform: translateY(-2px);
}

.cta-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Music Notes Animation */
.music-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.note-1, .note-2, .note-3 {
    position: absolute;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 10s ease-in-out infinite;
}

.note-1 { top: 10%; left: 8%; animation-delay: 0s; }
.note-2 { top: 50%; right: 8%; animation-delay: 2s; }
.note-3 { bottom: 10%; left: 3%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% { 
        transform: translateY(-30px) rotate(15deg) scale(1.1);
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }

    .note-1, .note-2, .note-3 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 1rem;
    }

    .hero-content {
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .hero-subtitle li {
        margin-bottom: 0.9rem;
        gap: 0.75rem;
    }

    .hero-subtitle li:before {
        font-size: 1.2rem;
    }

    .hero-image {
        height: 300px;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .note-1, .note-2, .note-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0.75rem;
        min-height: 50vh;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle li {
        margin-bottom: 0.75rem;
    }

    .hero-image {
        height: 250px;
        margin: 1.5rem 0;
    }

    .cta-button {
        padding: 0.95rem 1.75rem;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }

    .note-1, .note-2, .note-3 {
        font-size: 2rem;
    }
}

/* Features Section */
.features {
    background: white;
    border-top: 1px solid #e1e5e9;
    border-bottom: 1px solid #e1e5e9;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-card i {
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    padding: 4rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 1rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 2.5rem 0.75rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }
}

/* ============================================
   SEARCH SECTION
   ============================================ */

.search-section {
    background: white;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 70px;
    z-index: 500;
    transition: all 0.3s ease;
}

.search-box {
    position: relative;
    margin: 0 auto;
    max-width: 600px;
}

.search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.3rem;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #2c3e50;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #f8f9fa;
}

.search-box input::placeholder {
    color: #999;
}

@media (max-width: 640px) {
    .search-section {
        padding: 1rem 0.75rem;
        top: 70px;
    }

    .search-box {
        max-width: 100%;
    }

    .search-box input {
        padding: 0.85rem 1rem 0.85rem 3.3rem;
        font-size: 0.95rem;
    }

    .search-box i {
        left: 1rem;
        font-size: 1.1rem;
    }
}

/* ============================================
   SONG LIST & GRID
   ============================================ */

.song-grid {
    padding: 2.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Artist Sections */
.artist-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.artist-section:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.artist-name {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.75rem 1.5rem;
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Song List */
.song-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.song-list-item {
    display: flex;
    align-items: center;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    gap: 1.25rem;
}

.song-list-item:last-child {
    border-bottom: none;
}

.song-list-item:hover {
    background-color: #f8f9fa;
    padding-left: 2rem;
}

.song-number {
    font-weight: 700;
    color: #667eea;
    min-width: 2.5rem;
    font-size: 1.1rem;
}

.song-title {
    flex: 1;
    font-size: 1.05rem;
    color: #2c3e50;
    font-weight: 600;
}

.view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.2);
}

.view-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35);
}

.view-button:active {
    transform: translateY(-1px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
    font-size: 1.1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
    font-style: italic;
}

@media (max-width: 640px) {
    .song-grid {
        padding: 1.5rem 0.75rem;
    }

    .artist-name {
        padding: 1.4rem 1.2rem;
        font-size: 1.4rem;
    }

    .song-list-item {
        padding: 1.2rem 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .song-number {
        min-width: 2rem;
        font-size: 1rem;
    }

    .song-title {
        width: 100%;
        font-size: 1rem;
    }

    .view-button {
        width: 100%;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   BACK BUTTON
   ============================================ */

.back-button {
    padding: 1.5rem 0;
    margin: 1.5rem 0 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.back-link:hover {
    transform: translateX(-5px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.back-link i {
    font-size: 1.2rem;
}

/* ============================================
   SONG DETAILS
   ============================================ */

.song-details {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.song-details h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.song-details h2 {
    font-size: 1.4rem;
    color: #667eea;
    margin-bottom: 2rem;
    font-weight: 600;
}

.song-details img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.song-details img:hover {
    transform: translateY(-5px);
}

.song-details a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.song-details a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
}

/* Fullscreen Container Styles */
.fullscreen-container {
    position: relative;
    max-width: 100%;
    margin: 20px 0;
}

.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102, 126, 234, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    font-size: 1.1rem;
}

.image-container:hover .fullscreen-btn {
    opacity: 1;
}

.fullscreen-btn:hover {
    background: #667eea;
    transform: scale(1.15);
}

#songImage {
    max-width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.audio-player-container {
    margin-top: 15px;
    width: 100%;
}

/* Fullscreen Support */
.fullscreen-container:fullscreen {
    background: #000;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.fullscreen-container:fullscreen #songImage {
    max-width: 95vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    margin: 0;
}

.fullscreen-container:fullscreen .audio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-container:fullscreen .audio-player-container audio,
.fullscreen-container:fullscreen .audio-player-container iframe {
    width: 85%;
    max-width: 600px;
}

.fullscreen-container:fullscreen .fullscreen-btn {
    opacity: 1;
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(102, 126, 234, 0.9);
    padding: 12px;
    font-size: 1.2rem;
    z-index: 9999;
}

/* Webkit Fullscreen */
.fullscreen-container:-webkit-full-screen {
    background: #000;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fullscreen-container:-webkit-full-screen #songImage {
    max-width: 95vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fullscreen-container:-webkit-full-screen .audio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    z-index: 1000;
}

/* Firefox Fullscreen */
.fullscreen-container:-moz-full-screen {
    background: #000;
    width: 100vw;
    height: 100vh;
}

.fullscreen-container:-moz-full-screen .audio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
}

/* iOS Overlay */
.ios-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ios-overlay-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ios-overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}

.ios-close-btn {
    background: rgba(102, 126, 234, 0.7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.ios-close-btn:hover {
    background: #667eea;
    transform: scale(1.1);
}

.zoomed-image {
    max-width: 95vw;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ios-audio-player {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    display: flex;
    justify-content: center;
}

.ios-audio-player audio,
.ios-audio-player iframe {
    width: 90%;
    max-width: 500px;
}

@media (max-width: 640px) {
    .song-details {
        padding: 1.5rem;
    }

    .song-details h1 {
        font-size: 2rem;
    }

    .song-details h2 {
        font-size: 1.2rem;
    }

    .song-details a {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 0.4rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer p:first-child {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

/* ============================================
   ERROR MESSAGE
   ============================================ */

.error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem;
}

.error-message h2 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.error-message p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

    .song-details {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-card i {
        font-size: 3rem;
    }

    .song-details {
        padding: 2rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem 1.25rem;
    }

    .feature-card i {
        font-size: 2.5rem;
    }

    .song-details {
        padding: 1.5rem;
    }

    .footer {
        padding: 1.25rem 0.75rem;
    }

    .footer p {
        font-size: 0.85rem;
    }
}

/* ============================================
   ACCESSIBILITY & UTILITIES
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3d91 100%);
}

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition: background-color 0.2s ease, color 0.2s ease;
}

button,
a {
    transition: all 0.3s ease;
}
