:root{
    --primary:#16a34a;
    --primary-2:#22c55e;
    --primary-light:#4ade80;
    --secondary:#7c3aed;
    --accent:#f59e0b;
    --pink:#ec4899;
    --success:#16a34a;
    --danger:#ef4444;
    --bg:#f4f6f8;
    --surface:#ffffff;
    --surface-2:#f1f4f8;
    --glass:rgba(255,255,255,0.78);
    --text-main:#0f172a;
    --text-muted:#64748b;
    --border:#e7ebf1;
    --gradient:
        linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    --hero:
        linear-gradient(135deg, #143a2e 0%, #0f2e3d 55%, #1c1440 100%);
    --shadow:
        0 20px 60px rgba(15,23,42,0.12);
    --shadow-soft:
        0 10px 30px rgba(15,23,42,0.08);
    --radius-lg:28px;
    --radius-md:18px;
    --radius-pill:100px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

body{
    margin:0;
    font-family:'Plus Jakarta Sans',sans-serif;
    background:
        radial-gradient(
            circle at top left,
            rgba(124,58,237,0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(22,163,74,0.10),
            transparent 30%
        ),
        var(--bg);
    color:var(--text-main);
    padding-top:calc(90px + var(--safe-top));
    overflow-x:hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar-fixed{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    backdrop-filter:blur(16px);
    background:
        rgba(10,12,18,0.86);
    border-bottom:
        1px solid rgba(255,255,255,0.08);
    padding:calc(14px + var(--safe-top)) 0 14px;
}

.nav-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:0 clamp(10px, 4vw, 16px); /* Espacement horizontal fluide */
    max-width:100%;
    box-sizing:border-box;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:clamp(8px, 2.5vw, 12px);
    min-width:0; /* Indispensable pour qu'un enfant flex puisse vraiment rétrécir/tronquer son texte */
    flex:1 1 auto;
}

.logo-icon{
    width:clamp(38px, 11vw, 50px);
    height:clamp(38px, 11vw, 50px);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    box-shadow:0 8px 20px rgba(22,163,74,0.35);
    flex-shrink:0;
}

.logo-icon img{ /* Pour le logo image */
    width:100%;
    height:100%;
    object-fit: contain;
}

.logo-text{
    display:flex;
    flex-direction:column;
    min-width:0; /* Permet à .logo / .logo-sub de tronquer plutôt que déborder */
    overflow:hidden;
}

.logo{
    color:white;
    font-size:clamp(0.78rem, 3.6vw, 0.95rem);
    font-weight:900;
    letter-spacing:clamp(0.5px, 0.4vw, 2px);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
}

.logo-sub{
    color:rgba(255,255,255,0.7);
    font-size:0.68rem;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
}

.right-zone{
    display:flex;
    align-items:center;
    gap:clamp(6px, 2vw, 10px);
    flex-shrink:0;
    max-width:62%; /* Laisse toujours la priorité au logo plutôt que d'écraser tout l'espace */
    overflow-x:auto; /* Filet de sécurité : si vraiment ça ne tient pas, ça défile plutôt que de casser la mise en page */
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}
.right-zone::-webkit-scrollbar{ display:none; }

.lang-select{
    background:
        rgba(255,255,255,0.12);
    color:white;
    border:
        1px solid rgba(255,255,255,0.16);
    border-radius:14px;
    padding:clamp(6px, 2vw, 8px) clamp(6px, 2vw, 10px);
    font-size:0.74rem;
    font-weight:800;
    outline:none;
    flex-shrink:0;
}

.lang-select option{
    color:#181716;
}

.auth-buttons{
    display:flex;
    align-items:center;
    gap:clamp(5px, 1.5vw, 8px);
    flex-shrink:0;
}

.top-btn{
    border:none;
    border-radius:15px;
    padding:clamp(8px, 2.4vw, 10px) clamp(9px, 3vw, 14px);
    display:flex;
    align-items:center;
    gap:6px;
    font-size:0.72rem;
    font-weight:800;
    cursor:pointer;
    transition:0.2s;
    box-shadow:var(--shadow-soft);
    white-space:nowrap;
    flex-shrink:0;
}

/* Sur très petit écran, les libellés texte des boutons du header
   (ex: "Connexion", "Tableau de bord") s'effacent pour ne garder que
   l'icône : ça évite le débordement sans jamais couper le texte à moitié. */
@media (max-width:380px){
    .top-btn{ padding:9px; }
    .top-btn span{ display:none; }
    .logo-sub{ display:none; }
}

.top-btn:active{
    transform:scale(.95);
}

.top-btn i{
    width:15px;
    height:15px;
}

.btn-login{
    background:linear-gradient(135deg,#ef4444 0%,#b91c1c 100%);
    color:#fff;
    box-shadow:0 8px 20px rgba(220,38,38,0.4);
    position:relative;
}

.btn-login:hover{
    box-shadow:0 10px 26px rgba(220,38,38,0.5);
    filter:brightness(1.06);
}

.btn-user{
   
    color:#4aadde;
}

.btn-dashboard{
    background:rgba(124,58,237,0.16);
    color:#c4b5fd;
}

.btn-logout{
    background:var(--danger);
    color:white;
}

/* =========================
   HERO
========================= */

.hero{
    margin:0 14px 24px;
    border-radius:var(--radius-lg);
    overflow:hidden;
    position:relative;
    background:var(--hero);
    padding:clamp(24px,7vw,34px) clamp(18px,5.5vw,26px);
    box-shadow:
        0 30px 60px rgba(0,0,0,0.35);
}

.hero::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    background:
        radial-gradient(circle, rgba(34,197,94,0.25) 0%, rgba(34,197,94,0) 70%);
    top:-140px;
    right:-70px;
}

.hero::after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    border-radius:50%;
    background:
        radial-gradient(circle, rgba(124,58,237,0.22) 0%, rgba(124,58,237,0) 70%);
    bottom:-80px;
    left:-40px;
}

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

.hero-title{
    font-size:clamp(1.5rem, 6.5vw, 2.2rem);
    line-height:1.15;
    color:white;
    font-weight:900;
    margin-bottom:14px;
}

.hero-buttons{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:24px;
}

.hero-btn{
    border:none;
    border-radius:var(--radius-pill);
    padding:14px 20px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    cursor:pointer;
    flex:1 1 auto;
    min-height:48px;
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-btn:active{ transform:scale(0.96); }
.hero-btn i{ width:18px; height:18px; }

.primary-btn{
   
    color:#06210f;
    box-shadow:0 10px 22px rgba(22,163,74,0.35);
}

.secondary-btn{
    background:
        rgba(255,255,255,0.14);
    color:white;
    border:
        1px solid rgba(255,255,255,0.18);
}

.hero-stats{
    margin-top:28px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.stat-box{
    background:
        rgba(255,255,255,0.10);
    border:
        1px solid rgba(255,255,255,0.1);
    border-radius:var(--radius-md);
    padding:clamp(10px,3.5vw,16px) 8px;
    text-align:center;
    backdrop-filter:blur(10px);
}

.stat-number{
    color:white;
    font-size:clamp(1rem, 4.5vw, 1.2rem);
    font-weight:900;
}

.stat-label{
    color:rgba(255,255,255,0.72);
    font-size:0.68rem;
    margin-top:4px;
    font-weight:700;
}

/* =========================
   LABEL
========================= */

.section-label{
    padding:10px 18px;
    color:var(--text-main);
    font-size:clamp(0.95rem, 4vw, 1.1rem);
    font-weight:900;
    display:flex;
    align-items:center;
    gap:8px;
}

/* =========================
   PODIUM
========================= */

.podium-box{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:10px;
    padding:30px 12px 22px;
    min-height:180px;
    margin:0 14px;
    border-radius:var(--radius-lg);
    overflow:hidden;
    position:relative;
}

.podium-box::after{
    content:"";
    position:absolute;
    left:20px;
    right:20px;
    bottom:16px;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(15,23,42,0.1), transparent);
}

.rank-card{
    background:var(--glass);
    backdrop-filter:blur(16px);
    border-radius:24px;
    padding:22px 10px 18px;
    width:32%;
    display:flex;
    flex-direction:column;
    align-items:center;
    box-shadow:var(--shadow-soft);
    border:
        1px solid rgba(255,255,255,0.4);
    opacity:0;
    transform:translateY(30px);
    transition:0.5s;
    position:relative;
    z-index:1;
}

.rank-card:hover{
    box-shadow:0 20px 42px rgba(15,23,42,0.16);
}

.rank-card.animate{
    opacity:1;
    transform:translateY(0);
}
.rank-1.animate{
    transform:translateY(-10px);
}
.rank-3.animate{
    transform:translateY(8px);
}

.rank-1{
    transform:translateY(-10px);
    
   
}

.rank-1::before{
    content:"👑";
    position:absolute;
    top:-20px;
    left:50%;
    transform:translateX(-50%);
    font-size:1.3rem;
    filter:drop-shadow(0 4px 8px rgba(220,38,38,0.35));
}

.rank-3{
    transform:translateY(8px);
}

.rank-card.animated-box {
    opacity:1 !important;
    transform:translateY(0) !important;
}
.rank-1.animated-box {
    transform:translateY(-10px) !important;
}
.rank-3.animated-box {
    transform:translateY(8px) !important;
}

.avatar{
    width:clamp(48px, 15vw, 58px);
    height:clamp(48px, 15vw, 58px);
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ff0808;
    font-weight:900;
    position:relative;
    margin-bottom:10px;
    text-transform:uppercase;
    box-shadow:0 8px 18px rgba(22,163,74,0.3);
}

.rank-1 .avatar{
    width:clamp(60px, 19vw, 74px);
    height:clamp(60px, 19vw, 74px);
}



.rank-badge{
    position:absolute;
    right:-6px;
    bottom:-6px;
    width:24px;
    height:24px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--accent);
    color:white;
    font-size:0.7rem;
    font-weight:900;
    box-shadow:0 4px 10px rgba(15,23,42,0.2);
}

.rank-1 .rank-badge{
    background:linear-gradient(135deg,#ef4444,#b91c1c);
}

.rank-2 .rank-badge{
    background:linear-gradient(135deg,#fca5a5,#f87171);
}

.rank-3 .rank-badge{
    background:linear-gradient(135deg,#991b1b,#7f1d1d);
}

.name{
    font-size:0.78rem;
    font-weight:800;
    text-align:center;
}

.user-pts{
    margin-top:6px;
    color:var(--accent);
    font-size:0.7rem;
    font-weight:900;
}


/* =========================
   ÉGLISES PROCHES
========================= */

.nearby-churches{
    margin-top:8px;
    margin-bottom:18px;
}

.nearby-section-title{
    padding-bottom:10px;
}

.nearby-title-icon{
    width:32px;
    height:32px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-2)
    );
    color:#fff;
    box-shadow:0 8px 20px rgba(22,163,74,0.22);
}

.nearby-title-icon svg{
    width:17px;
    height:17px;
    stroke-width:2.7;
}

.nearby-church-card{
    margin:0 14px;
    padding:20px;
    border-radius:var(--radius-lg);
    background:var(--glass);
    border:1px solid rgba(255,255,255,0.45);
    box-shadow:var(--shadow-soft);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    position:relative;
    overflow:hidden;
}

.nearby-church-card::before{
    content:"";
    position:absolute;
    width:150px;
    height:150px;
    right:-65px;
    top:-75px;
    border-radius:50%;
    background:rgba(34,197,94,0.10);
    pointer-events:none;
}

.nearby-church-header{
    display:flex;
    align-items:center;
    gap:14px;
    position:relative;
    z-index:1;
}

.nearby-church-icon{
    flex:0 0 52px;
    width:52px;
    height:52px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(
        135deg,
        rgba(22,163,74,0.15),
        rgba(34,197,94,0.08)
    );
    color:var(--primary);
}

.nearby-church-icon svg{
    width:25px;
    height:25px;
    stroke-width:2.2;
}

.nearby-church-intro{
    min-width:0;
}

.nearby-church-intro h3{
    margin:0;
    color:var(--text-main);
    font-size:1rem;
    font-weight:900;
}

.nearby-church-intro p{
    margin:5px 0 0;
    color:var(--text-muted);
    font-size:0.82rem;
    line-height:1.45;
    font-weight:600;
}

.nearby-church-actions{
    display:flex;
    gap:10px;
    margin-top:18px;
    position:relative;
    z-index:1;
}

.nearby-location-btn{
    flex:1;
    min-height:48px;
    border:0;
    border-radius:16px;
    padding:0 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    cursor:pointer;
    color:#fff;
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-2)
    );
    font-size:0.84rem;
    font-weight:900;
    box-shadow:0 10px 24px rgba(22,163,74,0.22);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.nearby-location-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(22,163,74,0.28);
}

.nearby-location-btn:active{
    transform:translateY(0);
}

.nearby-location-btn:disabled{
    opacity:.65;
    cursor:wait;
    transform:none;
}

.nearby-location-btn svg{
    width:17px;
    height:17px;
    stroke-width:2.5;
}

.nearby-radius{
    width:125px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
}

.nearby-radius label{
    color:var(--text-muted);
    font-size:0.68rem;
    font-weight:800;
}

.nearby-radius select{
    width:100%;
    height:32px;
    border:1px solid var(--border);
    border-radius:10px;
    padding:0 8px;
    background:var(--surface);
    color:var(--text-main);
    font-size:0.76rem;
    font-weight:800;
    outline:none;
}

.nearby-radius select:focus{
    border-color:var(--primary);
}

.nearby-church-status{
    margin-top:14px;
    padding:11px 13px;
    border-radius:13px;
    display:flex;
    align-items:flex-start;
    gap:8px;
    background:var(--surface-2);
    color:var(--text-muted);
    font-size:0.74rem;
    font-weight:700;
    line-height:1.4;
}

.nearby-church-status svg{
    flex:0 0 auto;
    width:15px;
    height:15px;
    margin-top:1px;
}

.nearby-church-results{
    display:grid;
    gap:10px;
    margin-top:14px;
}

.nearby-church-result{
    padding:15px;
    border-radius:17px;
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:0 6px 18px rgba(15,23,42,0.06);
}

.nearby-church-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.nearby-church-result-title {
    margin: 0;
    flex: 1 1 220px;
    min-width: 0;
    line-height: 1.4;
    word-break: break-word;
}

.nearby-church-distance {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}

.nearby-church-meta{
    display:flex;
    flex-direction:column;
    gap:5px;
    margin-top:9px;
    color:var(--text-muted);
    font-size:0.74rem;
    font-weight:650;
}

.nearby-church-meta span{
    display:flex;
    align-items:flex-start;
    gap:7px;
}

.nearby-church-meta svg{
    flex:0 0 auto;
    width:14px;
    height:14px;
    margin-top:1px;
}

.nearby-church-route{
    margin-top:12px;
    width:100%;
    min-height:38px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--surface-2);
    color:var(--text-main);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    font-size:0.74rem;
    font-weight:900;
    cursor:pointer;
    transition:.2s ease;
}

.nearby-church-route:hover{
    border-color:var(--primary);
    color:var(--primary);
    transform:translateY(-1px);
}

.nearby-church-empty{
    padding:18px 12px;
    text-align:center;
    color:var(--text-muted);
    font-size:0.78rem;
    font-weight:700;
}

.nearby-church-empty svg{
    width:30px;
    height:30px;
    margin-bottom:8px;
    opacity:.65;
}

/* =========================
   DARK MODE
========================= */

html[data-theme="dark"] .nearby-church-card{
    border-color:rgba(255,255,255,0.08);
}

html[data-theme="dark"] .nearby-church-result{
    border-color:rgba(255,255,255,0.08);
}

html[data-theme="dark"] .nearby-radius select{
    border-color:rgba(255,255,255,0.10);
}

html[data-theme="dark"] .nearby-church-route{
    border-color:rgba(255,255,255,0.10);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:560px){

    .nearby-church-card{
        padding:16px;
    }

    .nearby-church-actions{
        flex-direction:column;
    }

    .nearby-radius{
        width:100%;
    }

    .nearby-radius select{
        height:40px;
    }

    .nearby-location-btn{
        min-height:46px;
    }

}

/* =========================
   CATEGORY (FIXED WRAP - NO SCROLL)
========================= */

.category-scroll{
    display:flex;
    flex-wrap:wrap; /* Aligne les boutons sur plusieurs lignes si nécessaire */
    gap:8px;
    padding:0 20px 18px;
}

.cat-badge{
    background:var(--surface);
    border:
        1px solid var(--border);
    padding:10px 16px;
    border-radius:var(--radius-pill);
    display:flex;
    align-items:center;
    gap:6px;
    font-size:0.78rem;
    font-weight:800;
    color:var(--text-muted);
    cursor:pointer;
    transition: all 0.2s ease;
    flex: 1 1 auto;
    justify-content: center;
    min-height:40px;
}

.cat-badge.active{
    background:#4aadde;
    color:#fff;
    border:none;
    box-shadow: 0 8px 18px rgba(22,163,74,0.3);
}

.cat-badge i {
    width: 16px;
    height: 16px;
}

/* =========================
   PREMIUM
========================= */

.premium-banner{
    margin:20px 14px 24px;
    background:
        linear-gradient(
            135deg,
            #111827,
            #1e1b4b
        );
    border-radius:var(--radius-lg);
    padding:clamp(20px,5.5vw,26px);
    color:white;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    overflow:hidden;
    position:relative;
}

.premium-banner::before{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    border-radius:50%;
    background:
        rgba(255,255,255,0.05);
    top:-80px;
    right:-50px;
}

.premium-left{
    position:relative;
    z-index:2;
}

.premium-mini-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:
        #4aadde;
    border:
        1px solid rgba(34,197,94,0.3);
    color:#fff;
    padding:9px 14px;
    border-radius:999px;
    font-size:0.72rem;
    font-weight:800;
    margin-bottom:16px;
}

.premium-title{
    font-size:1.3rem;
    font-weight:900;
    margin-bottom:10px;
}

.premium-text{
    color:rgba(255,255,255,0.74);
    line-height:1.6;
    font-size:0.88rem;
}

.premium-right{
    position:relative;
    z-index:2;
    width:64px;
    height:64px;
    border-radius:20px;
    background:rgba(34,197,94,0.14);
    border:1px solid rgba(34,197,94,0.25);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.premium-right i{
    width:30px;
    height:30px;
    color:#4ade80;
}

/* =========================
   ARTICLES
========================= */

.container{
    padding:0 14px;
    min-height: 200px;
}

.bible-card{
    background:var(--surface);
    border-radius:var(--radius-lg);
    border:1px solid var(--border);
    overflow:hidden;
    margin-bottom:18px;
    box-shadow:var(--shadow-soft);
    opacity:0;
    transform:translateY(30px);
    transition:transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
}

.bible-card.animate{
    opacity:1;
    transform:translateY(0);
}

.bible-card:hover{
    box-shadow:0 18px 40px rgba(22,163,74,0.16);
}

.card-image{
    height:200px;
    background-size:cover;
    background-position:center;
    background-color:var(--surface-2);
}

.card-body{
    padding:clamp(16px,5vw,22px);
}

.card-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
    font-size:0.72rem;
    font-weight:800;
}

.card-author{
    display:flex;
    align-items:center;
    gap:6px;
    color:#4aadde;
}

.card-date{
    color:var(--text-muted);
}

.card-title{
    font-size:1.1rem;
    font-weight:900;
    margin-bottom:10px;
}

.card-text{
    color:var(--text-muted);
    line-height:1.7;
    font-size:0.92rem;
}

/* =========================
   PAGINATION
========================= */

#pagination-controls{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:16px;
    margin:10px 0 120px;
}

.page-btn{
    width:48px;
    height:48px;
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    background:var(--surface);
    box-shadow:var(--shadow-soft);
    color:var(--primary);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.page-btn:hover{
    background:var(--gradient);
    color:#06210f;
}
.page-btn:active{ transform:scale(0.94); }

/* =========================
   BOTTOM NAV
========================= */

.bottom-nav{
    position:fixed;
    bottom:calc(12px + var(--safe-bottom));
    left:12px;
    right:12px;
    background:
        rgba(255,255,255,0.94);
    backdrop-filter:blur(18px);
    border-radius:var(--radius-lg);
    border:1px solid var(--border);
    padding:12px 8px;
    display:flex;
    justify-content:space-around;
    box-shadow:
        0 18px 50px rgba(0,0,0,0.16);
    z-index:999;
}

.nav-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    text-decoration:none;
    color:var(--text-muted);
    font-size:0.66rem;
    font-weight:800;
    min-width:44px;
    padding:2px;
}

.nav-item i{
    width:20px;
    height:20px;
}

.nav-item.active{
    color:#4aadde;
}

.nav-item.active i{
    width:42px;
    height:42px;
    padding:10px;
    border-radius:16px;
    background:var(--gradient);
    color:#06210f;
    margin-top:-24px;
    box-shadow:
        0 14px 30px rgba(22,163,74,0.4);
}

/* =========================
   RESPONSIVE
========================= */

@media(min-width:768px){
    .hero-title{
        font-size:3rem;
    }
}

.logo-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
}

/* ---- Icônes : plus vivantes, plus professionnelles ---- */
i[data-feather]{ stroke-width:2.1; }
.top-btn, .hero-btn, .nav-item, .cat-badge, .page-btn{
    -webkit-tap-highlight-color:transparent;
}
.top-btn i, .cat-badge i{ transition:transform 0.2s ease; }
.cat-badge:hover i{ transform:scale(1.1); }
.card-author i{ width:14px; height:14px; }

/* ---- Petits écrans Android (≤380px) ---- */
@media (max-width:380px){
    .hero-buttons{ flex-direction:column; }
    .hero-btn{ width:100%; }
    .hero-stats{ gap:8px; }
    .stat-box{ padding:10px 6px; }
    .podium-box{ gap:6px; padding:26px 8px 18px; }
    .rank-card{ padding:16px 6px 14px; }
    .premium-banner{ flex-direction:column; align-items:flex-start; text-align:left; }
    .nav-item span{ font-size:0.6rem; }

    /* Ajustements spécifiques pour l'en-tête */
    .logo-icon img {
        width: 45px; /* Réduire la taille de l'image du logo */
        height: 45px;
    }
    .logo {
        font-size: 0.85rem; /* Réduire la taille du titre */
    }
    .logo-sub {
        font-size: 0.6rem; /* Réduire la taille du sous-titre */
    }
    .right-zone {
        gap: 6px; /* Réduire l'espacement entre les éléments à droite */
    }
    .lang-select {
        padding: 6px 8px; /* Réduire le rembourrage du sélecteur de langue */
        font-size: 0.7rem;
    }
    .top-btn {
        padding: 8px 12px; /* Réduire le rembourrage des boutons d'authentification */
        font-size: 0.7rem;
    }
    .top-btn i {
        width: 14px; /* Réduire la taille des icônes des boutons */
        height: 14px;
    }
}

/* ---- Grands mobiles / petites tablettes : largeur de lecture confortable ---- */
@media (min-width:600px){
    .hero-content, .container, #pagination-controls{ max-width:640px; margin-left:auto; margin-right:auto; }
    .hero{ max-width:640px; margin-left:auto; margin-right:auto; }
    .podium-box, .premium-banner{ max-width:640px; margin-left:auto; margin-right:auto; }
    .bottom-nav{ max-width:640px; margin:0 auto; left:0; right:0; }
}

/* =========================================================================
   MODE SOMBRE — habillage "app streaming" (fond quasi noir, néon vert)
   ========================================================================= */

html[data-theme="dark"]{
    --bg:#0a0a0d;
    --surface:#16171d;
    --surface-2:#1d1e26;
    --glass:rgba(10,10,13,0.82);
    --text-main:#f5f5f7;
    --text-muted:#9a9ba7;
    --border:rgba(255,255,255,0.08);
    --shadow-soft:0 10px 26px rgba(0,0,0,0.4);
    --shadow:0 20px 50px rgba(0,0,0,0.5);
}

html[data-theme="dark"] body{
    background:
        radial-gradient(circle at top left, rgba(124,58,237,0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(34,197,94,0.10), transparent 30%),
        var(--bg);
}

html[data-theme="dark"] .navbar-fixed{
    background:rgba(6,7,10,0.9);
    border-bottom:1px solid var(--border);
}

html[data-theme="dark"] .rank-card{
    background:rgba(22,23,29,0.85);
    border:1px solid var(--border);
}

html[data-theme="dark"] .podium-box::after{
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

html[data-theme="dark"] .cat-badge{
    background:var(--surface-2);
    border:1px solid var(--border);
    color:var(--text-muted);
}
html[data-theme="dark"] .cat-badge.active{
    color:#fff;
}

html[data-theme="dark"] .bible-card{
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:none;
}
html[data-theme="dark"] .bible-card:hover{
    box-shadow:0 18px 40px rgba(34,197,94,0.14);
}
html[data-theme="dark"] .card-image{
    background-color:var(--surface-2);
}

html[data-theme="dark"] .page-btn{
    background:var(--surface);
    border:1px solid var(--border);
    color:var(--text-main);
}
html[data-theme="dark"] .page-btn:hover{
    color:#06210f;
}

html[data-theme="dark"] .bottom-nav{
    background:rgba(12,12,15,0.96);
    border:1px solid var(--border);
    box-shadow:0 20px 45px rgba(0,0,0,0.55);
}
html[data-theme="dark"] .nav-item.active i{
    box-shadow:0 12px 24px rgba(34,197,94,0.4);
}

html[data-theme="dark"] .btn-user{ background:rgba(34,197,94,0.14); }
html[data-theme="dark"] .btn-dashboard{ background:rgba(124,58,237,0.18); }


/* =========================================================
   ÉGLISES PROCHES — CARTES MODERNES
========================================================= */

.nearby-church-results {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}


.nearby-church-result {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.06),
        0 2px 6px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    animation: nearbyChurchAppear .45s ease both;
    animation-delay: calc(var(--church-index) * 90ms);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.nearby-church-result::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        180deg,
        #16a34a,
        #22c55e
    );
}


.nearby-church-result:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, .25);
    box-shadow:
        0 14px 35px rgba(15, 23, 42, 0.10),
        0 4px 10px rgba(22, 163, 74, 0.08);
}


/* =========================================================
   ICÔNE ÉGLISE
========================================================= */

.nearby-church-icon {
    position: relative;
    flex: 0 0 58px;
}


.nearby-church-icon-inner {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: linear-gradient(
        145deg,
        #dcfce7,
        #bbf7d0
    );
    color: #15803d;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.8),
        0 5px 12px rgba(22,163,74,.12);
}


.nearby-church-icon-inner svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.2;
}


/* =========================================================
   BADGE PLUS PROCHE
========================================================= */

.nearby-church-nearest {
    position: absolute;

    /* Décalage pour éviter complètement l'icône */
    top: 52px;
    left: 78px;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 10px;

    border-radius: 999px;

    background: #ecfdf5;
    color: #15803d;

    border: 1px solid #bbf7d0;

    font-size: 0.72rem;
    font-weight: 800;

    white-space: nowrap;

    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.10);

    z-index: 5;
}

.nearby-church-nearest svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.5;
}

.nearby-church-nearest svg {
    width: 11px;
    height: 11px;
    stroke-width: 2.5;
}


/* =========================================================
   CONTENU
========================================================= */

.nearby-church-content {
    flex: 1;
    min-width: 0;
}


.nearby-church-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}


.nearby-church-title-wrap {
    min-width: 0;
}


.nearby-church-result-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}


.nearby-church-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.4;
}


.nearby-church-location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #16a34a;
}


/* =========================================================
   DISTANCE
========================================================= */

.nearby-church-distance {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 11px;
    background: #f0fdf4;
    color: #15803d;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}


.nearby-church-distance svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   CONTACT
========================================================= */

.nearby-church-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-top: 12px;
}


.nearby-church-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: .8rem;
}


.nearby-church-contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #94a3b8;
}


/* =========================================================
   ACTION
========================================================= */

.nearby-church-actions {
    margin-top: 14px;
}


.nearby-church-route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    border: none;
    border-radius: 11px;
    background: #0f172a;
    color: #fff;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.nearby-church-route:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(22,163,74,.18);
}


.nearby-church-route:active {
    transform: scale(.97);
}


.nearby-church-route svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes nearbyChurchAppear {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   MODE SOMBRE
========================================================= */

[data-theme="dark"] .nearby-church-result {
    background: rgba(15, 23, 42, .92);
    border-color: rgba(71, 85, 105, .45);
    box-shadow:
        0 8px 25px rgba(0,0,0,.18);
}


[data-theme="dark"] .nearby-church-result-title {
    color: #f8fafc;
}


[data-theme="dark"] .nearby-church-location,
[data-theme="dark"] .nearby-church-contact-item {
    color: #94a3b8;
}


[data-theme="dark"] .nearby-church-route {
    background: #1e293b;
}


[data-theme="dark"] .nearby-church-route:hover {
    background: #15803d;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .nearby-church-result {
        padding: 15px;
        gap: 12px;
        border-radius: 17px;
    }

    .nearby-church-icon,
    .nearby-church-icon-inner {
        width: 48px;
        height: 48px;
    }

    .nearby-church-icon-inner svg {
        width: 23px;
        height: 23px;
    }

    .nearby-church-nearest {
        left: 27px;
        font-size: .56rem;
    }

    .nearby-church-result-header {
        flex-direction: column;
        gap: 8px;
    }

    .nearby-church-distance {
        align-self: flex-start;
    }

    .nearby-church-result-title {
        font-size: .96rem;
    }

    .nearby-church-contact {
        flex-direction: column;
        gap: 6px;
    }

    .nearby-church-route {
        width: 100%;
    }
}



@media (max-width: 600px) {

    .nearby-church-result-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nearby-church-result-title {
        width: 100%;
    }

    .nearby-church-distance {
        margin-left: 0;
        align-self: flex-start;
    }
}

.nearby-church-result {
    position: relative;
}

.nearby-church-nearest {
    position: absolute;
    top: 62px;
    left: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    padding: 4px 8px;

    border-radius: 999px;

    background: #ecfdf5;
    color: #15803d;

    border: 1px solid #bbf7d0;

    font-size: 0.65rem;
    font-weight: 800;

    white-space: nowrap;

    z-index: 5;
}

.nearby-church-nearest svg {
    width: 11px;
    height: 11px;
}

/* =========================================================
   CARTE ÉGLISES PROCHES
========================================================= */

.nearby-church-map {
    width: 100%;
    height: 360px;

    margin: 20px 0;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid rgba(148, 163, 184, .25);

    box-shadow:
        0 10px 30px rgba(15, 23, 42, .10);

    background: #e2e8f0;

    position: relative;
}

.nearby-church-map .leaflet-control-zoom {
    border: none;
    box-shadow: 0 4px 15px rgba(15, 23, 42, .15);
}

.nearby-church-map .leaflet-control-zoom a {
    border: none;
}

.nearby-church-map .leaflet-popup-content-wrapper {
    border-radius: 14px;
}

.nearby-church-map .leaflet-popup-content {
    margin: 14px;
}

.nearby-map-popup {
    min-width: 190px;
}

.nearby-map-popup-title {
    margin: 0 0 7px;

    font-size: 1rem;
    font-weight: 800;

    color: #0f172a;
}

.nearby-map-popup-distance {
    display: inline-flex;

    padding: 4px 8px;

    border-radius: 999px;

    background: #ecfdf5;
    color: #15803d;

    font-size: .72rem;
    font-weight: 800;
}

.nearby-map-popup-address {
    margin-top: 8px;

    color: #64748b;

    font-size: .82rem;

    line-height: 1.5;
}

.nearby-map-popup-route {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 10px;

    padding: 8px 12px;

    border-radius: 9px;

    background: #15803d;
    color: white;

    text-decoration: none;

    font-size: .8rem;
    font-weight: 700;
}

.nearby-map-popup-route:hover {
    background: #166534;
    color: white;
}


/* POSITION UTILISATEUR */

.nearby-user-marker {
    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #2563eb;

    border: 4px solid white;

    box-shadow:
        0 0 0 5px rgba(37, 99, 235, .20),
        0 4px 12px rgba(15, 23, 42, .25);
}


/* MARQUEUR ÉGLISE */

.nearby-church-marker {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    background: #16a34a;

    border: 3px solid white;

    box-shadow:
        0 5px 14px rgba(22, 163, 74, .35);
}

.nearby-church-marker span {
    transform: rotate(45deg);

    color: white;

    font-size: 15px;
}

@media (max-width: 600px) {

    .nearby-church-map {
        height: 300px;
        border-radius: 16px;
        margin: 16px 0;
    }
}

/* =========================================================
   MARQUEUR DE LA POSITION UTILISATEUR
========================================================= */

.nearby-user-marker {
    width: 18px;
    height: 18px;
    background: #2563eb;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow:
        0 0 0 6px rgba(37, 99, 235, 0.20),
        0 0 0 12px rgba(37, 99, 235, 0.10);
    position: relative;
    animation: nearbyUserPulse 2s infinite;
}

.nearby-user-marker::after {
    content: '';
    position: absolute;
    inset: -9px;
    border: 2px solid rgba(37, 99, 235, 0.35);
    border-radius: 50%;
    animation: nearbyUserRipple 2s infinite;
}

@keyframes nearbyUserPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes nearbyUserRipple {

    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.nearby-church-marker-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.nearby-church-marker-distance {
    background: #ffffff;
    color: #15803d;
    padding: 3px 7px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    border: 1px solid #dcfce7;
}


/* =========================================================
RADIO FANAMBARANA
========================================================= */

.radio-fanambarana-section {
width: 100%;
margin: 35px 0 45px;
}

.radio-section-title {
display: flex;
align-items: center;
gap: 10px;
}

.radio-title-icon {
width: 34px;
height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 10px;
background: linear-gradient(135deg, #7c3aed, #4f46e5);
color: #fff;
box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.radio-title-icon svg {
width: 18px;
height: 18px;
}

/* =========================
CARTE PRINCIPALE
========================= */

.radio-fanambarana-card {
position: relative;
overflow: hidden;
width: 100%;
margin-top: 15px;
padding: 24px;
border-radius: 24px;
background:
radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.18), transparent 32%),
radial-gradient(circle at 10% 90%, rgba(79, 70, 229, 0.12), transparent 35%),
var(--card-bg, #ffffff);
border: 1px solid rgba(124, 58, 237, 0.15);
box-shadow:
0 18px 45px rgba(0, 0, 0, 0.08),
0 4px 12px rgba(79, 70, 229, 0.08);
}

/* =========================
HEADER
========================= */

.radio-header {
display: flex;
align-items: center;
gap: 15px;
}

.radio-logo {
flex: 0 0 58px;
width: 58px;
height: 58px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 18px;
background: linear-gradient(135deg, #7c3aed, #4f46e5);
color: #fff;
box-shadow: 0 12px 25px rgba(79, 70, 229, 0.28);
}

.radio-logo svg {
width: 28px;
height: 28px;
}

.radio-info {
min-width: 0;
flex: 1;
}

.radio-info h2 {
margin: 0;
font-size: 1.15rem;
font-weight: 800;
color: var(--text-color, #171717);
}

.radio-info p {
margin: 4px 0 0;
font-size: 0.82rem;
color: var(--text-muted, #737373);
}

.radio-live {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 7px 11px;
border-radius: 999px;
background: rgba(239, 68, 68, 0.09);
color: #dc2626;
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 0.05em;
white-space: nowrap;
}

.radio-live-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #ef4444;
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
animation: radioLivePulse 1.8s infinite;
}

@keyframes radioLivePulse {
0% {
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
}

```
70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
}

100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
}
```

}

/* =========================
LECTEUR
========================= */

.radio-player {
position: relative;
display: flex;
align-items: center;
gap: 18px;
margin-top: 22px;
padding: 20px;
border-radius: 20px;
background: rgba(124, 58, 237, 0.055);
border: 1px solid rgba(124, 58, 237, 0.10);
}

.radio-player-visual {
position: relative;
flex: 0 0 72px;
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
}

.radio-pulse {
position: relative;
z-index: 2;
width: 58px;
height: 58px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: linear-gradient(135deg, #7c3aed, #4f46e5);
color: #fff;
box-shadow: 0 10px 25px rgba(79, 70, 229, 0.28);
}

.radio-pulse svg {
width: 25px;
height: 25px;
}

.radio-wave {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 3px;
opacity: 0.35;
}

.radio-wave span {
width: 3px;
height: 15px;
border-radius: 10px;
background: currentColor;
animation: radioWave 1s ease-in-out infinite;
}

.radio-wave span:nth-child(1) {
animation-delay: -0.8s;
}

.radio-wave span:nth-child(2) {
animation-delay: -0.6s;
}

.radio-wave span:nth-child(3) {
animation-delay: -0.4s;
}

.radio-wave span:nth-child(4) {
animation-delay: -0.2s;
}

.radio-wave span:nth-child(5) {
animation-delay: 0s;
}

.radio-wave span:nth-child(6) {
animation-delay: -0.2s;
}

.radio-wave span:nth-child(7) {
animation-delay: -0.4s;
}

@keyframes radioWave {
0%,
100% {
transform: scaleY(0.45);
}

```
50% {
    transform: scaleY(1.7);
}
```

}

.radio-current-track {
min-width: 0;
flex: 1;
display: flex;
flex-direction: column;
}

.radio-track-label {
margin-bottom: 4px;
font-size: 0.66rem;
font-weight: 800;
letter-spacing: 0.1em;
color: #7c3aed;
}

.radio-current-track strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 1rem;
font-weight: 800;
color: var(--text-color, #171717);
}

.radio-current-track > span:last-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 3px;
font-size: 0.78rem;
color: var(--text-muted, #737373);
}

.radio-play-btn {
flex: 0 0 54px;
width: 54px;
height: 54px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: 50%;
background: linear-gradient(135deg, #7c3aed, #4f46e5);
color: #fff;
cursor: pointer;
box-shadow: 0 10px 24px rgba(79, 70, 229, 0.30);
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}

.radio-play-btn:hover {
transform: translateY(-2px) scale(1.04);
box-shadow: 0 14px 30px rgba(79, 70, 229, 0.38);
}

.radio-play-btn:active {
transform: scale(0.96);
}

.radio-play-btn svg {
width: 22px;
height: 22px;
}

/* =========================
RÉCOMPENSE
========================= */

.radio-reward-box {
margin-top: 16px;
padding: 18px;
border-radius: 18px;
background: rgba(250, 204, 21, 0.07);
border: 1px solid rgba(250, 204, 21, 0.18);
}

.radio-reward-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
}

.radio-reward-header > div {
display: flex;
flex-direction: column;
gap: 4px;
}

.radio-reward-header > div:last-child {
text-align: right;
}

.radio-reward-header strong {
font-size: 0.78rem;
font-weight: 800;
color: var(--text-color, #262626);
}

.radio-reward-header span {
font-size: 0.75rem;
color: var(--text-muted, #737373);
}

#radio-listening-time {
font-variant-numeric: tabular-nums;
font-weight: 800;
color: #7c3aed;
}

#radio-next-reward {
font-weight: 800;
color: #ca8a04;
}

/* =========================
PROGRESSION
========================= */

.radio-progress-container {
position: relative;
width: 100%;
height: 9px;
margin-top: 15px;
overflow: hidden;
border-radius: 999px;
background: rgba(124, 58, 237, 0.12);
}

.radio-progress-bar {
width: 0%;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #7c3aed, #4f46e5);
transition: width 0.5s ease;
}

.radio-reward-message {
margin-top: 11px;
font-size: 0.75rem;
line-height: 1.5;
color: var(--text-muted, #737373);
}

.radio-reward-message strong {
color: #ca8a04;
}

/* =========================
ÉTAT ACTIF
========================= */

.radio-fanambarana-card.radio-is-playing .radio-pulse {
animation: radioPlayerPulse 2s ease-in-out infinite;
}

@keyframes radioPlayerPulse {
0%,
100% {
transform: scale(1);
}

```
50% {
    transform: scale(1.05);
}
```

}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 650px) {

```
.radio-fanambarana-section {
    margin: 25px 0 35px;
}

.radio-fanambarana-card {
    padding: 17px;
    border-radius: 20px;
}

.radio-header {
    align-items: flex-start;
}

.radio-logo {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

.radio-logo svg {
    width: 23px;
    height: 23px;
}

.radio-info h2 {
    font-size: 1rem;
}

.radio-info p {
    font-size: 0.72rem;
}

.radio-live {
    padding: 6px 8px;
    font-size: 0.6rem;
}

.radio-player {
    gap: 12px;
    padding: 15px;
}

.radio-player-visual {
    flex-basis: 55px;
    width: 55px;
    height: 55px;
}

.radio-pulse {
    width: 48px;
    height: 48px;
}

.radio-pulse svg {
    width: 21px;
    height: 21px;
}

.radio-play-btn {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
}

.radio-reward-box {
    padding: 14px;
}

.radio-reward-header {
    align-items: flex-start;
}

.radio-reward-header strong {
    font-size: 0.7rem;
}

.radio-reward-header span {
    font-size: 0.68rem;
}
```

}

@media (max-width: 430px) {

```
.radio-header {
    flex-wrap: wrap;
}

.radio-live {
    margin-left: 63px;
    margin-top: -7px;
}

.radio-player-visual {
    display: none;
}

.radio-player {
    gap: 10px;
}

.radio-current-track strong {
    font-size: 0.9rem;
}

.radio-current-track > span:last-child {
    font-size: 0.7rem;
}
```

}
