/* ==========================================================================
   🎨 MusiChris Studio Radio - Master Premium Style System (Landing Page)
   ========================================================================== */

/* 🤫 Local Fonts Definition (High Performance Compressive WOFF2) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 400 500 600;
    font-display: swap;
    src: url('assets/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 600 700 800;
    font-display: swap;
    src: url('assets/fonts/outfit-latin.woff2') format('woff2');
}

/* 1. Global Reset & Variables */
:root {
    --bg-dark: #0a0b12; /* Deep Celestial Indigo/Midnight, warmer and cleaner */
    --bg-card: rgba(24, 27, 43, 0.45); /* Refined translucent slate blue */
    --border-color: rgba(255, 255, 255, 0.05); /* Thinner and more elegant card boundary */
    --primary-glow: rgba(140, 178, 201, 0.06); /* Sophisticated Celestial Blue ambient glow */
    --secondary-glow: rgba(197, 168, 128, 0.05); /* Soft Warm Champagne ambient glow */
    --text-main: #f5f6f8; /* Softer, highly readable off-white */
    --text-muted: #a3a7be; /* Muted stone grey for elegant hierarchy */
    
    /* Elegant Vibrant Color Palette (Toned down for Premium Spiritual Minimalism) */
    --neon-cyan: #8cb2c9; /* Beautiful, serene Celestial Blue */
    --neon-purple: #ae9dc2; /* Regal Lavender / Soft Indigo */
    --gold: #c5a880; /* Timeless Champagne Gold / Matte Gold */
    
    --transition-smooth: all 0.2s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    width: 100%;
    /* scroll-behavior: smooth removed — handled by JS cubic ease with offset correction */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.5;
}

body, section, header, footer, .main-content, .hero-section, .about-container, .prayer-container, .announcement-card-strip, .schedule-grid, .visual-card, .prayer-form {
    touch-action: pan-y; /* Completely lock pinch zoom and horizontal swipe zoom while allowing smooth vertical scrolling */
}

/* 2. Background Glow System */
.background-glows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    contain: layout paint;
    will-change: transform;
}

.glow {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15; /* Softened from 0.35 to make ambient light extremely premium and gentle */
    mix-blend-mode: screen;
    /* filter:blur removed — triggers expensive GPU repaint on all three orbs every frame */
}

.glow-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, rgba(0,242,254,0) 70%);
    top: -100px;
    left: -100px;
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neon-purple) 0%, rgba(143,0,255,0) 70%);
    bottom: 20%;
    right: -150px;
    animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

.glow-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, rgba(0,242,254,0) 70%);
    bottom: -200px;
    left: -100px;
    animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 50px) scale(1.1); }
}

@keyframes neonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
    /* drop-shadow removed — triggers full repaint every frame; opacity is compositor-only */
}

/* 3. Translucent Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 5, 15, 0.65);
    /* removed */
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--neon-cyan);
    animation: neonPulse 3s infinite ease-in-out;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-area:hover .logo-icon {
    transform: scale(1.15) rotate(8deg);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo-text span {
    color: var(--neon-purple);
    font-weight: 400;
}

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

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

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
}

.admin-trigger-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 14px;
}

.admin-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-header-btn {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.cta-header-btn:hover {
    background: #ffffff;
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* 4. Global Sections Layout */
.main-content {
    position: relative;
    z-index: 10;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 80px 24px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 5. HERO SECTION WITH CINEMATIC ATMOSPHERIC BANNER */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: linear-gradient(180deg, rgba(7, 5, 15, 0.35) 0%, rgba(7, 5, 15, 0.85) 75%, #07050f 100%), 
                url('assets/banner.png') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

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

.hero-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    /* removed */
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #e0dcff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

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

.social-btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.yt-btn {
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25);
}

.yt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
}

.sp-btn {
    background: #1ed760;
    color: #000000;
    box-shadow: 0 4px 15px rgba(30, 215, 96, 0.25);
}

.sp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 215, 96, 0.4);
}

/* 6. GLASSMORPHIC PLAYER CARD */
.hero-player-area {
    display: flex;
    justify-content: center;
    width: 100%;
}

.card-player {
    width: 100%;
    max-width: 360px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 28px;
    /* removed */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: var(--transition-smooth);
}

.card-player:hover {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 35px rgba(143, 0, 255, 0.08);
}

.album-art-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.2);
}

.album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-player.playing .album-art {
    transform: scale(1.04);
}

.sound-visualizer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: linear-gradient(to top, rgba(7, 5, 15, 0.9) 0%, rgba(7, 5, 15, 0) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    padding-bottom: 12px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.card-player.playing .sound-visualizer-overlay {
    opacity: 1;
}

.bar {
    width: 3px;
    height: 4px;
    background: linear-gradient(to top, var(--neon-cyan), var(--neon-purple));
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.5), 0 0 4px rgba(185, 29, 250, 0.4);
    transition: height 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}

.metadata-container {
    text-align: center;
    width: 100%;
}

.song-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.song-artist {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 12px;
}

/* Quote Carousel */
.phrase-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(7, 5, 15, 0.75);
    border: 1px solid rgba(140, 178, 201, 0.15);
    padding: 10px 16px;
    border-radius: 14px;
    min-height: 44px;
    margin-top: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.quote-icon {
    font-size: 0.75rem;
    color: var(--neon-cyan);
    opacity: 0.85;
    align-self: flex-start;
    margin-top: 2px;
}

.phrase-text {
    font-size: 0.74rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.4;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

/* Controls styling */
.controls-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.play-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    border: none;
    border-radius: 50%;
    color: var(--text-main);
    font-size: 1.45rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 32px rgba(0, 242, 254, 0.45), 
                0 0 15px rgba(143, 0, 255, 0.3);
}

.play-btn .fa-play {
    margin-left: 4px;
}

.volume-control-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    width: 20px;
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
}

.icon-btn:hover {
    color: var(--neon-cyan);
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
    cursor: pointer;
}

.whatsapp-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.05) 100%);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    padding: 12px 20px;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.25) 0%, rgba(37, 211, 102, 0.1) 100%);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.15);
    transform: translateY(-2px);
}

/* 6.5. 📢 MAJESTIC RECTANGULAR ANNOUNCEMENT STRIP */
.announcement-strip-section {
    background: var(--bg-dark);
    padding: 40px 0 20px 0;
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.strip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.announcement-card-strip {
    position: relative;
    width: 100%;
    min-height: 190px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    padding: 40px 60px;
    background-color: #07050f;
    transition: var(--transition-smooth);
}

.strip-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: scale(1.02);
    transition: background-image 0.8s ease-in-out;
}

.strip-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 5, 15, 0.9) 0%, rgba(7, 5, 15, 0.6) 50%, rgba(7, 5, 15, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.strip-content-area {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.strip-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 750px;
}

.strip-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 1.5px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    /* removed */
}

.strip-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
    transition: opacity 0.4s ease-in-out;
}

.strip-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: opacity 0.4s ease-in-out;
}

.strip-right {
    flex-shrink: 0;
}

.strip-cta-btn {
    text-decoration: none;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
    white-space: nowrap;
}

.strip-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.4);
}

/* 7. SCHEDULE GRID SECTION */
/* 7. POSTCARD CREATOR SECTION */
.postcard-section {
    background: rgba(7, 5, 15, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 80px 0;
}

.postcard-creator-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    margin-top: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .postcard-creator-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.postcard-preview-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.postcard-preview-card {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9/16;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.postcard-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.postcard-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.postcard-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.postcard-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 10%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 2;
}

.postcard-watermark-top {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.postcard-text-preview {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0,0,0,0.8);
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    word-break: break-word;
    overflow: hidden;
    padding: 10px 0;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.postcard-watermark-bottom {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* Gradients definition for dynamic card bg */
.pg-bg-1 { background: linear-gradient(135deg, #1f1235 0%, #0d0614 100%); }
.pg-bg-2 { background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #92400e 100%); }
.pg-bg-3 { background: linear-gradient(135deg, #065f46 0%, #022c22 100%); }
.pg-bg-4 { background: linear-gradient(135deg, #991b1b 0%, #450a0a 100%); }
.pg-bg-5 { background: linear-gradient(135deg, #075985 0%, #0c4a6e 100%); }
.pg-bg-6 { background: linear-gradient(135deg, #0f172a 0%, #020617 100%); }
.pg-bg-7 { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.pg-bg-8 { background: linear-gradient(135deg, #86198f 0%, #4a044e 100%); }
.pg-bg-9 { background: linear-gradient(135deg, #115e59 0%, #134e4a 100%); }
.pg-bg-10 { background: linear-gradient(135deg, #6b21a8 0%, #4c1d95 100%); }

/* Controls styles */
.postcard-controls-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    /* removed */
    min-width: 0;
}

.control-group {
    margin-bottom: 24px;
}

.control-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    display: block;
}

.control-label i {
    color: var(--neon-cyan);
    margin-right: 6px;
}

.bg-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bg-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.08);
    background: #0a0a14;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Video de vista previa dentro del recuadro */
.bg-thumb-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    pointer-events: none;
}

/* Capa oscura sutil encima del video */
.bg-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.65) 100%);
    border-radius: 10px;
    transition: background 0.25s ease;
}

/* Nombre del fondo superpuesto en la parte inferior */
.bg-thumb-label {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    z-index: 2;
    padding: 0 4px;
    line-height: 1.2;
}

.bg-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.bg-thumb:hover .bg-thumb-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.55) 100%);
}

.bg-thumb.active {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.45);
}

.bg-thumb.active .bg-thumb-overlay {
    background: linear-gradient(to bottom, rgba(0, 242, 254, 0.08) 0%, rgba(0,0,0,0.5) 100%);
}

.bg-thumb.active .bg-thumb-label {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
}

.postcard-textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    min-height: 90px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.postcard-textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(255,255,255,0.05);
}

.textarea-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.postcard-chips-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.postcard-chips-container::-webkit-scrollbar {
    height: 4px;
}

.postcard-chips-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.postcard-chip {
    white-space: nowrap;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.postcard-chip:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--neon-cyan);
    color: #fff;
}

.postcard-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.postcard-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
}

.btn-share {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #07050f;
    border: none;
    box-shadow: 0 4px 15px rgba(0,242,254,0.25);
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,242,254,0.4);
}

.btn-download {
    background: rgba(255,255,255,0.04);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-download:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}


/* 8. MISSION SECTION */
.about-section {
    padding: 100px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.nations-card {
    background: linear-gradient(135deg, rgba(20, 16, 36, 0.8) 0%, rgba(10, 8, 20, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 24px;
    /* removed */
    box-shadow: 0 20px 50px rgba(0,0,0,0.65);
    max-width: 440px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.nations-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, transparent 70%, rgba(223, 195, 130, 0.03) 100%);
    pointer-events: none;
    z-index: 1;
}

.nations-card:hover {
    transform: translateY(-5px);
    border-color: rgba(223, 195, 130, 0.25);
    box-shadow: 0 25px 60px rgba(223, 195, 130, 0.05), 0 20px 50px rgba(0,0,0,0.65);
}

.nations-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #000;
}

.nations-earth-globe-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 30% 30%, #0a0e1c 0%, #020306 100%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.95);
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nations-card:hover .nations-earth-globe-container {
    transform: scale(1.05);
}

#earth-3d-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
}

/* 🌍 High-Performance CSS Spherical Earth Globe */
.earth-css-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 30% 30%, #0c142c 0%, #020306 100%);
    pointer-events: none;
}

.earth-css-globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url('assets/world_map_seamless_color.png');
    background-size: 200% 100%;
    background-repeat: repeat-x;
    background-position: 0% center;
    animation: spinEarthCSS 30s linear infinite;
    pointer-events: none;
    z-index: 1;
    /* filter removed — brightness/saturate trigger repaint every CSS frame */
}

@keyframes spinEarthCSS {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.earth-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* 3D sphere volumetric shading overlay with atmospheric cyan rim */
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.9),
                inset 15px 15px 25px rgba(255, 255, 255, 0.15),
                inset -15px -15px 25px rgba(0, 242, 254, 0.18),
                0 0 15px rgba(0, 242, 254, 0.12); /* Soft outer atmospheric glow */
    pointer-events: none;
    z-index: 2;
    transition: var(--transition-smooth);
}

.nations-card:hover .earth-glow-overlay {
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8),
                inset 18px 18px 30px rgba(255, 255, 255, 0.22),
                inset -18px -18px 30px rgba(0, 242, 254, 0.25),
                0 0 25px rgba(0, 242, 254, 0.25); /* Atmospheric flash on hover */
}

.nations-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(223, 195, 130, 0.08) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.nations-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 8, 20, 0.92);
    /* removed */
    border: 1px solid rgba(223, 195, 130, 0.35);
    color: #dfc382;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(223, 195, 130, 0.1);
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nations-badge i {
    font-size: 0.78rem;
    animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 4px var(--neon-cyan)); }
}

.nations-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.nations-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.nations-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.25s ease;
}

.stat-pill:hover {
    background: rgba(0, 242, 254, 0.06);
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--neon-cyan);
    transform: translateY(-1px);
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-desc-intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.about-para {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Mission & Vision Blocks */
.mission-vision-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    margin-top: 25px;
}

.mv-block {
    border-radius: 20px;
    padding: 26px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* removed */
    position: relative;
    overflow: hidden;
}

.block-mision {
    background: linear-gradient(135deg, rgba(223, 195, 130, 0.04) 0%, rgba(20, 16, 36, 0.75) 100%);
    border: 1px solid rgba(223, 195, 130, 0.12);
    border-left: 5px solid #dfc382;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.block-vision {
    background: linear-gradient(135deg, rgba(176, 184, 201, 0.04) 0%, rgba(20, 16, 36, 0.75) 100%);
    border: 1px solid rgba(176, 184, 201, 0.12);
    border-left: 5px solid #b0b8c9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.block-mision:hover {
    background: linear-gradient(135deg, rgba(223, 195, 130, 0.1) 0%, rgba(20, 16, 36, 0.85) 100%);
    border-color: rgba(223, 195, 130, 0.35);
    border-left-color: #dfc382;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(223, 195, 130, 0.08);
}

.block-vision:hover {
    background: linear-gradient(135deg, rgba(176, 184, 201, 0.1) 0%, rgba(20, 16, 36, 0.85) 100%);
    border-color: rgba(176, 184, 201, 0.35);
    border-left-color: #b0b8c9;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(176, 184, 201, 0.08);
}

.mv-icon-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.mv-icon {
    font-size: 1.15rem;
    color: #0c0919;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.block-mision .mv-icon {
    background: linear-gradient(135deg, #dfc382 0%, #bca163 100%);
    box-shadow: 0 4px 15px rgba(223, 195, 130, 0.2);
}

.block-vision .mv-icon {
    background: linear-gradient(135deg, #b0b8c9 0%, #8b93a3 100%);
    box-shadow: 0 4px 15px rgba(176, 184, 201, 0.2);
}

.mv-block:hover .mv-icon {
    transform: scale(1.08) rotate(3deg);
}

.block-mision:hover .mv-icon {
    box-shadow: 0 4px 20px rgba(223, 195, 130, 0.35);
}

.block-vision:hover .mv-icon {
    box-shadow: 0 4px 20px rgba(176, 184, 201, 0.35);
}

.mv-icon-title h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

.mv-block .about-para {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
}

.mv-block .about-para span.highlight-gold {
    color: #dfc382;
    font-weight: 700;
}

.mv-block .about-para span.highlight-platinum {
    color: #cbd5e1;
    font-weight: 700;
}

/* 9. PRAYER SECTION */
.prayer-section {
    background: rgba(7, 5, 15, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 100px 0;
}

.prayer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.prayer-info-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.prayer-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.prayer-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.prayer-contact-item i {
    font-size: 1.1rem;
    color: var(--neon-cyan);
}

.prayer-form-area {
    width: 100%;
}

.prayer-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    /* removed */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.form-group select option {
    background-color: var(--bg-dark);
    color: #ffffff;
}

.submit-btn {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    border: none;
    border-radius: 16px;
    color: #ffffff;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.35);
}

.form-success-msg {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.85rem;
    animation: slideDown 0.4s ease-out;
}

.form-success-msg.show {
    display: flex;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   🔑 10. GLASSMORPHIC ADMINISTRATIVE DASHBOARD MODAL
   ========================================================================== */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 4, 12, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.admin-modal-box {
    width: 100%;
    max-width: 680px;
    background: rgba(16, 12, 33, 0.88);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 36px;
    /* removed */
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal-overlay.show .admin-modal-box {
    transform: scale(1);
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
    flex-shrink: 0;
}

.admin-modal-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-modal-header h3 i {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.close-admin-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.close-admin-btn:hover {
    color: #ffffff;
}

/* Admin Screen Switching States */
.admin-login-screen {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    text-align: center;
}

.admin-screen-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.login-error-msg {
    font-size: 0.8rem;
    color: #ff4d4d;
    display: none;
    font-weight: 600;
}

.login-error-msg.show {
    display: block;
}

/* Dashboard screen styles */
.admin-dashboard-screen {
    display: none;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    height: 100%;
}

.admin-dashboard-screen.show {
    display: flex;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
    flex-shrink: 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.admin-tabs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-contents {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tab-content-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.tab-content-panel.active {
    display: flex;
}

.tab-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-shrink: 0;
    line-height: 1.4;
}

.admin-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    -webkit-overflow-scrolling: touch;
}

.admin-scroll-container::-webkit-scrollbar {
    width: 4px;
}

.admin-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.admin-edit-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-item-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    margin-bottom: 4px;
}

/* Inbox Messages & Sub-tabs Styling */
.msg-subtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.subtab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.subtab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.subtab-btn.active {
    background: rgba(239, 137, 26, 0.15); /* Warm prayer orange/amber */
    border-color: rgba(239, 137, 26, 0.4);
    color: #ff9d33;
    box-shadow: 0 4px 12px rgba(239, 137, 26, 0.1);
}

.subtab-btn[data-filter="testimonio"].active {
    background: rgba(212, 175, 55, 0.15); /* Gold */
    border-color: rgba(212, 175, 55, 0.4);
    color: #ffd700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.subtab-btn[data-filter="contacto"].active {
    background: rgba(0, 242, 254, 0.1); /* Cyan */
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--neon-cyan);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.08);
}

/* Inbox List Layout */
.inbox-container {
    gap: 16px !important;
}

.inbox-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.inbox-empty-state i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
}

.inbox-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}

.inbox-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.inbox-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 8px;
}

.inbox-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inbox-sender-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.inbox-sender-email {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.inbox-card-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    align-self: flex-end;
}

.inbox-card-body {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
    word-break: break-word;
}

.inbox-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    justify-content: flex-end;
}

.inbox-btn {
    background: none;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.inbox-btn-reply {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--neon-cyan);
}

.inbox-btn-reply:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 242, 254, 0.4);
}

.inbox-btn-delete {
    background: rgba(255, 75, 75, 0.08);
    border: 1px solid rgba(255, 75, 75, 0.2);
    color: #ff4b4b;
}

.inbox-btn-delete:hover {
    background: rgba(255, 75, 75, 0.15);
    border-color: rgba(255, 75, 75, 0.4);
}

/* Export Panel Styling */
.export-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.save-local-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25) !important;
    flex: 1;
}

.copy-code-btn {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%) !important;
    flex: 1;
}

/* 11. GLOBAL FOOTER */
.main-footer {
    border-top: 1px solid var(--border-color);
    background: #05040a;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--neon-cyan);
}

/* 11.5 SPIRITUAL GROWTH WIDGETS & MODALS */
.widgets-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
    margin: 60px 0;
}

.widgets-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Base Widget Card */
.widget-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 35px 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 380px;
}

.widget-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(0, 242, 254, 0.05);
}

.widget-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.widget-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--neon-cyan);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.widget-card:hover .widget-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.widget-card h3 {
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    background: linear-gradient(90deg, #fff, #b3e5fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.widget-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.widget-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    border: none;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.widget-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

/* Widget 1: Bible Widget Specific */
.bible-widget {
    background: rgba(10, 8, 20, 0.6);
}

.widget-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, #0c1445 0%, #1a237e 50%, #283593 100%);
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    transition: transform 0.8s ease;
}

.bible-widget:hover .widget-bg-layer {
    transform: scale(1.1);
    opacity: 0.12;
}

.widget-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(5, 4, 10, 0.9));
    z-index: 1;
}

/* Widget 2: Promise Widget Specific */
.promise-widget {
    background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.05), rgba(5, 4, 10, 0.95));
}

.widget-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(0, 242, 254, 0.06), transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.promise-display-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
}

.promise-text {
    font-style: italic;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #e0f7fa !important;
    line-height: 1.5;
    margin-bottom: 10px !important;
    text-align: center;
}

.promise-ref {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 500;
}

.promise-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.promise-btn {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.promise-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.promise-btn.whatsapp-share {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.promise-btn.whatsapp-share:hover {
    background: #25d366;
    color: #000;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

/* Widget 3: Prayer Wall Widget Specific */
.prayer-wall-widget {
    background: radial-gradient(circle at top right, rgba(255, 75, 43, 0.03), rgba(5, 4, 10, 0.95));
}

.prayer-icon {
    background: linear-gradient(135deg, rgba(255, 75, 43, 0.1), rgba(255, 138, 0, 0.1));
    border: 1px solid rgba(255, 75, 43, 0.2);
    color: #ff4b2b;
    position: relative;
}

.prayer-wall-widget:hover .prayer-icon {
    background: linear-gradient(135deg, rgba(255, 75, 43, 0.2), rgba(255, 138, 0, 0.2));
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.2);
}

.live-pulse {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wall-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 75, 43, 0.8) !important;
    margin-bottom: 15px !important;
}

.prayers-scroller-container {
    height: 100px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    margin-bottom: 20px;
}

.prayers-scroller-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to top, rgba(5, 4, 10, 0.5), transparent);
    pointer-events: none;
}

.prayers-scroller {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    animation: scrollUp 25s linear infinite;
}

.prayers-scroller:hover {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.scroll-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    text-align: left;
}

.scroll-item span.item-name {
    color: #ff8a00;
    font-weight: 500;
}

.prayer-wall-btn {
    background: linear-gradient(135deg, #ff4b2b, #ff8a00);
    color: #fff;
}

.prayer-wall-btn:hover {
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.3);
}

/* Widget 2: Postales de Fe */
.postcard-widget {
    background: radial-gradient(circle at top right, rgba(0, 198, 255, 0.08), rgba(5, 4, 10, 0.95));
}

.postcard-icon i {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.postcard-glow {
    background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
}

.postcard-btn {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
}

.postcard-btn:hover {
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.3);
}

.align-btn.active {
    background: rgba(0, 198, 255, 0.3) !important;
    border: 1px solid #00c6ff !important;
}

.bg-thumb {
    width: 80px; height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    flex-shrink: 0;
}

.bg-thumb.active {
    border-color: #00c6ff;
    transform: scale(1.05);
}

/* Widget 4: Pan de Vida Diario (Devotional) Specific */
.devotional-widget {
    background: radial-gradient(circle at bottom left, rgba(255, 138, 0, 0.08), rgba(5, 4, 10, 0.95));
}

.devotional-icon {
    position: relative;
    display: inline-block;
}

.devotional-icon i {
    background: linear-gradient(135deg, #fceabb, #f8b500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.devotional-glow {
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(248, 181, 0, 0.08), transparent 40%);
}

.devotional-preview-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.devotional-btn {
    background: linear-gradient(135deg, #f8b500, #fceabb);
    color: #000;
    font-weight: 600;
}

.devotional-btn:hover {
    box-shadow: 0 8px 20px rgba(248, 181, 0, 0.3);
}

.new-badge {
    position: absolute;
    top: -8px;
    right: -15px;
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 8px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 75, 43, 0.5);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 75, 43, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 75, 43, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 75, 43, 0.5); }
}

/* Widget 5: Parables & Stories Specific */
.parables-widget {
    background: radial-gradient(circle at bottom right, rgba(162, 113, 255, 0.08), rgba(5, 4, 10, 0.95));
}

.parables-icon {
    position: relative;
    display: inline-block;
    color: #a271ff;
    border-color: rgba(162, 113, 255, 0.3);
    background: linear-gradient(135deg, rgba(162, 113, 255, 0.1), rgba(100, 50, 255, 0.1));
}

.parables-icon i {
    background: linear-gradient(135deg, #d8b4ff, #a271ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.parables-glow {
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(162, 113, 255, 0.08), transparent 40%);
}

.parables-btn {
    background: linear-gradient(135deg, #a271ff, #7340ff);
    color: #fff;
    font-weight: 600;
}

.parables-btn:hover {
    box-shadow: 0 8px 20px rgba(162, 113, 255, 0.3);
}
/* 📱 MOBILE BOTTOM NAVIGATION SYSTEM */
.mobile-bottom-nav {
    display: none;
}

/* 🕊️ BIBLE MODAL, PRAYER WALL, DEVOTIONAL & PARABLES MODALS */
.bible-modal-overlay,
.prayer-wall-overlay,
.devotional-modal-overlay,
.parables-modal-overlay,
.podcast-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 2, 7, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bible-modal-overlay.active,
.prayer-wall-overlay.active,
.devotional-modal-overlay.active,
.parables-modal-overlay.active,
.podcast-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bible-modal-box,
.prayer-wall-box,
.devotional-modal-box,
.parables-modal-box,
.podcast-modal-box {
    background: #090812;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 90%;
    max-width: 700px;
    border-radius: 32px;
    padding: 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                0 0 50px rgba(0, 242, 254, 0.05);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* PERMITE SCROLL EN EL CATALOGO (Imagen 2) */
}

.bible-modal-overlay.active .bible-modal-box,
.prayer-wall-overlay.active .prayer-wall-box,
.devotional-modal-overlay.active .devotional-modal-box,
.parables-modal-overlay.active .parables-modal-box,
.podcast-modal-overlay.active .podcast-modal-box {
    transform: scale(1) translateY(0);
}

.bible-modal-header,
.prayer-wall-header,
.devotional-modal-header,
.parables-modal-header,
.podcast-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

.bible-modal-header h3,
.prayer-wall-header h3,
.devotional-modal-header h3,
.parables-modal-header h3 {
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bible-modal-header h3 i {
    color: var(--neon-cyan);
}

.prayer-wall-header h3 i {
    color: #ff4b2b;
}

.close-bible-btn,
.close-prayer-wall-btn,
.close-devotional-btn,
.close-parables-btn,
.close-podcast-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.close-bible-btn:hover,
.close-prayer-wall-btn:hover,
.close-devotional-btn:hover,
.close-parables-btn:hover,
.close-podcast-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* Bible Selector Row */
.bible-selectors-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.bible-selectors-row .selector-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bible-selectors-row label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.bible-selectors-row select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.bible-selectors-row select:focus {
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.05);
}

.nav-arrows-group {
    display: flex;
    gap: 8px;
}

.nav-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.nav-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Bible Reader Area */
.bible-reader-viewport {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 24px;
    overflow-y: auto;
    min-height: 250px;
    max-height: 45vh;
    position: relative;
}

.bible-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 8, 18, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.bible-loading-indicator.active {
    opacity: 1;
    pointer-events: auto;
}

.bible-loading-indicator i {
    font-size: 2rem;
    color: var(--neon-cyan);
}

.bible-loading-indicator p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bible-content-area {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #e0e0e0;
    text-align: left;
}

.bible-verse-item {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.bible-verse-item.highlighted {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.bible-verse-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-right: 6px;
    font-size: 0.9rem;
    vertical-align: super;
}

.bible-modal-footer,
.devotional-modal-footer {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.bible-footer-btn,
.devotional-footer-btn {
    flex: 1;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.bible-footer-btn:hover,
.devotional-footer-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.bible-footer-btn.whatsapp-share,
.devotional-footer-btn.whatsapp-share {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

/* Parables Grid & Video Player */
.parables-catalog-container {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
    min-height: 300px;
}

.parables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.parable-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.parable-item:hover {
    transform: translateY(-5px);
    border-color: rgba(162, 113, 255, 0.4);
    box-shadow: 0 10px 20px rgba(162, 113, 255, 0.2);
}

.parable-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.parable-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.parable-item:hover .parable-thumb {
    transform: scale(1.05);
}

.parable-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(9, 8, 18, 0.95) 0%, transparent 100%);
    pointer-events: none;
}

.parable-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.parable-item:hover .parable-play-icon {
    opacity: 1;
}

.parable-info {
    padding: 18px 15px;
    background: rgba(9, 8, 18, 0.6);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.parable-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f1f1f1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-family: 'Outfit', 'Inter', sans-serif;
}

.fullscreen-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.fullscreen-video-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-video-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.close-video-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.zoom-video-btn {
    position: fixed;
    top: 15px;
    right: 65px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.zoom-video-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.fullscreen-video-container {
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

#parable-video-player {
    width: 100%;
    max-height: 80vh;
    outline: none;
    background: #000;
    object-fit: contain;
    transition: object-fit 0.3s ease, width 0.3s ease, height 0.3s ease;
}

#parable-video-player.zoomed {
    width: auto !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
}

.fullscreen-video-container.zoomed-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start !important;
    scroll-behavior: smooth;
}

/* Modificamos la media query para que ya no fuerce cover siempre,
   sino que por defecto sea contain, dejando que el usuario use el botón de zoom */
@media (orientation: portrait) and (max-width: 768px) {
    .fullscreen-video-container {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
    #parable-video-player {
        height: 100vh;
        max-height: none;
    }
}

.fullscreen-video-title {
    margin-top: 20px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    text-align: center;
}

.bible-footer-btn.whatsapp-share:hover,
.devotional-footer-btn.whatsapp-share:hover {
    background: rgba(37, 211, 102, 0.2);
}

/* DEVOCIONAL INNER CONTENT STYLES */
.devotional-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.devotional-date-badge {
    align-self: flex-start;
    background: rgba(248, 181, 0, 0.15);
    color: #fceabb;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.devotional-title {
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    line-height: 1.3;
}

.devotional-verse-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid #f8b500;
    padding: 25px;
    border-radius: 12px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: rgba(248, 181, 0, 0.2);
}

.devotional-verse-text {
    font-size: 1.15rem;
    font-style: italic;
    color: #e0f7fa;
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.devotional-verse-ref {
    display: block;
    text-align: right;
    color: #f8b500;
    font-weight: 600;
    font-size: 0.9rem;
}

.devotional-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.devotional-section h4 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.devotional-section h4 i {
    color: #00f2fe;
}

.devotional-section .devotional-content,
.devotional-section .devotional-action {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

.bible-footer-btn.whatsapp-share:hover {
    background: #25d366;
    color: #000;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

/* Prayer Wall Modal Specific */
.prayer-wall-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prayer-wall-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: left;
}

/* Responsive overrides for widgets */
@media (max-width: 1024px) {
    .widgets-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .widget-card {
        min-height: auto;
    }
}
@media (max-width: 768px) {
    .bible-selectors-row {
        flex-direction: column;
        align-items: stretch;
    }
    .bible-selectors-row .selector-group {
        flex: none;
    }
    .nav-arrows-group {
        justify-content: center;
        margin-top: 10px;
    }
    .bible-modal-footer {
        flex-direction: column;
    }
}

/* 12. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-text-area {
        align-items: center;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .announcement-card-strip {
        padding: 40px;
        min-height: auto;
    }
    .strip-content-area {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .strip-left {
        align-items: center;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .about-text {
        align-items: center;
    }
    .prayer-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .prayer-info-area {
        align-items: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 78px; /* Give room for mobile floating bottom nav */
    }

    .main-header {
        background: rgba(7, 5, 15, 0.82) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .header-container {
        position: relative;
        justify-content: center;
        padding: 12px 20px;
    }

    .logo-area {
        background: rgba(255, 255, 255, 0.03);
        /* removed */
        -webkit-/* removed */
        border: 1px solid rgba(0, 242, 254, 0.2); /* Sleek neon cyan tinted border */
        padding: 8px 22px;
        border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 
                    0 0 15px rgba(0, 242, 254, 0.05),
                    inset 0 1px 0px rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .logo-area:active {
        transform: scale(0.97);
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(0, 242, 254, 0.4);
    }

    .logo-icon {
        font-size: 1.55rem;
    }

    .logo-text {
        font-size: 1.45rem;
    }

    .nav-menu {
        display: none; 
    }

    .header-actions {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-actions .cta-header-btn {
        display: none;
    }
    
    .admin-trigger-btn {
        margin-right: 0px !important;
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
    }

    /* Floating Bottom Navigation Bar for Mobile */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 68px;
        background: rgba(10, 8, 20, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 600;
        gap: 4px;
        flex: 1;
        height: 100%;
        transition: var(--transition-smooth);
    }
    
    .mobile-nav-item i {
        font-size: 1.2rem;
        transition: transform 0.2s ease-out;
    }
    
    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        color: var(--neon-cyan) !important;
    }
    
    .mobile-nav-item.active i {
        transform: translateY(-2px);
        text-shadow: 0 0 10px rgba(140, 178, 201, 0.5);
    }
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }

    .section-subtitle {
        font-size: 0.88rem !important;
    }

    /* Announcement card fixes (preventing clip) */
    .announcement-card-strip {
        padding: 35px 24px;
        min-height: auto;
    }
    
    .strip-content-area {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .strip-left {
        align-items: center;
    }
    
    .strip-title {
        font-size: 1.35rem;
    }
    
    .strip-desc {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .strip-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    /* Postcard creator actions stack */
    .postcard-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 10px;
    }
    
    .postcard-btn {
        width: 100% !important;
        justify-content: center;
        padding: 14px 20px !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .prayer-form {
        padding: 24px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-bottom: 20px;
    }

    /* Modal improvements */
    .admin-modal-overlay {
        align-items: flex-start;
        padding: 20px 12px;
    }
    
    .admin-modal-box {
        padding: 20px;
        border-radius: 24px;
        max-height: 90vh;
    }
    
    .admin-tabs {
        gap: 6px;
        padding-bottom: 8px;
    }
    
    .tab-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .export-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .export-actions button {
        width: 100% !important;
    }

    /* Bible & Devotional Modals Responsive Fixes */
    .bible-modal-box,
    .prayer-wall-box,
    .devotional-modal-box {
        width: 95% !important;
        max-height: 90vh !important;
        padding: 24px 18px !important;
        border-radius: 24px !important;
    }

    .bible-reader-viewport {
        max-height: 52vh !important;
    }

    .devotional-modal-body {
        max-height: 60vh !important;
        overflow-y: auto !important;
        padding-right: 4px;
        -webkit-overflow-scrolling: touch;
    }

    /* Close buttons touch target */
    .close-bible-btn,
    .close-devotional-btn,
    .close-prayer-wall-btn,
    .close-admin-btn {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 2rem !important;
    }
}

@media (max-width: 580px) {
    .bible-selectors-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .nav-arrows-group {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .social-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    .card-player {
        padding: 20px 16px;
        border-radius: 24px;
    }
    .whatsapp-btn {
        padding: 12px 16px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   PODCASTS WIDGET & MODAL SPECIFIC STYLES
========================================= */

/* Widget Styling */
.podcast-widget {
    background: radial-gradient(circle at bottom center, rgba(30, 215, 96, 0.08), rgba(5, 4, 10, 0.95));
}

.podcast-icon {
    position: relative;
    display: inline-block;
    color: #1ed760;
    border-color: rgba(30, 215, 96, 0.3);
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.1), rgba(15, 150, 60, 0.1));
}

.podcast-icon i {
    background: linear-gradient(135deg, #1ed760, #1db954);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.podcast-glow {
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(30, 215, 96, 0.08), transparent 40%);
}

.podcast-btn {
    background: linear-gradient(135deg, #1ed760, #1db954);
    color: #fff;
    font-weight: 600;
}

.podcast-btn:hover {
    box-shadow: 0 8px 20px rgba(30, 215, 96, 0.3);
}

/* Modal Styling */
.podcast-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
    padding-bottom: 20px;
}

.podcast-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.podcast-item:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 215, 96, 0.4);
    box-shadow: 0 10px 20px rgba(30, 215, 96, 0.1);
}

.podcast-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #2a2a2a, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.podcast-thumb i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.podcast-item:hover .podcast-thumb i {
    color: #1ed760;
    transform: scale(1.1);
}

/* Nuevos estilos para Series Reales */
.podcast-item .podcast-cover-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.podcast-item .podcast-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.podcast-item:hover .podcast-cover {
    transform: scale(1.05);
}

.podcast-item .play-podcast-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1ed760;
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.podcast-item:hover .play-podcast-btn {
    opacity: 1;
    transform: translateY(0);
}

.podcast-item .play-podcast-btn:hover {
    background: #1fdf64;
    transform: scale(1.05);
}

.podcast-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.podcast-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.podcast-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
}

/* ==========================================================================
   🎧 PODCAST PLAYER (Reproductor Avanzado)
   ========================================================================== */

/* Overlay del Reproductor (Modal 100% pantalla o tarjeta grande) */
.podcast-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center; /* En PC se centra. En móvil si desborda, cambiaremos a flex-start con media query o margin auto */
    padding: 20px 0;
    overflow-y: auto; /* SCROLL GENERAL */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.podcast-player-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Caja del Reproductor (Glassmorphism) */
.podcast-player-box {
    width: 90%;
    max-width: 450px;
    height: auto; /* Altura dinámica */
    margin: auto; /* Vital para que se centre dentro de un contenedor con scroll */
    background: rgba(30, 30, 30, 0.6);
    border-radius: 24px;
    padding: 30px 30px 20px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reducir gap */
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.podcast-player-overlay.active .podcast-player-box {
    transform: translateY(0) scale(1);
}

/* Cabecera del Reproductor */
.podcast-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.close-player-btn, .share-podcast-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.close-player-btn:hover, .share-podcast-btn:hover {
    color: #1DB954; /* Green accent */
}

.player-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-align: center;
    flex: 1;
    margin: 0 10px;
    line-height: 1.2;
}

/* Portada del Podcast */
.player-cover-container {
    width: 50%; /* Más pequeña */
    margin: 0 auto; /* Centrada */
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.player-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Info del track */
.player-info-container {
    text-align: center;
    margin-bottom: 15px;
}

.player-track-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    /* Evitar que textos muy largos rompan el diseño */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.player-track-date {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Barra de progreso */
.player-progress-container {
    width: 100%;
    margin-bottom: 25px;
}

.time-displays {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    font-family: monospace;
}

/* Personalizando el input range (Barra) */
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1DB954;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.5);
    transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Controles de Reproducción */
.player-controls-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.control-btn:hover {
    color: #1DB954;
}

/* Botones secundarios (Velocidad, Sleep) */
.secondary-btn {
    font-size: 1rem;
    font-weight: bold;
    color: rgba(255,255,255,0.6);
    width: 40px;
    height: 40px;
}

.secondary-btn.active {
    color: #1DB954;
}

/* Botones de Skip (15s) */
.skip-btn {
    font-size: 1.5rem;
    position: relative;
}
.skip-btn span {
    position: absolute;
    font-size: 0.55rem;
    font-weight: 800;
    margin-top: 2px;
}

/* Botón central Play/Pausa */
.play-pause-btn {
    width: 65px;
    height: 65px;
    background: #1DB954;
    color: #000;
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(29, 185, 84, 0.3);
}

.play-pause-btn:hover {
    transform: scale(1.05);
    background: #1ed760;
    color: #000;
}

.play-pause-btn i {
    margin-left: 4px;
}
.play-pause-btn.is-playing i {
    margin-left: 0;
}

/* Adaptación para pantallas muy pequeñas */
@media (max-width: 400px) {
    .podcast-player-box {
        padding: 20px;
        width: 95%;
    }
    .play-pause-btn {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    .skip-btn {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   🎧 PODCAST PLAYLIST (Lista de Reproducción)
   ========================================================================== */

.podcast-playlist {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 220px; /* SCROLL INTERNO: límite fijo de altura para la lista */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Scrollbar para la playlist */
.podcast-playlist::-webkit-scrollbar {
    width: 6px;
}
.podcast-playlist::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}
.podcast-playlist::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: rgba(29, 185, 84, 0.1);
    border-color: rgba(29, 185, 84, 0.3);
}

.playlist-item.active {
    background: rgba(29, 185, 84, 0.15);
    border-color: #1DB954;
}

.playlist-item-index {
    font-weight: bold;
    color: rgba(255,255,255,0.5);
    margin-right: 15px;
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.playlist-item.active .playlist-item-index {
    color: #1DB954;
}

.playlist-item-title {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item.active .playlist-item-title {
    color: #1DB954;
    font-weight: 600;
}

.playlist-item-icon {
    opacity: 0;
    color: #1DB954;
    transition: opacity 0.2s;
}

.playlist-item.active .playlist-item-icon {
    opacity: 1;
}

/* =========================================
   NEWS RADAR WIDGET & MODAL SPECIFIC STYLES
========================================= */

/* Widget Styling */
.news-widget {
    background: radial-gradient(circle at top right, rgba(0, 198, 255, 0.08), rgba(5, 4, 10, 0.95));
}

/* Intercession Global Widget */
.intercession-widget {
    background: radial-gradient(circle at top right, rgba(138, 43, 226, 0.12), rgba(5, 4, 10, 0.95));
}

.intercession-icon {
    position: relative;
    display: inline-block;
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
}

.intercession-icon i {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intercession-glow {
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(168, 85, 247, 0.08), transparent 40%);
}

.intercession-btn {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    font-weight: 600;
}

.intercession-btn:hover {
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
}

/* Earthquake cards inside intercession modal */
.earthquake-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.eq-mag {
    min-width: 52px;
    text-align: center;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1;
}

.eq-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eq-info strong {
    color: #e2e8f0;
    font-size: 0.95rem;
}

.eq-info span {
    color: #64748b;
    font-size: 0.8rem;
}

.eq-prayer {
    color: #a855f7;
    font-size: 1.3rem;
}

.news-icon {
    position: relative;
    display: inline-block;
    color: #00c6ff;
    border-color: rgba(0, 198, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.1));
}

.news-icon i {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-glow {
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(0, 198, 255, 0.08), transparent 40%);
}

.news-btn {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
    font-weight: 600;
}

.news-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 198, 255, 0.3);
}

/* Modal Specific */
.news-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 3, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.news-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.news-modal-box {
    background: rgba(12, 10, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 198, 255, 0.1);
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    padding: 35px 20px 35px 35px;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.news-modal-overlay.active .news-modal-box {
    transform: translateY(0) scale(1);
}

.news-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 15px;
}

.news-modal-header h3 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-modal-header h3 i {
    color: #00c6ff;
}

.close-news-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-news-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.news-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
}

.news-modal-body::-webkit-scrollbar {
    width: 6px;
}
.news-modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}
.news-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.news-loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    color: #00c6ff;
    gap: 15px;
}

.news-loading-indicator i {
    font-size: 2.5rem;
}

.news-loading-indicator p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.news-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 198, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.news-card-img {
    width: 100%;
    height: 170px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #07050f;
}

.news-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-source {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #00c6ff;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.news-card-source span:last-child {
    color: rgba(255, 255, 255, 0.5);
}

.news-card-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card-footer {
    font-size: 0.85rem;
    color: #00c6ff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.news-card:hover .news-card-footer {
    color: #0072ff;
}

@media (max-width: 768px) {
    .news-modal-box {
        width: 95% !important;
        max-height: 90vh !important;
        padding: 24px 18px !important;
        border-radius: 24px !important;
    }
    .news-grid-container {
        grid-template-columns: 1fr;
    }
    .close-news-btn {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 2rem !important;
    }
}

/* =========================================================
   🌍 WIDGET 7 & 8: SISMOS Y CLIMA (TARJETAS)
========================================================= */

.earthquakes-widget {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(50, 15, 15, 0.7));
}
.earthquakes-icon {
    background: rgba(255, 75, 75, 0.2);
    color: #ff4b4b;
    position: relative;
}
.pulse-red {
    background: #ff4b4b;
    box-shadow: 0 0 10px #ff4b4b;
}
.earthquakes-btn {
    background: linear-gradient(90deg, #ff4b4b, #ff7a7a);
    color: white;
}
.earthquakes-btn:hover {
    box-shadow: 0 10px 20px rgba(255, 75, 75, 0.4);
}



/* =========================================================
   🚨 EARTHQUAKES MODAL
========================================================= */
.earthquakes-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.earthquakes-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.earthquakes-modal-box {
    background: #111;
    border: 1px solid rgba(255, 75, 75, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: all 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(255, 75, 75, 0.1);
}
.earthquakes-modal-overlay.active .earthquakes-modal-box {
    transform: scale(1);
}
.earthquakes-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.earthquakes-modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.close-earthquakes-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.close-earthquakes-btn:hover {
    background: rgba(255, 75, 75, 0.2);
    color: #ff4b4b;
    border-color: #ff4b4b;
    transform: rotate(90deg);
}
.earthquakes-modal-body {
    flex-grow: 1;
    overflow-y: auto;
}
.earthquakes-loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: var(--text-muted);
    gap: 15px;
    font-size: 1.2rem;
}
.earthquake-card {
    background: rgba(255, 75, 75, 0.05);
    border-left: 4px solid #ff4b4b;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 10px 10px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.earthquake-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}
.earthquake-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    gap: 15px;
}
.earthquake-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.earthquake-mag {
    color: #ff4b4b;
    font-weight: bold;
}

/* =========================================================
   🌍 ESTRATÉGICO: BARRA DE CLIMA SILENCIOSA
========================================================= */
.weather-strategic-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin-top: -20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}
.weather-strategic-bar {
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 10px rgba(0, 198, 255, 0.05);
    animation: fadeInWeatherBar 1s ease;
}
@keyframes fadeInWeatherBar {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.wsb-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 500;
}
#wsb-icon {
    font-size: 1.3rem;
    color: #00c6ff;
}
.wsb-temp {
    font-weight: 800;
    font-size: 1.1rem;
    color: #00c6ff;
    margin-left: 5px;
}
.wsb-right {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-align: right;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .weather-strategic-bar {
        flex-direction: column;
        border-radius: 20px;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    .wsb-right {
        text-align: center;
    }
}

/* =========================================================
   ✨ WIDGET 8: MARAVILLAS DE LA CREACIÓN (NASA)
========================================================= */
.wonders-widget {
    background: linear-gradient(135deg, rgba(15, 10, 40, 0.9), rgba(40, 15, 60, 0.7));
}
.wonders-icon {
    background: rgba(180, 100, 255, 0.2);
    color: #d195ff;
}
.wonders-btn {
    background: linear-gradient(90deg, #9d4edd, #5a189a);
    color: white;
}
.wonders-btn:hover {
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.4);
}

/* MODAL DE LA NASA */
.nasa-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.nasa-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.close-nasa-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}
.close-nasa-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}
.nasa-modal-content {
    background: #0f0a1c;
    border: 1px solid rgba(157, 78, 221, 0.3);
    width: 95%;
    max-width: 1000px;
    height: 85vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 50px rgba(157, 78, 221, 0.15);
}
.nasa-modal-overlay.active .nasa-modal-content {
    transform: scale(1);
}
.nasa-tabs-header {
    display: flex;
    background: rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}
.nasa-tab {
    flex: 1;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 20px 10px;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.nasa-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.nasa-tab.active {
    color: #d195ff;
    border-bottom-color: #d195ff;
    background: rgba(157, 78, 221, 0.1);
}
.nasa-tab-pane {
    display: none;
    flex-grow: 1;
    flex-direction: column;
    height: calc(100% - 65px);
    animation: fadeInTab 0.5s ease;
}
.nasa-tab-pane.active {
    display: flex;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.nasa-media-container {
    flex-grow: 1;
    position: relative;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 0; /* Important for flex child to not overflow */
}
.nasa-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none; /* hidden until loaded */
    opacity: 0;
    transition: opacity 1s ease;
}
@keyframes epicFloat {
    0% { transform: scale(1) translate(0px, 0px); }
    50% { transform: scale(1.05) translate(2px, -2px); }
    100% { transform: scale(1) translate(0px, 0px); }
}
#nasa-epic-img {
    animation: epicFloat 20s infinite ease-in-out;
}
.nasa-loading {
    position: absolute;
    color: #d195ff;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.nasa-info-box {
    background: linear-gradient(to top, #0f0a1c, rgba(15, 10, 28, 0.9));
    padding: 25px 40px 30px 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0; /* Prevents text from getting cut off */
    max-height: 40%;
    overflow-y: auto;
    z-index: 10;
}
.nasa-info-box h3 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
}
.nasa-desc {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.4;
}
.nasa-verse {
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255,255,255,0.1);
    color: #00c6ff;
    font-style: italic;
    font-size: 1.1rem;
}
.nasa-verse span {
    font-weight: bold;
    font-style: normal;
    font-size: 0.95rem;
}
@media (max-width: 768px) {
    .wonders-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
    .nasa-tabs-header { 
        flex-direction: row; 
        overflow-x: auto;
        white-space: nowrap;
    }
    .nasa-tab { 
        padding: 10px; 
        font-size: 0.9rem; 
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    
    /* SCROLL NATURAL PARA MÓVILES */
    .nasa-tab-pane.active {
        display: block; /* Cambiamos flex por block para permitir scroll natural */
        overflow-y: auto;
        height: auto;
        flex: 1;
    }
    .nasa-media-container {
        height: 45vh; /* La imagen ocupa casi la mitad de la pantalla */
        min-height: 250px;
        flex-grow: 0;
    }
    .nasa-info-box { 
        padding: 20px 20px 40px 20px; 
        max-height: none; /* Quitamos el límite de altura */
        overflow-y: visible; /* Quitamos el scroll interno, ahora todo escrolea */
    }
    
    .nasa-info-box h3 { font-size: 1.3rem; }
    .nasa-desc { font-size: 0.95rem; }
    .nasa-verse { font-size: 1rem; }
}
