/* ===== CSS Variables ===== */
:root {
    --primary-dark: #0f1629;
    --primary-blue: #2c5282;
    --primary-blue-hover: #3182ce;
    --accent-blue: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(59, 130, 246, 0.25);
    --card-bg: rgba(44, 82, 130, 0.12);
    --nav-height: 70px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 22, 41, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 20px;
    transition: var(--transition);
}

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

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

.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link[aria-current="page"] {
    color: var(--text-primary);
}

.nav-link[aria-current="page"]::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 64px);
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    /* Shared background image */
    background-image: url("../assets/Background-banner-two.webp");
    background-size: cover;
    background-position: 55% center;
    background-attachment: scroll;
    image-rendering: -webkit-optimize-contrast;
    will-change: transform;
    contain: paint;
}

/* Load full-resolution image on desktop */
@media (min-width: 1024px) {
    .hero-bg-wrapper {
        background-image: url("../assets/Background-banner-two.webp");
        background-position: center;
    }
}

/* Enable fixed background on desktop */
@media (min-width: 1024px) and (hover: hover) {
    .hero-bg-wrapper {
        background-attachment: fixed;
    }
}


.hero-logo {
    position: absolute;
    top: 80px;
    left: 120px;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

.hero-logo img {
    height: clamp(500px, 65vh, 800px);
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    will-change: auto;
    content-visibility: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height));
}

.hero-text {
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: clamp(500px, 60vh, 700px);
}

/* ===== Buttons ===== */
.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-retry {
    margin-top: 1rem;
    padding: 10px 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-retry:hover {
    background: var(--primary-blue-hover);
}

/* ===== Content Sections ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about,
.episodes,
.subscribe {
    padding: 100px 0;
}

.about {
    background: linear-gradient(135deg, #1a2332 0%, #1e3a5f 100%);
}

.episodes {
    background: var(--primary-dark);
}

.subscribe {
    background: linear-gradient(135deg, #1e3a5f 0%, #1a2332 100%);
}

/* ===== About Section ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

/* New About layout */
.about-content { display: block; }
.about-intro {
    max-width: 820px;
    margin: 0 auto 1.5rem;
    text-align: center;
}
.about-heading {
    margin-bottom: 0.35rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.about-intro .lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.2px;
    opacity: 0.95;
}
.about-divider {
    width: 80px;
    height: 2px;
    background: var(--accent-blue);
    opacity: 0.8;
    border-radius: 2px;
    margin: 1rem auto 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text p.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* About highlights */
.about-heading {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    margin-bottom: 0.5rem;
}

.about-sub {
    color: var(--text-secondary);
    margin-top: -0.25rem;
}

/* Icon feature grid */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .feature-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }
}

.feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    padding: 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    align-items: start;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.feature-title {
    font-size: 1.02rem;
    margin-bottom: 0.25rem;
}

.feature-body p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.7;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
}

.highlight-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.7;
}

/* Desktop spacing refinements */
@media (min-width: 992px) {
    .about { padding: 68px 0; }
    .about .section-title { margin-bottom: 1.25rem; }
    .about-intro { max-width: 900px; }
    .about-heading { font-size: 2.6rem; }
    .about-intro .lead { font-size: 1rem; }
}

@media (min-width: 1200px) {
    .feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.stat {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Episodes Grid ===== */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.episode-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
}

.episode-thumbnail {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--primary-dark);
}

.episode-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.episode-card:hover .episode-thumbnail::after {
    opacity: 1;
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, filter 0.3s ease;
    display: block;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.episode-card:hover .play-button {
    background: rgba(220, 38, 38, 0.95);
    transform: translate(-50%, -50%) scale(1.15);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.episode-content {
    padding: 1.5rem;
}

.episode-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.episode-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.episode-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.episode-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.episode-link:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

/* ===== Subscribe Section ===== */
.subscribe {
    text-align: center;
}

.subscribe-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.subscribe-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.subscribe-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.subscribe-btn.apple-podcasts:hover {
    background: #9933cc;
    border-color: #9933cc;
}

.subscribe-btn.spotify:hover {
    background: #1db954;
    border-color: #1db954;
}

.subscribe-btn.twitter:hover {
    background: #000000;
    border-color: #000000;
}

.subscribe-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.subscribe-btn.email:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.podcast-icon {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* ===== Footer ===== */
.footer {
    background: #0a0f1b;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-primary);
}

/* ===== Donate Page ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.donate-hero {
    position: relative;
    padding: calc(var(--nav-height) + 80px) 0 160px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.35), transparent 55%), linear-gradient(135deg, #151f34 0%, #0f1629 60%, #121c30 100%);
    overflow: hidden;
}

.donate-hero .container {
    position: relative;
    z-index: 2;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../assets/Background-banner-two.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    filter: blur(4px);
    transform: scale(1.05);
}

.donate-hero-copy {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.donate-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 0.5px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.donate-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.donate-hero .hero-tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hero-points {
    display: grid;
    gap: 0.75rem;
}

.hero-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(15, 22, 41, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-point:hover,
.hero-point:focus-within {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(44, 82, 130, 0.4);
}

.hero-point:hover .point-icon,
.hero-point:focus-within .point-icon {
    background: rgba(59, 130, 246, 0.55);
}

.point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.35);
    border: 1px solid rgba(59, 130, 246, 0.45);
}

.point-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--text-primary);
}

.donation-section {
    background: linear-gradient(160deg, #10192c 0%, #0b1425 100%);
    padding: 120px 0;
}

.donation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: flex-start;
}

/* Centered single-column layout (used on simplified donate page) */
.donation-grid.center {
    /* Force a single centered column */
    grid-template-columns: 1fr;
    justify-items: center;
    /* Also support hosts/browsers where grid centering gets offset */
    display: flex;
    justify-content: center;
}

.donation-grid.center .donation-card {
    max-width: 640px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.donation-card {
    background: rgba(15, 22, 41, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.donation-card h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.donation-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.group-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.amount-options,
.frequency-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: rgba(12, 21, 38, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 0.75rem;
}

.amount-option,
.frequency-option {
    flex: 1 0 100px;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(12, 21, 38, 0.7);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.amount-option:hover,
.amount-option:focus,
.frequency-option:hover,
.frequency-option:focus {
    outline: none;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.amount-option.active,
.frequency-option.active {
    background: var(--primary-blue);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.custom-amount {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(12, 21, 38, 0.7);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    flex: 1 0 140px;
}

.custom-amount input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    width: 100%;
}

.custom-amount input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.custom-amount input:focus {
    outline: none;
}

.currency {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.field-row .field:nth-child(1),
.field-row .field:nth-child(2) {
    grid-column: span 1;
}

.donation-form .field-row:nth-of-type(1) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field label {
    font-weight: 600;
    font-size: 0.9rem;
}

.field input,
.field textarea {
    background: rgba(12, 21, 38, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.input-with-badges {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-badges input {
    width: 100%;
}

.card-brands {
    position: absolute;
    right: 10px;
    display: flex;
    gap: 0.35rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(12, 21, 38, 0.5);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

.field-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.stripe-payment-element {
    background: rgba(12, 21, 38, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stripe-payment-element.focused {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.payment-message {
    min-height: 1.5rem;
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.payment-message.success {
    color: #6ee7b7;
}

.payment-message.error {
    color: #fca5a5;
}

.payment-message.info {
    color: rgba(255, 255, 255, 0.65);
}

.field-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(12, 21, 38, 0.6);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.field-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.donate-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.donate-submit .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: rgba(255, 255, 255, 0.85);
    animation: spin 1s linear infinite;
}

.donate-submit.loading .btn-spinner {
    display: inline-block;
}

.donate-submit.loading .btn-label {
    opacity: 0.6;
}

.donation-form.is-processing {
    opacity: 0.8;
    pointer-events: none;
}

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

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        opacity: 0.55;
        transform: translate3d(0, 12px, 0) scale(1.05);
    }
    100% {
        opacity: 0.3;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes heroDrift {
    0% {
        transform: scale(1.05) translate3d(-8px, -4px, 0);
    }
    50% {
        transform: scale(1.08) translate3d(6px, 6px, 0);
    }
    100% {
        transform: scale(1.05) translate3d(-10px, 4px, 0);
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

.donation-security {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.donation-aside {
    background: rgba(12, 21, 38, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 18px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.wallet-copy {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(15, 22, 41, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.wallet-option:hover,
.wallet-option:focus {
    outline: none;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.wallet-option.active,
.wallet-option[aria-expanded="true"] {
    background: rgba(44, 82, 130, 0.6);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
}

.wallet-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wallet-details {
    background: rgba(15, 22, 41, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    min-height: 110px;
}

.wallet-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.wallet-note {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.thank-you-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 44, 78, 0.92), rgba(12, 21, 38, 0.94));
    padding: 9rem 0 6rem;
    overflow: hidden;
}

.thank-you-hero::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: -20%;
    right: -15%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, transparent 65%);
    filter: blur(12px);
    animation: glowPulse 8s ease-in-out infinite;
}

.thank-you-hero .hero-bg-overlay {
    opacity: 0.28;
    filter: blur(6px);
    animation: heroDrift 18s ease-in-out infinite alternate;
    will-change: transform;
}

.thank-you-container {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    position: relative;
    z-index: 2;
}

.thank-you-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 560px;
    animation: slideUp 0.8s ease-out both;
}

.thank-you-badge {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(59, 130, 246, 0.32), rgba(110, 231, 183, 0.32));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6ee7b7;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.35);
    backdrop-filter: blur(10px);
    animation: floatBadge 5s ease-in-out infinite;
    z-index: 1;
}

.thank-you-badge svg {
    width: 28px;
    height: 28px;
}

.thank-you-copy h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.2;
}

.thank-you-summary {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.thank-you-aside {
    background: rgba(12, 21, 38, 0.78);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    animation: fadeIn 1s ease-out 0.25s both;
}

.thank-you-aside h2 {
    font-size: 1.5rem;
}

.impact-highlight {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.18);
    animation: slideUp 0.9s ease-out 0.1s both;
}

.impact-highlight h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.impact-highlight p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.thank-you-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.98rem;
    animation: fadeIn 1.1s ease-out 0.35s both;
    list-style: none;
    padding: 0;
    margin: 0;
}

.thank-you-list li {
    position: relative;
    padding-left: 1.4rem;
}

.thank-you-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: rgba(110, 231, 183, 0.9);
    box-shadow: 0 0 10px rgba(110, 231, 183, 0.5);
}

.next-steps-card {
    background: rgba(19, 31, 55, 0.75);
    border: 1px solid rgba(110, 231, 183, 0.35);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 16px 36px rgba(110, 231, 183, 0.18);
    animation: fadeIn 1.2s ease-out 0.45s both;
}

.next-steps-card h3 {
    font-size: 1.2rem;
}

.next-steps-list {
    counter-reset: steps;
    display: grid;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps-list li {
    position: relative;
    padding-left: 2.2rem;
    line-height: 1.5;
}

.next-steps-list li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
}


.donor-impact h4 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.donor-impact ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.donor-impact li::before {
    content: '-';
    margin-right: 0.5rem;
    color: var(--accent-blue);
}

.donation-guarantee {
    background: linear-gradient(135deg, #0d1628 0%, #101b31 100%);
    padding: 100px 0;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.guarantee-card {
    background: rgba(12, 21, 38, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.guarantee-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.guarantee-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Loading States ===== */
.loading-state,
.error-state {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border: 3px solid rgba(59, 130, 246, 0.1);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* ===== Responsive Design ===== */
@media (prefers-reduced-motion: reduce) {
    .thank-you-hero::after,
    .thank-you-hero .hero-bg-overlay,
    .thank-you-copy,
    .thank-you-aside,
    .thank-you-badge,
    .impact-highlight,
    .thank-you-list,
    .next-steps-card {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
    
    .nav-container {
        height: var(--nav-height);
    }
    
    .nav-logo,
    .nav-menu {
        margin-top: 0;
    }
    
    .nav-logo img {
        height: 40px;
        margin-top: 0;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-menu {
        position: static;
        flex-direction: row;
        padding: 0;
        gap: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }
    
    .nav-menu.active {
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero-logo img {
        height: 400px;
        filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
    }
    
    /* Mobile-specific optimizations */
    .hero-bg-wrapper {
        background-attachment: scroll;
        background-size: cover;
        background-position: 52% center;
        will-change: auto;
    }
    
    /* Reduce animations on mobile */
    .episode-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .episode-thumbnail img {
        transition: none;
    }
    
    .episode-card:hover .episode-thumbnail img {
        transform: none;
    }
    
    /* Reduce shadow complexity on mobile */
    .btn-primary,
    .btn-secondary {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .navbar {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    /* Disable expensive effects on mobile */
    .play-button {
        backdrop-filter: none;
    }
    
    .btn-secondary {
        backdrop-filter: none;
    }
    
    .hero-tagline {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        margin-top: clamp(350px, 45vh, 550px);
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-links {
        flex-direction: column;
        align-items: center;
    }
    
    .subscribe-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .donate-hero {
        padding: calc(var(--nav-height) + 50px) 0 100px;
    }

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

    .donation-card,
    .donation-aside {
        padding: 1.75rem;
    }

    .thank-you-hero {
        padding: 7rem 0 4.5rem;
    }

    .thank-you-container {
        grid-template-columns: 1fr;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .thank-you-copy {
        align-items: center;
        text-align: center;
    }

    .thank-you-badge {
        margin: 0 auto 0.75rem;
    }

    .thank-you-aside {
        order: 2;
    }

    .impact-highlight,
    .next-steps-card {
        padding: 1.25rem;
    }

    .next-steps-list li {
        padding-left: 2rem;
    }

    .next-steps-list li::before {
        width: 1.4rem;
        height: 1.4rem;
    }

    .field-row,
    .donation-form .field-row:nth-of-type(1) {
        grid-template-columns: 1fr;
    }

    .amount-options,
    .frequency-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .amount-option,
    .frequency-option {
        padding: 0.55rem 0.85rem;
        font-size: 0.9rem;
        flex: unset;
        width: 100%;
        justify-self: stretch;
    }

    .custom-amount {
        padding: 0.55rem 0.75rem;
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: center;
    }

    .guarantee-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 0.8rem;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .feature-title {
        font-size: 0.9rem;
    }
    
    .feature-body p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        left: 0px;
        top: 100px;
    }
    
    .hero-logo img {
        height: clamp(300px, 45vh, 500px);
    }
}
