/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #08080f;
  --bg2:       #0f0f1a;
  --red:       #e8192c;
  --red-glow:  rgba(232, 25, 44, 0.35);
  --gold:      #f5a623;
  --white:     #f0f0f0;
  --gray:      #888;
  --border:    rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-btn.ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #f77737);
  color: #fff;
}
.nav-btn.fb {
  background: #1877f2;
  color: #fff;
}
.nav-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* Hero banner image — mask-image crée de vrais pixels transparents sur les 4 bords */
.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;

  /* Fade vertical: haut et bas */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 18%, black 62%, transparent 100%),
    linear-gradient(to right,  transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 18%, black 62%, transparent 100%),
    linear-gradient(to right,  transparent 0%, black 18%, black 82%, transparent 100%);
  mask-composite: intersect;
}

/* Overlay gardé pour le fondu bas fort vers le fond de page */
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent           0%,
    transparent           55%,
    rgba(10,10,12,0.85)   80%,
    rgba(10,10,12,1.0)    100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Diagonal red tint */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(232,25,44,0.07) 0%, transparent 50%),
    linear-gradient(225deg, rgba(245,166,35,0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

/* Speed lines effect */
.hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    rgba(232,25,44,0.012) 0deg 1deg,
    transparent 1deg 6deg
  );
  pointer-events: none;
  z-index: 2;
}

.hero > * { position: relative; z-index: 3; }

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.hero h1 .respawn {
  display: block;
  color: var(--white);
}
.hero h1 .fanart {
  display: block;
  color: var(--red);
  text-shadow: 0 0 60px var(--red-glow);
  -webkit-text-stroke: 2px var(--red);
}

.hero-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--gray);
  max-width: 520px;
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.hero-sub strong { color: var(--white); }

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.25s;
  box-shadow: 0 0 24px var(--red-glow);
}
.btn-primary:hover {
  background: #ff2d3e;
  transform: translateY(-2px);
  box-shadow: 0 4px 32px var(--red-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--border);
  border-radius: 6px;
  transition: all 0.25s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.35;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2s infinite;
}
.scroll-hint::after {
  content: '↓';
  font-size: 16px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Divider ──────────────────────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.3;
}

/* ── Section base ─────────────────────────────────────────────────────────── */
.section {
  padding: 90px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.section-title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}

.section-body {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.75;
}
.section-body strong { color: var(--white); }

/* ── What We Do — Cards ───────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 28px;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.card:hover { border-color: rgba(232,25,44,0.3); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}
.card-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--white);
}
.card-text { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ── Gallery ──────────────────────────────────────────────────────────────── */
.gallery-section {
  padding: 0 0 90px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.gallery-item {
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(232,25,44,0.06);
  border: 1px solid var(--border);
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.25;
  font-size: 28px;
}
.gallery-placeholder span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Follow Section ───────────────────────────────────────────────────────── */
.follow-section {
  padding: 90px 40px;
  text-align: center;
  position: relative;
}
.follow-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(232,25,44,0.07), transparent);
  pointer-events: none;
}

.follow-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
}
.follow-title span { color: var(--red); }

.follow-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 440px;
  margin: 0 auto 44px;
  position: relative;
}

.follow-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.follow-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s;
  min-width: 200px;
  justify-content: center;
}
.follow-btn.ig {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #f77737 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(253,29,29,0.3);
}
.follow-btn.fb {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 0 24px rgba(24,119,242,0.3);
}
.follow-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }

.follow-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ── Stats bar ────────────────────────────────────────────────────────────── */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 48px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  padding: 32px 40px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border);
}
footer strong { color: var(--red); opacity: 0.7; }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-logo { font-size: 15px; }
  .nav-btn { padding: 7px 12px; font-size: 12px; }
  .section, .gallery-inner, .follow-section { padding-left: 20px; padding-right: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { gap: 32px; }
  .scroll-hint { display: none; }
}

/* ── Language selector ───────────────────────────────────────────────────── */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.lang-selector a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-selector a:hover { color: #fff; }
.lang-selector a.active {
  color: var(--red);
  border: 1px solid var(--red);
}
footer { text-align: center; }
footer p { margin-top: 4px; }

/* ── Card illustration icons ─────────────────────────────────────────────── */
.card-icon-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.card-body {
  flex: 1;
  min-width: 0;
}
