/* 
========================================================================
   GLOBAL REVIVAL PRAYER - DESIGN SYSTEM & STYLESHEET
========================================================================
*/

/* 1. CSS VARIABLES & THEME TOKENS */
:root {
    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Cinzel', serif;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shared dimensions */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --max-width: 1200px;
}

/* Dark Theme (Default) */
[data-theme="dark"] {
    --bg-primary: #030712;
    --bg-secondary: #090e1c;
    --bg-tertiary: #111827;
    
    --text-primary: #f5f4f0;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-gold: #e5b73b;
    --accent-gold-hover: #d4a52e;
    --accent-gold-glow: rgba(229, 183, 59, 0.3);
    
    --accent-fire: #f26e1d;
    --accent-fire-glow: rgba(242, 110, 29, 0.25);
    
    --glass-bg: rgba(9, 15, 30, 0.65);
    --glass-border: rgba(229, 183, 59, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    
    --nav-bg: rgba(3, 7, 18, 0.8);
    --spotlight-1: rgba(9, 27, 64, 0.7);
    --spotlight-2: rgba(242, 110, 29, 0.08);
    --spotlight-3: rgba(229, 183, 59, 0.06);

    --border-color: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(9, 14, 28, 0.8);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #fafaf9;
    --bg-secondary: #f4f4f2;
    --bg-tertiary: #e7e6e2;
    
    --text-primary: #1c1d21;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --accent-gold: #c69324;
    --accent-gold-hover: #a5781a;
    --accent-gold-glow: rgba(198, 147, 36, 0.25);
    
    --accent-fire: #d9540b;
    --accent-fire-glow: rgba(217, 84, 11, 0.15);
    
    --glass-bg: rgba(244, 244, 242, 0.85);
    --glass-border: rgba(198, 147, 36, 0.25);
    --glass-shadow: rgba(0, 0, 0, 0.08);
    
    --nav-bg: rgba(250, 250, 249, 0.9);
    --spotlight-1: rgba(198, 147, 36, 0.05);
    --spotlight-2: rgba(217, 84, 11, 0.04);
    --spotlight-3: rgba(255, 255, 255, 0.5);

    --border-color: rgba(0, 0, 0, 0.08);
    --input-bg: rgba(255, 255, 255, 0.95);
}

/* 2. BASE STYLES & RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color var(--transition-medium), color var(--transition-medium);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button, input, textarea {
    font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* 3. LAYOUT & GRID CONTAINERS */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.title-bar {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

.section-header.align-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
.section-header.align-left .title-bar {
    margin-left: 0;
}

/* Glassmorphism Panel base */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px var(--glass-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #b88d1d);
    color: #030712;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 183, 59, 0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Form input elements */
.form-group {
    margin-bottom: 24px;
    text-align: left;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(229, 183, 59, 0.15);
}

/* 4. CINEMATIC BACKDROP LIGHTS */
.spotlight {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}
.spotlight-1 {
    width: 60vw;
    height: 60vw;
    background: var(--spotlight-1);
    top: -10vw;
    left: -10vw;
    animation: pulseSpotlight 25s infinite alternate ease-in-out;
}
.spotlight-2 {
    width: 40vw;
    height: 40vw;
    background: var(--spotlight-2);
    top: 30vh;
    right: -5vw;
    animation: pulseSpotlight 18s infinite alternate-reverse ease-in-out;
}
.spotlight-3 {
    width: 50vw;
    height: 50vw;
    background: var(--spotlight-3);
    bottom: 5vh;
    left: 20vw;
    animation: rotateSpotlight 35s infinite linear;
}

@keyframes pulseSpotlight {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    100% { transform: scale(1.15) translate(5%, 3%); opacity: 0.95; }
}
@keyframes rotateSpotlight {
    0% { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(2%, 4%); }
    100% { transform: rotate(360deg) translate(0, 0); }
}

/* 5. HEADER & NAVIGATION */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-medium);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-fast);
}

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

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

.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Sound/Ambient Player Widget */
.ambient-player {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0 8px 0 0;
    height: 40px;
}
.ambient-player .control-btn {
    border: none;
}
.audio-slider-container {
    width: 60px;
    display: flex;
    align-items: center;
    transition: width var(--transition-fast);
}
#audio-volume {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}
#audio-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-gold);
}

/* Visualizer bars */
.visualizer {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    width: 16px;
}
.visualizer span {
    width: 2.5px;
    background: var(--accent-gold);
    border-radius: 1px;
    animation: bounceVisualizer 1s infinite alternate;
}
.visualizer span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.visualizer span:nth-child(2) { height: 10px; animation-delay: 0.3s; }
.visualizer span:nth-child(3) { height: 6px; animation-delay: 0s; }
.visualizer span:nth-child(4) { height: 12px; animation-delay: 0.2s; }

@keyframes bounceVisualizer {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Language selector drop */
.lang-selector {
    position: relative;
}
#lang-btn {
    gap: 4px;
    padding: 0 10px;
    width: auto;
}
.lang-code {
    font-size: 0.75rem;
    font-weight: 700;
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    min-width: 110px;
    z-index: 100;
}
.lang-dropdown button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 10px 14px;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.lang-dropdown button:hover {
    background: var(--glass-border);
    color: var(--accent-gold);
}

/* Theme Icons switch */
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

/* Mobile navigation Drawer */
.mobile-nav {
    display: none;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 999;
}
.mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 0;
}

/* 6. HERO SECTION & CONTROLLERS */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.hero-backdrop-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Cinematic Dark overlays simulating worship environments */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(9, 27, 64, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(242, 110, 29, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, rgba(3, 7, 12, 0.2) 0%, var(--bg-primary) 100%);
    z-index: 2;
}

/* Particle Canvas Container */
.fire-embers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 183, 59, 0.08);
    border: 1px solid rgba(229, 183, 59, 0.25);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
    animation: glowPulse 2s infinite alternate;
}
@keyframes glowPulse {
    0% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 0 rgba(229, 183, 59, 0); }
    100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 8px 4px var(--accent-gold-glow); }
}
.badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
}
.glow-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 75%, var(--accent-fire) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(229, 183, 59, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Counter Panel */
.hero-counter-panel {
    display: flex;
    justify-content: flex-end;
}
.counter-glow-box {
    background: rgba(9, 14, 28, 0.7);
    border: 1px solid rgba(229, 183, 59, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}
.counter-glow-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(229,183,59,0.1), transparent 70%);
    pointer-events: none;
}
.counter-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.counter-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(229, 183, 59, 0.2);
}
.counter-value .digit {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    min-width: 50px;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pulse-dot-green {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDotGreen 1.5s infinite alternate;
}
@keyframes pulseDotGreen {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}
.counter-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* 7. BIBLE VERSE ROTATOR */
.scripture-banner-section {
    background: linear-gradient(90deg, rgba(9, 14, 28, 0.9) 0%, rgba(229, 183, 59, 0.08) 50%, rgba(9, 14, 28, 0.9) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.scripture-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 24px;
}
.scripture-slider {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scripture-slide {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}
.scripture-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.verse-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
}
.verse-reference {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
}

/* 8. ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    padding: 40px 30px;
    text-align: left;
}
.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(229,183,59,0.06);
}
.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-sm);
    background: rgba(229, 183, 59, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.about-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}
.about-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Highlight Quote Panel */
.scripture-highlight-panel {
    background: radial-gradient(circle at 50% 50%, rgba(9, 27, 64, 0.6) 0%, rgba(3, 7, 18, 0.8) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto 0 auto;
}
.scripture-highlight-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold-glow) 0%, transparent 60%);
    pointer-events: none;
}
.quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    color: rgba(229, 183, 59, 0.15);
    position: absolute;
    top: -10px;
    left: 20px;
}
.scripture-highlight-panel blockquote {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.scripture-highlight-panel cite {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    position: relative;
    z-index: 2;
}

/* 9. MINISTRIES SECTION */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ministry-card {
    position: relative;
    padding: 40px 30px;
    overflow: hidden;
}
.ministry-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(229,183,59,0.08);
}
.ministry-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(229, 183, 59, 0.05) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-medium);
}
.ministry-card:hover .ministry-card-glow {
    opacity: 1;
}
.ministry-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(229, 183, 59, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.ministry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.ministry-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 10. EVENTS & COUNTDOWN */
.events-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.timeline-item {
    display: flex;
    gap: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.timeline-item:hover {
    transform: translateX(6px);
    border-color: var(--accent-gold);
}
.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    background: rgba(229, 183, 59, 0.08);
    border: 1px solid rgba(229, 183, 59, 0.25);
    color: var(--accent-gold);
}
.timeline-date .day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}
.timeline-date .month {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.timeline-info {
    text-align: left;
}
.event-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    background: rgba(229, 183, 59, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.event-tag.conferences {
    color: var(--accent-fire);
    background: rgba(242, 110, 29, 0.08);
}
.event-tag.school {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}
.timeline-info h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.event-details {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Right Countdown panel */
.countdown-panel {
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.countdown-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
}
.live-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(242, 110, 29, 0.08);
    border: 1px solid rgba(242, 110, 29, 0.2);
    color: var(--accent-fire);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}
.countdown-event-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.countdown-event-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Timer Grids */
.timer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.timer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
}
.time-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1.1;
    margin-bottom: 4px;
}
.time-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* 11. LIVESTREAM & simulated CHAT */
.livestream-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    overflow: hidden;
    margin-top: 40px;
}

.stream-main {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--border-color);
}
.simulated-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.8);
}
.video-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}
.video-live-badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: flash 1s infinite alternate;
}
@keyframes flash {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}
.video-viewers {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}
.video-worship-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #091326 0%, #180926 50%, #0d041c 100%);
    cursor: pointer;
}
.worship-light-beam {
    position: absolute;
    width: 250px;
    height: 600px;
    background: radial-gradient(ellipse at bottom, rgba(229,183,59,0.12), transparent 70%);
    transform: rotate(25deg);
    bottom: -100px;
    left: 10%;
    filter: blur(10px);
}
.video-centered-info {
    z-index: 5;
    text-align: center;
    color: #fff;
}
.play-pulsing-icon {
    margin-bottom: 16px;
    animation: pulsePlayBtn 2s infinite ease-in-out;
}
@keyframes pulsePlayBtn {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 15px var(--accent-gold)); }
    100% { transform: scale(1); }
}
.video-centered-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.video-centered-info p {
    font-size: 0.85rem;
    color: #9ca3af;
}

.stream-actions {
    display: flex;
    gap: 12px;
}

/* Chat block side */
.stream-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(9, 14, 28, 0.4);
}
.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
}
.chat-status {
    font-size: 0.68rem;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}
.chat-status::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #10b981;
    border-radius: 50%;
}
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 250px;
    text-align: left;
}
.chat-msg {
    font-size: 0.85rem;
    line-height: 1.4;
}
.chat-user {
    display: block;
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 0.78rem;
    margin-bottom: 2px;
}
.chat-text {
    color: var(--text-secondary);
}
.chat-input-wrapper {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    background: var(--bg-tertiary);
}
.chat-input-wrapper input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    outline: none;
}
.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    background: var(--accent-gold);
    color: #030712;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.chat-send-btn:hover {
    background: var(--accent-gold-hover);
}

/* 12. GLOBAL MAP SECTION & CANVAS */
.map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
    margin-top: 40px;
    background: radial-gradient(circle at center, #091126 0%, #030712 100%);
}

#interactive-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.map-overlay-stats {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: center;
    gap: 40px;
    pointer-events: none;
    z-index: 10;
}
.stat-node {
    background: rgba(9,15,30,0.85);
    border: 1px solid rgba(229,183,59,0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-gold);
}
.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* 13. TESTIMONIES CAROUSEL */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
}
.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}
.carousel-track {
    display: flex;
    transition: transform var(--transition-medium);
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 10px;
}

.testimony-card {
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.testimony-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(229,183,59,0.06), transparent 70%);
    pointer-events: none;
}
.testimony-user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-fire), var(--accent-gold));
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030712;
    font-weight: 700;
    font-size: 0.95rem;
}
.testimony-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
}
.testimony-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}
.testimony-author {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}
.carousel-nav:hover {
    background: var(--accent-gold);
    color: #030712;
}
.carousel-nav.prev { left: -60px; }
.carousel-nav.next { right: -60px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.carousel-indicators .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.carousel-indicators .dot.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 4px;
}

/* 14. PRAYER REQUEST FORM */
.prayer-request-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.prayer-request-info {
    text-align: left;
}
.prayer-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}
.reassurance-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(229,183,59,0.03);
    border-color: rgba(229,183,59,0.15);
}
.shield-icon {
    font-size: 1.8rem;
}
.reassurance-box h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.reassurance-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.prayer-request-form-container {
    padding: 40px;
}

/* Button Spinners on submitting Form */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.15);
    border-radius: 50%;
    border-top-color: #030712;
    animation: spin 0.8s infinite linear;
}
.spinner.hidden { display: none; }
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 15. DONATIONS & SOWING */
.donation-section {
    position: relative;
    background: radial-gradient(circle at center, rgba(9, 27, 64, 0.95) 0%, #030712 100%);
    overflow: hidden;
}
.donation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 40%, var(--bg-primary) 100%);
    z-index: 1;
}

.donation-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}
.donation-card {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.donation-card.highlight {
    background: rgba(229, 183, 59, 0.05);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(229,183,59,0.12);
}
.best-value-tag {
    position: absolute;
    top: -12px;
    background: linear-gradient(135deg, var(--accent-fire), var(--accent-gold));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.1em;
}
.donation-card h3 {
    font-size: 1.45rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
}
.donation-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    flex: 1;
}
.donation-card .btn {
    width: 100%;
}

/* 16. FOOTER */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    position: relative;
    z-index: 10;
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-brand {
    text-align: left;
}
.footer-brand .brand {
    margin-bottom: 20px;
}
.footer-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}
.social-links a:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(229,183,59,0.08);
    transform: translateY(-2px);
}

.footer-links {
    text-align: left;
}
.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-newsletter {
    text-align: left;
}
.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.newsletter-form {
    display: flex;
}
.newsletter-form input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-right: none;
    color: var(--text-primary);
    padding: 10px 14px;
    border-top-left-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
    font-size: 0.88rem;
    outline: none;
}
.newsletter-form button {
    background: var(--accent-gold);
    color: #030712;
    border: none;
    padding: 0 16px;
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 700;
    transition: background var(--transition-fast);
}
.newsletter-form button:hover {
    background: var(--accent-gold-hover);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 17. TOAST NOTIFICATIONS */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 250px;
    animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: opacity 0.3s ease;
}
@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* 18. SCROLL INTERACTION AND REVEALS */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
[data-scroll].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 19. RESPONSIVE MEDIA QUERIES */

/* Tablet (Large) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-counter-panel {
        justify-content: center;
    }
    .counter-glow-box {
        max-width: 450px;
    }
    .about-grid, .ministries-grid, .donation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .events-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .livestream-container {
        grid-template-columns: 1fr;
    }
    .stream-main {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .carousel-nav.prev { left: -20px; }
    .carousel-nav.next { right: -20px; }
}

/* Mobile (Landscape & Port) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .desktop-nav {
        display: none;
    }
    .about-grid, .ministries-grid, .donation-grid {
        grid-template-columns: 1fr;
    }
    .prayer-request-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline-date {
        flex-direction: row;
        width: 100%;
        height: auto;
        padding: 8px;
        gap: 12px;
    }
    .timeline-date .day { font-size: 1.2rem; }
    .timeline-date .month { font-size: 0.8rem; }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .map-overlay-stats {
        flex-direction: column;
        gap: 12px;
        bottom: 12px;
        left: 12px;
        right: 12px;
    }
    .carousel-nav {
        display: none;
    }
}
