/* ============================================================
   BIBLIA DE LA MUJER — Rediseño completo
   versiculodebendicion.com/mujer
   ============================================================ */

/* ── Variables ── */
:root {
    --rose:      #e8547a;
    --rose-dark: #c9415f;
    --purple:    #b06bcc;
    --lavender:  #c4b5fd;
    --pink:      #fca5c0;
    --grad:      linear-gradient(135deg, #e8547a 0%, #b06bcc 100%);
    --grad-soft: linear-gradient(135deg, rgba(232,84,122,0.7) 0%, rgba(176,107,204,0.7) 100%);
    --glow-rose: rgba(232,84,122,0.25);
    --glow-purp: rgba(176,107,204,0.2);
    --card-bg:   rgba(255,255,255,0.035);
    --card-bg-h: rgba(255,255,255,0.06);
    --border:    rgba(232,84,122,0.18);
    --border-v:  rgba(232,84,122,0.45);
    --text:      #f8fafc;
    --text-muted:#94a3b8;
    --body-bg:   #0b0518;
    --header-h:  56px;
    --pills-h:   44px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--pills-h) + 8px); }

body {
    background:
        radial-gradient(ellipse 70% 50% at 5%  10%, rgba(176,107,204,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 95% 85%, rgba(232,84,122,0.09) 0%, transparent 60%),
        radial-gradient(ellipse 40% 35% at 50%  0%, rgba(232,84,122,0.04) 0%, transparent 50%),
        var(--body-bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Reservar espacio para bottom nav móvil */
@media (max-width: 768px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* ── Orbes decorativos de fondo ── */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
body::before {
    width: 600px; height: 600px;
    top: -200px; right: -200px;
    background: radial-gradient(circle, rgba(176,107,204,0.055) 0%, transparent 70%);
    filter: blur(40px);
}
body::after {
    width: 500px; height: 500px;
    bottom: 0; left: -150px;
    background: radial-gradient(circle, rgba(232,84,122,0.06) 0%, transparent 70%);
    filter: blur(40px);
}

/* ── Header sticky ── */
.mujer-header {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: var(--header-h);
    background: rgba(11,5,24,0.9);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 24px rgba(0,0,0,0.4);
}

.mujer-header-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    color: var(--pink);
    text-decoration: none;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.mujer-header-back:hover {
    background: rgba(232,84,122,0.15);
    color: #fff;
}

.mujer-header-center {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}
.mujer-header-icon { font-size: 1.15rem; line-height: 1; }
.mujer-header-title {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.mujer-header-right {
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}
.mujer-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--rose);
    object-fit: cover;
    box-shadow: 0 0 8px rgba(232,84,122,0.4);
}
.mujer-login-btn {
    background: rgba(232,84,122,0.1);
    border: 1px solid var(--border);
    color: var(--pink);
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.78rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.mujer-login-btn:hover { background: rgba(232,84,122,0.22); border-color: var(--rose); }

/* ── Section pills (sticky bajo el header) ── */
.section-pills {
    position: sticky;
    top: var(--header-h);
    z-index: 100;
    display: flex;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: rgba(11,5,24,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(232,84,122,0.08);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.section-pills::-webkit-scrollbar { display: none; }

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(196,181,253,0.55);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: all 0.22s;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}
.section-pill i { font-size: 0.75rem; }
.section-pill:hover {
    color: var(--lavender);
    background: rgba(176,107,204,0.12);
    border-color: rgba(176,107,204,0.25);
}
.section-pill.active {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(232,84,122,0.35);
}

/* ── Layout principal ── */
.mujer-main {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 1.2rem 2rem;
    position: relative;
    z-index: 1;
}
.mujer-section { padding-top: 2rem; }

/* ── Títulos de sección ── */
.mujer-section-title {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--pink);
    margin: 0 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    letter-spacing: -0.01em;
}
.mujer-section-title i {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mujer-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(232,84,122,0.35), transparent);
    margin-left: 0.3rem;
}

/* ═══════════════════════════════════════════
   VERSÍCULO HÉROE
   ═══════════════════════════════════════════ */
.verse-hero-card {
    position: relative;
    /* Gradient border technique */
    background:
        linear-gradient(rgba(11,5,24,0.97), rgba(11,5,24,0.97)) padding-box,
        linear-gradient(135deg, #e8547a 0%, #b06bcc 50%, #e8547a 100%) border-box;
    border: 1.5px solid transparent;
    border-radius: 28px;
    padding: 2.4rem 2.4rem 2rem;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 0  0 1px rgba(232,84,122,0.05),
        0 20px 60px rgba(176,107,204,0.12),
        0 8px  24px rgba(232,84,122,0.1),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Comillas decorativas de fondo */
.verse-hero-card::before {
    content: '\201C';
    position: absolute;
    top: -32px; left: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.09;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
/* Orbe de brillo en la esquina */
.verse-hero-card::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(176,107,204,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.verse-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose);
    background: rgba(232,84,122,0.1);
    border: 1px solid rgba(232,84,122,0.28);
    border-radius: 50px;
    padding: 0.28rem 0.85rem;
    margin-bottom: 1.4rem;
}

.verse-hero-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    line-height: 1.85;
    color: #f0e6f0;
    margin: 0 0 1.1rem;
    position: relative;
    z-index: 1;
}

.verse-hero-ref {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--pink);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    margin: 0 0 1.6rem;
}

.verse-share-btn {
    background: rgba(232,84,122,0.1);
    border: 1px solid rgba(232,84,122,0.3);
    color: var(--pink);
    border-radius: 50px;
    padding: 0.5rem 1.4rem;
    font-size: 0.83rem;
    font-family: 'Inter', inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.22s;
    font-weight: 600;
}
.verse-share-btn:hover {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 18px rgba(232,84,122,0.35);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   PALABRAS DE ALIENTO
   ═══════════════════════════════════════════ */
.aliento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.aliento-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    position: relative;
    overflow: hidden;
}
.aliento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}
.aliento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(232,84,122,0.18), 0 4px 12px rgba(0,0,0,0.3);
    background: var(--card-bg-h);
}
.aliento-card:hover::before { opacity: 0.04; }

.aliento-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    background: rgba(232,84,122,0.1);
    border: 1px solid rgba(232,84,122,0.2);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
.aliento-icon { font-size: 1.6rem; line-height: 1; } /* backward compat */

.aliento-card h4 {
    color: var(--pink);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}
.aliento-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Accent color per card */
.aliento-card:nth-child(1) .aliento-icon-wrap { background: rgba(232,84,122,0.1); border-color: rgba(232,84,122,0.25); }
.aliento-card:nth-child(2) .aliento-icon-wrap { background: rgba(196,181,253,0.1); border-color: rgba(196,181,253,0.25); }
.aliento-card:nth-child(3) .aliento-icon-wrap { background: rgba(176,107,204,0.1); border-color: rgba(176,107,204,0.25); }
.aliento-card:nth-child(4) .aliento-icon-wrap { background: rgba(252,165,192,0.1); border-color: rgba(252,165,192,0.25); }

/* ═══════════════════════════════════════════
   VERSÍCULOS POR TEMA
   ═══════════════════════════════════════════ */
.temas-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
    justify-content: center;
}
.tema-btn {
    background: rgba(176,107,204,0.08);
    border: 1px solid rgba(176,107,204,0.2);
    color: var(--lavender);
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Inter', inherit;
    transition: all 0.22s;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    letter-spacing: 0.01em;
}
.tema-btn:hover {
    background: rgba(176,107,204,0.18);
    border-color: rgba(176,107,204,0.4);
    color: #fff;
}
.tema-btn.active {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(232,84,122,0.3);
}

.tema-verses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.9rem;
    animation: fadeIn 0.3s ease;
}

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

.tema-verse-card {
    background: var(--card-bg);
    border: 1px solid rgba(176,107,204,0.15);
    border-left: 3px solid;
    border-image: linear-gradient(to bottom, var(--rose), var(--purple)) 1;
    border-radius: 0 16px 16px 0;
    padding: 1.2rem 1.3rem;
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
}
.tema-verse-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(176,107,204,0.12);
    background: var(--card-bg-h);
}

.t-verse-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ede6f5;
    margin: 0 0 0.6rem;
}
.t-verse-ref {
    color: var(--pink);
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════
   DEVOCIONALES
   ═══════════════════════════════════════════ */
.devocional-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.8rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}
/* Shimmer en la esquina */
.devocional-form-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 130px; height: 130px;
    background: radial-gradient(circle, rgba(232,84,122,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.devocional-form-card h3 {
    color: var(--pink);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.devocional-form-card h3 i {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mujer-input,
.mujer-textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(232,84,122,0.2);
    border-radius: 14px;
    color: var(--text);
    padding: 0.78rem 1rem;
    font-size: 0.9rem;
    font-family: 'Inter', inherit;
    margin-bottom: 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.mujer-input::placeholder,
.mujer-textarea::placeholder { color: rgba(248,250,252,0.25); }
.mujer-input:focus,
.mujer-textarea:focus {
    outline: none;
    border-color: var(--rose);
    background: rgba(232,84,122,0.05);
    box-shadow: 0 0 0 3px rgba(232,84,122,0.12), 0 2px 8px rgba(0,0,0,0.15);
}
.mujer-textarea { min-height: 130px; resize: vertical; }

.form-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.char-count { color: #64748b; font-size: 0.78rem; }

.mujer-btn {
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.72rem 1.9rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Inter', inherit;
    cursor: pointer;
    transition: transform 0.22s, box-shadow 0.22s, filter 0.22s;
    box-shadow: 0 4px 18px rgba(232,84,122,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.01em;
}
.mujer-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,84,122,0.4);
    filter: brightness(1.08);
}
.mujer-btn:active:not(:disabled) { transform: translateY(0); }
.mujer-btn:disabled { opacity: 0.55; cursor: default; }
.mujer-btn-sm { padding: 0.55rem 1.4rem; font-size: 0.84rem; }

/* Auth notice */
.auth-notice {
    text-align: center;
    padding: 2.2rem 1.6rem;
    background: rgba(232,84,122,0.05);
    border: 1px dashed rgba(232,84,122,0.25);
    border-radius: 20px;
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.auth-notice > i {
    font-size: 2rem;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.auth-notice p { color: var(--text-muted); font-size: 0.91rem; margin: 0; line-height: 1.5; }

/* Devocional item */
.devocional-item {
    background: var(--card-bg);
    border: 1px solid rgba(232,84,122,0.12);
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
    position: relative;
    overflow: hidden;
}
.devocional-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--grad);
    border-radius: 3px 0 0 3px;
    opacity: 0.6;
}
.devocional-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,84,122,0.1);
    background: var(--card-bg-h);
}

.dev-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}
.dev-titulo  { font-size: 1rem; font-weight: 700; color: var(--pink); letter-spacing: -0.01em; }
.dev-meta    { font-size: 0.74rem; color: #4a5568; }

.dev-versiculo {
    color: var(--rose);
    font-size: 0.83rem;
    font-style: italic;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.85;
}
.dev-contenido {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    white-space: pre-line;
}

.empty-msg {
    text-align: center;
    color: #4a5568;
    padding: 3rem 1rem;
    font-size: 0.95rem;
    font-style: italic;
}

/* ═══════════════════════════════════════════
   BOTTOM NAV MÓVIL
   ═══════════════════════════════════════════ */
.mujer-bottom-nav { display: none; }

@media (max-width: 768px) {
    .mujer-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        flex-direction: row;
        justify-content: space-around;
        align-items: stretch;
        background: rgba(11,5,24,0.96);
        border-top: 1px solid rgba(232,84,122,0.2);
        padding: 0.3rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
        z-index: 9996;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 -8px 30px rgba(0,0,0,0.35);
    }
    .mujer-nav-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-height: 48px;
        background: transparent;
        border: none;
        border-radius: 12px;
        padding: 0.3rem 0.2rem;
        gap: 0.18rem;
        color: rgba(255,255,255,0.32);
        text-decoration: none;
        font-family: 'Inter', inherit;
        cursor: pointer;
        transition: color 0.2s, background 0.2s;
        position: relative;
    }
    .mujer-nav-btn.active {
        color: var(--pink);
    }
    .mujer-nav-btn.active::before {
        content: '';
        position: absolute;
        top: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 24px; height: 2px;
        background: var(--grad);
        border-radius: 2px;
    }
    .mujer-nav-btn span {
        display: block;
        font-size: 0.55rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        line-height: 1;
    }
    .mujer-nav-btn i { font-size: 1.05rem; }
}

/* ═══════════════════════════════════════════
   ANIMACIONES DE ENTRADA
   ═══════════════════════════════════════════ */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scalePop {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.verse-hero-card  { animation: scalePop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
.aliento-card     { animation: slideUp 0.4s ease both; }
.aliento-card:nth-child(1) { animation-delay: 0.05s; }
.aliento-card:nth-child(2) { animation-delay: 0.1s; }
.aliento-card:nth-child(3) { animation-delay: 0.15s; }
.aliento-card:nth-child(4) { animation-delay: 0.2s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .mujer-main         { padding: 0 0.85rem 1rem; }
    .mujer-section      { padding-top: 1.5rem; }
    .verse-hero-card    { padding: 1.8rem 1.3rem 1.5rem; border-radius: 20px; }
    .verse-hero-text    { font-size: 1.1rem; }
    .aliento-grid       { gap: 0.75rem; }
    .tema-verses-grid   { grid-template-columns: 1fr; }
    .devocional-form-card { padding: 1.4rem; border-radius: 20px; }
}

@media (max-width: 520px) {
    .aliento-grid       { grid-template-columns: 1fr; }
    .verse-hero-card    { padding: 1.5rem 1.1rem 1.3rem; }
    .verse-hero-card::before { font-size: 10rem; }
}

/* ═══════════════════════════════════════════
   VERSE ACTIONS
   ═══════════════════════════════════════════ */
.verse-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.verse-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    background: rgba(232,84,122,0.08);
    border: 1px solid rgba(232,84,122,0.25);
    color: var(--pink);
    border-radius: 50px;
    padding: 0.48rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Inter', inherit;
    cursor: pointer;
    transition: all 0.22s;
    white-space: nowrap;
}
.verse-action-btn:hover:not(:disabled) {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(232,84,122,0.32);
    transform: translateY(-1px);
}
.verse-action-btn:disabled { opacity: 0.6; cursor: default; }
.verse-action-btn i { font-size: 0.78rem; }

/* ═══════════════════════════════════════════
   VERSE EXPLANATION
   ═══════════════════════════════════════════ */
.verse-explanation {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.verse-explanation.open {
    max-height: 600px;
    padding-top: 1rem;
}
.explanation-content {
    background: rgba(176,107,204,0.07);
    border: 1px solid rgba(176,107,204,0.22);
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ddd5ee;
    white-space: pre-line;
}

/* ═══════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════ */
.features-section {
    padding-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.15rem 1.25rem;
    text-decoration: none;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s;
    cursor: pointer;
}
.feature-card:hover {
    background: var(--card-bg-h);
    border-color: rgba(232,84,122,0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,84,122,0.1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: rgba(from var(--fc) r g b / 0.12);
    border: 1px solid rgba(from var(--fc) r g b / 0.25);
    color: var(--fc);
    /* Fallback for browsers without relative color syntax */
    background: rgba(232,84,122,0.1);
    border: 1px solid rgba(232,84,122,0.22);
    color: var(--rose);
}
/* Override per icon color using inline --fc */
.feature-card .feature-icon { color: var(--fc, var(--rose)); }

.feature-content {
    flex: 1;
    min-width: 0;
}
.feature-content h3 {
    color: var(--text);
    font-size: 0.97rem;
    font-weight: 700;
    margin: 0 0 0.22rem;
    letter-spacing: -0.01em;
}
.feature-content p {
    color: var(--text-muted);
    font-size: 0.81rem;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-arrow {
    color: rgba(196,181,253,0.35);
    font-size: 0.78rem;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.feature-card:hover .feature-arrow {
    color: var(--lavender);
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════
   CHAT FAB
   ═══════════════════════════════════════════ */
.chat-fab {
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom));
    right: 1.25rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--grad);
    border: none;
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(232,84,122,0.45), 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.22s, box-shadow 0.22s;
    z-index: 9000;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(232,84,122,0.55); }
@media (min-width: 769px) {
    .chat-fab { bottom: 1.5rem; }
}

/* ═══════════════════════════════════════════
   CHAT OVERLAY + MODAL
   ═══════════════════════════════════════════ */
.chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9500;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.chat-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.chat-modal {
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    background: #120a22;
    border: 1px solid rgba(232,84,122,0.2);
    border-radius: 28px 28px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -20px 60px rgba(176,107,204,0.25), 0 -4px 20px rgba(0,0,0,0.4);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.chat-overlay.active .chat-modal { transform: translateY(0); }

@media (min-width: 600px) {
    .chat-overlay { align-items: center; }
    .chat-modal { border-radius: 28px; max-height: 80vh; }
}

.chat-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(232,84,122,0.12);
    background: rgba(232,84,122,0.04);
    flex-shrink: 0;
}
.chat-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.chat-modal-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(232,84,122,0.4);
}
.chat-modal-name {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.chat-modal-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.2;
}
.chat-modal-close {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.chat-modal-close:hover { background: rgba(232,84,122,0.12); color: var(--pink); border-color: var(--border); }

/* Messages area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem 1.1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(232,84,122,0.2) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(232,84,122,0.2); border-radius: 4px; }

.chat-msg {
    display: flex;
    flex-direction: column;
}
.chat-msg.user     { align-items: flex-end; }
.chat-msg.assistant,
.chat-msg.system   { align-items: flex-start; }

.chat-bubble {
    max-width: 85%;
    padding: 0.72rem 1rem;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.7;
    word-break: break-word;
}
.chat-msg.user .chat-bubble {
    background: var(--grad);
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 4px 14px rgba(232,84,122,0.3);
}
.chat-msg.assistant .chat-bubble {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(176,107,204,0.18);
    color: var(--text);
    border-radius: 18px 18px 18px 4px;
}
.chat-msg.system .chat-bubble {
    background: rgba(232,84,122,0.07);
    border: 1px solid rgba(232,84,122,0.2);
    color: var(--text-muted);
    font-size: 0.82rem;
    border-radius: 12px;
    max-width: 100%;
}

/* Verse format in chat */
.chat-verse { color: var(--pink); font-style: italic; }
.chat-ref   { color: var(--lavender); font-size: 0.82em; }

/* Typing indicator */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.8rem 1rem;
}
.chat-typing span {
    width: 7px; height: 7px;
    background: var(--rose);
    border-radius: 50%;
    animation: chatDot 1.4s infinite ease-in-out;
    opacity: 0.5;
}
.chat-typing span:nth-child(1) { animation-delay: 0s;    }
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chatDot {
    0%, 60%, 100% { transform: translateY(0);    opacity: 0.5; }
    30%            { transform: translateY(-6px); opacity: 1;   }
}

/* Limit bar */
.chat-limit-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(232,84,122,0.1);
    background: rgba(232,84,122,0.04);
    flex-shrink: 0;
}
.chat-login-link {
    color: var(--pink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(232,84,122,0.4);
    text-underline-offset: 2px;
}
.chat-login-link:hover { text-decoration-color: var(--rose); }

/* Input row */
.chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(232,84,122,0.1);
    background: rgba(11,5,24,0.8);
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(232,84,122,0.22);
    border-radius: 16px;
    color: var(--text);
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
    font-family: 'Inter', inherit;
    resize: none;
    max-height: 120px;
    overflow-y: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
    scrollbar-width: none;
    line-height: 1.5;
}
.chat-input::-webkit-scrollbar { display: none; }
.chat-input::placeholder { color: rgba(248,250,252,0.25); }
.chat-input:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(232,84,122,0.12);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad);
    border: none;
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(232,84,122,0.35);
}
.chat-send-btn:hover:not(:disabled) { transform: scale(1.08); box-shadow: 0 6px 20px rgba(232,84,122,0.45); }
.chat-send-btn:disabled { opacity: 0.5; cursor: default; transform: none; }

/* ═══════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════ */
.mujer-toast {
    position: fixed;
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(18,10,34,0.95);
    border: 1px solid rgba(232,84,122,0.35);
    color: var(--pink);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.mujer-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (min-width: 769px) {
    .mujer-toast { bottom: 2rem; }
}

/* ═══════════════════════════════════════════
   BUSCADOR (mujer/buscador.php)
   ═══════════════════════════════════════════ */
.search-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.6rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.search-card-title {
    color: var(--pink);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}
.search-card-title i {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Version tabs */
.version-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
}
.version-tab {
    background: rgba(176,107,204,0.07);
    border: 1px solid rgba(176,107,204,0.18);
    color: rgba(196,181,253,0.55);
    border-radius: 50px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
}
.version-tab:hover { background: rgba(176,107,204,0.14); color: var(--lavender); }
.version-tab.active {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 10px rgba(232,84,122,0.28);
}

/* Keyword form */
.search-form-row {
    display: flex;
    gap: 0.7rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}
.search-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(196,181,253,0.4);
    font-size: 0.82rem;
    pointer-events: none;
}
.mujer-search-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(232,84,122,0.2);
    border-radius: 14px;
    color: var(--text);
    padding: 0.72rem 0.9rem 0.72rem 2.4rem;
    font-size: 0.9rem;
    font-family: 'Inter', inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mujer-search-input::placeholder { color: rgba(248,250,252,0.22); }
.mujer-search-input:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(232,84,122,0.12);
}

/* Divider */
.search-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: #4a5568;
    font-size: 0.78rem;
}
.search-divider::before,
.search-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(232,84,122,0.1);
}
.search-divider span { white-space: nowrap; }

/* Reference form */
.search-ref-form { display: flex; flex-direction: column; gap: 0.75rem; }
.search-ref-row {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    align-items: flex-end;
}
.search-ref-field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 80px; }
.search-ref-field:first-child { flex: 3; min-width: 150px; }
.search-ref-small { flex: 1; min-width: 70px; }
.search-ref-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.search-ref-field .mujer-input {
    margin-bottom: 0;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
}
.search-ref-field select.mujer-input { cursor: pointer; }

/* Results header */
.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.search-results-count {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pink);
}
.search-results-version {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(176,107,204,0.1);
    border: 1px solid rgba(176,107,204,0.2);
    border-radius: 50px;
    padding: 0.22rem 0.7rem;
}

/* Verse result cards */
.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.search-verse-card {
    background: var(--card-bg);
    border: 1px solid rgba(176,107,204,0.14);
    border-left: 3px solid;
    border-image: linear-gradient(to bottom, var(--rose), var(--purple)) 1;
    border-radius: 0 18px 18px 0;
    padding: 1.1rem 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
}
.search-verse-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(176,107,204,0.12);
    background: var(--card-bg-h);
}

.search-verse-ref {
    color: var(--rose);
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: 0.04em;
}
.search-verse-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ede6f5;
    margin: 0 0 0.85rem;
}
mark.search-hl {
    background: rgba(232,84,122,0.22);
    color: var(--pink);
    border-radius: 3px;
    padding: 0 2px;
}

.search-verse-actions {
    display: flex;
    gap: 0.4rem;
}
.search-verse-btn {
    background: rgba(232,84,122,0.07);
    border: 1px solid rgba(232,84,122,0.18);
    color: var(--text-muted);
    width: 32px; height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.18s;
}
.search-verse-btn:hover:not(:disabled) {
    background: rgba(232,84,122,0.14);
    color: var(--pink);
    border-color: rgba(232,84,122,0.3);
    transform: scale(1.05);
}
.search-verse-btn:disabled { opacity: 0.55; cursor: default; }

.search-explanation {
    margin-top: 0.85rem;
    background: rgba(176,107,204,0.06);
    border: 1px solid rgba(176,107,204,0.18);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    font-size: 0.85rem;
    line-height: 1.75;
    color: #ddd5ee;
    animation: fadeIn 0.3s ease;
}

/* Empty / error states */
.search-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #4a5568;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.search-error {
    background: rgba(220,53,69,0.08);
    border: 1px solid rgba(220,53,69,0.25);
    color: #fc8181;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════
   EXPLORE GRID — 3 tiles (index.php)
   ═══════════════════════════════════════════ */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}

.explore-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.4rem 0.85rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.explore-card:hover { transform: translateY(-4px); background: var(--card-bg-h); }

.explore-card[data-color="rose"]     { border-color: rgba(232,84,122,0.22); }
.explore-card[data-color="purple"]   { border-color: rgba(176,107,204,0.22); }
.explore-card[data-color="lavender"] { border-color: rgba(196,181,253,0.2); }

.explore-card[data-color="rose"]:hover     { border-color: var(--rose);     box-shadow: 0 12px 36px rgba(232,84,122,0.2); }
.explore-card[data-color="purple"]:hover   { border-color: var(--purple);   box-shadow: 0 12px 36px rgba(176,107,204,0.2); }
.explore-card[data-color="lavender"]:hover { border-color: var(--lavender); box-shadow: 0 12px 36px rgba(196,181,253,0.15); }

.explore-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}
.explore-card[data-color="rose"] .explore-icon     { background: rgba(232,84,122,0.13); border: 1px solid rgba(232,84,122,0.22); color: #e8547a; }
.explore-card[data-color="purple"] .explore-icon   { background: rgba(176,107,204,0.13); border: 1px solid rgba(176,107,204,0.22); color: #b06bcc; }
.explore-card[data-color="lavender"] .explore-icon { background: rgba(196,181,253,0.1);  border: 1px solid rgba(196,181,253,0.2);  color: #c4b5fd; }

.explore-name { font-size: 0.92rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.explore-desc { font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; }

@media (max-width: 360px) {
    .explore-card { padding: 1.1rem 0.55rem; }
    .explore-icon { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 13px; }
    .explore-name { font-size: 0.8rem; }
    .explore-desc { display: none; }
}

/* ═══════════════════════════════════════════
   DEVOCIONAL PREVIEW CARDS (index.php)
   ═══════════════════════════════════════════ */
.dev-preview-list { display: flex; flex-direction: column; gap: 0.85rem; }

.dev-preview-card {
    background: var(--card-bg);
    border: 1px solid rgba(232,84,122,0.12);
    border-radius: 18px;
    padding: 1.15rem 1.3rem;
    position: relative; overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
    text-decoration: none; display: block; color: inherit;
}
.dev-preview-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--grad);
    border-radius: 3px 0 0 3px;
}
.dev-preview-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(232,84,122,0.1);
    background: var(--card-bg-h);
}
.dev-preview-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.dev-preview-autor  { font-size: 0.74rem; color: var(--text-muted); flex: 1; }
.dev-preview-fecha  { font-size: 0.7rem; color: #4a5568; }
.dev-preview-titulo { font-size: 0.97rem; font-weight: 700; color: var(--pink); margin: 0 0 0.28rem; letter-spacing: -0.01em; }
.dev-preview-ref    { font-size: 0.77rem; color: var(--rose); font-style: italic; margin: 0 0 0.38rem; }
.dev-preview-text   {
    font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dev-preview-footer { margin-top: 1rem; display: flex; justify-content: center; }

/* Link-style outline button */
.mujer-link-btn {
    color: var(--pink); font-size: 0.84rem; font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(232,84,122,0.25); border-radius: 50px;
    transition: all 0.22s; background: rgba(232,84,122,0.05);
}
.mujer-link-btn:hover { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 4px 16px rgba(232,84,122,0.3); }
.mujer-link-btn i { font-size: 0.78rem; }

/* Avatar placeholder en preview cards */
.dev-preview-avatar-placeholder {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(232,84,122,0.12);
    border: 1px solid rgba(232,84,122,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.62rem; color: var(--rose);
    flex-shrink: 0;
}

/* Botón eliminar propio devocional */
.dev-delete-btn {
    background: none;
    border: none;
    color: #4a5568;
    font-size: 0.72rem;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    margin-left: 0.3rem;
    transition: color 0.2s, background 0.2s;
    vertical-align: middle;
}
.dev-delete-btn:hover { color: #fc8181; background: rgba(252,129,129,0.1); }

/* ─── Call-to-action inline card ─── */
.explore-cta-card {
    display: flex; align-items: center; gap: 1rem;
    background: var(--card-bg);
    border: 1px dashed rgba(176,107,204,0.3);
    border-radius: 20px; padding: 1.25rem 1.3rem;
    text-decoration: none; color: inherit;
    transition: transform 0.22s, background 0.22s, border-color 0.22s;
    cursor: pointer;
}
.explore-cta-card:hover { transform: translateX(3px); background: var(--card-bg-h); border-color: var(--purple); }
.explore-cta-card .explore-icon { flex-shrink: 0; }
.explore-cta-content { flex: 1; }
.explore-cta-content .explore-name { text-align: left; font-size: 0.95rem; }
.explore-cta-content .explore-desc { text-align: left; font-size: 0.8rem; white-space: normal; }
.explore-cta-arrow { color: rgba(196,181,253,0.35); font-size: 0.8rem; flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.explore-cta-card:hover .explore-cta-arrow { color: var(--lavender); transform: translateX(3px); }

/* ═══════════════════════════════════════════
   DEVOCIONALES PAGE — extra overrides
   ═══════════════════════════════════════════ */
.dev-char-bar {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: -0.5rem; margin-bottom: 0.85rem;
}
.dev-char-count { font-size: 0.74rem; color: #4a5568; }
.dev-char-hint  { font-size: 0.72rem; color: #4a5568; font-style: italic; }

/* ═══════════════════════════════════════════
   ESTILOS PARA EL PROYECTO PADRE (index.php)
   tarjeta y botón en la página principal
   ═══════════════════════════════════════════ */
.nav-card.mujer-card {
    background: linear-gradient(135deg, rgba(232,84,122,0.1) 0%, rgba(176,107,204,0.1) 100%);
    border-color: rgba(232,84,122,0.28);
}
.nav-card.mujer-card:hover {
    border-color: var(--rose);
    box-shadow: 0 8px 32px rgba(232,84,122,0.25), 0 0 0 1px rgba(232,84,122,0.15);
}
.nav-card.mujer-card .nav-icon i { color: var(--rose); }
.nav-card.mujer-card h3          { color: var(--pink); }
.floating-button.mujer-button    { color: var(--pink) !important; }
