* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-color: #EC489A;
    --secondary-dark: #DB2777;
    --background-dark: #0A0A0F;
    --background-card: #14141A;
    --background-card-hover: #1A1A22;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --border-color: #27272A;
    --success: #10B981;
    --success-dark: #059669;
    --danger: #EF4444;
    --danger-dark: #DC2626;
    --warning: #F59E0B;
    --info: #3B82F6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ==================== TYPOGRAPHY ==================== */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.admin-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.08));
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 2rem;
}

/* ==================== CATEGORY FILTERS ==================== */
.category-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-btn:hover {
    background: var(--background-card-hover);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

/* ==================== FEATURED TABS ==================== */
.featured-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* ==================== CONTAINER & GRID ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ==================== EPISODE CARDS ==================== */
.episode-card {
    background: var(--background-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.episode-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.episode-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.episode-info {
    padding: 1.5rem;
}

.episode-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.episode-category {
    background: rgba(139, 92, 246, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    color: var(--primary-light);
    font-weight: 500;
}

.play-icon {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.play-icon::before {
    content: '▶';
    font-size: 0.625rem;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--background-card);
    margin: 5% auto;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-large {
    max-width: 600px;
    width: 90%;
}

.modal-player {
    max-width: 700px;
    width: 90%;
}

.modal-small {
    max-width: 400px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.close,
.close-delete {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.close:hover,
.close-delete:hover {
    color: var(--danger);
}

/* ==================== PLAYER ==================== */
.player-container {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
}

.player-artwork {
    flex-shrink: 0;
}

.player-artwork img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
}

.player-info {
    flex: 1;
}

.player-category {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.player-description {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.6;
}

#audio-player {
    width: 100%;
    margin: 1rem 0;
    border-radius: 8px;
}

.player-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .player-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .player-artwork img {
        width: 150px;
        height: 150px;
    }
}

/* ==================== ADMIN STYLES ==================== */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-title h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.admin-title p {
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.episodes-table-container {
    background: var(--background-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.table-header h2 {
    font-size: 1.25rem;
}

.table-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input,
.filter-select {
    padding: 0.5rem 1rem;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.table-wrapper {
    overflow-x: auto;
}

.episodes-table {
    width: 100%;
    border-collapse: collapse;
}

.episodes-table th,
.episodes-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.episodes-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    background: var(--background-dark);
}

.episodes-table tr:hover {
    background: rgba(139, 92, 246, 0.05);
}

.thumbnail-cell img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-published {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status-draft {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    padding: 0.375rem 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-edit {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.btn-edit:hover {
    background: var(--info);
    color: white;
}

.btn-delete {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.btn-delete:hover {
    background: var(--danger);
    color: white;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--background-card-hover);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.warning-text {
    color: var(--warning);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ==================== LOADING STATES ==================== */
.loading-state,
.loading-state-small {
    text-align: center;
    padding: 4rem;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-spinner-small {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--background-card);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-header {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .table-controls {
        flex-direction: column;
    }
}
/* Admin Modal Improvements */
.modal-large {
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    position: sticky;
    top: 0;
    background: var(--background-card);
    z-index: 10;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-large {
        max-width: 95%;
    }
}

/* Admin Table Responsive */
@media (max-width: 768px) {
    .episodes-table th:nth-child(3),
    .episodes-table td:nth-child(3),
    .episodes-table th:nth-child(4),
    .episodes-table td:nth-child(4),
    .episodes-table th:nth-child(5),
    .episodes-table td:nth-child(5),
    .episodes-table th:nth-child(6),
    .episodes-table td:nth-child(6) {
        display: none;
    }
}
/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 2rem;
}

.about-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

/* Support Page */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.support-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.support-card h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mpesa-details {
    margin: 1.5rem 0;
}

.detail-item {
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--background-dark);
    border-radius: 8px;
}

.highlight {
    float: right;
    font-weight: bold;
    color: var(--primary-color);
}

.note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.support-list {
    list-style: none;
    padding: 0;
}

.support-list li {
    padding: 0.5rem 0;
}

.support-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-card);
    border-radius: 16px;
}

/* Privacy Page */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.privacy-section ul {
    margin-left: 1.5rem;
}

.privacy-section li {
    margin: 0.5rem 0;
}

/* Subscribe Page */
.subscribe-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subscribe-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.subscribe-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.subscribe-form input {
    width: 100%;
}

.note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Community Page */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.community-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.community-card h2 {
    margin-bottom: 1rem;
}

.community-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.community-events {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.community-events h2 {
    margin-bottom: 1.5rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--background-dark);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-date {
    font-weight: bold;
    color: var(--primary-color);
}

.event-name {
    flex: 1;
}

.event-time {
    color: var(--text-secondary);
}

.testimonials {
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    color: var(--primary-color);
    font-style: normal;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
}
/* Android Mobile Optimizations */
@media (max-width: 768px) {
  /* Larger touch targets */
  .filter-btn,
  .tab-btn,
  .btn-primary,
  .btn-secondary,
  .episode-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Improved scrolling */
  .episodes-grid {
    scroll-behavior: smooth;
  }
  
  /* Prevent zoom on input focus */
  input, select, textarea, button {
    font-size: 16px !important;
  }
  
  /* Bottom navigation for mobile */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-card);
    border-top: 1px solid var(--border-color);
    padding: 0.5rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
  }
  
  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
  }
  
  .mobile-nav-item.active,
  .mobile-nav-item:hover {
    color: var(--primary-color);
  }
  
  .mobile-nav-item span:first-child {
    font-size: 1.25rem;
  }
  
  /* Add padding for fixed bottom nav */
  body {
    padding-bottom: 70px;
  }
}

/* Touch-friendly buttons */
button, 
.filter-btn, 
.episode-card,
.nav-links a {
  touch-action: manipulation;
}

/* Swipe gestures for modal */
.modal {
  touch-action: pan-y pinch-zoom;
}

/* Better audio player on mobile */
#audio-player {
  width: 100%;
  position: sticky;
  bottom: 0;
  background: var(--background-card);
  padding: 1rem;
  border-radius: 16px;
  margin: 0;
}

/* Install prompt styling */
.install-prompt {
  position: fixed;
  bottom: 80px;
  left: 1rem;
  right: 1rem;
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  display: none;
  z-index: 1001;
  animation: slideUp 0.3s ease;
  backdrop-filter: blur(10px);
}

.install-prompt.show {
  display: block;
}

.install-prompt-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.install-prompt button {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Safe area for notches */
@supports (padding: max(0px)) {
  body {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  
  .navbar {
    padding-top: max(1rem, env(safe-area-inset-top));
  }
  
  .mobile-bottom-nav {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
}