/* ══════════════════════════════════════════
   MINECRAFT PAGE — EXTRAS
   ══════════════════════════════════════════ */

/* Green accent override for Minecraft */
:root {
  --mc-green: #4ade80;
  --mc-green-dim: rgba(74,222,128,0.12);
  --mc-green-glow: rgba(74,222,128,0.25);
  --mc-dirt: #8B5E3C;
  --mc-grass: #5a9e3a;
}

/* ── HERO overrides ── */
.hero-glow-mc {
  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(74,222,128,0.10) 0%,
    rgba(111,66,193,0.12) 35%,
    transparent 65%);
  pointer-events: none;
}

/* Pixel floating cubes */
.pixel-cubes {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.pixel-cube {
  position: absolute; border-radius: 4px;
  animation: floatCube linear infinite;
  opacity: 0;
}
@keyframes floatCube {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

.mc-badge-green {
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--mc-green);
}

/* ── STATS row ── */
.mc-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;
}
.mc-stat {
  padding: 36px 20px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.mc-stat:last-child { border-right: none; }
.mc-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;
}
.mc-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);
}
.mc-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;
}
.mc-stat-label { font-size: 11.5px; color: var(--w40); margin-top: 6px; }

/* ── PANEL SHOWCASE ── */
.panel-section {
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.panel-section-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(111,66,193,0.07), transparent 70%);
}
.panel-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
}
.panel-features {
  display: flex; flex-direction: column; gap: 18px;
}
.panel-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.panel-feat:hover { border-color: rgba(111,66,193,0.3); transform: translateX(4px); }
.panel-feat-icon {
  width: 38px; height: 38px; 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: 15px; color: var(--purple);
}
.panel-feat-title {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 3px;
}
.panel-feat-desc { font-size: 12px; color: var(--w40); line-height: 1.6; }

.panel-screen-wrap {
  position: relative;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.5),
    0 0 80px rgba(111,66,193,0.15);
}
.panel-screen-bar {
  background: #141414; padding: 9px 14px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.panel-dot { width: 9px; height: 9px; border-radius: 50%; }
.panel-screen-url {
  flex: 1; margin-left: 10px;
  background: rgba(255,255,255,0.05); border-radius: 6px; padding: 4px 12px;
  font-size: 10px; color: var(--w40);
}
.panel-screen-img {
  width: 100%; display: block;
  aspect-ratio: 16/9; object-fit: cover; object-position: top left;
}
.panel-screen-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: #0d0d0d;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
}
.panel-screen-glow {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 40px;
  background: rgba(111,66,193,0.3);
  filter: blur(28px); border-radius: 50%;
  pointer-events: none;
}

/* ── VERSION SWITCHER ── */
.version-section {
  max-width: 1060px; margin: 0 auto; padding: 0 24px 80px;
}
.version-grid {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px;
}
.version-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border2);
  color: var(--w60, rgba(255,255,255,0.6));
  padding: 6px 12px; border-radius: 8px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  cursor: default;
}
.version-tag:hover { border-color: rgba(111,66,193,0.35); color: var(--white); background: rgba(111,66,193,0.06); }
.version-tag i { font-size: 10px; }
.version-tag.paper i { color: #5b9ef7; }
.version-tag.spigot i { color: #f5a623; }
.version-tag.forge i { color: #c96a2f; }
.version-tag.fabric i { color: #b3d9bf; }
.version-tag.vanilla i { color: var(--w50); }
.version-tag.bungeecord i { color: #e0c97f; }
.version-tag.waterfall i { color: #6acfe0; }
.version-tag.velocity i { color: #a78bfa; }
.version-tag.purpur i { color: #c084fc; }
.version-tag.mohist i { color: #fb7185; }

/* ── PLUGINS COUNTER ── */
.plugins-banner {
  max-width: 1060px; margin: 0 auto 80px; padding: 0 24px;
}
.plugins-banner-inner {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 18px; padding: 38px 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: center;
  position: relative; overflow: hidden;
}
.plugins-banner-inner::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(111,66,193,0.1), transparent);
}
.plugins-big-num {
  font-family: 'Syne', sans-serif; font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1;
  background: linear-gradient(135deg, var(--mc-green), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative;
}
.plugins-big-label { font-size: 13px; color: var(--w40); margin-top: 8px; line-height: 1.5; }
.plugins-cols {
  display: flex; flex-direction: column; gap: 10px;
}
.plugins-col-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.plugins-col-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: var(--purple-glow); border: 1px solid rgba(111,66,193,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--purple);
}
.plugins-col-text { font-size: 12px; color: var(--w70); font-weight: 500; line-height: 1.4; }
.plugins-col-text span { color: var(--white); font-weight: 600; }

/* ── PRICING (MC overrides) ── */
.pricing-section {
  padding: 0 24px 80px; max-width: 1140px; margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  border-color: rgba(111,66,193,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.pricing-card.popular {
  border-color: rgba(111,66,193,0.45);
  background: rgba(111,66,193,0.07);
  box-shadow: 0 0 0 1px rgba(111,66,193,0.15), 0 24px 64px rgba(0,0,0,0.3);
}
.pricing-card.popular::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple2), var(--purple));
}
.pricing-card.trial { border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.04); }
.pricing-card.trial::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #0d9f5a, var(--mc-green));
}

.pricing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Syne', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple2), var(--purple));
  color: #fff; padding: 4px 11px; border-radius: 100px;
  margin-bottom: 14px; align-self: flex-start;
  box-shadow: 0 2px 10px rgba(111,66,193,0.35);
}
.pricing-badge.trial-badge {
  background: linear-gradient(135deg, #0d9f5a, var(--mc-green));
  box-shadow: 0 2px 10px rgba(74,222,128,0.3);
}

.pricing-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 5px;
}
.pricing-category { font-size: 10px; color: var(--w40); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.pricing-auto {
  font-size: 10px; color: var(--purple); background: var(--purple-glow);
  border: 1px solid rgba(111,66,193,0.2); padding: 2px 8px; border-radius: 6px;
  display: flex; align-items: center; gap: 4px;
}

.pricing-name {
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 7px; color: var(--white);
}
.pricing-usecase {
  font-size: 11px; color: var(--w50); background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.18); border-radius: 7px;
  padding: 7px 10px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 6px; line-height: 1.5;
}
.pricing-usecase i { color: var(--amber); font-size: 10px; margin-top: 2px; flex-shrink: 0; }

.pricing-backup {
  font-size: 11px; color: rgba(74,222,128,0.9);
  margin-bottom: 12px; display: flex; align-items: center; gap: 5px;
}
.pricing-backup i { color: var(--mc-green); }

.pricing-price {
  font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800;
  letter-spacing: -0.015em; margin-bottom: 16px;
}
.pricing-price small { font-size: 11px; font-weight: 400; color: var(--w40); letter-spacing: 0; }

.pricing-rewards {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 9px; padding: 12px 14px; margin-bottom: 14px;
}
.pricing-rewards-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--w40); margin-bottom: 8px; display: flex; align-items: center; gap: 5px;
}
.pricing-rewards-title i { color: var(--amber); }
.pricing-reward-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--w50); padding: 2px 0;
}
.pts { color: var(--purple); font-weight: 700; font-size: 11px; font-family: 'Syne', sans-serif; }
.jeton { color: var(--amber); font-weight: 700; font-size: 11px; }
.pricing-credit { font-size: 10px; color: var(--w30, rgba(255,255,255,0.3)); margin-top: 5px; }

.pricing-specs { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.pricing-spec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--w70);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 7px; font-weight: 500;
}
.pricing-spec-badge i { font-size: 10px; color: var(--purple); }
.pricing-spec-row { display: flex; gap: 5px; }
.pricing-spec-row .pricing-spec-badge { flex: 1; }

.pricing-features {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px;
}
.pricing-feature {
  font-size: 11px; color: rgba(74,222,128,0.85);
  display: flex; align-items: center; gap: 5px;
  background: rgba(74,222,128,0.06); border: 1px solid rgba(74,222,128,0.15);
  padding: 3px 9px; border-radius: 6px;
}
.pricing-feature i { font-size: 9px; color: var(--mc-green); }

.pricing-btn {
  display: block; text-align: center; margin-top: auto;
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700;
  padding: 11px 18px; border-radius: 10px; text-decoration: none;
  border: 1px solid var(--border2); color: var(--white);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.pricing-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.pricing-btn.primary {
  background: linear-gradient(135deg, var(--purple2), var(--purple));
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(111,66,193,0.4);
}
.pricing-btn.primary:hover { opacity: 0.92; border-color: transparent; }
.pricing-btn.trial {
  background: linear-gradient(135deg, #0d9f5a, var(--mc-green));
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(74,222,128,0.3);
  color: #041b0d;
}
.pricing-btn.trial:hover { opacity: 0.9; border-color: transparent; }

/* Row 2 in grid */
.pricing-grid-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px; max-width: 780px; margin: 14px auto 0;
}

/* ── COMPARE ── */
.compare-section {
  max-width: 1140px; margin: 0 auto; padding: 0 24px 80px;
}

/* ── REVIEWS ── */
.reviews-section { max-width: 1060px; margin: 0 auto; padding: 0 24px 80px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .panel-inner { grid-template-columns: 1fr; gap: 36px; }
  .panel-screen-wrap { max-width: 560px; margin: 0 auto; }
  .plugins-banner-inner { grid-template-columns: 1fr 1fr; }
  .plugins-banner-inner > div:first-child { grid-column: span 2; text-align: center; }
}
@media (max-width: 900px) {
  .mc-stats { grid-template-columns: 1fr 1fr; }
  .mc-stat:nth-child(2) { border-right: none; }
  .mc-stat:nth-child(1), .mc-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .plugins-banner-inner { grid-template-columns: 1fr; }
  .plugins-banner-inner > div:first-child { grid-column: span 1; }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-row2 { grid-template-columns: 1fr; }
  .mc-stats { grid-template-columns: 1fr 1fr; }
  .plugins-banner-inner { padding: 24px 18px; }
  .panel-section { padding: 56px 0; }
  .version-grid { gap: 6px; }
}


/* ── MINECRAFT LIGHT THEME ── */
[data-theme="light"] { --mc-green: #16a34a; --mc-green-dim: rgba(22,163,74,0.08); --mc-green-glow: rgba(22,163,74,0.15); }
[data-theme="light"] .hero-glow-mc { background: radial-gradient(circle, rgba(22,163,74,0.05) 0%, rgba(124,58,237,0.04) 35%, transparent 65%); }
[data-theme="light"] .mc-badge-green { background: rgba(22,163,74,0.06); border-color: rgba(22,163,74,0.18); color: #16a34a; }
[data-theme="light"] .mc-stats { background: #fff; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .mc-stat { border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .mc-stat::before { background: linear-gradient(90deg, transparent, var(--purple), transparent); opacity: 0.3; }
[data-theme="light"] .mc-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"] .mc-stat-label { color: rgba(17,24,39,0.4); }

/* ══════════════════════════════════════════
   MINECRAFT — LIGHT THEME FIXES
   ══════════════════════════════════════════ */
[data-theme="light"] .version-tag { background: #fff; border-color: rgba(0,0,0,0.08); color: rgba(17,24,39,0.55); }
[data-theme="light"] .version-tag:hover { background: rgba(124,58,237,0.04); border-color: rgba(124,58,237,0.2); color: #111827; }

[data-theme="light"] .panel-feat { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .panel-feat:hover { border-color: rgba(124,58,237,0.2); }
[data-theme="light"] .panel-feat-title { color: #111827; }
[data-theme="light"] .panel-feat-desc { color: rgba(17,24,39,0.45); }
[data-theme="light"] .panel-feat-icon { background: rgba(124,58,237,0.06); border-color: rgba(124,58,237,0.15); }

[data-theme="light"] .panel-screen-wrap { border-color: rgba(0,0,0,0.1); box-shadow: 0 32px 80px rgba(0,0,0,0.08); }
[data-theme="light"] .panel-screen-bar { background: #f5f5f5; border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .panel-screen-url { background: rgba(0,0,0,0.04); color: rgba(17,24,39,0.4); }

[data-theme="light"] .plugins-banner-inner { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .plugins-banner-inner::before { background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(124,58,237,0.03), transparent); }
[data-theme="light"] .plugins-big-label { color: rgba(17,24,39,0.4); }
[data-theme="light"] .plugins-col-item { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .plugins-col-text { color: rgba(17,24,39,0.55); }
[data-theme="light"] .plugins-col-text span { color: #111827; }

/* ── REFRESH v3 — Versions & Plugins banner : alignement uniforme ── */

/* Toutes les version-tags ont le même rayon, padding et hauteur */
.version-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.version-tag {
  border-radius: 10px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  min-height: 36px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.version-tag i { width: 12px; text-align: center; }

/* Plugins banner : grille 4 colonnes propre, tuiles toutes de même taille */
.plugins-banner-inner {
  grid-template-columns: 1.2fr 1fr 1fr !important;
  gap: 24px !important;
  align-items: stretch !important;
}
.plugins-cols {
  display: grid !important;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
  align-content: stretch;
}
.plugins-col-item {
  align-items: flex-start !important;
  min-height: 88px;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  height: 100%;
  box-sizing: border-box;
}
.plugins-col-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  flex-shrink: 0;
}
.plugins-col-text {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: var(--w70);
}
.plugins-col-text span {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

/* Plugins big number — compact pour la nouvelle accroche "+66 000" */
.plugins-big-num {
  font-size: clamp(2.6rem, 5vw, 4rem) !important;
}

@media (max-width: 880px) {
  .plugins-banner-inner { grid-template-columns: 1fr 1fr !important; }
  .plugins-banner-inner > div:first-child { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 560px) {
  .plugins-banner-inner { grid-template-columns: 1fr !important; }
}

/* Light theme — tuiles plugins lisibles */
[data-theme="light"] .plugins-col-item {
  background: rgba(17,24,39,0.03) !important;
  border-color: rgba(17,24,39,0.08) !important;
}
