/* ProxyCloud V3 — Design coloré, pro & engageant (spec V3) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #08090e;
  --bg-elevated: #0d0f16;
  --surface: #12141c;
  --surface-hover: #1a1d28;
  --border: #252936;
  --border-glow: rgba(34, 211, 238, 0.25);
  --text: #f0f2f6;
  --text-muted: #8b92a6;
  --radius: 12px;
  --radius-lg: 20px;
  --space: 1.5rem;
  --max: 1140px;

  /* Couleurs par usage (aligné spec : thèmes, roue, parrainage) */
  --accent: #22d3ee;
  --accent-hover: #67e8f9;
  --accent-dim: rgba(34, 211, 238, 0.15);
  --violet: #a78bfa;
  --violet-dim: rgba(167, 139, 250, 0.15);
  --green: #34d399;
  --green-dim: rgba(52, 211, 153, 0.15);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.12);
  --rose: #f472b6;
  --rose-dim: rgba(244, 114, 182, 0.12);

  --gradient-primary: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(34, 211, 238, 0.2), transparent 50%),
                  radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.12), transparent 45%);
  --gradient-text: linear-gradient(135deg, #22d3ee, #a78bfa);
  --gradient-card-jeux: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(167, 139, 250, 0.06));
  --gradient-card-proxy: linear-gradient(135deg, rgba(251, 191, 36, 0.08), transparent);
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; filter: blur(60px); }
  50% { opacity: 1; filter: blur(80px); }
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes mesh-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, -1%) scale(1.02); }
  66% { transform: translate(-1%, 2%) scale(0.98); }
}
@keyframes grid-pulse {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.08; }
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes node-glow {
  0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 8px currentColor); }
  50% { opacity: 1; filter: drop-shadow(0 0 20px currentColor); }
}
@keyframes line-flow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -40; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
/* Fond global "qui pète" : mesh animé + grid + grain */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: -2;
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(34, 211, 238, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 80% 20%, rgba(167, 139, 250, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #06070a 0%, #0a0c12 40%, #08090e 100%);
  animation: mesh-move 20s ease-in-out infinite;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* ----- Header ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 14, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav a {
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.btn-primary {
  color: #fff !important;
  font-weight: 600;
}
.nav a.btn-primary:hover {
  color: #fff !important;
  background: transparent;
}
.nav a { transition: color 0.2s, background 0.2s, transform 0.2s; }
.nav a:hover { transform: translateY(-1px); }
.lang-switcher {
  margin-left: 0.75rem;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.lang-switcher a {
  padding: 0 0.25rem;
  color: inherit;
  text-decoration: none;
}
.lang-switcher a:hover { color: var(--text); }
.lang-switcher a.active { font-weight: 600; color: var(--primary); }
.logo span { transition: filter 0.3s; }
.logo:hover span { filter: hue-rotate(15deg); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.45);
  opacity: 0.95;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}
.btn { transition: transform 0.2s, box-shadow 0.25s, opacity 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-outline:hover { transform: translateY(-2px); }
.btn-primary:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* ----- Hero (accroche forte) ----- */
.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  text-align: center;
  overflow: hidden;
  background: url('../img/section1.png') center center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(34, 211, 238, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 85% 30%, rgba(167, 139, 250, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 15% 60%, rgba(34, 211, 238, 0.1) 0%, transparent 45%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
/* Overlay sombre derrière le texte pour lisibilité sur l’image */
.hero .wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 720px);
  height: 140%;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, rgba(8, 10, 18, 0.82) 0%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out both;
}
.hero p { animation: fadeInUp 0.8s 0.1s ease-out both; }
.hero-actions { animation: fadeInUp 0.8s 0.2s ease-out both; }
.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
  top: 20%;
  left: 10%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.hero .wrap::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite 1s;
}
.hero h1 .gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 450;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-actions .btn {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
/* Bouton secondaire hero : bien visible sur fond sombre */
.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* ----- Strip (couleurs par point) ----- */
.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1.15rem var(--space);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 500;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}
.strip-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.strip-item:nth-child(1) .dot { background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: dot-pulse 2s ease-in-out infinite; }
.strip-item:nth-child(2) .dot { background: var(--green); box-shadow: 0 0 12px var(--green); animation: dot-pulse 2s ease-in-out infinite 0.25s; }
.strip-item:nth-child(3) .dot { background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: dot-pulse 2s ease-in-out infinite 0.5s; }
.strip-item:nth-child(4) .dot { background: var(--violet); box-shadow: 0 0 12px var(--violet); animation: dot-pulse 2s ease-in-out infinite 0.75s; }
.strip-item { transition: transform 0.2s, color 0.2s; }
.strip-item:hover { transform: scale(1.05); color: var(--text) !important; }

/* ----- Sections ----- */
.section {
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
/* Animations au scroll (déclenchées par .in-view via JS) */
.section > .section-title,
.section > .section-desc,
.section > .section-pitch,
.section .wrap > .section-title,
.section .wrap > .section-desc { opacity: 0; }
.section.in-view > .section-title,
.section.in-view .wrap > .section-title { animation: fadeInUp 0.6s ease-out both; }
.section.in-view > .section-desc,
.section.in-view .wrap > .section-desc { animation: fadeInUp 0.6s 0.08s ease-out both; }
.section.in-view > .section-pitch { animation: fadeInUp 0.5s 0.15s ease-out both; }
.section--jeux .game-card { opacity: 0; }
.section--jeux.in-view .game-card { animation: fadeInUp 0.5s ease-out both; }
.section--why .why-item { opacity: 0; }
.section--why.in-view .why-item { animation: fadeInUp 0.5s ease-out both; }
.feature { opacity: 0; }
.section--proxy.in-view .feature { animation: fadeInUp 0.6s ease-out both; }
.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}
.section-title .accent { color: var(--accent); }
.section-title .accent--violet { color: var(--violet); }
.section-title .accent--green { color: var(--green); }
.section-title .accent--amber { color: var(--amber); }
.section-desc {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section .wrap > .section-desc { margin-left: auto; margin-right: auto; }

.section-alt.section--jeux {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.04) 0%, rgba(167, 139, 250, 0.06) 50%, rgba(52, 211, 153, 0.03) 100%);
}
.section--jeux::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 20%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.section--proxy {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(251, 191, 36, 0.04) 40%, var(--bg) 100%);
}
.section--proxy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 20% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 55%);
  pointer-events: none;
}
#proxy-rotatif {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(244, 114, 182, 0.05) 40%, var(--bg) 100%);
}
#proxy-rotatif::before {
  background: radial-gradient(ellipse 70% 50% at 20% 50%, rgba(244, 114, 182, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
#proxy-rotatif::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(244, 114, 182, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.section--why {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06) 0%, rgba(167, 139, 250, 0.1) 50%, rgba(34, 211, 238, 0.05) 100%);
}
.section--why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 70% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.section--why .section-desc {
  margin-bottom: 2rem;
}
.section--why .section-title .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-alt .wrap { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.section .wrap { position: relative; z-index: 1; }

/* Section Jeux : teinte vert / violet */
.section--jeux .section-title .accent { color: var(--green); }
.section--jeux .card { background: linear-gradient(145deg, var(--surface) 0%, rgba(26, 29, 40, 0.98) 100%); }
.section--jeux .card:hover {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 8px 32px rgba(52, 211, 153, 0.1), 0 0 0 1px rgba(167, 139, 250, 0.1);
}
.section--jeux .card-price { color: var(--green); }

/* Section Proxy : teinte ambre */
.section--proxy .section-title .accent { color: var(--amber); }
.section--proxy .feature-body h3 .accent { color: var(--amber); }
.section--proxy .card:hover,
.section--proxy .feature { border-color: rgba(251, 191, 36, 0.2); }

/* Délais d'entrée en scène (avec .in-view) */
.section--jeux.in-view .game-card:nth-child(1) { animation-delay: 0.08s; }
.section--jeux.in-view .game-card:nth-child(2) { animation-delay: 0.14s; }
.section--jeux.in-view .game-card:nth-child(3) { animation-delay: 0.2s; }
.section--jeux.in-view .game-card:nth-child(4) { animation-delay: 0.26s; }
.section--jeux.in-view .game-card:nth-child(5) { animation-delay: 0.32s; }
.section--why.in-view .why-item:nth-child(1) { animation-delay: 0.1s; }
.section--why.in-view .why-item:nth-child(2) { animation-delay: 0.18s; }
.section--why.in-view .why-item:nth-child(3) { animation-delay: 0.26s; }
.section--why.in-view .why-item:nth-child(4) { animation-delay: 0.34s; }

/* ----- Cards ----- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.card-title { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.card-meta { margin: 0 0 0.85rem; font-size: 0.85rem; color: var(--text-muted); }
.card-price { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.card-price small { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.card .btn { width: 100%; }


/* ----- Grid ----- */
.grid {
  display: grid;
  gap: 1.15rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ---------- BANDEAU COMPLET (onglet type STARTER) ----------
   Ref : onglet chevauche le haut et la gauche de la carte, triangle sombre au-dessus à gauche. */


/* 1. Triangle 3D : au-dessus et à gauche de l’onglet (pli sombre) */

/* 2. Bande sombre derrière le label (partie qui “sort” à gauche) */

/* Jeux : grille centrée, cartes cliquables type “gaming” */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(165deg, rgba(18, 20, 28, 0.7) 0%, rgba(12, 14, 20, 0.8) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  opacity: 0.6;
}
.game-card--minecraft::before { background: linear-gradient(90deg, #73b248, #5a8f3a); }
.game-card--gmod::before { background: linear-gradient(90deg, #a78bfa, #8b5cf6); }
.game-card--palworld::before { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.game-card--farming::before { background: linear-gradient(90deg, #34d399, #22c55e); }
.game-card--ets2::before { background: linear-gradient(90deg, #22d3ee, #06b6d4); }
.game-card:hover {
  background: linear-gradient(165deg, rgba(22, 25, 35, 0.85) 0%, rgba(14, 16, 24, 0.9) 100%);
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.game-card--minecraft:hover { border-color: rgba(115, 178, 72, 0.4); box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 40px rgba(115, 178, 72, 0.12); }
.game-card--gmod:hover { border-color: rgba(167, 139, 250, 0.4); box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 40px rgba(167, 139, 250, 0.12); }
.game-card--palworld:hover { border-color: rgba(251, 191, 36, 0.4); box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 40px rgba(251, 191, 36, 0.12); }
.game-card--farming:hover { border-color: rgba(52, 211, 153, 0.4); box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 40px rgba(52, 211, 153, 0.12); }
.game-card--ets2:hover { border-color: rgba(34, 211, 238, 0.4); box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 40px rgba(34, 211, 238, 0.12); }
.game-card-logo {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.game-card:hover .game-card-logo {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.game-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.game-card--minecraft .game-card-logo { background: linear-gradient(145deg, rgba(115, 178, 72, 0.2), rgba(115, 178, 72, 0.08)); border: 1px solid rgba(115, 178, 72, 0.4); }
.game-card--gmod .game-card-logo { background: linear-gradient(145deg, rgba(167, 139, 250, 0.2), rgba(167, 139, 250, 0.08)); border: 1px solid rgba(167, 139, 250, 0.4); }
.game-card--palworld .game-card-logo { background: linear-gradient(145deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.08)); border: 1px solid rgba(251, 191, 36, 0.4); }
.game-card--farming .game-card-logo { background: linear-gradient(145deg, rgba(52, 211, 153, 0.2), rgba(52, 211, 153, 0.08)); border: 1px solid rgba(52, 211, 153, 0.4); }
.game-card--ets2 .game-card-logo { background: linear-gradient(145deg, rgba(34, 211, 238, 0.2), rgba(34, 211, 238, 0.08)); border: 1px solid rgba(34, 211, 238, 0.4); }
.game-card-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.game-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.game-card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.game-card-price .from {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}
.game-card-price .per { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.game-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  transition: color 0.2s;
}
.game-card:hover .game-card-cta { color: var(--accent); }
@media (max-width: 900px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .game-card { padding: 1.5rem 1.25rem; }
  .game-card-logo { width: 96px; height: 96px; border-radius: 18px; }
  .game-card-name { font-size: 1.05rem; }
}
@media (max-width: 380px) {
  .games-grid { grid-template-columns: 1fr; }
  .game-card-logo { width: 88px; height: 88px; }
}

/* Pourquoi ProxyCloud : cartes glass avec icônes */
.why-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1020px;
  margin: 0 auto;
}
.why-item {
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: background 0.25s, transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.why-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), transparent 40%, transparent 60%, rgba(167, 139, 250, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.why-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.why-item:hover::before { opacity: 1; }
.why-item:last-child { border-right: none; }
.why-item .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.why-item:hover .icon { transform: scale(1.08) rotate(-5deg); }
.why-item .label { font-weight: 700; font-size: 1.05rem; color: var(--text); margin: 0 0 0.35rem; letter-spacing: -0.02em; }
.why-item .sublabel { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.why-item:nth-child(1) .icon { background: var(--gradient-primary); box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3); }
.why-item:nth-child(2) .icon { background: linear-gradient(135deg, #34d399, #22c55e); box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3); }
.why-item:nth-child(3) .icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 8px 24px rgba(251, 191, 36, 0.25); }
.why-item:nth-child(4) .icon { background: linear-gradient(135deg, #a78bfa, #8b5cf6); box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3); }
@media (max-width: 768px) {
  .why-band { grid-template-columns: repeat(2, 1fr); }
  .why-item { padding: 1.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .why-band { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ----- Feature (image + texte) ----- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(18, 20, 28, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  animation: fadeInUp 0.6s ease-out both;
}
.feature:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.feature-img {
  height: 240px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
}

/* ----- Visuels Proxy 100% CSS (plus d'images hors-sujet) ----- */
.feature-visual {
  height: 260px;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(10, 12, 18, 0.9) 0%, rgba(20, 22, 32, 0.95) 100%);
  border: 1px solid rgba(251, 191, 36, 0.15);
  overflow: hidden;
}
.proxy-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* IP fixe : ancien visuel CSS (remplacé par proxy.png) — conservé pour proxy-rotatif si besoin */
.proxy-visual-fixe {
  position: relative;
  width: 180px;
  height: 180px;
}
.proxy-visual-fixe .center-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.5), inset 0 2px 0 rgba(255,255,255,0.2);
  animation: node-glow 3s ease-in-out infinite;
}
.proxy-visual-fixe .ray {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 70px;
  margin: -35px 0 0 -1px;
  background: linear-gradient(180deg, transparent, rgba(251, 191, 36, 0.5), transparent);
  transform-origin: center top;
}
.proxy-visual-fixe .ray:nth-child(2) { transform: rotate(0deg); }
.proxy-visual-fixe .ray:nth-child(3) { transform: rotate(72deg); }
.proxy-visual-fixe .ray:nth-child(4) { transform: rotate(144deg); }
.proxy-visual-fixe .ray:nth-child(5) { transform: rotate(216deg); }
.proxy-visual-fixe .ray:nth-child(6) { transform: rotate(288deg); }
.proxy-visual-fixe .outer-node {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.45);
  border: 2px solid rgba(251, 191, 36, 0.65);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.35);
}
.proxy-visual-fixe .outer-node:nth-child(7) { transform: rotate(0deg) translate(0, -40px); }
.proxy-visual-fixe .outer-node:nth-child(8) { transform: rotate(72deg) translate(0, -40px); }
.proxy-visual-fixe .outer-node:nth-child(9) { transform: rotate(144deg) translate(0, -40px); }
.proxy-visual-fixe .outer-node:nth-child(10) { transform: rotate(216deg) translate(0, -40px); }
.proxy-visual-fixe .outer-node:nth-child(11) { transform: rotate(288deg) translate(0, -40px); }
/* IP rotative : anneau de nœuds qui s'allument en séquence */
.proxy-visual-rotatif {
  position: relative;
  width: 200px;
  height: 200px;
}
.proxy-visual-rotatif .ring-node {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: rgba(244, 114, 182, 0.35);
  border: 2px solid rgba(244, 114, 182, 0.6);
  animation: node-glow 2s ease-in-out infinite;
}
.proxy-visual-rotatif .ring-node:nth-child(1) { transform: rotate(0deg) translateX(80px); animation-delay: 0s; }
.proxy-visual-rotatif .ring-node:nth-child(2) { transform: rotate(60deg) translateX(80px); animation-delay: 0.33s; }
.proxy-visual-rotatif .ring-node:nth-child(3) { transform: rotate(120deg) translateX(80px); animation-delay: 0.66s; }
.proxy-visual-rotatif .ring-node:nth-child(4) { transform: rotate(180deg) translateX(80px); animation-delay: 1s; }
.proxy-visual-rotatif .ring-node:nth-child(5) { transform: rotate(240deg) translateX(80px); animation-delay: 1.33s; }
.proxy-visual-rotatif .ring-node:nth-child(6) { transform: rotate(300deg) translateX(80px); animation-delay: 1.66s; }
.proxy-visual-rotatif .center-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(20, 18, 24, 0.95);
  border: 1px solid rgba(244, 114, 182, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
#proxy-rotatif .section-title .accent { color: var(--rose); }
#proxy-rotatif .feature-visual { border-color: rgba(244, 114, 182, 0.2); }
#proxy-rotatif .feature-body h3 .accent { color: var(--rose); }
.feature-body h3 { margin: 0 0 0.5rem; font-size: 1.3rem; font-weight: 700; }
.feature-body h3 .accent { color: var(--accent); }
.feature-body p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.feature-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding: 0.3rem 0;
  padding-left: 1.35rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
@media (max-width: 768px) { .feature { grid-template-columns: 1fr; } }

/* ----- Footer ----- */
.footer {
  margin-top: 4rem;
  padding: 1.75rem var(--space);
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 1.25rem; }

/* ----- Auth ----- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space);
  background: var(--gradient-hero);
}
.auth-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.auth-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.auth-box h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}
.auth-box .sub { margin: 0 0 1.5rem; font-size: 0.9rem; color: var(--text-muted); text-align: center; }
.auth-error { margin: 0 0 1rem; padding: 0.6rem 0.9rem; font-size: 0.9rem; color: #c00; background: rgba(204,0,0,0.08); border: 1px solid rgba(204,0,0,0.2); border-radius: 6px; }
.auth-success { margin: 0 0 1rem; padding: 0.6rem 0.9rem; font-size: 0.9rem; color: #0a6b0a; background: rgba(10,107,10,0.08); border: 1px solid rgba(10,107,10,0.2); border-radius: 6px; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-group input {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.auth-box .btn { width: 100%; margin-top: 0.5rem; padding: 0.7rem; }
.auth-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- Panel (dashboard « stylé » spec 8 bis) ----- */
.panel {
  display: flex;
  min-height: calc(100vh - 64px);
}
.panel-side {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.25rem 0;
}
.panel-side a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  margin: 0 0.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.panel-side a:hover { color: var(--text); background: var(--surface-hover); }
.panel-side a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-dim);
}
.panel-main { flex: 1; min-width: 0; padding: 1.75rem; }
.panel h1 { margin: 0 0 0.35rem; font-size: 1.5rem; font-weight: 700; }
.panel .muted { margin: 0 0 1.5rem; color: var(--text-muted); font-size: 0.9rem; }

/* KPIs colorés (balance, services, renouvellement, parrainage) */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 800px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kpis { grid-template-columns: 1fr; } }
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.kpi:nth-child(1)::before { background: var(--gradient-primary); }
.kpi:nth-child(2)::before { background: linear-gradient(180deg, #34d399, #22c55e); }
.kpi:nth-child(3)::before { background: linear-gradient(180deg, #a78bfa, #8b5cf6); }
.kpi:nth-child(4)::before { background: linear-gradient(180deg, #fbbf24, #f59e0b); }
.kpi:hover { border-color: var(--border-glow); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.kpi strong { display: block; font-size: 1.2rem; color: var(--text); margin-bottom: 0.25rem; }
.kpi span { font-size: 0.8rem; color: var(--text-muted); }

/* Carte cadeau du jour (roue — « chouette de fou ») */
.card-reward {
  max-width: 340px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(34, 211, 238, 0.06) 100%);
}
.card-reward .card-title { color: var(--accent); }
.card-reward .btn-primary { margin-top: 0.5rem; }

.chart-box {
  height: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: border-color 0.2s;
}
.chart-box:hover { border-color: rgba(34, 211, 238, 0.2); }

/* =========================
   VPS — Tape à l’œil, 3e offre (Pro) mise en avant
========================= */
.section--vps {
  background: linear-gradient(180deg, #06080c 0%, #0c0f18 30%, #0a0e16 100%);
  position: relative;
}
.section--vps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.section--vps .section-title .accent {
  color: #22d3ee;
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

/* Onglets : pills lumineux */
.vps-distro-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.vps-distro-tab {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.vps-distro-tab:hover {
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}
.vps-distro-tab.active {
  color: #0f172a;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  border-color: transparent;
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.5);
}

/* Grille : 3e carte plus grande */
.vps-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.vps-box {
  position: relative;
  background: linear-gradient(165deg, #12151c 0%, #0e1118 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.vps-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  right: 4px;
  height: 4px;
  background: linear-gradient(90deg, #334155, #475569);
  opacity: 0.8;
  border-radius: 12px 12px 0 0;
}
.vps-box:hover {
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

/* Windows : 3e carte en vedette (cyan/indigo/violet) */
.vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3) {
  order: 0;
  transform: scale(1.05);
  border: 2px solid transparent;
  background: linear-gradient(#0f1219, #0f1219) padding-box,
              linear-gradient(135deg, #22d3ee, #6366f1, #a855f7, #22d3ee) border-box;
  box-shadow: 0 0 50px rgba(34, 211, 238, 0.25),
              0 0 80px rgba(99, 102, 241, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3)::before {
  left: 4px;
  right: 4px;
  height: 5px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
  opacity: 1;
  border-radius: 12px 12px 0 0;
}
.vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3):hover {
  transform: scale(1.06) translateY(-6px);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.35),
              0 0 100px rgba(99, 102, 241, 0.2);
}

/* Linux : 2e carte = offre jaune (orange "Les plus populaires") */
.vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2),
.vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2),
.vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2) {
  order: 0;
  transform: scale(1.05);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.2),
              0 0 70px rgba(251, 191, 36, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2)::before,
.vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2)::before,
.vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2)::before {
  left: 4px;
  right: 4px;
  height: 5px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  opacity: 1;
  border-radius: 12px 12px 0 0;
}
.vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2):hover,
.vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2):hover,
.vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2):hover {
  transform: scale(1.06) translateY(-6px);
  box-shadow: 0 0 55px rgba(245, 158, 11, 0.3),
              0 0 85px rgba(251, 191, 36, 0.15);
}
.vps-recommended-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #22d3ee;
  margin-bottom: 0.5rem;
  text-align: center;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}
.vps-distro-current {
  margin: 0.75rem 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.vps-distro-current strong { color: var(--text); }
.vps-pricing.vps-switching .vps-box {
  animation: vpsSwitch 0.4s ease;
}
@keyframes vpsSwitch {
  0% { opacity: 0.85; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
.vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3) .vps-offer-name {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3) .vps-btn {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #fff;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.4);
}
.vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3) .vps-btn:hover {
  box-shadow: 0 6px 30px rgba(34, 211, 238, 0.5);
  filter: brightness(1.1);
}
/* Linux : 2e carte — titre + bouton orange */
.vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2) .vps-offer-name,
.vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2) .vps-offer-name,
.vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2) .vps-offer-name {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2) .vps-btn,
.vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2) .vps-btn,
.vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2) .vps-btn {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #0f172a;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.45);
}
.vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2) .vps-btn:hover,
.vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2) .vps-btn:hover,
.vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2) .vps-btn:hover {
  box-shadow: 0 6px 30px rgba(251, 191, 36, 0.5);
  filter: brightness(1.08);
}

/* Barre / bordure orange featured : seulement quand la 2e n'est pas en vedette (Windows) */
.vps-pricing[data-current-distro="windows"] .vps-box.featured::before {
  left: 4px;
  right: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  opacity: 1;
  border-radius: 12px 12px 0 0;
}
.vps-pricing[data-current-distro="windows"] .vps-box.featured {
  border-color: rgba(245, 158, 11, 0.25);
}

.vps-inner {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  z-index: 1;
}

.vps-offer-name {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.vps-price-bandeau {
  display: inline-block;
  margin: 0 0 0.75rem -0.4rem;
  padding: 0.45rem 0.7rem 0.45rem 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #334155, #475569);
  letter-spacing: 0.02em;
  align-self: flex-start;
  position: relative;
  box-shadow: 0 0 18px rgba(51, 65, 85, 0.5);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  border-left: 3px solid rgba(255, 255, 255, 0.4);
}
.vps-inner {
  overflow: visible;
}
.vps-box {
  overflow: visible;
}

.vps-badge-popular {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fbbf24;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.vps-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.vps-location-ping {
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #22c55e;
  padding: 0.2rem 0.45rem;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 6px;
}
.vps-location-label {
  font-size: 0.8rem;
  color: #94a3b8;
}
.vps-location-note {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  color: #64748b;
}

.vps-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.vps-features li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: #94a3b8;
}
.vps-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22d3ee;
  font-weight: 700;
}

.vps-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  background: #22d3ee;
  color: #0f172a;
  border: none;
  margin-top: auto;
  text-decoration: none;
  transition: all 0.25s;
}
.vps-btn:hover {
  background: #67e8f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.3);
}
.vps-box.featured .vps-btn {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #0f172a;
}
.vps-box.featured .vps-btn:hover {
  box-shadow: 0 6px 25px rgba(251, 191, 36, 0.4);
}
.vps-box.featured .vps-price-bandeau {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.5);
  border-left-color: rgba(255, 255, 255, 0.5);
}
.vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3) .vps-price-bandeau {
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.45), 0 0 30px rgba(99, 102, 241, 0.25);
  border-left-color: rgba(255, 255, 255, 0.6);
}
.vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2) .vps-price-bandeau,
.vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2) .vps-price-bandeau,
.vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2) .vps-price-bandeau {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5), 0 0 32px rgba(251, 191, 36, 0.2);
  border-left-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1100px) {
  .vps-pricing {
    grid-template-columns: repeat(2, 1fr);
  }
  .vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3),
  .vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2),
  .vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2),
  .vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2) {
    transform: none;
  }
  .vps-pricing[data-current-distro="windows"] .vps-box:nth-child(3):hover,
  .vps-pricing[data-current-distro="debian"] .vps-box:nth-child(2):hover,
  .vps-pricing[data-current-distro="centos"] .vps-box:nth-child(2):hover,
  .vps-pricing[data-current-distro="ubuntu"] .vps-box:nth-child(2):hover {
    transform: translateY(-6px);
  }
}
@media (max-width: 600px) {
  .vps-pricing {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .vps-recommended-label { font-size: 0.6rem; }
  .vps-distro-tab {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  .vps-inner {
    padding: 1.25rem 1rem;
  }
}

/* ----- Pages offres jeux ----- */
.game-offer-hero {
  padding: 3rem 0;
  background: linear-gradient(165deg, rgba(18, 20, 28, 0.95) 0%, rgba(8, 9, 14, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.game-offer-hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.game-offer-hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.game-offer-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.game-offer-hero--minecraft .game-offer-hero-logo { background: linear-gradient(145deg, rgba(115, 178, 72, 0.25), rgba(115, 178, 72, 0.1)); border: 1px solid rgba(115, 178, 72, 0.4); }
.game-offer-hero--gmod .game-offer-hero-logo { background: linear-gradient(145deg, rgba(167, 139, 250, 0.25), rgba(167, 139, 250, 0.1)); border: 1px solid rgba(167, 139, 250, 0.4); }
.game-offer-hero--palworld .game-offer-hero-logo { background: linear-gradient(145deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.1)); border: 1px solid rgba(251, 191, 36, 0.4); }
.game-offer-hero--farming .game-offer-hero-logo { background: linear-gradient(145deg, rgba(52, 211, 153, 0.25), rgba(52, 211, 153, 0.1)); border: 1px solid rgba(52, 211, 153, 0.4); }
.game-offer-hero--ets2 .game-offer-hero-logo { background: linear-gradient(145deg, rgba(34, 211, 238, 0.25), rgba(34, 211, 238, 0.1)); border: 1px solid rgba(34, 211, 238, 0.4); }
.game-offer-hero-text h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.game-offer-hero-text .accent { color: var(--accent); }
.game-offer-hero-meta {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.section--game-offers {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}
.game-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.game-offer-box {
  background: linear-gradient(165deg, rgba(18, 20, 28, 0.8) 0%, rgba(12, 14, 20, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.game-offer-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.game-offer-box--featured {
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
}
.game-offer-box--featured:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(34, 211, 238, 0.15);
}
.game-offer-box-inner {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
}
.game-offer-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgba(34, 211, 238, 0.15);
  border-radius: 6px;
}
.game-offer-name {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.game-offer-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.game-offer-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.game-offer-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  text-align: left;
  width: 100%;
}
.game-offer-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.game-offer-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.game-offer-btn {
  width: 100%;
  margin-top: auto;
}
@media (max-width: 768px) {
  .game-offers-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .game-offer-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .game-offer-hero-text h1 { font-size: 1.6rem; }
}
