/* ============================================================================
   BAT MITSVA SARAH-MAZAL — Style global (mobile-first, bilingue, festif)
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Frank+Ruhl+Libre:wght@400;700;900&family=Outfit:wght@300;400;600;800&family=Pacifico&display=swap');

/* ------------------------------------------------------------------ */
/* VARIABLES                                                          */
/* ------------------------------------------------------------------ */
:root {
    /* Palette royale festive */
    --gold:        #e8b840;
    --gold-deep:   #c08020;
    --gold-light:  #fff3d9;
    --magenta:     #c43cb0;
    --magenta-dark:#9b27b0;
    --magenta-light:#fadcf2;
    --night:       #1a1a4d;
    --night-deep:  #0a0a2e;
    --rose-gold:   #e6a4b4;
    --champagne:   #f5e6c8;
    --sparkle:     #fff5cc;

    /* Texte */
    --text:        #f5e6f5;
    --text-dim:    rgba(245, 230, 245, 0.7);
    --text-on-gold:#2c1f3d;

    /* Transitions */
    --t-fast: 0.2s ease;
    --t: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(232, 184, 64, 0.35);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(196, 60, 176, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(232, 184, 64, 0.25) 0%, transparent 50%),
        linear-gradient(180deg, var(--night-deep) 0%, var(--night) 50%, var(--night-deep) 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* Étoiles scintillantes en arrière-plan */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(2px 2px at 10% 15%, white, transparent),
        radial-gradient(1.5px 1.5px at 80% 30%, var(--gold), transparent),
        radial-gradient(2px 2px at 30% 75%, var(--rose-gold), transparent),
        radial-gradient(1px 1px at 70% 60%, white, transparent),
        radial-gradient(2px 2px at 90% 85%, var(--gold), transparent),
        radial-gradient(1.5px 1.5px at 25% 50%, var(--sparkle), transparent),
        radial-gradient(1px 1px at 55% 25%, white, transparent),
        radial-gradient(1.5px 1.5px at 45% 90%, var(--gold), transparent);
    background-size: 200% 200%;
    pointer-events: none;
    opacity: 0.6;
    animation: twinkle 8s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes twinkle {
    0%   { opacity: 0.4; }
    50%  { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* RTL pour l'hébreu */
body.lang-he {
    direction: rtl;
    font-family: 'Frank Ruhl Libre', 'Outfit', sans-serif;
}
body.lang-he .ltr { direction: ltr; }

/* ------------------------------------------------------------------ */
/* TYPOGRAPHIE                                                         */
/* ------------------------------------------------------------------ */
h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.2;
}
body.lang-he h1, body.lang-he h2, body.lang-he h3, body.lang-he h4 {
    font-family: 'Frank Ruhl Libre', serif;
    letter-spacing: 0;
}
.script {
    font-family: 'Pacifico', cursive;
    letter-spacing: 0;
}
.script-elegant {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

/* ------------------------------------------------------------------ */
/* HEADER FIXE — Logo + sélecteur de langue                           */
/* ------------------------------------------------------------------ */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(180deg, rgba(10,10,46,0.85) 0%, rgba(10,10,46,0.65) 100%);
    border-bottom: 1px solid rgba(232, 184, 64, 0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.app-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.app-header-crown {
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--gold));
}
.app-header-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2.5px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--sparkle) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.lang-he .app-header-name { font-family: 'Frank Ruhl Libre', serif; letter-spacing: 0; }

.lang-switch {
    display: flex;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(232, 184, 64, 0.4);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
}
.lang-switch button {
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--t-fast);
    letter-spacing: 1px;
}
.lang-switch button.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--text-on-gold);
    box-shadow: 0 2px 8px rgba(232, 184, 64, 0.4);
}

/* ------------------------------------------------------------------ */
/* CONTAINER & SECTIONS                                                */
/* ------------------------------------------------------------------ */
.app {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px 100px 16px;
}

.section {
    margin-top: 28px;
}
.section-title {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 14px;
    text-align: center;
    letter-spacing: 3px;
}
.section-title::before, .section-title::after {
    content: '✦';
    color: var(--gold);
    margin: 0 12px;
    font-size: 12px;
    opacity: 0.7;
}

/* ------------------------------------------------------------------ */
/* HERO (page d'accueil)                                              */
/* ------------------------------------------------------------------ */
.hero {
    text-align: center;
    padding: 36px 12px 24px 12px;
    position: relative;
}
.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-size: 18px;
    opacity: 0.25;
}
.hero-eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--rose-gold);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 32px;
    letter-spacing: 4px;
    line-height: 1.15;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--sparkle) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(232, 184, 64, 0.4));
}
.hero-title-script {
    font-family: 'Pacifico', cursive;
    font-size: 38px;
    color: var(--magenta);
    letter-spacing: 0;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--rose-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(196, 60, 176, 0.4));
}
body.lang-he .hero-title-script {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 32px;
    font-weight: 900;
}
.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--text-dim);
    font-size: 16px;
    margin-top: 16px;
}
.hero-crown {
    font-size: 48px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 20px var(--gold));
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ------------------------------------------------------------------ */
/* CARTES MODULES (hub principal)                                     */
/* ------------------------------------------------------------------ */
.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
}
.module-card {
    background: linear-gradient(135deg, rgba(196, 60, 176, 0.18) 0%, rgba(232, 184, 64, 0.12) 100%);
    border: 1.5px solid rgba(232, 184, 64, 0.4);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.module-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(232, 184, 64, 0.15) 100%);
    opacity: 0;
    transition: var(--t);
}
.module-card:active { transform: scale(0.98); }
.module-card:active::before { opacity: 1; }
.module-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}
.module-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.module-card-text { flex: 1; }
.module-card-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 4px;
}
body.lang-he .module-card-title { font-family: 'Frank Ruhl Libre', serif; letter-spacing: 0; }
.module-card-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.4;
}
.module-card-arrow {
    flex-shrink: 0;
    color: var(--gold);
    font-size: 20px;
}
body.lang-he .module-card-arrow { transform: scaleX(-1); }

/* Variantes par module */
.module-card.bingo    .module-card-icon { background: linear-gradient(135deg, #e91e63 0%, #c43cb0 100%); }
.module-card.quiz     .module-card-icon { background: linear-gradient(135deg, #4a8ad8 0%, #1e5fb4 100%); }
.module-card.lumieres .module-card-icon { background: linear-gradient(135deg, #ff9800 0%, #c08020 100%); }
.module-card.karaoke  .module-card-icon { background: linear-gradient(135deg, #9c27b0 0%, #6a1b9a 100%); }

/* Variante Print Kit */
.section-print-kit { margin-top: 10px; }
.module-card-print-kit {
    background: linear-gradient(135deg, rgba(232, 184, 64, 0.22) 0%, rgba(26, 26, 77, 0.4) 100%);
    border-color: var(--gold);
}
.module-card-icon-print-kit { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); }
.module-card-title-print-kit { color: var(--gold); font-weight: 800; }
.module-card-desc-print-kit { color: var(--text); }

/* ------------------------------------------------------------------ */
/* TIMELINE                                                            */
/* ------------------------------------------------------------------ */
.timeline {
    margin-top: 14px;
    position: relative;
    padding-left: 24px;
}
body.lang-he .timeline { padding-left: 0; padding-right: 24px; }
.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--magenta) 100%);
    opacity: 0.4;
}
body.lang-he .timeline::before { left: auto; right: 8px; }
.timeline-item {
    position: relative;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(232, 184, 64, 0.2);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -22px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    box-shadow: 0 0 0 3px var(--night-deep), 0 0 12px var(--gold);
}
body.lang-he .timeline-item::before { left: auto; right: -22px; }
.timeline-time {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}
body.lang-he .timeline-time { font-family: 'Frank Ruhl Libre', serif; }
.timeline-phase {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.timeline-desc {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.4;
}
.timeline-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 22px;
    opacity: 0.85;
}
body.lang-he .timeline-icon { right: auto; left: 14px; }

/* ------------------------------------------------------------------ */
/* BOUTONS                                                             */
/* ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 100px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--t-fast);
    text-decoration: none;
    min-height: 48px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--text-on-gold);
    box-shadow: 0 4px 16px rgba(232, 184, 64, 0.4);
}
.btn-primary:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(232, 184, 64, 0.4); }
.btn-secondary {
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(196, 60, 176, 0.4);
}
.btn-secondary:active { transform: scale(0.97); }
.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border: 1px solid rgba(232, 184, 64, 0.3);
}
.btn-ghost:active { background: rgba(255,255,255,0.15); }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ */
/* PAGE MODULE — header retour                                         */
/* ------------------------------------------------------------------ */
.module-page {
    padding-top: 8px;
}
.module-page-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 4px;
    margin-bottom: 8px;
}
.module-page-back:active { color: var(--gold); }
body.lang-he .module-page-back-arrow { transform: scaleX(-1); }

.module-page-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px 0;
}
.module-page-icon {
    font-size: 56px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 16px var(--gold));
}
.module-page-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--sparkle) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
body.lang-he .module-page-title { font-family: 'Frank Ruhl Libre', serif; letter-spacing: 0; }
.module-page-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--text-dim);
    font-size: 15px;
}
body.lang-he .module-page-subtitle { font-family: 'Frank Ruhl Libre', serif; font-style: normal; }

/* ------------------------------------------------------------------ */
/* RESPONSIVE — tablette / desktop (rare mais utile)                  */
/* ------------------------------------------------------------------ */
@media (min-width: 640px) {
    .app { max-width: 640px; padding: 0 24px 100px 24px; }
    .modules-grid { grid-template-columns: 1fr 1fr; }
    .modules-grid .module-card.full { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .app { max-width: 880px; }
}

/* ================================================================== */
/* PREMIUM ENHANCEMENTS — Particules, glassmorphism, confetti          */
/* ================================================================== */

/* ---- Particules dorées flottantes ---- */
.gold-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.gold-particles .particle {
    position: absolute;
    width: var(--size, 4px);
    height: var(--size, 4px);
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold) 30%, transparent 70%);
    opacity: 0;
    animation: particle-rise var(--dur, 8s) var(--delay, 0s) infinite;
}
@keyframes particle-rise {
    0%   { opacity: 0; transform: translateY(100vh) scale(0.4); }
    15%  { opacity: 0.7; }
    85%  { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-10vh) scale(0.1); }
}

/* ---- Glassmorphism card (generic) ---- */
.glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(232, 184, 64, 0.25);
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}
.glass-hover:hover {
    border-color: rgba(232, 184, 64, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(232, 184, 64, 0.15),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

/* ---- Confetti (CSS-only for lightweight celebrations) ---- */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}
.confetti-piece {
    position: absolute;
    top: -10px;
    width: var(--w, 10px);
    height: var(--h, 14px);
    background: var(--clr, var(--gold));
    border-radius: 2px;
    opacity: 0.9;
    animation: confetti-fall var(--dur, 3s) var(--delay, 0s) forwards;
}
@keyframes confetti-fall {
    0%   { transform: translateY(0) rotateZ(0deg) rotateX(0deg); opacity: 1; }
    50%  { opacity: 0.85; }
    100% { transform: translateY(100vh) rotateZ(var(--rot, 720deg)) rotateX(var(--rotx, 360deg)); opacity: 0; }
}

/* ---- Celebration full-screen overlay ---- */
.celebration-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 46, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.celebration-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.celebration-content {
    text-align: center;
    animation: celebration-pop 0.6s ease forwards;
}
.celebration-emoji {
    font-size: 72px;
    margin-bottom: 16px;
    animation: celebration-bounce 0.8s ease infinite alternate;
}
.celebration-text {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--sparkle) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.lang-he .celebration-text { font-family: 'Frank Ruhl Libre', serif; letter-spacing: 0; }
@keyframes celebration-pop {
    0%   { transform: scale(0.3); opacity: 0; }
    60%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes celebration-bounce {
    0%   { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-10px) rotate(5deg); }
}

/* ---- Glow pulse on interactive elements ---- */
.glow-pulse {
    animation: glow-pulse-anim 2s ease-in-out infinite;
}
@keyframes glow-pulse-anim {
    0%, 100% { box-shadow: 0 0 5px rgba(232, 184, 64, 0.3); }
    50%      { box-shadow: 0 0 25px rgba(232, 184, 64, 0.6), 0 0 50px rgba(232, 184, 64, 0.2); }
}

/* ---- Shimmer effect (text or bars) ---- */
.shimmer {
    position: relative;
    overflow: hidden;
}
.shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    animation: shimmer-slide 2.5s ease-in-out infinite;
}
@keyframes shimmer-slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ---- Entrance animations ---- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up-anim 0.5s ease forwards;
}
@keyframes fade-in-up-anim {
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.2s; }
.fade-in-up:nth-child(4) { animation-delay: 0.3s; }
.fade-in-up:nth-child(5) { animation-delay: 0.4s; }
.fade-in-up:nth-child(6) { animation-delay: 0.5s; }

/* ---- Print-link card (hub) ---- */
.print-banner {
    margin-top: 20px;
    padding: 18px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    display: block;
    transition: var(--t);
}
.print-banner:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}
.print-banner-icon {
    font-size: 28px;
    margin-bottom: 6px;
}
.print-banner-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--gold);
}
body.lang-he .print-banner-title { font-family: 'Frank Ruhl Libre', serif; letter-spacing: 0; }
.print-banner-desc {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ---- Badge / Pill ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(232, 184, 64, 0.2);
    color: var(--gold);
    border: 1px solid rgba(232, 184, 64, 0.3);
}
.badge-success {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
    border-color: rgba(76, 175, 80, 0.3);
}
.badge-magenta {
    background: rgba(196, 60, 176, 0.2);
    color: var(--rose-gold);
    border-color: rgba(196, 60, 176, 0.3);
}

/* ---- Divider ornament ---- */
.ornament-divider {
    text-align: center;
    margin: 24px 0;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 12px;
    opacity: 0.5;
}

/* ---- Toast notification ---- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--text-on-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.toast.visible {
    transform: translateX(-50%) translateY(0);
}
