/* Loader visual global */
#global-loader {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.85);
    align-items: center;
    justify-content: center;
}
#global-loader .loader-inner {
    text-align: center;
}
#global-loader .loader-logo {
    width: 70px;
    opacity: 0.8;
    margin-bottom: 1em;
}
#global-loader .loader-spinner {
    border: 6px solid #eee;
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
#global-loader .loader-text {
    margin-top: 1em;
    color: var(--dark-color);
    font-size: 1.1em;
}
:root {
    --primary-color: #ff6600;
    --primary-color-dark: #e65c00;
    --dark-color: #212529;
    --dark-color-light: #343a40;
    --dark-color-medium: #495057;
    --light-color: #fff;
    --light-gray-color: #f8f9fa;
    --text-color-light: #adb5bd;
    --text-color-dark: #5a6268;
    --border-color: #e9ecef;
    --border-color-dark: #dee2e6;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

/* Modern Visual Refresh */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 8px;
    z-index: 1101;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* 1. Typography & Colors */
body {
    font-family: var(--font-secondary);
    margin: 0;
    padding-bottom: 100px; /* Match player height */
    background-color: var(--light-gray-color); /* Lighter gray */
    color: var(--dark-color); /* Softer black */
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, nav .logo span {
    font-family: var(--font-primary);
    font-weight: 700;
}

/* 2. Header & Navigation */
header {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    border-bottom: 1px solid var(--border-color);
}

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

nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

nav .logo img {
    height: 50px;
    width: auto;
}

nav .logo span {
    color: var(--dark-color);
    font-size: 1.8em;
    margin-left: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover,
nav ul li a.active { /* Add active class for current page */
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}


/* 3. Main Content & Hero */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero {
    background: url('../images/hero.webp') no-repeat center center/cover;
    color: var(--light-color);
    padding: 40px;
    border-radius: 12px; /* Softer radius */
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4)); /* Gradient overlay */
    border-radius: 12px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.8em;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.6em;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* 4. Cards & Sections */
.featured-content, .call-to-action, .about-us-content, .schedule-content, .contact-content {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.featured-content h2, .call-to-action h2, .about-us-content h1, .schedule-content h1, .contact-content h1 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2.5em;
    margin-bottom: 15px;
}

.featured-content .intro-paragraph {
    font-size: 1.2em;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 64px auto;
    color: var(--text-color-dark); /* Subtler text color */
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.content-item {
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden;
    border: none;
}

.content-item:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.content-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    margin-bottom: 0;
    background: none;
    /* No width/height/object-fit */
}

.content-item-text {
    padding: 25px;
}

.content-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.content-item p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-color-dark);
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(45deg, var(--dark-color-light), var(--dark-color));
    color: var(--light-color);
    text-align: center;
    padding: 60px 40px;
}

.call-to-action h2 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.call-to-action p {
    margin-bottom: 30px;
    font-size: 1.1em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-social {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-primary);
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-social:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* 5. Footer */
.site-footer {
    background-color: var(--dark-color);
    color: var(--text-color-light);
    padding: 50px 0 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-brand, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-decoration: none;
}

.footer-brand .logo img {
    height: 80px;
    margin-right: 15px;
}

.footer-brand .logo span {
    color: var(--light-color);
    font-size: 1.3em;
}

.footer-tagline {
    font-size: 0.9em;
    line-height: 1.6;
    max-width: 300px;
}

.site-footer h4 {
    font-family: var(--font-primary);
    color: var(--light-color);
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-color-light);
    width: 40px;
    height: 40px;
    border: 1px solid var(--dark-color-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--light-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid var(--dark-color-light);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: var(--text-color-dark);
}

/* 6. About Page */
.about-us-content h2 {
    color: var(--dark-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

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

.team-member {
    background-color: var(--light-gray-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 200px; /* Give cards a fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.team-member-details {
    transition: opacity 0.4s ease;
}

.team-member h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.4em;
}

.team-member p {
    font-size: 1em;
    color: var(--text-color-dark);
}

.team-member-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1.2);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the card */
}

.team-member.show-photo .team-member-details {
    opacity: 0;
}

.team-member.show-photo .team-member-photo {
    opacity: 1;
    transform: scale(1);
}

/* 7. Schedule Page - Enhanced with Photo Hover */
.schedule-grid {
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.schedule-grid h2 {
    color: var(--light-color);
    background-color: var(--dark-color-light);
    font-size: 1.8em;
    margin: 0;
    padding: 20px 25px;
    border-bottom: none;
}

.day-schedule {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    background-color: var(--light-color);
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease;
}

.day-schedule:last-child {
    border-bottom: none;
}

.day-schedule .show-details,
.day-schedule .show-time {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.day-schedule:hover .show-details,
.day-schedule:hover .show-time {
    opacity: 0.5;
    transform: translateX(-20px);
}

.show-host-photo {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none; 
}

.day-schedule:hover .show-host-photo {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: all;
}

.show-host-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.show-time {
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 1.2em;
}

.show-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.4em;
    color: var(--dark-color);
}

.show-details p {
    margin: 0;
    font-size: 1em;
    color: var(--text-color-dark);
}



/* 8. Audio Player Banner */
.audio-player-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    z-index: 1001; /* Above other elements */
    border-top: 1px solid var(--dark-color-medium);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transition: transform 0.4s ease-in-out;
}

.audio-player-banner.is-collapsed {
    transform: translateY(calc(100% - 40px)); /* Show only 40px of the banner */
}

.audio-player-content {
    height: 120px; /* Iframe height + padding */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}

.audio-player-content iframe {
    width: 100%;
    max-width: 800px;
    height: 110px;
    border: none;
}

.player-toggle-btn {
    position: absolute;
    top: -25px; /* Position it on the border */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-color);
    border: 1px solid var(--dark-color-medium);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: var(--light-color);
}

.player-toggle-btn svg {
    color: var(--light-color);
    transition: transform 0.4s ease-in-out;
}

.audio-player-banner.is-collapsed .player-toggle-btn svg {
    transform: rotate(180deg);
}





/* Hamburger Button */
.hamburger-btn {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100; /* Above navigation */
}

.hamburger-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Animation for hamburger icon */
.hamburger-btn.active .hamburger-icon:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

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

.hamburger-btn.active .hamburger-icon:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* 9. Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: row; /* Keep logo and hamburger on the same row */
        justify-content: space-between; /* Space between logo and hamburger */
        align-items: center;
    }
    nav .logo {
        margin-bottom: 0; /* Remove margin-bottom */
    }
    nav ul {
        display: none; /* Hide by default on mobile */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--light-color);
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
    }
    nav ul.active {
        display: flex; /* Show when active */
    }
    nav ul li {
        margin: 15px 0; /* Adjust spacing for mobile links */
    }
    nav ul li a {
        font-size: 1.2em; /* Larger font for mobile links */
    }
    .hamburger-btn {
        display: flex; /* Show hamburger on mobile */
    }
    .hero h1 {
        font-size: 2.8em;
    }
    .hero p {
        font-size: 1.3em;
    }
    .day-schedule {
        display: block;
        text-align: center;
    }
    .show-time {
        margin-bottom: 10px;
    }

    .contact-container {
        grid-template-columns: 1fr !important; /* Stack columns on mobile */
        gap: 30px; /* Adjust gap for mobile */
    }
}

/* 10. Current Show Timeline */
.current-show-container {
    background: linear-gradient(45deg, var(--dark-color-light), var(--dark-color));
    padding: 50px 0;
    margin-bottom: 40px;
}

.show-timeline {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.show-card {
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.show-card .show-status {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.show-card .show-name {
    margin: 0 0 5px 0;
}

.show-card .show-host {
    margin: 0;
    font-size: 1em;
}

/* Previous & Next Shows */
.prev-next-show {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color-light);
    transform: scale(0.9);
}

.prev-next-show .show-status {
    color: var(--text-color-dark);
}

.prev-next-show .show-name {
    color: var(--light-color);
    font-size: 1.3em;
}

.prev-next-show .show-host {
    color: var(--text-color-light);
}

.next-start-time {
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: 700;
}

/* Current Live Show */
.current-show-live {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.current-show-live .show-status {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-dot::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

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

.current-show-live .show-name {
    font-size: 2.2em;
}

.current-show-live .show-host {
    font-size: 1.2em;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar-container {
    background-color: var(--border-color);
    border-radius: 5px;
    height: 8px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 5px;
    transition: width 1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: var(--text-color-dark);
    padding: 0 5px;
}

/* Responsive for Timeline */
@media (max-width: 992px) {
    .show-timeline {
        grid-template-columns: 1fr;
    }
    .prev-next-show {
        transform: scale(1);
        opacity: 0.7;
    }
    .current-show-live {
        transform: scale(1);
    }
}

/* 11. Timezone Note */
.timezone-note p {
    color: var(--text-color-light);
    font-size: 0.9em;
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
}

.timezone-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 12. Schedule Accordion */
.schedule-accordion .accordion-item {
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background-color: var(--dark-color-light);
    color: var(--light-color);
    cursor: pointer;
    padding: 20px 25px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.5em;
    transition: background-color 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button h2 {
    margin: 0;
    font-size: 1em;
    color: var(--light-color);
}

.accordion-button:hover, .accordion-button.active {
    background-color: var(--dark-color-medium);
}

.accordion-icon {
    font-size: 1.5em;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.accordion-button.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0;
    background-color: var(--light-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content .day-schedule {
    border-top: 1px solid var(--border-color);
}

/* 13. Hero CTA Buttons */
.hero-cta-container {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-primary);
    font-size: 1.1em;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-hero svg {
    width: 20px;
    height: 20px;
}

.btn-hero.primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    animation: pulse-primary 2s infinite;
}

.btn-hero.primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5);
    animation-play-state: paused;
}

@keyframes pulse-primary {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.btn-hero.secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.btn-hero.secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: var(--light-color);
}

/* 14. Install Guide */
#install-guide {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#install-guide h3 {
    font-family: var(--font-primary);
    font-size: 1.5em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--light-color);
}

.install-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.install-step {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.install-step h4 {
    font-size: 1.2em;
    color: var(--light-color);
    margin: 10px 0 5px 0;
}

.install-step p {
    font-size: 0.95em;
    color: var(--border-color);
    margin: 0;
    line-height: 1.5;
}

.install-step svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.install-step p .share-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 2px;
    fill: var(--light-color);
}

.cta-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-cta-container {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero {
        width: 100%;
        padding: 15px;
        font-size: 1.2em;
    }
}

/* 15. Floating Player */
.floating-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: var(--light-color);
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    border-top: 1px solid var(--dark-color-light);
    transform: translateY(0);
    transition: transform 0.4s ease-in-out;
    display: block;
}

.player-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "art-info controls progress volume";
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 80px;
}

.player-art-info {
    grid-area: art-info;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0; /* Allow shrinking */
}

.player-logo-sm {
    height: 60px;
    width: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.player-info-text {
    min-width: 0; /* Allow shrinking */
    overflow: hidden;
}

.player-info-text .player-show-name {
    font-weight: 700;
    font-size: 1.1em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-info-text .player-show-host {
    font-size: 0.9em;
    color: var(--text-color-light);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls-main {
    grid-area: controls;
    display: flex;
    justify-content: center;
}

.control-btn-fp {
    background: transparent;
    border: none;
    color: var(--light-color);
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.control-btn-fp:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.player-progress-container {
    grid-area: progress;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color-light);
    font-size: 0.9em;
}

/* Hide duration for live stream */
#fp-duration {
    display: none;
}

.progress-bar-fp {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--dark-color-medium);
    outline: none;
    border-radius: 3px;
    cursor: pointer;
}

.progress-bar-fp::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.progress-bar-fp::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.player-volume-controls {
    grid-area: volume;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider-fp {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 5px;
    background: var(--dark-color-medium);
    outline: none;
    border-radius: 3px;
    transition: opacity 0.2s;
}

.volume-slider-fp::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--light-color);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider-fp::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--light-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.player-close-container {
    grid-area: close;
}

/* Responsive Player */
@media (max-width: 768px) {
    .player-grid {
        grid-template-columns: auto 1fr auto; /* Col1: auto, Col2: 1fr, Col3: auto */
        grid-template-rows: auto auto; /* Row1: auto, Row2: auto */
        grid-template-areas:
            "art-info controls volume"
            "art-info progress progress";
        padding: 10px 15px;
        height: auto;
        gap: 5px 15px;
    }
    .player-art-info {
        grid-area: art-info;
    }
    .player-controls-main {
        grid-area: controls;
    }
    .player-progress-container {
        grid-area: progress;
    }
    .player-volume-controls {
        grid-area: volume;
    }
    .player-close-container {
        display: none; /* Hide the close button */
    }
    .player-logo-sm {
        height: 50px;
        width: 50px;
    }
    .player-info-text p {
        display: block; /* Show title on small screens */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px; /* Adjust as needed */
    }
    .player-progress-container {
        gap: 8px;
    }
    .volume-slider-fp {
        width: 70px;
    }
}

@media (max-width: 480px) {
    .player-grid {
        grid-template-columns: auto 1fr; /* 2 columns */
        grid-template-rows: auto auto; /* 2 rows */
        row-gap: 10px;
    }
    .player-art-info {
        display: flex; /* Make it visible again */
        grid-column: 1;
        grid-row: 1 / 3; /* Spans both rows */
        align-items: center;
        gap: 10px;
    }
    .player-progress-container {
        grid-column: 2;
        grid-row: 1;
    }
    .player-controls-main {
        grid-column: 2;
        grid-row: 2;
        justify-content: center; /* Center controls in the cell */
    }
    .player-volume-controls {
        display: none; /* Hidden due to HTML structure limitation */
    }
}

/* 16. Player States */
.player-loading .play-icon-fp,
.player-loading .pause-icon-fp {
    display: none;
}

.player-loading .control-btn-fp[disabled] {
    cursor: not-allowed;
}

.player-loading .player-controls-main::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.player-error .player-controls-main {
    color: #dc3545;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #343a40;
    color: #f8f9fa;
    padding: 1rem;
    text-align: center;
    z-index: 1051; /* Changed to be above the player */
    display: none; /* Hidden by default */
}

.cookie-banner p {
    margin: 0 0 0.5rem 0;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

#accept-cookies-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accept-cookies-btn:hover {
    background-color: #0056b3;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container, .contact-info-container {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color-dark);
    border-radius: 5px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust as needed for spacing between icon and text */
    margin-bottom: 10px; /* Space between contact info items */
}

.contact-info-item svg {
    width: 24px; /* Match social icon size */
    height: 24px; /* Match social icon size */
    color: var(--primary-color); /* Use primary color for icons */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.contact-info-item p {
    margin: 0; /* Remove default paragraph margin */
    line-height: 1.5;
}

#map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

/* Hide ads by default */
.adsbygoogle, .ad-container {
    display: none;
}