/* 
 * 🏛️ ATLAS-CIV-CLICKER | UI: DEKRETE ELITE (Nova v4.0)
 * -----------------------------------------------------------------------------
 * MENSCH: Dieses Modul veredelt die kaiserlichen Dekrete. Es sorgt für Tiefe,
 * kaiserliche Typografie und klare visuelle Trennung der Botschaften.
 * 
 * KI: @ui-decrees @imperial-messages @nova-v4-elite @glassmorphism
 * -----------------------------------------------------------------------------
 */

/* 📜 DECREE CARD: Der kaiserliche Brief */
.decree-card-elite {
    background: var(--color-glass-base) !important;
    backdrop-filter: blur(15px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(140%) !important;
    border: 1px solid var(--color-glass-border) !important;
    border-radius: var(--card-radius-elite) !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    position: relative !important;
    transition: var(--transition-elite) !important;
    box-shadow: var(--shadow-elite) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    overflow: hidden;
    animation: slideInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.decree-card-elite:hover {
    transform: translateY(-4px) scale(1.005) !important;
    border-color: rgba(250, 204, 21, 0.3) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}

/* 🏷️ CATEGORY BADGES: Kaiserliche Siegel */
.decree-category {
    font-family: 'Cinzel', serif !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 4px 14px !important;
    border-radius: 30px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.decree-category.cat-news { background: rgba(250, 204, 21, 0.1); color: var(--color-gold); border: 1px solid rgba(250, 204, 21, 0.2); }
.decree-category.cat-important { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.decree-category.cat-info { background: rgba(96, 165, 250, 0.1); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.2); }
.decree-category.cat-feedback { background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.2); }
.decree-category.cat-private { background: rgba(217, 70, 239, 0.1); color: #d946ef; border: 1px solid rgba(217, 70, 239, 0.2); }

/* 🖋️ TYPOGRAPHY: Der Goldene Codex */
.decree-title-elite {
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    font-size: 1.4rem !important;
    margin: 8px 0 4px 0 !important;
    letter-spacing: 2px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
    background: linear-gradient(135deg, #fff 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.decree-content-text {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', sans-serif !important;
}

.decree-date-elite {
    font-size: 0.75rem !important;
    opacity: 0.5 !important;
    font-weight: 500 !important;
    font-family: monospace;
}

/* ✅ CLAIMED SEAL & REWARDS */
.decree-claimed-badge {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
    padding: 12px 20px !important;
    border-radius: var(--card-radius-elite) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    margin-top: 10px !important;
}

.reward-pill-elite {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 🚀 ANIMATION STAGGERING via JS oder CSS Nth-Child (CSS hier für Performance) */
.decree-card-elite:nth-child(1) { animation-delay: 0.1s; }
.decree-card-elite:nth-child(2) { animation-delay: 0.2s; }
.decree-card-elite:nth-child(3) { animation-delay: 0.3s; }
.decree-card-elite:nth-child(4) { animation-delay: 0.4s; }
.decree-card-elite:nth-child(5) { animation-delay: 0.5s; }
