@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: url('images/daisy-meadow.jpg') center/cover no-repeat fixed;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo h2 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu-spread {
    justify-content: space-evenly;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4a90e2;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('images/daisy-meadow.jpg') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}



.hero::after {
    content: '';
    position: absolute;
    top: 4%;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/jersingingandguitar.jpg') center center/cover no-repeat;
    background-position: center 40%;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 100%;
    padding: 2rem 1rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9), 
                 1px 1px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-side-text {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    max-width: 300px;
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    z-index: 2;
}

.hero-side-text p {
    margin-bottom: 1rem;
}

.hero-side-text p:last-child {
    margin-bottom: 0;
}

.hero-split {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 3rem auto 0;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.hero-text {
    flex: 1;
    color: white;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-buttons-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.hero-text-title {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-text p:last-child {
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-style: italic;
    font-weight: 300;
    margin: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    white-space: normal;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-donate {
    background: #4a90e2;
    color: white;
    animation: pulse 2s infinite;
}

.btn-donate:hover {
    background: #357abd;
    transform: translateY(-2px);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 144, 226, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 144, 226, 0); }
}



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

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Dancing Script', 'Brush Script MT', cursive;
    font-size: 8rem;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 3rem auto;
    color: white;
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 0;
    display: block;
    width: fit-content;
    box-shadow: none;
    letter-spacing: 4px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.section-title:hover::before {
    left: 100%;
}

.section-title:hover {
    transform: translateY(-2px);
}

/* Music section title with barely-visible background */
.music-section .section-title {
    background: rgba(0, 0, 0, 0.15);
    padding: 1.5rem 3rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

/* Contact section title - much smaller and less prominent */
.contact-section .section-title {
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 3rem 0.8rem 1.5rem;
    border-radius: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.contact-section .section-title:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.contact-section .section-title::after {
    content: '▼';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.7em;
}

.contact-section.expanded .section-title::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Force all poem card text to be white - override any other rules */
/* Removed conflicting white text rule - now using black text on white cards */

/* Dear Visitor Section */
.dear-visitor-section {
    padding: 4rem 0;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('images/daisy-meadow.jpg') center/cover no-repeat fixed;
    color: #333;
}

.dear-visitor-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    font-family: 'Dancing Script', cursive;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.dear-visitor-content:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.dear-visitor-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 400;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: left;
}

.dear-visitor-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.dear-visitor-content p:last-child {
    margin-bottom: 0;
}

.letter-signature {
    margin-top: 3rem;
    text-align: left;
    padding-left: 2rem;
}

.letter-signature p {
    margin-bottom: 0.8rem;
    text-indent: 0;
    font-size: 1.4rem;
    font-weight: 500;
}

.signature-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin-left: 0;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    font-style: italic;
}

.signature-name::before {
    content: '~';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 0.5rem;
}

Music Section
.music-section {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('images/daisy-meadow.jpg') center/cover no-repeat fixed;
}

/* Hero Featured Song */
.hero-featured-song {
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.2), rgba(255, 215, 0, 0.2));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-featured-song::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: -1;
}

.hero-song-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-song-header {
    text-align: center;
    margin-bottom: 1rem;
}

.title-with-play {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 1rem;
    flex-wrap: wrap;
    min-height: 80px;
}

.hero-song-header h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: bold;
    margin: 0;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.hero-play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: static;
    flex-shrink: 0;
    margin: 0 auto;
}

.hero-play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.hero-play-button:active {
    transform: scale(0.95);
}

.hero-streaming-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-streaming-links .streaming-links {
    justify-content: center;
}

.hero-social-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-social-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-social-link:hover {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-social-link i {
    font-size: 18px;
}

/* Brand-specific hover colors (subtle) */
.hero-social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    color: rgba(24, 119, 242, 0.8);
}

.hero-social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    color: rgba(225, 48, 108, 0.8);
}

.hero-social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.1);
    color: rgba(29, 161, 242, 0.8);
}

.hero-social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    color: rgba(255, 0, 0, 0.8);
}

/* Main Hero Social Links (under Listen/Read buttons) */
.hero-social-section {
    margin-top: 2rem;
    display: block; /* Temporarily visible for testing */
}

.hero-main-social-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.hero-main-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-main-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-main-social-link i {
    font-size: 20px;
}

/* Main hero brand-specific hover colors */
.hero-main-social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    color: rgba(24, 119, 242, 1);
}

.hero-main-social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    color: rgba(225, 48, 108, 1);
}

.hero-main-social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    color: rgba(29, 161, 242, 1);
}

.hero-main-social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    color: rgba(255, 0, 0, 1);
}

.hero-main-social-link.soundcloud:hover {
    background: rgba(255, 119, 0, 0.2);
    color: rgba(255, 119, 0, 1);
}

.hero-song-header .artist {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 500;
}

.hero-song-main {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.hero-song-artwork {
    position: relative;
    z-index: 1;
    display: block;
}

.hero-artwork {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.hero-artwork-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.3), rgba(255, 215, 0, 0.3));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.4);
    border: 2px dashed rgba(0, 0, 0, 0.2);
}

.hero-song-lyrics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.7) 100%
    );
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    box-sizing: border-box;
}



.hero-song-lyrics p {
    color: #FFFFFF;
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-song-lyrics .verse {
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    border-left: 3px solid rgba(255, 255, 255, 0.4);
    padding-left: 1rem;
}

.hero-song-lyrics .lyrics-content {
    white-space: pre-line;
    line-height: 1.8;
    font-size: 1rem;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.hero-song-lyrics .lyrics-content::-webkit-scrollbar {
    width: 6px;
}

.hero-song-lyrics .lyrics-content::-webkit-scrollbar-track {
    background: transparent;
}

.hero-song-lyrics .lyrics-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.hero-song-lyrics .lyrics-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-song-player {
    margin-top: 1.5rem;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
}

.hero-song-player iframe {
    height: 120px !important;
    border-radius: 8px;
    width: 100% !important;
    max-width: none !important;
}

.hero-song-player .soundcloud-embed div {
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 10px !important;
    border-radius: 0 0 10px 10px !important;
}

.hero-song-player .soundcloud-embed div a {
    color: #daa520 !important;
    font-weight: bold !important;
}

/* Ensure featured song player and its containers stretch full width */
.hero-song-player .soundcloud-player,
.hero-song-player .youtube-player,
.hero-song-player .soundcloud-embed,
.hero-song-player .youtube-embed {
    width: 100% !important;
    max-width: none !important;
}

.hero-song-player .soundcloud-player iframe,
.hero-song-player .youtube-player iframe {
    width: 100% !important;
    max-width: none !important;
}

/* Responsive featured song player - automatically scales with screen size */
@media (max-width: 768px) {
    .hero-song-player {
        margin: clamp(0.25rem, 1vw, 0.5rem) auto 0 auto !important;
        width: auto !important;
        max-width: clamp(200px, 70vw, 300px) !important;
        padding: 0 clamp(0.25rem, 1vw, 0.5rem) !important;
        margin-bottom: 0 !important;
    }
    
    .hero-song-player iframe,
    .hero-song-content iframe,
    .soundcloud-player iframe {
        height: clamp(100px, 15vw, 140px) !important;
        max-height: clamp(100px, 15vw, 140px) !important;
        min-height: clamp(100px, 15vw, 140px) !important;
        border-radius: clamp(3px, 1vw, 6px) !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    /* Remove huge space under player on mobile */
    .hero-social-section {
        margin-top: 0.5rem !important;
    }
    
    .hero-streaming-links {
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
    }
}

/* Universal mobile centering fix - works for all zoom levels */
@media (max-width: 768px) and (min-resolution: 1.5dppx) {
    /* Reset and center the entire page structure */
    body {
        overflow-x: hidden !important;
        width: 100vw !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Center ALL grid containers universally */
    .music-grid, .poetry-grid {
        justify-content: center !important;
        justify-items: center !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100vw !important;
        grid-template-columns: 1fr !important; /* Force single column on high zoom */
    }
    
    /* Center all major containers */
    .container, .hero-section, .music-section, .about-section, .contact-section, .poems-section, .poetry-section {
        margin: 0 auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100vw !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    
    /* Center all individual cards */
    .music-grid-card, .music-card, .poem-card, .poetry-card {
        margin: 0 auto 1.5rem auto !important;
        max-width: calc(100vw - 2rem) !important;
        text-align: center !important;
    }
    
    /* Hero content centering */
    .hero-content, .hero-song-player {
        margin: 0 auto !important;
        text-align: center !important;
        max-width: 90vw !important;
        padding: 1rem !important;
    }
    
    /* Section titles */
    .section-title, .dear-visitor-content {
        margin: 0 auto !important;
        text-align: center !important;
        padding: 1rem !important;
    }
}
    
    /* Compress music cards on tablet */
    .music-card {
        padding: 0.9rem;
    }
    
    .music-cover {
        width: 140px;
        height: 140px;
        margin-bottom: 0.6rem;
    }
    
    .music-card h3 {
        font-size: 1.15rem;
    }
    
    .play-icon {
        font-size: 2.2rem;
    }
    
    /* Adjust music card player heights on tablet and make grid responsive */
    .music-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
    }
    
    .music-card .soundcloud-embed iframe,
    .music-card .youtube-embed iframe {
        height: 180px !important;
        min-height: 180px !important;
    }
}

@media (max-width: 480px) {
    .hero-song-content iframe,
    .hero-song-player iframe,
    .soundcloud-player iframe {
        height: 50px !important;
        max-height: 50px !important;
        min-height: 50px !important;
    }
    
    /* Compress music cards on mobile */
    .music-card {
        padding: 0.75rem !important;
        border-radius: 10px !important;
    }
    
    .music-cover {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 0.5rem !important;
        border-radius: 10px !important;
    }
    
    .music-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .music-card p {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .play-icon {
        font-size: 2rem !important;
    }
    
    .streaming-links {
        padding: 0.5rem !important;
        margin-top: 0.25rem !important;
    }
    
    /* Override music card player heights on mobile and make grid single column */
    .music-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .music-card .soundcloud-embed iframe,
    .music-card .youtube-embed iframe {
        height: 150px !important;
        min-height: 150px !important;
    }
}

@media (max-width: 768px) {
    .hero-featured-song {
        padding: 1rem;
    }
    
    .hero-song-header h3 {
        font-size: 2rem;
    }
    
    .hero-song-lyrics {
        padding: 1.5rem 1rem;
    }
    
    .hero-play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-social-container {
        gap: 1rem;
    }
    
    .hero-social-link {
        width: 35px;
        height: 35px;
    }
    
    .hero-social-link i {
        font-size: 16px;
    }
    
    .hero-main-social-container {
        gap: 1rem;
    }
    
    .hero-main-social-link {
        width: 40px;
        height: 40px;
    }
    
    .hero-main-social-link i {
        font-size: 18px;
    }
    
    .hero-song-lyrics p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-song-lyrics .lyrics-content {
        font-size: 0.8rem;
        max-height: 250px;
    }
}

/* Old music-grid definition removed - using new music-grid-card system */

.music-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.music-card:hover {
    transform: translateY(-3px);
}

.music-cover {
    width: 160px;
    height: 160px;
    margin: 0 auto 0.75rem;
    background: #4a90e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cover-placeholder {
    color: white;
    font-weight: 600;
}

.play-icon {
    position: absolute;
    font-size: 2.5rem;
    color: white;
    opacity: 0.8;
}

.music-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: #2c3e50;
}

.music-card p {
    color: #7f8c8d;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.music-card audio {
    width: 100%;
    margin-top: 0.5rem;
}

/* Streaming Links */
.streaming-links {
    text-align: center;
    background: transparent;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.platform-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.platform-link {
    width: 40px;
    height: 40px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.platform-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.platform-link.spotify {
    background: #1DB954;
    color: white;
}

.platform-link.apple {
    background: #000;
    color: white;
}

.platform-link.amazon {
    background: #FF9900;
    color: white;
}

.platform-link.youtube {
    background: #FF0000;
    color: white;
}

.platform-link.soundcloud {
    background: #FF7700;
    color: white;
}

.platform-link.facebook {
    background: #1877F2;
    color: white;
}

/* Poetry Section */
/* .poetry-section {
    background: transparent !important;
} */

.poetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Make all cards the same height */
}

.poem-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #cccccc;
    transition: transform 0.3s ease;
    color: #000000;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Uniform card sizing */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Card with custom background image */
.poem-card.has-image {
    background-color: transparent;
    position: relative;
}

/* Move background image to pseudo-element for opacity control */
.poem-card.has-image {
    background-image: none !important; /* Remove background from main element */
}

/* Create a pseudo-element for the background image with opacity */
.poem-card.has-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8; /* Controls the transparency of the background image itself */
    border-radius: inherit;
    z-index: 0;
}

/* Semi-transparent overlay for cards with images to ensure text readability */
.poem-card.has-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* 30% darker overlay for better text contrast */
    border-radius: 15px;
    z-index: 1;
}

.poem-card.has-image > * {
    position: relative;
    z-index: 2;
    color: white; /* White text for better readability over darker backgrounds */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.9); /* Strong shadow for readability */
}

.poem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #999999;
}

/* New poem card structure styles */
.poem-card .poem-title {
    font-family: inherit;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 0.75rem;
    font-weight: bold;
}

/* White title with dark foggy background for cards with background images */
.poem-card.has-image .poem-title {
    color: white !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 1) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    backdrop-filter: blur(8px) !important;
    margin-bottom: 0.75rem !important;
    display: inline-block !important;
}

.poem-card .poem-author {
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.poem-card .poem-date {
    color: #000000;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

/* White author and date with dark foggy background for cards with background images */
.poem-card.has-image .poem-author,
.poem-card.has-image .poem-date {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 1px 1px 2px rgba(0, 0, 0, 1) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 6px !important;
    backdrop-filter: blur(6px) !important;
    display: inline-block !important;
    margin: 0.2rem !important;
}

.poem-card .poem-separator {
    border: none;
    border-top: 1px solid #cccccc;
    margin: 1rem 0;
    width: 100%;
}

.poem-card .poem-copyright {
    font-size: 0.75rem;
    color: #666666;
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Old poem-header system removed - using new vertical layout */

.poem-content {
    line-height: 1.8;
    color: #000000;
    margin-bottom: 1.5rem;
    text-shadow: none;
    /* Flexible content area for uniform card heights */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    max-height: 200px; /* Limit preview height */
}

.poem-content p {
    margin-bottom: 1rem;
    font-style: italic;
    color: #000000;
}

/* White text with subtle dark background for poetry cards with background images */
.poem-card.has-image .poem-content {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    backdrop-filter: blur(2px) !important;
    margin: 0.5rem 0 !important;
}

.poem-card.has-image .poem-content p {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 1px 1px 2px rgba(0, 0, 0, 1) !important;
    margin-bottom: 1rem !important;
}

/* Enhanced poem line formatting */
.poem-line {
    margin: 0 0 0.2rem 0 !important;
    padding: 0.1rem 0 !important;
    line-height: 1.5 !important;
    font-family: 'Georgia', serif !important;
    font-style: normal !important;
    font-weight: normal !important;
    color: #000000 !important;
    text-shadow: none !important;
    white-space: pre-wrap;
    text-align: center;
    font-size: 1.1em;
}

.poem-line.stanza-end {
    margin-bottom: 1.5em !important;
}

/* Dynamic Content Placeholder Styles */
.placeholder-card {
    border: 2px dashed rgba(74, 144, 226, 0.3) !important;
    background: rgba(74, 144, 226, 0.05) !important;
    opacity: 0.8;
    text-align: center;
    transition: all 0.3s ease;
}

.placeholder-card:hover {
    border-color: rgba(74, 144, 226, 0.5) !important;
    background: rgba(74, 144, 226, 0.1) !important;
}

.placeholder-card .album-art,
.placeholder-card .poem-content {
    opacity: 0.6;
}

.placeholder-card h3 {
    color: #4a90e2 !important;
    font-style: italic;
}

.placeholder-card p {
    color: #7f8c8d !important;
}

.poem-text .poem-line {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
    font-weight: normal !important;
    font-style: normal !important;
}

.read-more-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #c0392b;
}

/* About Section */
.about-section {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('images/daisy-meadow.jpg') center/cover no-repeat fixed;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: #7f8c8d;
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 4px solid #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15),
                0 6px 24px rgba(0, 0, 0, 0.12);
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background: #ecf0f1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #7f8c8d;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('images/daisy-meadow.jpg') center/cover no-repeat fixed;
}

.contact-content {
    display: block;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-info p {
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item i {
    color: #4a90e2;
    width: 20px;
}

.contact-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: #4a90e2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

/* Custom Contact Form Styling */
.custom-contact-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.contact-intro {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    font-style: italic;
    opacity: 0.9;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.form-success,
.form-error {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.form-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.form-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.success-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success h4,
.form-error h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-success p,
.form-error p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive adjustments for Custom Form */
@media (max-width: 768px) {
    .custom-contact-form {
        margin: 0 -1rem;
        border-radius: 0;
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .google-form-iframe {
        height: 1100px; /* Even taller on small screens */
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

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

.footer-social a {
    color: #bdc3c7;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        width: 100%;
        margin: 0 auto 3rem auto;
    }

    .hero-split {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons-section {
        padding-top: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-content {
        padding: 2rem 1rem;
    }

    .platform-links {
        flex-direction: column;
        align-items: center;
    }

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

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

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        padding: 0 1rem;
        width: 100%;
        margin: 0 auto 3.5rem auto;
    }

    .section-title {
        font-size: 5rem;
        padding: 1rem 1.5rem;
        letter-spacing: 3px;
    }
    
    .music-section .section-title {
        padding: 1rem 2rem;
    }
    
    .contact-section .section-title {
        font-size: 0.9rem;
        padding: 0.6rem 2.5rem 0.6rem 1rem;
    }
    
    .contact-section .section-title::after {
        right: 1rem;
        font-size: 0.6em;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

/* Extra small screens */
@media screen and (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
        text-align: center;
        width: 100%;
        margin: 0 auto 4rem auto;
    }
    
    .hero-content {
        padding: 2rem 0.5rem;
    }
}

/* Donation Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 2rem;
}

.donation-content {
    text-align: center;
}

.donation-options h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.amount-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e74c3c;
    background: white;
    color: #e74c3c;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.selected {
    background: #e74c3c;
    color: white;
}

#customAmount {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    margin: 0 0.5rem;
    width: 150px;
}

.payment-methods {
    margin: 2rem 0;
}

.paypal-btn {
    background: #0070ba;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.paypal-btn:hover {
    background: #005ea6;
}

.donation-note {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.donation-note p {
    margin: 0;
    color: #666;
}

/* SoundCloud Widget Custom Controls */
.widget-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.widget-btn {
    background: #ff5500;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.widget-btn:hover {
    background: #ff7700;
    transform: scale(1.1);
}

.widget-time {
    color: white;
    font-size: 12px;
    min-width: 80px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.widget-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.widget-progress .progress-bar {
    height: 100%;
    background: #ff5500;
    width: 0%;
    transition: width 0.1s ease;
}

.soundcloud-embed {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    padding: 5px;
    margin: 10px 0;
}

.soundcloud-embed iframe {
    border-radius: 5px;
}

/* Admin Link Styles */
.admin-link-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.admin-link {
    background: #2c3e50;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: #34495e;
    transform: translateY(-2px);
}

/* Individual Track Streaming Links */
.track-streaming-links {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.streaming-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.streaming-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.streaming-link.spotify {
    background: #1DB954;
    color: white;
}

.streaming-link.apple {
    background: #000;
    color: white;
}

.streaming-link.amazon {
    background: #FF9900;
    color: white;
}

.streaming-link.soundcloud {
    background: #FF5500;
    color: white;
}

.streaming-link.facebook {
    background: #1877F2;
    color: white;
}

/* Enhanced Music Card Styles */
.music-card .cover-placeholder {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Full Poem Content Styles */
.full-poem-content {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.full-poem-content p {
    line-height: 1.8;
    font-style: italic;
    color: #2c3e50;
}

/* Mobile Responsive Donations */
@media screen and (max-width: 480px) {
    .amount-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .amount-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    #customAmount {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Poetry Section - FORCE TRANSPARENCY EVERYWHERE BUT EXCLUDE CARDS AND BUTTONS */
.poetry-section,
.poetry-section *:not(.poem-card):not(.poetry-card):not(.search-result-card):not(.btn):not(button):not(input):not(.modal):not(.modal *):not(.search-read-btn) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Make main section titles readable against daisy background - NOT modal content */
.poetry-section > .container > .section-title,
.poetry-section .featured-title,
.poetry-section .search-title {
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 
                 1px 1px 4px rgba(0, 0, 0, 0.9) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 1rem 2rem !important;
    border-radius: 10px !important;
    backdrop-filter: blur(10px) !important;
}

/* Keep modal content with normal text colors - EXCLUDING BUTTONS */
.poem-modal h2,
.poem-modal h3,
.search-result-card h3,
.search-result-card h4 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    background: none !important;
    padding: 0 !important;
}

/* Read Button Styles */
.poetry-section .poetry-search-container .search-result-card .search-read-btn {
    background: #e74c3c !important;
    background-color: #e74c3c !important;
    background-image: linear-gradient(to bottom, #e74c3c, #c0392b) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    font-size: 0.9rem !important;
    opacity: 1 !important;
    display: inline-block !important;
}

.poetry-section .poetry-search-container .search-result-card .search-read-btn:hover {
    background: #c0392b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
}

.poetry-section {
    padding: 4rem 0;
}

.poetry-section .container {
    background: transparent !important;
}

.poetry-section .featured-poems-container {
    background: transparent !important;
}

.poetry-section .poetry-search-container {
    background: transparent !important;
}

/* Carousel styles removed - no longer used */

/* Poetry Grid Styles - Using original unified grid system */
.poetry-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Duplicate poetry-card system removed - using unified poem-card system */

/* Universal Search Section */
.search-section {
    background: transparent;
    padding: 2rem 0;
    position: relative;
}

.universal-search-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 1rem;
}

#universalSearchInput {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: #333;
}

#universalSearchInput::placeholder {
    color: #666;
}

.search-button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.search-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.filter-option {
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-option input[type="radio"] {
    margin: 0;
}

.search-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.search-option {
    color: white;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.search-option input[type="radio"] {
    margin: 0;
}

/* Search Modal Styles */
.search-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.search-modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-modal-header {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.search-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.search-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
    font-weight: bold;
}

.search-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.modal-search-filter {
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modal-search-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #fff;
}

.modal-search-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.modal-search-wrapper input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.search-results-container {
    display: grid;
    gap: 1rem;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    border-left-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-result-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.search-result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.search-result-type {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Carousel content styles removed - no longer used */

/* Carousel button styles removed - no longer used */

/* Old carousel styles removed - now using music grid layout */

/* Music Grid Layout */
.music-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.music-grid-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    height: auto; /* Ensure each card maintains its own height */
    align-self: start; /* Additional safeguard for independent heights */
}

.music-grid-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.music-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.music-grid-card:hover::before {
    opacity: 1;
}

.music-grid-card.expanded {
    transform: none;
}

.music-grid-card.auto-expanded {
    border-left: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.1);
}

.music-grid-card.playing {
    border-left: 3px solid #4CAF50;
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.2);
    animation: playingPulse 2s ease-in-out infinite;
}

@keyframes playingPulse {
    0%, 100% {
        box-shadow: 0 12px 35px rgba(76, 175, 80, 0.2);
    }
    50% {
        box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
    }
}

.music-card-summary {
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: background-color 0.3s ease;
}

.music-card-summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.song-info {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.song-info::after {
    content: 'Click to play & expand lyrics';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-style: italic;
}

.music-grid-card:not(.expanded) .song-info:hover::after {
    opacity: 1;
}

.song-title {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    color: white;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.song-artist {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem 0;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.song-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.genre, .duration {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.expand-button {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
}

.expand-button:hover {
    color: white;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.music-card-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.music-card-content.expanding {
    animation: slideDown 0.3s ease;
}

.music-card-content.collapsing {
    animation: slideUp 0.3s ease;
}

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

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

.song-copyright {
    font-family: 'Georgia', serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem 0;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.music-player-container {
    margin: 0;
    padding: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: default;
    position: relative;
}

/* Uniform player sizing - ensure all players are same height */
.youtube-player,
.soundcloud-player {
    width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-player iframe,
.soundcloud-player iframe {
    width: 100% !important;
    height: 200px !important;
    border: none;
    border-radius: 8px;
}

.lyrics-section {
    margin-top: 2rem;
}

.lyrics-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    margin: 1.5rem 0 1rem 0;
}

.lyrics-heading {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.lyrics-text {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .music-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem;
        padding: 0.5rem;
        grid-auto-flow: row; /* Maintain row-first flow on mobile too */
    }
    
    .music-grid-card {
        margin: 0 0.5rem;
    }
    
    .song-title {
        font-size: 1.2rem;
    }
    
    .song-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .music-card-header {
        padding: 1rem;
    }
    
    .music-card-content {
        padding: 0 1rem 1rem 1rem;
    }
    
    .song-title {
        font-size: 1.1rem;
    }
}

.lyrics-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Song Attribution */
.song-attribution {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.song-title {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: white;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.song-artist {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem 0;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.song-copyright {
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.lyrics-text {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    white-space: pre-line;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

/* Old integrated carousel styles removed - now using music grid layout */

/* Poetry Search */
.poetry-search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.poetry-search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: white;
    padding: 0.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.poetry-search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    backdrop-filter: blur(5px);
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Search Results */
.search-results-title {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.search-result-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.search-card-header {
    margin-bottom: 1rem;
}

.search-card-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.search-card-meta {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.search-card-preview {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.search-read-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.search-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-featured {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    padding: 2rem;
}

/* Poem Modal */
.poem-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px); /* Strong blur for everything behind */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.poem-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

/* Modal content with background image - make background image fully visible */
.poem-modal-content.has-background {
    background: transparent !important;
    position: relative;
}

/* Background image for modal at 100% opacity */
.poem-modal-content.has-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--modal-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1.0; /* 100% visible background image */
    border-radius: inherit;
    z-index: -1;
}

.poem-modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.poem-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

/* Dark foggy header for modal with background image */
.poem-modal-content.has-background .poem-modal-header {
    background: rgba(0, 0, 0, 0.7) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px 16px 0 0 !important;
}

.poem-modal-content.has-background .poem-modal-header h2 {
    color: white !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 1) !important;
}

.poem-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.poem-modal-close:hover {
    background: #f8f9fa;
    color: #495057;
}

/* White close button for modal with background image */
.poem-modal-content.has-background .poem-modal-close {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
}

.poem-modal-content.has-background .poem-modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.poem-modal-meta {
    padding: 0 2rem 1rem 2rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-align: center;
}

.poem-modal-body {
    padding: 1rem 2rem 2rem 2rem;
    max-height: 60vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

/* Dark foggy meta and body for modal with background image */
.poem-modal-content.has-background .poem-modal-meta {
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(8px) !important;
}

.poem-modal-content.has-background .poem-modal-body {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(1px) !important;
    border-radius: 0 0 16px 16px !important;
}

.poem-text-content {
    font-size: 1.1rem;
    line-height: 1.0;
    color: #2c3e50;
    font-family: 'Georgia', serif;
    text-align: center;
}

.poem-text-content p {
    margin-bottom: 1rem;
}

/* White text content for modal with background image */
.poem-modal-content.has-background .poem-text-content {
    color: white !important;
}

.poem-modal-content.has-background .poem-text-content p {
    color: white !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 1) !important;
    margin-bottom: 1rem !important;
}

.poem-text-content p:empty {
    margin-bottom: 0.5rem;
}

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

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

/* Mobile Responsive Modal */
@media screen and (max-width: 768px) {
    .poem-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .poem-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .poem-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .poem-modal-meta,
    .poem-modal-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .poem-text-content {
        font-size: 1rem;
    }
}

/* Maintenance Mode Overlay */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.maintenance-content {
    text-align: center;
    color: white;
    max-width: 500px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.maintenance-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #ffd700;
    animation: bounce 2s infinite;
}

.maintenance-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.maintenance-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.maintenance-loader {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.loader-bar {
    width: 8px;
    height: 40px;
    background: #ffd700;
    border-radius: 4px;
    animation: loader 1.2s infinite ease-in-out;
}

.loader-bar:nth-child(2) {
    animation-delay: -1.1s;
}

.loader-bar:nth-child(3) {
    animation-delay: -1.0s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes loader {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        opacity: 0.5;
    }
    20% {
        transform: scaleY(1.0);
        opacity: 1;
    }
}

/* ===================================
   MULTI-PLATFORM MUSIC STYLES
   =================================== */

/* YouTube Embed Styling */
.youtube-embed {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.youtube-embed iframe {
    width: 100%;
    height: 315px;
    border: none;
}

/* SoundCloud Embed Styling */
.soundcloud-embed {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.soundcloud-embed iframe {
    width: 100%;
    height: 200px; /* Ensure proper height for music cards */
    border: none;
    border-radius: 8px;
}

/* Music card specific player styling - prevent squishing and stretch out */
.music-card .soundcloud-embed iframe,
.music-card .youtube-embed iframe {
    height: 200px !important;
    min-height: 200px;
    width: 100% !important;
    max-width: none !important;
}

.music-card .youtube-embed iframe {
    height: 200px !important; /* Override the 315px default */
}

/* Ensure embedded containers stretch full width */
.music-card .soundcloud-embed,
.music-card .youtube-embed {
    width: 100% !important;
    max-width: none !important;
    margin: 0.75rem 0 !important;
}

/* Audio Player Styling */
.audio-player {
    margin: 1rem 0;
}

.audio-player audio {
    width: 100%;
    height: 40px;
}

/* Additional Platform Links */
.additional-platforms {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.platform-links-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-align: center;
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.platform-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Platform-Specific Colors */
.platform-link.spotify {
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
    color: white;
}

.platform-link.spotify:hover {
    background: linear-gradient(135deg, #1ed760 0%, #1db954 100%);
}

.platform-link.apple {
    background: linear-gradient(135deg, #fc3c44 0%, #ff6b6b 100%);
    color: white;
}

.platform-link.apple:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #fc3c44 100%);
}

.platform-link.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
    color: white;
}

.platform-link.youtube:hover {
    background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
}

.platform-link.amazon {
    background: linear-gradient(135deg, #ff9900 0%, #ffb84d 100%);
    color: white;
}

.platform-link.amazon:hover {
    background: linear-gradient(135deg, #ffb84d 0%, #ff9900 100%);
}

.platform-link.bandcamp {
    background: linear-gradient(135deg, #408294 0%, #5ba3b5 100%);
    color: white;
}

.platform-link.bandcamp:hover {
    background: linear-gradient(135deg, #5ba3b5 0%, #408294 100%);
}

/* Responsive Design for Platform Links */
@media (max-width: 768px) {
    .platform-links {
        gap: 0.5rem;
    }
    
    .platform-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .youtube-embed iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .platform-links {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .youtube-embed iframe {
        height: 180px;
    }
}

/* Export Section Styles */
.export-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.export-section h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.export-section p {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 5px;
    border-left: 3px solid #3498db;
}

.info-item i {
    color: #3498db;
    width: 16px;
}

.info-item .success {
    color: #27ae60;
    font-weight: 600;
}

.info-item .error {
    color: #e74c3c;
    font-weight: 600;
}

@media (max-width: 768px) {
    .server-info {
        gap: 0.5rem;
    }
    
    .info-item {
        font-size: 0.9rem;
    }
}

/* Temporarily hide streaming platform links except SoundCloud */
.platform-link.spotify,
.platform-link.apple,
.platform-link.amazon,
.platform-link.youtube,
.streaming-link.spotify,
.streaming-link.apple,
.streaming-link.amazon,
.streaming-link.youtube {
    display: none !important;
}

