:root {
    /* Colors */
    --gold: #D4AF37;
    --gold-dark: #B59530;
    --gold-light: #F4E5BC;
    --navy: #15051a;
    /* Deep Purple */
    --navy-dark: #09010b;
    /* Almost black purple */
    --dark-grey: #1c1c1c;
    --light-grey: #E8E4D9;
    /* Warm Beige */
    --white: #FAF8F5;
    /* Warm Cream */
    --text-main: #2b2b2b;
    /* Softer black */
    --text-light: #f1f1f1;
    --danger: #e74c3c;
    --success: #2ecc71;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --header-height: 80px;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

/* --- Resets & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    /* Now Cream */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--navy);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-wrapper {
    padding-top: var(--header-height);
    /* Prevent content from hiding behind fixed header */
}

/* --- Typography Utilities --- */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-navy {
    color: var(--navy);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    color: var(--white);
}

.btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--navy);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}


/* --- Header --- */
.main-header {
    background-color: var(--navy-dark);
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-text {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text .highlight {
    color: var(--gold);
}

/* DESKTOP NAV LAYOUT */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--gold);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.live-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--danger) !important;
    font-weight: 700;
}

.live-link .dot {
    width: 8px;
    height: 8px;
    background-color: var(--danger);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--navy-dark);
    color: var(--text-light);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3,
.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive --- */
/* --- Animated Rack Mobile Menu --- */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        background: rgba(9, 1, 11, 0.98);
        /* Deeper, richer background */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        /* Left align items */
        padding-top: 100px;
        padding-left: 40px;
        /* Add left padding */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
        perspective: 1000px;
    }

    .main-nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Rack Container */
    .nav-list {
        list-style: none;
        text-align: left;
        /* Text align left */
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        /* List align left */
    }

    .nav-list li {
        margin-bottom: 10px;
        /* Reduced spacing */
        opacity: 0;
        /* Start state: Pushed down, rotated back, blurred */
        transform: translateY(60px) rotateX(-20deg) scale(0.9);
        filter: blur(10px);
        transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
        /* "Exponetial Out" - Very Premium Feel */
        display: block;
        width: 100%;
    }

    .nav-list li a {
        font-size: 2rem;
        font-family: var(--font-heading);
        color: var(--white);
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 2px;
        position: relative;
        display: inline-block;
    }

    .nav-list li a:hover {
        color: var(--gold);
        transform: scale(1.1);
    }

    /* REVEAL ITEMS WHEN ACTIVE */
    .main-nav.active .nav-list li {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
        filter: blur(0);
    }

    /* Staggered Animation Logic (The Rack Effect) */
    .main-nav.active .nav-list li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-nav.active .nav-list li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .main-nav.active .nav-list li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .main-nav.active .nav-list li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .main-nav.active .nav-list li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .main-nav.active .nav-list li:nth-child(6) {
        transition-delay: 0.6s;
    }

    /* Actions inside menu */
    .header-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        /* Reduced gap */
        margin-top: 20px;
        /* Reduced margin */
        width: 100%;
        max-width: 220px;
        /* Reduced max-width */
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease forwards;
        align-items: flex-start;
    }

    .main-nav.active .header-actions {
        transition-delay: 0.7s;
        opacity: 1;
        transform: translateY(0);
    }

    .header-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 10px 0;
        /* Compact padding */
        font-size: 0.85rem;
        /* Smaller text */
        display: block;
    }

    .header-actions .btn-outline-gold {
        color: var(--gold);
        /* Explicit color */
        border-color: var(--gold);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* --- Grid Utilities --- */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

/* --- Hero Section Specifics --- */
/* --- Hero Section Specifics --- */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    overflow: hidden;
}

/* Page Hero (Static Image) */
.page-hero {
    height: 90vh;
    /* Shorter than home hero */
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ensure overlay stays inside */
.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 1, 11, 0.6);
    /* Navy/Black tint */
    z-index: 1;
}

/* Ensure content stays on top */
.page-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-family: var(--font-body);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 300px;
    }
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep purple/black gradient with dot pattern for texture */
    background:
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(9, 1, 11, 0.7), rgba(9, 1, 11, 0.9));
    background-size: 3px 3px, 100% 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content h1 .gold {
    color: var(--gold);
    display: block;
    margin-top: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
}

.time-unit {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
    border: 1px solid var(--gold-dark);
}

.time-unit span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--gold);
}

.time-unit label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Featured Sections --- */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

.bg-navy {
    background-color: var(--navy);
    color: var(--white);
}

.bg-navy h2 {
    color: var(--gold);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 3rem;
}

.event-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-date {
    background: var(--navy);
    color: var(--gold);
    padding: 10px 15px;
    display: inline-block;
    font-weight: 700;
    text-align: center;
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 4px;
}

.event-date span {
    display: block;
    font-size: 1.2rem;
}

.event-image {
    height: 400px;
    background-color: #ddd;
    position: relative;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Sermon Placeholder */
.sermon-highlight {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.video-wrapper {
    padding-bottom: 56.25%;
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media(max-width: 768px) {
    .sermon-highlight {
        grid-template-columns: 1fr;
    }

    /* Mobile Typography Adjustments */
    .hero-content h1 {
        font-size: 2.2rem;
        /* Significantly reduced from 4rem */
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Compact Countdown for Mobile */
    .countdown-timer {
        gap: 10px;
        flex-wrap: wrap;
    }

    .time-unit {
        min-width: 60px;
        padding: 10px;
    }

    .time-unit span {
        font-size: 1.5rem;
    }

    /* Adjust button sizes */
    .btn-large {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 10px;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
    }
}

/* --- Modern Glossy Podcast Styles --- */

/* Hero Section */
.podcast-hero-modern {
    position: relative;
    padding: 100px 0 120px;
    background: radial-gradient(circle at top right, #2a0a38, var(--navy-dark));
    overflow: hidden;
    color: white;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--navy);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    bottom: -50px;
    right: -50px;
    opacity: 0.3;
}

.hero-glass-card {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-art-modern {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--gold), var(--navy));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
}

.badge-glossy {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content-modern h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.hero-content-modern p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-controls-modern {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-glossy-play {
    background: linear-gradient(90deg, var(--gold), #eecf6d);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.btn-glossy-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

.btn-glossy-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.btn-glossy-icon:hover {
    background: white;
    color: var(--navy);
}

/* 5 Column Grid */
.podcast-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.pod-card-glossy {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.pod-card-glossy:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.pod-card-image {
    height: 180px;
    background: #e1e1e1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pod-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0.6;
}

.placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: 0.3s;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.pod-card-glossy:hover .overlay-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.pod-card-content {
    padding: 15px;
}

.pod-tags {
    margin-bottom: 10px;
}

.tag-pill {
    font-size: 0.6rem;
    text-transform: uppercase;
    background: var(--navy);
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.pod-card-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--navy-dark);
    height: 2.6em;
    /* Limit to 2 lines */
    overflow: hidden;
}

.pod-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Floating Glass Player */
.floating-player-glass {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(21, 5, 26, 0.9);
    /* Dark Purple/Black base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: white;
}

.player-glass-grid {
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 30px;
}

.pg-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pg-art {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-bars {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 15px;
}

.music-bars span {
    width: 3px;
    background: var(--navy-dark);
    animation: bounce 1s infinite;
}

.music-bars span:nth-child(2) {
    animation-delay: 0.2s;
    height: 60%;
}

.music-bars span:nth-child(3) {
    animation-delay: 0.4s;
    height: 80%;
}

@keyframes bounce {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

.pg-text h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.pg-text p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.pg-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pg-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.1rem;
}

.pg-btn:hover {
    color: white;
}

.pg-btn.play {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.pg-btn.play:hover {
    transform: scale(1.1);
}

.pg-progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: #888;
}

.pg-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
}

.pg-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #fff);
    border-radius: 2px;
    position: relative;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.pg-scrubber {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.pg-icon {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.1rem;
}

.pg-icon:hover {
    color: white;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .podcast-grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .podcast-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-glass-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .podcast-grid-5 {
        grid-template-columns: 1fr;
    }

    /* Reduce Hero Font Size */
    .hero-content-modern h1 {
        font-size: 1.8rem;
        /* Much smaller than 3.5rem */
        line-height: 1.2;
    }

    .hero-content-modern p {
        font-size: 0.9rem;
    }

    .hero-art-modern {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }

    /* Floating Player Mobile */
    .floating-player-glass {
        bottom: 15px;
        width: 95%;
        padding: 10px 15px;
        border-radius: 12px;
    }

    /* Hide less important player elements */
    .pg-progress-container,
    .pg-actions {
        display: none;
    }

    .player-glass-grid {
        grid-template-columns: 1fr auto;
        /* Info + Play Button */
        gap: 10px;
    }

    .pg-controls {
        display: flex;
        align-items: center;
        width: auto;
    }

    .pg-buttons {
        gap: 15px;
    }

    /* Hide Rewind/Forward on very small screens if needed, 
       but keeping them for now is better UX */
    .pg-btn.sm {
        font-size: 1rem;
    }

    .pg-art {
        width: 60px;
        height: 40px;
    }

}

/* --- Visit Page Hero Responsive Typography --- */
.visit-hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    /* Responsive scaling */
    line-height: 1.1;
    margin-bottom: 10px;
    padding: 0 15px;
    color: var(--white);
    /* Ensure white text */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Improve readability */
}

.visit-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-family: var(--font-heading);
    padding: 0 15px;
    color: var(--gold);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Ensure container has padding on mobile */
@media (max-width: 600px) {
    .page-hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- Modern Visit Page & Form --- */
.visit-section {
    position: relative;
    overflow: hidden;
}

.form-container-glass {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    /* Glass Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.input-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.input-modern {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.input-modern:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* Fix for autofill background color */
.input-modern:-webkit-autofill,
.input-modern:-webkit-autofill:hover,
.input-modern:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--white);
    -webkit-box-shadow: 0 0 0px 1000px #0a0a0a inset;
    transition: background-color 5000s ease-in-out 0s;
}

.label-modern {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: 0.3s ease all;
    background: transparent;
    padding: 0 5px;
}

/* Floating Label Logic */
.input-modern:focus~.label-modern,
.input-modern:not(:placeholder-shown)~.label-modern,
.label-modern.active {
    top: 0;
    left: 10px;
    font-size: 0.75rem;
    color: var(--gold);
    background: var(--navy);
    /* Match bg to hide border line behind label */
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-gold-gradient {
    background: linear-gradient(135deg, var(--gold), #eecf6d);
    color: var(--navy-dark);
    border: none;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-gold-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.full-width {
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .form-container-glass {
        padding: 30px 20px;
    }
}