/* ============================================ */
/* GLOBAL STYLES & VARIABLES */
/* ============================================ */

:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #E60000; /* CHANGED from #FF0000 */
    --accent-hover: #cc0000;
    --card-bg: rgba(18, 18, 18, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    max-width: 100vw;
    line-height: 1.6; /* ADDED for readability */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 16px !important;
    }
}

/* ============================================ */
/* PAGE LOADER */
/* ============================================ */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

#page-loader.hidden .loader-logo {
    animation: none;
}
.loader-content {
    text-align: center;
}

.loader-logo {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    margin-bottom: 2.5rem;
    animation: logoFloat 3s ease-in-out infinite;
    object-fit: contain;
}

.loader-spinner {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(255, 0, 0, 0.1);
    border-top: 6px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 1;
    }
    50% { 
        transform: translateY(-10px);
        opacity: 0.9;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* ============================================ */
/* BACKGROUND & LAYOUT */
/* ============================================ */

#vanta-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* ============================================ */
/* NAVIGATION */
/* ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.logo img {
    height: 80px;
    cursor: pointer;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    
    /* NEW: Animated Gradient Background */
    background: linear-gradient(90deg, #FF0000, #E60000, #FFA500, #FF0000);
    background-size: 200% 100%; /* Double the width of the container */
    
    transition: background-position 0.5s ease-out; /* Animate the background position */
    transform: scaleX(0); /* Start with no line */
    transform-origin: left; /* Scale from the left */
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    transform: scaleX(1); /* Expand to full width on hover/active */
    animation: wave-animation 3s linear infinite; /* Apply the animation */
}

/* NEW: Keyframe Animation for the Wave Effect */
@keyframes wave-animation {
    to {
        background-position: -200% 0; /* Shifts the gradient to the left */
    }
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.mobile-menu:hover {
    color: var(--accent-color);
}

/* ============================================ */
/* PAGE CONTENT */
/* ============================================ */

#page-content {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 100px;
    transition: opacity 0.3s ease-in-out; /* Added for page transitions */
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    font-weight: 700;      /* ADDED */
    letter-spacing: 1px; /* ADDED */
}

.text-primary {
    color: var(--accent-color);
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #cc0000);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-3px); /* CHANGED */
    box-shadow: 0 7px 25px rgba(230, 0, 0, 0.3); /* CHANGED */
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}
/* Button Loading Spinner */
.btn-loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: buttonSpin 0.8s linear infinite;
    display: inline-block;
}

@keyframes buttonSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disable hover effects when loading */
.btn.loading,
.play-btn-large.loading,
.sticky-play-btn.loading {
    cursor: wait;
    pointer-events: none;
}

.btn.loading:hover,
.play-btn-large.loading:hover,
.sticky-play-btn.loading:hover {
    transform: none;
    box-shadow: none;
}

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

.hero {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: left;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ============================================ */
/* ANIMATED HERO TEXT */
/* ============================================ */

/* Animate the "Radio" text in hero */
.hero-content h1 .text-primary {
    background: linear-gradient(
        90deg,
        var(--accent-color) 0%,
        #FF6600 25%,
        #FFAA00 50%,
        #FF6600 75%,
        var(--accent-color) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, glow 2s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5));
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5))
                drop-shadow(0 0 40px rgba(255, 0, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.8))
                drop-shadow(0 0 60px rgba(255, 0, 0, 0.5));
    }
}

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

/* Animate the buttons */
.hero-content > div {
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Elements that will animate on scroll */
.section-title,
.song-card,
.partner-circle,
.team-card,
.mission-card,
.schedule-item,
.contact-card,
.about-content,
.about-image,
.history-item,
.request-form-container {
    opacity: 0;
    transform: translateY(30px);
    --scroll-transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When element is visible */
.section-title.visible,
.song-card.visible,
.partner-circle.visible,
.team-card.visible,
.mission-card.visible,
.schedule-item.visible,
.contact-card.visible,
.about-content.visible,
.about-image.visible,
.history-item.visible,
.request-form-container.visible {
    opacity: 1;
    transform: translateY(0);
    transition: var(--scroll-transition);
    animation: clearScrollTransition 0.01s ease 0.7s forwards;
}

@keyframes clearScrollTransition {
    to {
        --scroll-transition: none;
        transition-delay: 0s; /* <-- Add this line */
    }
}

/* Stagger animation for groups */
.song-card.visible:nth-child(1) { transition-delay: 0.1s; }
.song-card.visible:nth-child(2) { transition-delay: 0.2s; }
.song-card.visible:nth-child(3) { transition-delay: 0.3s; }
.song-card.visible:nth-child(4) { transition-delay: 0.4s; }

.partner-circle.visible:nth-child(1) { transition-delay: 0.1s; }
.partner-circle.visible:nth-child(2) { transition-delay: 0.15s; }
.partner-circle.visible:nth-child(3) { transition-delay: 0.2s; }
.partner-circle.visible:nth-child(4) { transition-delay: 0.25s; }
.partner-circle.visible:nth-child(5) { transition-delay: 0.3s; }
.partner-circle.visible:nth-child(6) { transition-delay: 0.35s; }

.team-card.visible:nth-child(1) { transition-delay: 0.1s; }
.team-card.visible:nth-child(2) { transition-delay: 0.2s; }
.team-card.visible:nth-child(3) { transition-delay: 0.3s; }

.mission-card.visible:nth-child(1) { transition-delay: 0.1s; }
.mission-card.visible:nth-child(2) { transition-delay: 0.2s; }
.mission-card.visible:nth-child(3) { transition-delay: 0.3s; }

.history-item.visible:nth-child(1) { transition-delay: 0.1s; }
.history-item.visible:nth-child(2) { transition-delay: 0.15s; }
.history-item.visible:nth-child(3) { transition-delay: 0.2s; }
.history-item.visible:nth-child(4) { transition-delay: 0.25s; }
.history-item.visible:nth-child(5) { transition-delay: 0.3s; }

/* ============================================ */
/* PLAYER */
/* ============================================ */

.player-container {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-container:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}


.now-playing-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.album-art {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.album-art:hover {
    transform: scale(1.05);
}

.track-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.track-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.play-btn-large {
    background: var(--accent-color);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.play-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.play-btn-large:hover::before {
    left: 100%;
}

.play-btn-large:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Loading state for large play button */
.play-btn-large.loading {
    background: var(--accent-color);
    cursor: wait;
}

.play-btn-large.loading .btn-loading-spinner {
    width: 30px;
    height: 30px;
    border-width: 4px;
}

.play-btn-large.loading:hover {
    transform: none;
    box-shadow: none;
}

.favorite-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.favorite-btn:hover {
    color: #ff4757;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #ff4757;
}

/* ============================================ */
/* VOLUME CONTROL - CLEANER COMPACT VERSION */
/* ============================================ */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px; /* Pill shape when collapsed */
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    width: 60px; /* Use fixed width instead of max-width */
    cursor: pointer;
}

.volume-control:hover {
    width: 280px; /* Expands to show full slider */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px; /* Changes to rounded corners */
    padding: 0.8rem 1.2rem;
}

.volume-control i {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
    min-width: 24px; /* Ensures icon doesn't compress */
}

.volume-control:hover i {
    color: var(--accent-color);
    transform: scale(1.05);
}

.volume-slider {
    flex: 1;
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(to right, 
        var(--accent-color) 0%, 
        var(--accent-color) 100%, 
        rgba(255, 255, 255, 0.1) 100%, 
        rgba(255, 255, 255, 0.1) 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    opacity: 0;
    width: 0; /* Completely hidden when collapsed */
    transition: opacity 0.3s ease, width 0.3s ease;
    pointer-events: none;
}

.volume-control:hover .volume-slider {
    opacity: 1;
    width: auto; /* Expands to fill space */
    pointer-events: auto;
}

/* Webkit browsers (Chrome, Safari, Edge) */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    border: 2px solid #ffffff;
    position: relative;
    z-index: 2;
    margin-top: -6px;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
}

.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: transparent;
    border: none;
}

/* Firefox */
.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
}

.volume-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
}

.volume-slider::-moz-range-progress {
    height: 6px;
    border-radius: 10px;
    background: var(--accent-color);
}

#volumeValue {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 42px;
    text-align: right;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    white-space: nowrap;
}

.volume-control:hover #volumeValue {
    opacity: 1;
}

/* Volume icon states */
.volume-control i.fa-volume-up,
.volume-control i.fa-volume-down {
    color: var(--text-secondary);
}

.volume-control:hover i.fa-volume-up,
.volume-control:hover i.fa-volume-down {
    color: var(--accent-color);
}

.volume-control i.fa-volume-mute {
    color: #666;
}

.volume-control:hover i.fa-volume-mute {
    color: var(--accent-color);
}

/* Hide volume control on mobile devices */
@media (max-width: 768px) {
    .volume-control {
        display: none !important;
    }
}

/* ============================================ */
/* AUDIO VISUALIZER - MODERN DESIGN */
/* ============================================ */

.visualizer-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.player-container {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease-out;
    position: relative; /* Add this */
    overflow: hidden; /* Add this */
}

.now-playing-header,
.player-controls {
    position: relative;
    z-index: 1;
}

#visualizerCanvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.5;
    filter: blur(0.5px);
    mix-blend-mode: screen;
}

/* Loading States */
.player-loading,
.sticky-player-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 2rem;
}

.sticky-player-loading {
    flex-direction: row;
    min-height: auto;
    padding: 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 0, 0, 0.1);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 0, 0, 0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================ */
/* NOW PLAYING SECTION */
/* ============================================ */

.now-playing-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

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

.song-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.15s ease-out;
}

.song-card:hover {
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2); /* CHANGED */
}

.song-card-content {
    display: flex;
    gap: 1rem;
}

.song-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: transform 0.15s ease-out;
}

.song-thumbnail:hover {
    transform: scale(1.05);
}

.song-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.song-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.song-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.badge-live {
    background: var(--accent-color);
    color: white;
}

.badge-next {
    background: #535353;
    color: white;
}

.badge-history {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* ============================================ */
/* PARTNERS SECTION */
/* ============================================ */

.partners-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 3rem;
    justify-items: center;
    align-items: center;
    padding: 2rem 0;
}

.partner-circle {
    position: relative;
    width: 180px;
    height: auto;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Scalable floating animations - works for any number of partners */
.partner-circle:nth-child(6n+1) { 
    animation: float1 10s ease-in-out infinite;
    animation-delay: calc(var(--partner-index, 0) * 0.5s);
}
.partner-circle:nth-child(6n+2) { 
    animation: float2 11s ease-in-out infinite;
    animation-delay: calc(var(--partner-index, 1) * 0.5s);
}
.partner-circle:nth-child(6n+3) { 
    animation: float3 12s ease-in-out infinite;
    animation-delay: calc(var(--partner-index, 2) * 0.5s);
}
.partner-circle:nth-child(6n+4) { 
    animation: float4 10.5s ease-in-out infinite;
    animation-delay: calc(var(--partner-index, 3) * 0.5s);
}
.partner-circle:nth-child(6n+5) { 
    animation: float5 11.5s ease-in-out infinite;
    animation-delay: calc(var(--partner-index, 4) * 0.5s);
}
.partner-circle:nth-child(6n) { 
    animation: float6 12.5s ease-in-out infinite;
    animation-delay: calc(var(--partner-index, 5) * 0.5s);
}

/* Gentle circular/orbital movements */
@keyframes float1 {
    0%, 100% { 
        transform: translate(0px, 0px);
    }
    25% { 
        transform: translate(5px, -8px);
    }
    50% { 
        transform: translate(0px, -12px);
    }
    75% { 
        transform: translate(-5px, -8px);
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: translate(0px, 0px);
    }
    25% { 
        transform: translate(-6px, -6px);
    }
    50% { 
        transform: translate(-4px, -14px);
    }
    75% { 
        transform: translate(4px, -10px);
    }
}

@keyframes float3 {
    0%, 100% { 
        transform: translate(0px, 0px);
    }
    25% { 
        transform: translate(4px, -10px);
    }
    50% { 
        transform: translate(-3px, -8px);
    }
    75% { 
        transform: translate(6px, -12px);
    }
}

@keyframes float4 {
    0%, 100% { 
        transform: translate(0px, 0px);
    }
    25% { 
        transform: translate(-5px, -11px);
    }
    50% { 
        transform: translate(3px, -14px);
    }
    75% { 
        transform: translate(-4px, -7px);
    }
}

@keyframes float5 {
    0%, 100% { 
        transform: translate(0px, 0px);
    }
    25% { 
        transform: translate(7px, -7px);
    }
    50% { 
        transform: translate(-5px, -11px);
    }
    75% { 
        transform: translate(5px, -13px);
    }
}

@keyframes float6 {
    0%, 100% { 
        transform: translate(0px, 0px);
    }
    25% { 
        transform: translate(-4px, -12px);
    }
    50% { 
        transform: translate(6px, -10px);
    }
    75% { 
        transform: translate(-7px, -8px);
    }
}

.partner-logo {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease-out;
    border: 3px solid transparent;
}

.partner-logo:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.4);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin-top: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-circle:hover .partner-name {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ============================================ */
/* ABOUT PAGE */
/* ============================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

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

.mission-card {
    background: linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.15s ease-out;
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.mission-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* ============================================ */
/* TEAM PAGE */
/* ============================================ */

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

.team-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.15s ease-out;
}

.team-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2); /* CHANGED */
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--accent-color);
    transition: transform 0.15s ease-out;
}

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

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card .role {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.team-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.team-social-links a {
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.team-social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ============================================ */
/* SCHEDULE PAGE (Corrected CSS) */
/* ============================================ */

/* The outer container handles scrolling and overall spacing */
.day-tabs-container {
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* The inner container just handles the layout of the buttons */
.day-tabs {
    display: flex;
    gap: 0.5rem;
}

/* The buttons remain unchanged */
.day-tab {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.day-tab.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.day-tab:hover {
    transform: scale(1.02);
}

.schedule-list {
    display: grid;
    gap: 1rem;
}

/* ============================================ */
/* SCHEDULE CARDS - SMOOTH FADE IN EFFECT */
/* ============================================ */

.schedule-item {
    background: linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

/* Simple overlay fade */
.schedule-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.schedule-item:hover::after {
    opacity: 1;
}

.schedule-item:hover {
    transform: translateX(5px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.15);
}

/* Content positioning */
.schedule-time,
.schedule-show h4,
.schedule-show p {
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.schedule-item:hover .schedule-time {
    color: #ff3333;
}

.schedule-item:hover .schedule-show h4 {
    transform: translateX(2px);
}

.schedule-item:hover .schedule-show p {
    color: var(--text-primary);
}


.schedule-time {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.schedule-show h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.day-schedule {
    display: none;
}

.day-schedule.active {
    display: grid;
}

/* ============================================ */
/* HISTORY PAGE */
/* ============================================ */

.history-list {
    display: grid;
    gap: 1rem;
}

.history-item {
    background: linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease-out;
}

.history-item:hover {
    transform: translateX(5px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.15);
}

.history-art {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.history-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.history-details p {
    color: var(--text-secondary);
}

.history-time {
    margin-left: auto;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    .history-art {
        align-self: center;
    }
    .history-time {
        margin-left: 0;
        margin-top: 1rem;
        align-self: center;
    }
}

/* ============================================ */
/* REQUEST PAGE */
/* ============================================ */

.request-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

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

/* ============================================ */
/* CONTACT PAGE */
/* ============================================ */

.contact-container-centered {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-cards-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1.5rem;
    transition: all 0.15s ease-out;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 0, 0, 0.5);
}

.contact-card i {
    font-size: 2rem;
    color: var(--accent-color);
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-color);
}

/* ============================================ */
/* STICKY PLAYER */
/* ============================================ */

.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    padding: 0.75rem 2rem;
}

.sticky-player-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sticky-left-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.sticky-song-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.sticky-album-art {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.sticky-album-art:hover {
    transform: scale(1.05);
}

.sticky-track-info {
    flex: 1;
}

.sticky-track-info h3 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-track-info p {
    font-size: 0.8rem;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.sticky-play-btn {
    background: var(--accent-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.sticky-play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.sticky-play-btn:hover::before {
    left: 100%;
}

/* Loading state for sticky play button */
.sticky-play-btn.loading {
    background: var(--accent-color);
    cursor: wait;
}

.sticky-play-btn.loading .btn-loading-spinner {
    width: 20px;
    height: 20px;
    border-width: 3px;
}

.sticky-play-btn.loading:hover {
    transform: none;
}
.sticky-play-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.sticky-download-btn {
    background: rgba(255, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 0, 0.3);
    white-space: nowrap;
}

.sticky-download-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* ============================================ */
/* WHATSAPP BUTTON */
/* ============================================ */

.whatsapp-btn {
    position: fixed;
    bottom: 140px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

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

footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 2rem;
    padding-bottom: 8rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
}

/* ============================================ */
/* SHARE BUTTON & POPUP */
/* ============================================ */

.share-container {
    position: relative;
    display: inline-block;
}

.share-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    transform: scale(1.1);
}

.share-popup {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 0.5rem;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.share-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-popup::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border: 8px solid transparent;
    border-top-color: var(--card-bg);
}

.share-option {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.share-option:hover {
    background: rgba(255, 0, 0, 0.1);
    color: var(--accent-color);
    transform: translateX(5px);
}

.share-option i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Update player controls layout */
.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.player-controls .play-btn-large {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

@media (max-width: 768px) {
    /* ============================================ */
    /* MOBILE FIX: Remove button bounce/transform on click */
    /* ============================================ */
    
    /* Disable transform animations on mobile for play buttons */
    .play-btn-large,
    .sticky-play-btn,
    .btn-primary {
        transition: background 0.3s ease, box-shadow 0.3s ease !important;
    }
    
    /* IMPORTANT: Don't disable transform on .play-btn-large itself (needed for centering) */
    /* Only disable transform on hover/active states */
    .play-btn-large:hover,
    .play-btn-large:active,
    .sticky-play-btn:hover,
    .sticky-play-btn:active,
    .btn-primary:hover,
    .btn-primary:active {
        transform: translateX(-50%) !important; /* Keep centering, remove scale */
    }
    
    /* For sticky button (no centering needed), completely disable transform */
    .sticky-play-btn:hover,
    .sticky-play-btn:active {
        transform: none !important;
    }
    
    /* For regular buttons (no centering), completely disable transform */
    .btn:active,
    .btn:hover {
        transform: none !important;
    }
    
    /* Remove the ::before pseudo-element animation on mobile */
    .play-btn-large::before,
    .sticky-play-btn::before,
    .btn-primary::before {
        display: none !important;
    }

    /* Navigation */
    .logo img {
        height: 50px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        gap: 1.5rem;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-content > div {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-content .btn {
        width: 100%;
        justify-content: center;
    }

    /* Make animations less intensive on mobile */
    .hero-content h1 .text-primary {
        animation: shimmer 4s linear infinite; /* Slower on mobile */
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.4)); /* Less intense */
    }

    /* Player */
    .player-container {
        padding: 1.5rem;
    }

    .now-playing-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .album-art {
        width: 100px;
        height: 100px;
    }

    .track-info h3 {
        font-size: 1.1rem;
    }

    .player-controls {
        gap: 1rem;
    }

    .play-btn-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
/* Volume */
.volume-control {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .volume-control i {
        font-size: 1rem;
    }
    
    #volumeValue {
        font-size: 0.8rem;
        min-width: 40px;
    }
	
    /* Songs Grid */
    .songs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .song-card {
        padding: 1rem;
    }

    .song-thumbnail {
        width: 60px;
        height: 60px;
    }

    .song-details h4 {
        font-size: 0.95rem;
    }

    .song-details p {
        font-size: 0.8rem;
    }

    /* Partners Grid - FIXED: 3 columns on mobile */
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: none;
        margin: 0 auto;
    }

    .partner-circle {
        width: 100px;
        height: auto;
        min-height: 160px;
        gap: 0.5rem;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }
    
    .partner-name {
        font-size: 0.8rem;
        margin-top: 0.3rem;
        min-height: 2rem;
    }

    /* About Page */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
        text-align: center;
    }

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

    /* Team Page */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Schedule Page */
    .day-tabs {
        justify-content: flex-start;
    }

    .day-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* Contact Page - FIXED */
    .contact-container-centered {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact-cards-large {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        margin: 0 auto;
    }

    .contact-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-card[style*="grid-column"] {
        grid-column: 1 !important;
    }

    .contact-card > div {
        width: 100%;
    }

    /* Fix social media links overflow */
    .contact-card:last-child .fa-facebook,
    .contact-card:last-child .fa-instagram {
        font-size: 1.5rem !important;
    }

    .contact-card:last-child > div > div {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Ensure text doesn't overflow */
    .contact-card h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }

    .contact-card a {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .contact-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Sticky Player - FIXED LAYOUT */
    .sticky-player {
        padding: 0.5rem 1rem;
    }

    .sticky-player-content {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: space-between;
    }

    .sticky-left-section {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .sticky-song-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .sticky-album-art {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .sticky-track-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .sticky-track-info h3,
    .sticky-track-info p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .sticky-track-info h3 {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }

    .sticky-track-info p {
        font-size: 0.7rem;
    }

    /* MOVED PLAY BUTTON TO RIGHT SIDE */
    .sticky-controls {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .sticky-play-btn {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .sticky-download-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        bottom: 180px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Footer */
    footer {
        padding-bottom: 10rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-links a {
        font-size: 1.3rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        padding: 1rem 0;
    }

    .page-container {
        padding: 1rem;
    }

    /* Player Controls Layout */
    .player-controls {
        padding: 0 2rem;
    }

    .share-container {
        position: static;
    }

    .share-popup {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .share-popup::before {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .share-popup.active {
        transform: translateX(-50%) translateY(0);
    }
}

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

    /* Partners Grid - FIXED: 3 columns with smaller sizes */
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: none;
    }
    
    .partner-circle {
        width: 80px;
        height: auto;
        min-height: 140px;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
        padding: 0.8rem;
    }
    
    .partner-name {
        font-size: 0.7rem;
        min-height: 1.8rem;
    }

    /* Contact Page - Extra small screens */
    .contact-card {
        padding: 1rem;
    }

    .contact-card:last-child .fa-facebook,
    .contact-card:last-child .fa-instagram {
        font-size: 1.3rem !important;
    }

    .contact-card:last-child > div > div {
        gap: 0.8rem;
    }
    
    .request-form-container {
        padding: 2rem;
    }

    /* Sticky Player - Smaller screens */
    .sticky-player {
        padding: 0.4rem 0.8rem;
    }

    .sticky-left-section {
        gap: 0.3rem;
    }

    .sticky-album-art {
        width: 35px;
        height: 35px;
    }

    .sticky-track-info h3 {
        font-size: 0.75rem;
    }

    .sticky-track-info p {
        font-size: 0.65rem;
    }

    /* Make buttons smaller on very small screens */
    .sticky-play-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .sticky-download-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }

    .whatsapp-btn {
        bottom: 60px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* Additional responsive fixes for very small screens */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    /* Partners Grid - FIXED: 2 columns on very small screens */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .partner-circle {
        width: 90px;
        height: auto;
        min-height: 150px;
    }

    .partner-logo {
        width: 90px;
        height: 90px;
    }
    
    .partner-name {
        font-size: 0.75rem;
        min-height: 2rem;
    }

    /* Contact Page - Very small screens */
    .contact-container-centered {
        padding: 0 0.5rem;
    }

    .contact-card {
        padding: 0.8rem;
    }

    .contact-card h3 {
        font-size: 1rem;
    }

    .contact-card a {
        font-size: 0.85rem;
    }

    /* Sticky Player - Extra small screens */
    .sticky-player-content {
        gap: 0.3rem;
    }

    .sticky-track-info h3 {
        font-size: 0.7rem;
    }

    .sticky-track-info p {
        font-size: 0.6rem;
    }

    /* Make buttons smaller on very small screens */
    .sticky-play-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .sticky-download-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
    }
}

/* Fix for landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .logo img {
        height: 40px;
    }

    /* Sticky Player - Landscape */
    .sticky-player {
        padding: 0.3rem 1rem;
    }
}

/* Ensure proper scrolling on mobile */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    .page-container {
        padding-bottom: 2rem;
    }
}

/* Loading state improvements for mobile */
@media (max-width: 768px) {
    .player-loading,
    .sticky-player-loading {
        min-height: 120px;
        padding: 1.5rem;
    }

    .spinner {
        width: 40px;
        height: 40px;
    }

    .spinner-small {
        width: 25px;
        height: 25px;
    }
}

/* Add this new rule to the bottom of your styles.css */
.song-card:hover,
.team-card:hover,
.history-item:hover,
.schedule-item:hover,
.mission-card:hover,
.contact-card:hover {
    transition-delay: 0s !important;
}

/* ============================================ */
/* MOBILE FIXES - HISTORY PAGE (Utwory) */
/* ============================================ */

@media (max-width: 768px) {
    /* 1. Change the history item layout from row to column on mobile */
    .history-item {
        /* Assuming the history item is a flex container: */
        flex-direction: column; 
        align-items: center; /* Centers the thumbnail and stacked blocks */
        gap: 0.5rem;         /* Adds a little vertical space between elements */
    }
    
    /* 2. Target the containers holding the track title/artist for centering */
    /* We include common classes found in your styles (.song-details, .track-info) */
    .history-item .song-details,
    .history-item .track-info {
        text-align: center; 
        width: 100%; /* Ensures the centering works correctly across the item's width */
    }

    /* 3. Ensure the text itself is centered (fallback/specificity) */
    .history-item .song-details h4,
    .history-item .song-details p,
    .history-item .track-info h3,
    .history-item .track-info p {
        text-align: center;
    }
}
/* ============================================ */
/* NEW: TERAZ Live Indicator (Refined) */
/* ============================================ */

/* Refined styling for the TERAZ GRAMY badge */
.badge-live.live-pulse {
    position: relative;
    /* Adjust padding to make it less squarish, more like a pill or badge */
    padding: 0.4rem 1rem; /* Reduced vertical padding, slightly increased horizontal */
    font-size: 0.75rem; /* Slightly smaller font for a compact look */
    font-weight: 700;
    color: white;
    background-color: var(--accent-color); /* Your primary red color */
    border-radius: 20px; /* More rounded corners for a pill shape */
    display: inline-flex;
    align-items: center;
    gap: 0.4rem; /* Reduced gap between dot and text */
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4); /* Softer initial glow */
    animation: live-pulse-animation 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Ensure border is transparent initially */
    text-transform: uppercase; /* Make the text uppercase for a professional look */
    letter-spacing: 0.5px; /* Add a little spacing */
}

/* Small animated circle before the text */
.badge-live.live-pulse::before {
    content: '';
    display: inline-block;
    width: 7px; /* Slightly smaller dot */
    height: 7px; /* Slightly smaller dot */
    background-color: white;
    border-radius: 50%;
    margin-right: 3px; /* Adjusted margin */
    animation: live-dot-pulse 2s infinite;
}

/* Keyframes for the pulsing effect (slightly adjusted glow) */
@keyframes live-pulse-animation {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.4); /* Initial soft glow */
    }
    50% {
        transform: scale(1.03); /* Slightly less aggressive scale */
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.7), 0 0 25px rgba(255, 0, 0, 0.5); /* More intense glow */
    }
}

/* Keyframes for the white dot to pulse more subtly (unchanged) */
@keyframes live-dot-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3); /* Slightly less aggressive dot pulse */
        opacity: 0.8;
    }
}

/* Additional fix for touch devices */
@media (hover: none) and (pointer: coarse) {
    /* For centered play button, keep translateX for centering */
    .player-controls .play-btn-large {
        transition: background 0.2s ease, opacity 0.2s ease !important;
    }
    
    .player-controls .play-btn-large:hover,
    .player-controls .play-btn-large:active {
        transform: translateX(-50%) !important; /* Maintain centering */
    }
    
    /* For other buttons without centering, disable all transforms */
    .sticky-play-btn,
    .btn-primary:not(.play-btn-large),
    .btn-secondary {
        transform: none !important;
        transition: background 0.2s ease, opacity 0.2s ease !important;
    }
    
    .sticky-play-btn:hover,
    .sticky-play-btn:active,
    .btn:hover,
    .btn:active {
        transform: none !important;
    }
    
    /* Remove pseudo-element animations on touch devices */
    .play-btn-large::before,
    .sticky-play-btn::before,
    .btn-primary::before {
        display: none !important;
    }
}
