/* Hytale Page - Extras */
:root {
  --fm-orange: #f59e0b;
  --fm-orange-dim: rgba(245,158,11,0.12);
  --fm-orange-glow: rgba(245,158,11,0.25);
}
.hero-glow-ht {
  position: absolute; top: -15%; left: 50%; transform: translateX(-50%);
  width: min(1000px, 150vw); height: min(800px, 120vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.10) 0%, rgba(111,66,193,0.12) 35%, transparent 65%);
  pointer-events: none;
}
.fm-badge-orange { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: var(--fm-orange); }
.fm-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.fm-stat { padding: 36px 20px; text-align: center; border-right: 1px solid var(--border); position: relative; overflow: hidden; }
.fm-stat:last-child { border-right: none; }
.fm-stat::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 2px; background: linear-gradient(90deg, transparent, var(--purple), transparent); opacity: 0.5; }
.fm-stat-icon { width: 40px; height: 40px; border-radius: 10px; margin: 0 auto 12px; background: var(--purple-glow); border: 1px solid rgba(111,66,193,0.2); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--purple); }
.fm-stat-val { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; background: linear-gradient(135deg, var(--white), var(--w50)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.fm-stat-label { font-size: 11.5px; color: var(--w40); margin-top: 6px; }
.fm-features-section { padding: 80px 0; position: relative; overflow: hidden; }
.fm-features-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(245,158,11,0.06), transparent 70%); }
.fm-features-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.fm-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.fm-feat-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color 0.2s, transform 0.2s; }
.fm-feat-card:hover { border-color: rgba(245,158,11,0.3); transform: translateY(-2px); }
.fm-feat-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: var(--purple-glow); border: 1px solid rgba(111,66,193,0.25); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--purple); }
.fm-feat-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.fm-feat-desc { font-size: 12px; color: var(--w40); line-height: 1.6; }
@media (max-width: 900px) { .fm-stats { grid-template-columns: 1fr 1fr; } .fm-stat:nth-child(2) { border-right: none; } .fm-stat:nth-child(1), .fm-stat:nth-child(2) { border-bottom: 1px solid var(--border); } .fm-features-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fm-features-section { padding: 56px 0; } }


/* ── HYTALE LIGHT THEME ── */
[data-theme="light"] { --fm-orange: #d97706; --fm-orange-dim: rgba(217,119,6,0.06); --fm-orange-glow: rgba(217,119,6,0.12); }
[data-theme="light"] .hero-glow-ht { background: radial-gradient(circle, rgba(217,119,6,0.05) 0%, rgba(124,58,237,0.04) 35%, transparent 65%); }
[data-theme="light"] .fm-badge-orange { background: rgba(217,119,6,0.06); border-color: rgba(217,119,6,0.18); color: #d97706; }
[data-theme="light"] .fm-stats { background: #fff; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .fm-stat { border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .fm-stat-val { background: linear-gradient(135deg, #111827, rgba(17,24,39,0.55)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
[data-theme="light"] .fm-stat-label { color: rgba(17,24,39,0.4); }
[data-theme="light"] .fm-feat-card { background: #fff; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .fm-feat-card:hover { border-color: rgba(217,119,6,0.2); }

/* ── CONFIGURATEUR D'OFFRES HYTALE (même structure que Minecraft, DA orange) ── */
.fm-config { --mc-accent: var(--fm-orange); }
.fm-config .mc-config-picker {
  background: linear-gradient(180deg, rgba(245,158,11,0.06), rgba(12,15,26,0.75));
  border-color: rgba(245,158,11,0.16);
}
.fm-config .mc-tier:hover { border-color: rgba(245,158,11,0.45); }
.fm-config .mc-tier-flag.best { color: var(--fm-orange); border-color: rgba(245,158,11,0.5); }
.fm-config .mc-tier-more:hover { border-color: rgba(245,158,11,0.5); }
.fm-config .mc-upsell { background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.25); }
.fm-config .mc-upsell i, .fm-config .mc-upsell .plus { color: var(--fm-orange); }
.fm-config .mc-detail::after,
.fm-config .mc-detail { box-shadow: 0 0 70px -26px rgba(245,158,11,0.55); }
.fm-config .mc-btn.primary { background: linear-gradient(135deg, var(--mc-accent, var(--fm-orange)), #d97706); }
[data-theme="light"] .fm-config .mc-config-picker { background: linear-gradient(180deg, rgba(217,119,6,0.05), #fff); border-color: rgba(0,0,0,0.06); }

/* ── Mentions offres FiveM ── */
.mc-buy-legal{
  margin-top:10px;
  font-size:10.5px;
  line-height:1.45;
  color:rgba(255,255,255,0.38);
  text-align:center;
}
.fm-txadmin-highlight{
  display:flex;align-items:center;justify-content:center;gap:10px;
  max-width:640px;margin:0 auto 14px;padding:11px 16px;
  border:1px solid rgba(245,158,11,0.32);
  background:linear-gradient(135deg,rgba(245,158,11,0.14),rgba(245,158,11,0.05));
  border-radius:12px;
  color:#fbbf24;font-size:13px;font-weight:700;text-align:center;
}
.fm-txadmin-highlight i{font-size:14px}
