/*
 * Styles partagés pour les fiches invités NoyaudurMMA
 * Palette: Dark / Gold / Orange Accent
 */

:root {
  --bg: #09080e;
  --bg-card: #0e0d16;
  --primary: #d4af37;
  --primary-bright: #f0c850;
  --primary-dim: rgba(212, 175, 55, 0.10);
  --primary-glow: rgba(212, 175, 55, 0.18);
  --accent: #ff6b35;
  --accent-dim: rgba(255, 107, 53, 0.10);
  --text: #edeef2;
  --text-dim: #8a8b94;
  --text-muted: #4e4f58;
  --border: #1c1b28;
  --win: #4ade80;
  --loss: #f87171;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* Supprime les pseudo-éléments décoratifs du site principal sur les fiches */
body::before, body::after { display: none; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 130px 40px 70px; /* 130px pour la nav fixe */
  background: linear-gradient(165deg, #0e0820 0%, var(--bg) 50%, #080a12 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 40%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero::after {
  content: '\1F94A';
  position: absolute;
  top: 25px;
  right: 45px;
  font-size: 140px;
  opacity: 0.06;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text { flex: 1; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.back-link:hover { color: var(--primary); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-dim);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-name {
  font-size: clamp(42px, 7vw, 95px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.hero-nickname {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-sub {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.hero-metrics {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.metric { display: flex; flex-direction: column; gap: 4px; }

.metric-val {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.val-primary { color: var(--primary); }
.val-accent  { color: var(--accent); }
.val-white   { color: var(--text); }

.hero-photo {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--primary-glow);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px var(--primary-glow);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: float 5s ease-in-out infinite;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hero-photo:hover img { transform: scale(1.05); }

.photo-emoji {
  font-size: 90px;
  opacity: 0.18;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── Notice disclaimer ─────────────────────────────────────────────────── */

.fiche-notice {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 40px;
}

.fiche-notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.fiche-notice-inner span { flex-shrink: 0; font-size: 14px; }

.fiche-notice-inner a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.fiche-notice-inner a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .fiche-notice { padding: 0 20px; }
}

/* ─── Contenu principal ─────────────────────────────────────────────────── */

.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.section { margin-bottom: 60px; }

.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sec-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-dim);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.sec-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
}

/* ─── Info grid ─────────────────────────────────────────────────────────── */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  transition: border-color 0.3s;
}

.info-card:hover { border-color: var(--primary); }

.info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.info-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ─── Mindset box ───────────────────────────────────────────────────────── */

.mindset-box {
  grid-column: 1 / -1;
  background: var(--primary-dim);
  border: 1px solid var(--primary-glow);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 6px;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}

.mindset-box::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.1;
  font-family: serif;
}

.mindset-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mindset-text {
  font-size: 15px;
  color: var(--text);
  font-style: italic;
  font-weight: 300;
}

/* ─── Palmarès ──────────────────────────────────────────────────────────── */

.titles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title-card {
  border-left: 3px solid var(--primary);
}

/* ─── Combats ───────────────────────────────────────────────────────────── */

.fight-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.3s;
}

.fight-card:hover {
  transform: translateX(3px);
  border-color: var(--primary);
}

.fight-res {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 76px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.fight-res.w {
  background: rgba(74, 222, 128, 0.06);
  color: var(--win);
  border-right: 3px solid var(--win);
}

.fight-res.l {
  background: rgba(248, 113, 113, 0.06);
  color: var(--loss);
  border-right: 3px solid var(--loss);
}

.fight-body { padding: 12px 20px; }

.fight-opp {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.fight-method {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-bright);
  margin-bottom: 2px;
}

.fight-detail {
  font-size: 11px;
  color: var(--text-dim);
}

.fight-meta {
  padding: 12px 20px;
  text-align: right;
  min-width: 165px;
}

.fight-event {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.fight-date { font-size: 11px; color: var(--text-muted); }
.fight-loc  { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ─── Podcast CTA ───────────────────────────────────────────────────────── */

.podcast-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--primary-glow);
  border-radius: 14px;
  padding: 28px 32px;
  flex-wrap: wrap;
}

.podcast-cta-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.podcast-cta-text { flex: 1; min-width: 200px; }

.podcast-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.podcast-cta-desc {
  font-size: 14px;
  color: var(--text-dim);
}

.podcast-cta-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─── Sources & Boutons ─────────────────────────────────────────────────── */

.sources-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.source-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s;
}

.source-btn:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
  color: var(--primary-bright);
  transform: translateY(-2px);
}

.source-btn-primary {
  background: linear-gradient(135deg, #d4af37, #b8940f);
  color: #000 !important;
  border-color: transparent;
  font-weight: 700;
}

.source-btn-primary:hover {
  background: linear-gradient(135deg, #f0c850, #d4af37);
  color: #000 !important;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.invite-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}

.invite-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.invite-footer-logo img { opacity: 0.8; transition: opacity 0.3s; }
.invite-footer-logo:hover img { opacity: 1; }

.invite-footer p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.invite-footer p a {
  color: var(--primary);
  text-decoration: none;
}

.invite-footer p a:hover { text-decoration: underline; }

.footer-generated {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: none !important;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 2px;
}

.invite-footer-social {
  display: flex;
  gap: 20px;
}

.invite-footer-social a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.invite-footer-social a:hover { color: var(--primary); }

/* ─── Animations ────────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-flex   { animation: fadeUp 0.6s ease-out both; }
.section:nth-child(1) { animation: fadeUp 0.5s ease-out 0.10s both; }
.section:nth-child(2) { animation: fadeUp 0.5s ease-out 0.18s both; }
.section:nth-child(3) { animation: fadeUp 0.5s ease-out 0.26s both; }
.section:nth-child(4) { animation: fadeUp 0.5s ease-out 0.34s both; }
.section:nth-child(5) { animation: fadeUp 0.5s ease-out 0.42s both; }

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-flex {
    flex-direction: column-reverse;
    gap: 36px;
    text-align: center;
  }
  .hero-metrics { justify-content: center; }
  .hero-photo { width: 240px; height: 240px; }
  .podcast-cta { flex-direction: column; text-align: center; }
  .podcast-cta-links { justify-content: center; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 20px 50px; }
  .content { padding: 24px 20px 60px; }
  .hero-metrics { gap: 24px; }
  .fight-card { grid-template-columns: 44px 1fr; }
  .fight-meta { grid-column: 1 / -1; text-align: left; padding: 0 20px 12px; }
  .invite-footer-inner { flex-direction: column; text-align: center; }
  .invite-footer-social { justify-content: center; }
}
