/* Bondgenoot — themes/premium.css (Cluster-P3 · F465)
   =====================================================================
   Subtiele, aspirationele UI-upgrades voor premium-actieve spelers.
   ALLES scoped onder body.premium-active — niet-premium ziet niets.
   Geen functioneel voordeel; puur cosmetisch (gradient-borders +
   glass-frost + premium-badge). Respecteert prefers-reduced-motion.
   ===================================================================== */

:root {
    --premium-gold-1: #f4dd96;
    --premium-gold-2: #c79a44;
    --premium-gold-3: #8a6d2f;
}

/* ---- Gradient gold-shimmer borders op kaarten ---------------------- */
body.premium-active .parchment-card,
body.premium-active .account-card,
body.premium-active .shop-card,
body.premium-active .skins-dorp-card {
    position: relative;
    border-color: transparent;
    background-clip: padding-box;
}
body.premium-active .parchment-card::after,
body.premium-active .account-card::after,
body.premium-active .shop-card::after,
body.premium-active .skins-dorp-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg,
        var(--premium-gold-1) 0%,
        var(--premium-gold-3) 35%,
        var(--premium-gold-1) 55%,
        var(--premium-gold-2) 100%);
    -webkit-mask:
        linear-gradient(var(--color-black) 0 0) content-box,
        linear-gradient(var(--color-black) 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.85;
}

/* ---- Glass-frost op modals ---------------------------------------- */
body.premium-active .bg-modal,
body.premium-active .modal,
body.premium-active .modal-card,
body.premium-active .gebouw-modal {
    backdrop-filter: blur(6px) saturate(1.1);
    -webkit-backdrop-filter: blur(6px) saturate(1.1);
    background-color: rgba(28, 20, 10, 0.72);
    border: 1px solid rgba(244, 221, 150, 0.35);
}

/* ---- Premium-badge (profiel + topbar) ----------------------------- */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2a1d08;
    padding: 2px 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--premium-gold-1), var(--premium-gold-2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
                0 1px 3px rgba(0, 0, 0, 0.35);
}
.premium-badge::before { content: "✨"; }

/* Subtiele gloed op de premium-badge bij premium-active */
body.premium-active .premium-badge {
    animation: premium-badge-glow 3.2s ease-in-out infinite;
}
@keyframes premium-badge-glow {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.35); }
    50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 0 10px rgba(244,221,150,0.55); }
}

@media (prefers-reduced-motion: reduce) {
    body.premium-active .premium-badge { animation: none; }
}

/* ---- F464 — premium-stam: gradient forum/profiel-skin ------------- */
.stam-profiel__header.stam-premium,
body.stam-premium .stam-forum,
.stam-card.stam-premium {
    background-image: linear-gradient(135deg,
        rgba(244, 221, 150, 0.12) 0%,
        rgba(138, 109, 47, 0.06) 60%,
        rgba(244, 221, 150, 0.12) 100%);
    border: 1px solid rgba(244, 221, 150, 0.42);
    border-radius: 12px;
}
.stam-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #2a1d08;
    padding: 2px var(--space-2);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--premium-gold-1), var(--premium-gold-2));
}
.stam-premium-badge::before { content: "👑"; }

/* ---- Cosmetic-showcase op /account (P3) --------------------------- */
.cosmetic-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: var(--space-2) 0 var(--space-1);
}
.cosmetic-chip {
    font-size: 12px;
    color: var(--gold-soft, var(--gold-soft));
    background: rgba(212, 166, 86, 0.10);
    border: 1px solid rgba(212, 166, 86, 0.30);
    border-radius: 999px;
    padding: 3px 10px;
}
.account-card--premium .account-card-title { color: var(--gold-pale, var(--gold-pale)); }
