:root {
  /* Palette Sombre Deepslate & Stone Minecraft */
  --bg-dark: #0b0e14;
  --bg-card: #151b26;
  --bg-card-hover: #1c2433;
  --bg-input: #0c1017;
  --border-color: #273344;
  --border-focus: #55ff55;

  /* Couleurs Minecraft Iconiques */
  --mc-emerald: #10b981;
  --mc-emerald-light: #55ff55;
  --mc-emerald-dark: #084c35;
  --mc-diamond: #55ffff;
  --mc-diamond-dark: #0b6982;
  --mc-gold: #ffaa00;
  --mc-gold-light: #fbc531;
  --mc-gold-dark: #7d4e00;
  --mc-redstone: #ff5555;
  --mc-amethyst: #c084fc;
  --mc-dirt: #573b22;
  --mc-grass: #5db738;
  --mc-grass-dark: #3b7424;

  --accent: var(--mc-emerald);
  --accent-hover: #22c55e;
  --accent-glow: rgba(85, 255, 85, 0.35);

  --text-main: #f3f6fa;
  --text-muted: #9baec4;
  --text-dim: #647894;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-minecraft: 'Silkscreen', 'Press Start 2P', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  /* Trame de blocs Deepslate & Stone texturée */
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(16, 185, 129, 0.14) 0%, transparent 60%),
    linear-gradient(rgba(11, 14, 20, 0.95), rgba(11, 14, 20, 0.95)),
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 255, 255, 0.015) 19px, rgba(255, 255, 255, 0.015) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255, 255, 255, 0.015) 19px, rgba(255, 255, 255, 0.015) 20px);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   BARRE DE NAVIGATION & HERBE MINECRAFT
   ========================================== */
.navbar {
  height: 64px;
  background-color: rgba(18, 23, 33, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.grass-divider {
  height: 6px;
  width: 100%;
  background: var(--mc-grass);
  position: sticky;
  top: 64px;
  z-index: 999;
  box-shadow: 0 2px 0 var(--mc-grass-dark);
}

.grass-divider::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 4px;
  background-image: repeating-linear-gradient(
    90deg,
    #5db738 0px, #5db738 8px,
    #458a29 8px, #458a29 16px,
    #684428 16px, #684428 24px,
    #5db738 24px, #5db738 32px
  );
  opacity: 0.9;
}

.nav-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.brand:hover {
  transform: scale(1.03);
}

.brand-cube-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}

.brand-title {
  font-family: var(--font-minecraft);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
}

.text-accent {
  color: var(--mc-emerald-light);
  text-shadow: 2px 2px 0px #000, 0 0 10px rgba(85, 255, 85, 0.5);
}

.badge-studio {
  font-family: var(--font-minecraft);
  font-size: 9px;
  background: #14532d;
  color: #86efac;
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid #22c55e;
  font-weight: 700;
  margin-left: 6px;
  text-shadow: 1px 1px 0px #000;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-minecraft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.15s ease;
  text-shadow: 1px 1px 0 #000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-shadow: 1px 1px 0 #000, 0 0 8px rgba(85, 255, 85, 0.4);
}

.badge-counter {
  font-family: var(--font-minecraft);
  font-size: 9px;
  background: var(--mc-redstone);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  box-shadow: 1px 1px 0 #000;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-auth .btn-link {
  font-family: var(--font-minecraft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.15s ease;
  text-shadow: 1px 1px 0 #000;
}

.nav-auth .btn-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-shadow: 1px 1px 0 #000, 0 0 8px rgba(255, 255, 255, 0.4);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px 14px 5px 8px;
  border-radius: 20px;
}

.user-avatar-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-chip-name {
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 #000;
}

.btn-logout {
  font-family: var(--font-minecraft);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  transition: color 0.15s ease;
}

.btn-logout:hover {
  color: #ef4444;
}

/* ==========================================
   VUES
   ========================================== */
.view-section {
  display: none;
  flex: 1;
}

.view-section.active {
  display: block;
}

/* ==========================================
   PAGE D'ACCUEIL / HERO MINECRAFT PANORAMA
   ========================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 24px 80px 24px;
  background-image: 
    linear-gradient(180deg, rgba(11, 14, 20, 0.45) 0%, rgba(11, 14, 20, 0.75) 55%, var(--bg-dark) 100%),
    url('../images/minecraft_hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  border-bottom: 2px solid #1f2937;
  box-shadow: inset 0 -30px 40px rgba(11, 14, 20, 0.9);
  overflow: hidden;
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, rgba(11, 14, 20, 0.4) 70%, rgba(11, 14, 20, 0.8) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 920px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

/* Particules d'XP et runes flottantes Minecraft */
.mc-floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.mc-floating-particles .particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--mc-emerald-light);
  box-shadow: 0 0 10px var(--mc-emerald-light), 0 0 16px var(--mc-diamond);
  border-radius: 1px;
  opacity: 0.65;
  animation: floatMinecraftOrb 6s ease-in-out infinite alternate;
}

.mc-floating-particles .p1 { top: 15%; left: 12%; animation-duration: 5s; width: 6px; height: 6px; }
.mc-floating-particles .p2 { top: 65%; left: 20%; animation-duration: 7s; width: 10px; height: 10px; background: var(--mc-diamond); box-shadow: 0 0 12px var(--mc-diamond); }
.mc-floating-particles .p3 { top: 25%; right: 15%; animation-duration: 6.5s; width: 8px; height: 8px; }
.mc-floating-particles .p4 { top: 75%; right: 22%; animation-duration: 8s; width: 7px; height: 7px; background: var(--mc-amethyst); box-shadow: 0 0 12px var(--mc-amethyst); }
.mc-floating-particles .p5 { top: 35%; left: 50%; animation-duration: 9s; width: 5px; height: 5px; }

@keyframes floatMinecraftOrb {
  0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(25px, -35px) scale(1.3); opacity: 0.9; }
  100% { transform: translate(-15px, -70px) scale(0.7); opacity: 0.25; }
}

.tag-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--mc-emerald);
  box-shadow: 2px 2px 0px #000;
  color: var(--mc-emerald-light);
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  text-shadow: 1px 1px 0px #000;
}

.main-title {
  font-family: var(--font-minecraft);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 3px 3px 0px #000, 5px 5px 0px rgba(0, 0, 0, 0.85);
  letter-spacing: -0.5px;
}

.main-description {
  font-size: 17px;
  color: #d1d5db;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 27, 38, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #f3f6fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pill-dot.emerald { background: var(--mc-emerald-light); box-shadow: 0 0 8px var(--mc-emerald-light); }
.pill-dot.gold { background: var(--mc-gold); box-shadow: 0 0 8px var(--mc-gold); }
.pill-dot.diamond { background: var(--mc-diamond); box-shadow: 0 0 8px var(--mc-diamond); }
.pill-dot.redstone { background: var(--mc-redstone); box-shadow: 0 0 8px var(--mc-redstone); }

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-buttons .btn-cta,
.hero-buttons .btn-outline,
.hero-buttons .btn-gold {
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 700;
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-scroll-cue {
  margin-top: 6px;
}

.btn-scroll-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-minecraft);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-scroll-link:hover {
  color: var(--mc-emerald-light);
  text-shadow: 0 0 10px rgba(85, 255, 85, 0.5), 1px 1px 0 #000;
  transform: translateY(2px);
}

/* ==========================================
   SECTIONS COMMUNES DE LA LANDING PAGE
   ========================================== */
.landing-section {
  padding: 90px 24px;
  position: relative;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-minecraft);
  font-size: 10px;
  font-weight: 700;
  color: var(--mc-emerald-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--mc-emerald);
  padding: 4px 12px;
  border-radius: 3px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-shadow: 1px 1px 0 #000;
}

.section-title {
  font-family: var(--font-minecraft);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
  text-shadow: 2px 2px 0px #000;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   SHOWCASE MOCKUP EN DIRECT LANDING
   ========================================== */
.landing-showcase-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #10151f 50%, var(--bg-dark) 100%);
  border-bottom: 1px solid #1e293b;
}

.landing-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.landing-mockup-window {
  width: 100%;
  max-width: 860px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #334155;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(16, 185, 129, 0.18),
    inset 1px 1px 0 rgba(255, 255, 255, 0.1);
  background: #0f172a;
}

.landing-mockup-titlebar {
  height: 40px;
  background: #1e293b;
  border-bottom: 2px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.brand-cube-mini {
  display: flex;
  align-items: center;
}

.mockup-title-text {
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

.mockup-window-controls {
  display: flex;
  gap: 12px;
}

.control-btn {
  color: #64748b;
  font-size: 12px;
  cursor: default;
}

.control-btn.close:hover {
  color: #ef4444;
}

.landing-mockup-screen {
  position: relative;
  height: 440px;
  background-image: 
    linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.88) 100%),
    url('../images/minecraft_hero.jpg');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(11, 14, 20, 0.6) 100%);
  pointer-events: none;
}

.screen-top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(85, 255, 85, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.status-label {
  font-weight: 700;
  color: #fff;
}

.status-count {
  color: #86efac;
  font-family: var(--font-mono);
  font-size: 11px;
}

.player-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
}

.player-avatar {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  image-rendering: pixelated;
}

.player-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.player-name {
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.player-status {
  font-size: 10px;
  color: #94a3b8;
}

.screen-center-card {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.mockup-season-badge {
  display: inline-block;
  font-family: var(--font-minecraft);
  font-size: 9px;
  font-weight: 700;
  color: var(--mc-gold-light);
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--mc-gold);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 0 #000;
}

.mockup-card-title {
  font-family: var(--font-minecraft);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0px #000;
}

.mockup-card-desc {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.screen-bottom-bar {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 2px solid #334155;
  border-radius: 6px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.engine-indicator, .ram-indicator {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sub-label {
  font-family: var(--font-minecraft);
  font-size: 8px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.main-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.engine-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.engine-dot.fabric { background: var(--mc-amethyst); box-shadow: 0 0 6px var(--mc-amethyst); }

.mockup-play-btn-large {
  background: linear-gradient(180deg, #55ff55 0%, #10b981 100%);
  color: #064e3b;
  border: 2px solid #34d399;
  border-top-color: #86efac;
  border-bottom-color: #047857;
  padding: 10px 28px;
  border-radius: 4px;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5), 0 3px 0 #064e3b;
}

.mockup-play-btn-large .btn-text {
  font-family: var(--font-minecraft);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.mockup-play-btn-large .btn-subtext {
  font-family: var(--font-minecraft);
  font-size: 7.5px;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* Callouts Grid under Mockup */
.showcase-callouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 860px;
}

.callout-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.callout-icon {
  font-size: 24px;
  line-height: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.callout-body h4 {
  font-family: var(--font-minecraft);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.callout-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   GRILLE FONCTIONNALITÉS (PILLARS)
   ========================================== */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.landing-feature-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), inset -2px -2px 0 rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.landing-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--mc-emerald);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.08), inset -2px -2px 0 rgba(0, 0, 0, 0.6), 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(16, 185, 129, 0.2);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.4);
}

.feature-card-icon.emerald { background: rgba(16, 185, 129, 0.15); border-color: var(--mc-emerald); }
.feature-card-icon.gold { background: rgba(245, 158, 11, 0.15); border-color: var(--mc-gold); }
.feature-card-icon.diamond { background: rgba(85, 255, 255, 0.15); border-color: #38bdf8; }
.feature-card-icon.redstone { background: rgba(239, 68, 68, 0.15); border-color: var(--mc-redstone); }

.feature-pill-tag {
  font-family: var(--font-minecraft);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-feature-card h3 {
  font-family: var(--font-minecraft);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #000;
}

.landing-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: #d1d5db;
}

/* ==========================================
   ÉTAPES 1 2 3
   ========================================== */
.landing-steps-section {
  background: rgba(18, 23, 33, 0.6);
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
}

.landing-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing-step-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.step-badge-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-minecraft);
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
}

.step-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.landing-step-card h3 {
  font-family: var(--font-minecraft);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #000;
}

.landing-step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   BANNIÈRE CTA FINALE
   ========================================== */
.landing-cta-banner {
  background: linear-gradient(135deg, #151b26 0%, #0d121c 100%);
  border: 2px solid var(--mc-emerald);
  border-radius: var(--radius-sm);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(16, 185, 129, 0.25),
    inset 2px 2px 0 rgba(255, 255, 255, 0.08);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.cta-tag {
  display: inline-block;
  font-family: var(--font-minecraft);
  font-size: 10px;
  font-weight: 700;
  color: var(--mc-emerald-light);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--mc-emerald);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
  text-shadow: 1px 1px 0 #000;
}

.cta-title {
  font-family: var(--font-minecraft);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
  text-shadow: 2px 2px 0px #000;
}

.cta-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================
   PIED DE PAGE MINECRAFT
   ========================================== */
.mc-footer {
  background: #090c10;
  border-top: 2px solid #1e293b;
  padding: 60px 24px 40px 24px;
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
}

.footer-brand-col .brand {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 320px;
}

.footer-links-col h4 {
  font-family: var(--font-minecraft);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--mc-emerald-light);
}

.footer-bullet {
  margin-right: 6px;
}

.footer-legal {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .landing-features-grid, .landing-steps-grid, .showcase-callouts-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .main-title {
    font-size: 26px;
  }
  .studio-body {
    grid-template-columns: 1fr;
  }
  .studio-preview-pane {
    position: static;
  }
}

@media (max-width: 650px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .screen-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .landing-mockup-screen {
    height: auto;
    min-height: 480px;
  }
  .mockup-play-btn-large {
    width: 100%;
  }
  .engine-cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 90px 16px 60px 16px;
  }
  .main-title {
    font-size: 22px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons button {
    width: 100%;
  }
}

/* ==========================================
   DASHBOARD & CARTES MINECRAFT
   ========================================== */
.dashboard-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dashboard-header h2 {
  font-family: var(--font-minecraft);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
  letter-spacing: 0.5px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 6px;
}

.launchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.launcher-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), inset -2px -2px 0 rgba(0, 0, 0, 0.5), 0 6px 16px rgba(0, 0, 0, 0.5);
}

.launcher-card:hover {
  transform: translateY(-4px);
  border-color: var(--mc-emerald);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.08), inset -2px -2px 0 rgba(0, 0, 0, 0.6), 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(16, 185, 129, 0.25);
}

.launcher-card-banner {
  height: 140px;
  background-position: center;
  background-size: cover;
  position: relative;
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
}

.launcher-card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.launcher-card-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.badge-engine {
  font-family: var(--font-minecraft);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 1px 1px 0 #000;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.badge-engine.vanilla {
  background: var(--mc-grass);
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}

.badge-engine.forge {
  background: var(--mc-gold);
  color: #000;
  font-weight: 800;
}

.badge-engine.fabric {
  background: var(--mc-amethyst);
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}

.launcher-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.launcher-card-title {
  font-family: var(--font-minecraft);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}

.launcher-card-meta {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.launcher-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  gap: 10px;
}

.status-badge {
  font-family: var(--font-minecraft);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  box-shadow: 1px 1px 0 #000;
}

.status-badge.ready {
  background: rgba(16, 185, 129, 0.2);
  color: var(--mc-emerald-light);
  border: 1px solid rgba(85, 255, 85, 0.4);
  text-shadow: 1px 1px 0 #000;
}

.status-badge.draft {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-badge.building {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.4);
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

/* ==========================================
   STUDIO DE PERSONNALISATION
   ========================================== */
.studio-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.studio-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-title-block h2 {
  font-size: 20px;
  font-weight: 800;
}

.studio-body {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 32px;
  align-items: start;
}

/* Volet de gauche (Contrôles) */
.studio-controls-pane {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.studio-tabs-nav {
  display: flex;
  background: var(--bg-input);
  padding: 4px;
  border-radius: var(--radius-md);
  gap: 4px;
}

.studio-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.studio-tab-btn.active {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.studio-tab-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.studio-tab-content.active {
  display: flex;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.field-info {
  font-size: 11px;
  color: var(--text-dim);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
}

/* Cartes choix de moteur */
.engine-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.engine-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.engine-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.engine-card.active {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.08);
}

.engine-icon {
  font-size: 24px;
}

.engine-info h4 {
  font-size: 13px;
  font-weight: 700;
}

.engine-info p {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Presets backgrounds */
.bg-presets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.bg-preset-thumb {
  height: 56px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.bg-preset-thumb:hover {
  transform: scale(1.05);
}

.bg-preset-thumb.active {
  border-color: var(--accent);
}

/* Palette de couleurs */
.color-palette-row {
  display: flex;
  gap: 10px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease;
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: #fff;
  transform: scale(1.1);
}

.custom-color-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-box {
  -webkit-appearance: none;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
}

.color-picker-box::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-box::-webkit-color-swatch {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

/* TAB BUILD */
.build-card {
  text-align: center;
  padding: 10px 0;
}

.build-icon-box {
  font-size: 40px;
  margin-bottom: 12px;
}

.build-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.build-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.build-progress-box {
  margin-top: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.step-desc {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
}

.build-ready-box {
  margin-top: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.ready-badge {
  font-size: 14px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 8px;
}

.file-summary {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6);
}

.download-instructions {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.5;
}

.download-platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 6px 0;
}

@media (max-width: 600px) {
  .download-platforms-grid {
    grid-template-columns: 1fr;
  }
}

.download-platform-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-platform-card .platform-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-platform-card .platform-os {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
}

.download-platform-card .file-size-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 999px;
}

.btn-download-win {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  font-size: 12px !important;
  padding: 11px 8px !important;
  letter-spacing: 0.5px;
}

.btn-download-win:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5) !important;
}

.btn-download-mac {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
  font-size: 12px !important;
  padding: 11px 8px !important;
  letter-spacing: 0.5px;
}

.btn-download-mac:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5) !important;
}

/* ==========================================
   APERÇU EN DIRECT (MOCKUP LAUNCHER)
   ========================================== */
.studio-preview-pane {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

.preview-live-indicator {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.launcher-mockup {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  user-select: none;
}

.mockup-titlebar {
  height: 38px;
  background: #161b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 700;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-cube {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
}

.mockup-user-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px 2px 4px;
  border-radius: 12px;
}

.mockup-user-pill img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.mockup-badge {
  font-size: 8px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
  padding: 1px 4px;
  border-radius: 3px;
}

.mockup-controls {
  display: flex;
  gap: 8px;
  color: var(--text-dim);
}

.mockup-body {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.5) 0%, rgba(13, 17, 23, 0.95) 100%);
}

.mockup-hero {
  position: relative;
  z-index: 2;
  max-width: 80%;
}

.mockup-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 4px;
}

.mockup-hero h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #fff;
}

.mockup-hero p {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}

.mockup-bottom-strip {
  position: relative;
  z-index: 2;
  background: rgba(22, 27, 34, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mockup-player-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-player-chip img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.mockup-chip-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sub {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.main {
  font-size: 12px;
  font-weight: 800;
}

.mockup-version-box {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.version-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.mockup-play-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px var(--accent-glow);
  cursor: default;
}

/* ==========================================
   BOUTONS MINECRAFT 3D BISEAUTÉS
   ========================================= */
.btn-cta, .btn-outline, .btn-primary, .btn-secondary, .btn-gold {
  position: relative;
  font-family: var(--font-minecraft);
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6);
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* Enfoncement physique au clic (Style Minecraft) */
.btn-cta:active, .btn-outline:active, .btn-primary:active, .btn-secondary:active, .btn-gold:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.7) !important;
}

/* 1. Grand bouton CTA Émeraude / Diamant */
.btn-cta {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #fff;
  border-top: 3px solid #6ee7b7;
  border-left: 3px solid #6ee7b7;
  border-right: 3px solid #064e3b;
  border-bottom: 3px solid #064e3b;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  border-top-color: #a7f3d0;
  border-left-color: #a7f3d0;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.45);
}

/* 2. Bouton Pierre / Contour Minecraft */
.btn-outline, .btn-secondary {
  background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
  color: #f3f4f6;
  border-top: 3px solid #6b7280;
  border-left: 3px solid #6b7280;
  border-right: 3px solid #111827;
  border-bottom: 3px solid #111827;
  padding: 11px 22px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover, .btn-secondary:hover {
  background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
  border-top-color: #9ca3af;
  border-left-color: #9ca3af;
  color: #fff;
}

/* 3. Bouton Primaire Émeraude */
.btn-primary {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border-top: 3px solid #4ade80;
  border-left: 3px solid #4ade80;
  border-right: 3px solid #14532d;
  border-bottom: 3px solid #14532d;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  border-top-color: #86efac;
  border-left-color: #86efac;
}

/* 4. Bouton Or Minecraft */
.btn-gold {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  color: #ffffff;
  border-top: 3px solid #fde68a;
  border-left: 3px solid #fde68a;
  border-right: 3px solid #78350f;
  border-bottom: 3px solid #78350f;
  padding: 11px 22px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  border-top-color: #fef3c7;
  border-left-color: #fef3c7;
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.45);
}

.btn-primary.small, .btn-secondary.small, .btn-gold.small {
  padding: 6px 12px;
  font-size: 11px;
}

.btn-primary.large {
  padding: 14px 24px;
  font-size: 14px;
}

.btn-primary.full-width, .btn-secondary.full-width {
  width: 100%;
  justify-content: center;
}

.btn-secondary {
  padding: 9px 16px;
  font-size: 12px;
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-link:hover {
  color: var(--text-main);
}

.btn-icon-danger {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}

.btn-icon-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* ==========================================
   MODALE AUTH
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 400px;
  max-width: 90vw;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.auth-tabs {
  display: flex;
  background: var(--bg-input);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.auth-tab-btn.active {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================
   TOAST
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  font-weight: 600;
  pointer-events: auto;
}

.toast.error {
  border-left-color: #ef4444;
}

/* ==========================================
   REQUIRED STAR & AUTH MODE CARDS
   ========================================== */
.required-star {
  color: #ef4444;
  margin-left: 2px;
}

.auth-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.auth-mode-card {
  background: var(--bg-input);
  border: 2px solid #243040;
  border-radius: 4px;
  box-shadow: inset 2px 2px 0 #070a0f, inset -1px -1px 0 rgba(255, 255, 255, 0.04);
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}

.auth-mode-card:hover {
  border-color: #3b4d66;
  transform: translateY(-1px);
}

.auth-mode-card.active {
  border-color: var(--mc-emerald-light);
  background: rgba(16, 185, 129, 0.14);
  box-shadow: inset 2px 2px 0 #070a0f, 0 0 12px rgba(85, 255, 85, 0.3);
}

.auth-mode-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.auth-mode-info h4 {
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.auth-mode-info p {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
}

.field-info code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ==========================================
   ENGINE CARDS (Vanilla, Forge, Fabric)
   ========================================== */
.engine-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.engine-card {
  background: var(--bg-input);
  border: 2px solid #243040;
  border-radius: 4px;
  box-shadow: inset 2px 2px 0 #070a0f, inset -1px -1px 0 rgba(255, 255, 255, 0.04);
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.engine-card:hover {
  border-color: #3b4d66;
  transform: translateY(-1px);
}

.engine-card.active {
  border-color: var(--mc-emerald-light);
  background: rgba(16, 185, 129, 0.14);
  box-shadow: inset 2px 2px 0 #070a0f, 0 0 12px rgba(85, 255, 85, 0.3);
}

.engine-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.engine-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.engine-info h4 {
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.engine-info p {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================
   ICÔNE DU LAUNCHER & INSTALLATEUR
   ========================================== */
.icon-control-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-preview-box {
  width: 46px;
  height: 46px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.icon-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.icon-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-upload-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================
   SYSTÈME DE THÈMES
   ========================================== */
.theme-section-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.theme-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.theme-actions {
  display: flex;
  gap: 8px;
}

.btn-text-action {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.btn-text-action:hover {
  background: rgba(16, 185, 129, 0.12);
}

.btn-text-action.small {
  font-size: 11px;
}

/* Modal Éditeur de Thème */
.modal-large {
  max-width: 920px;
  width: 95%;
}

.theme-editor-card {
  height: 85vh;
  display: flex;
  flex-direction: column;
}

.theme-editor-title-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.theme-name-input {
  max-width: 280px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
}

.theme-editor-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 14px 20px;
}

.theme-editor-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.theme-tab-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.theme-tab-btn.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.theme-editor-panes {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.theme-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.code-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.code-editor-header code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent);
  font-family: var(--font-mono);
}

.code-editor-textarea {
  flex: 1;
  width: 100%;
  background: #060911;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  padding: 12px;
  resize: none;
  tab-size: 2;
  outline: none;
  box-sizing: border-box;
}

.code-editor-textarea:focus {
  border-color: var(--border-focus);
}

.theme-editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding: 14px 20px;
}

.theme-footer-right {
  display: flex;
  gap: 10px;
}

.btn-secondary.danger {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
/* ==========================================
   BADGES DE RÔLE & COMPTEURS
   ========================================== */
.badge-role {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-minecraft);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 1px 1px 0 #000;
}

.role-admin {
  background: linear-gradient(135deg, #78350f, #b45309);
  border: 1px solid #f59e0b;
  color: #fef08a;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 1px 1px 0 #000, 0 0 10px rgba(245, 158, 11, 0.4);
}

.role-moderateur {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
  border: 1px solid #60a5fa;
  color: #bfdbfe;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 1px 1px 0 #000, 0 0 10px rgba(59, 130, 246, 0.4);
}

.role-utilisateur {
  background: #1e2430;
  border: 1px solid #3b4556;
  color: #cbd5e1;
  text-shadow: 1px 1px 0 #000;
}

.badge-counter {
  background: var(--mc-emerald);
  color: #000;
  font-family: var(--font-minecraft);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  box-shadow: 1px 1px 0 #000;
}

/* ==========================================
   VUE SUPPORT & TICKETS
   ========================================== */
.tickets-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.tickets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tickets-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tickets-tabs {
  display: flex;
  gap: 8px;
}

.ticket-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticket-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.ticket-tab-btn.active {
  color: var(--accent);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.ticket-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ticket-main-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ticket-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.ticket-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ticket-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

.priority-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.priority-basse { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.priority-normale { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.priority-haute { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.priority-urgente { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.category-badge {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* Statuts des tickets */
.status-badge.ouvert {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.en_cours {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.resolu {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-badge.ferme {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* ==========================================
   MODAL TICKET CONVERSATION
   ========================================== */
.ticket-detail-card {
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.ticket-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #090e1a;
  min-height: 280px;
  max-height: 50vh;
}

.ticket-messages-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-msg {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.ticket-msg.staff {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

.ticket-msg.admin {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.3);
}

.ticket-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-msg-author-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-msg-author {
  font-weight: 700;
  font-size: 13px;
}

.ticket-msg-date {
  font-size: 11px;
  color: var(--text-dim);
}

.ticket-msg-content {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-main);
  white-space: pre-wrap;
  word-break: break-word;
}

.ticket-reply-footer {
  padding: 14px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.ticket-reply-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-reply-actions {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================
   VUE ADMINISTRATION
   ========================================== */
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), inset -2px -2px 0 rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--mc-emerald);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--bg-input);
  border: 2px solid #273344;
  box-shadow: inset 2px 2px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-minecraft);
  text-shadow: 2px 2px 0 #000;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-card-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.admin-table th {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.role-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

/* ==========================================
   BOUTON ET MODAL ÉDITION DU PROFIL
   ========================================== */
.btn-profile-gear {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}

.btn-profile-gear:hover {
  opacity: 1;
  transform: rotate(35deg);
}

.profile-security-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
}

.profile-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.optional-hint {
  font-size: 11px;
  font-weight: normal;
  color: var(--text-dim);
}

.field-hint {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ==========================================
   OFFRES, TARIFS & COMPARATIF MINELAUNCHED
   ========================================== */
.plans-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.plans-hero {
  text-align: center;
  margin-bottom: 48px;
}

.plans-title {
  font-family: var(--font-minecraft);
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0 12px;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
  letter-spacing: 0.5px;
}

.plans-subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Toggle Mensuel / Annuel */
.billing-switch-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 8px 22px;
  border-radius: 4px;
  border: 2px solid var(--border-color);
  box-shadow: 2px 2px 0 #000;
}

.billing-label {
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.billing-label.active {
  color: var(--mc-emerald-light);
  text-shadow: 1px 1px 0 #000;
}

.discount-pill {
  background: rgba(16, 185, 129, 0.2);
  color: var(--mc-emerald-light);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  margin-left: 6px;
  border: 1px solid var(--mc-emerald);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #374151;
  transition: 0.3s;
  border-radius: 4px;
  box-shadow: inset 1px 1px 0 #000;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 2px;
  box-shadow: 1px 1px 0 #000;
}

input:checked + .slider {
  background-color: var(--mc-emerald);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Grille des offres Minecraft */
.plans-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), inset -2px -2px 0 rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.5);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.08), inset -2px -2px 0 rgba(0, 0, 0, 0.6), 0 12px 28px rgba(0, 0, 0, 0.6);
}

.plan-card.featured {
  border: 2px solid var(--mc-emerald);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-card) 60%);
  box-shadow: inset 2px 2px 0 rgba(16, 185, 129, 0.2), inset -2px -2px 0 rgba(0, 0, 0, 0.5), 0 0 24px rgba(16, 185, 129, 0.2);
}

/* Effet Enchantement Holographique (Glint Minecraft) */
@keyframes enchantmentGlint {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.plan-card.lifetime-card {
  border: 2px solid var(--mc-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, var(--bg-card) 60%);
  box-shadow: inset 2px 2px 0 rgba(245, 158, 11, 0.2), inset -2px -2px 0 rgba(0, 0, 0, 0.5), 0 0 24px rgba(245, 158, 11, 0.2);
}

.plan-card.lifetime-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(192, 132, 252, 0.15) 40%,
    rgba(251, 191, 36, 0.25) 50%,
    rgba(192, 132, 252, 0.15) 60%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: enchantmentGlint 4s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.plan-card.current-plan {
  border-color: var(--mc-diamond) !important;
  box-shadow: inset 2px 2px 0 rgba(85, 255, 255, 0.2), 0 0 20px rgba(85, 255, 255, 0.25) !important;
}

.plan-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--mc-emerald);
  color: #000;
  font-family: var(--font-minecraft);
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  border: 1px solid #000;
  box-shadow: 2px 2px 0 #000;
  z-index: 10;
}

.plan-ribbon-gold {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #000;
  font-family: var(--font-minecraft);
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  border: 1px solid #000;
  box-shadow: 2px 2px 0 #000;
  z-index: 10;
}

.plan-badge-top {
  font-family: var(--font-minecraft);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.plan-name {
  font-family: var(--font-minecraft);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  text-shadow: 1px 1px 0px #000;
}

.plan-tagline {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 16px;
  min-height: 36px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.plan-price-currency {
  font-family: var(--font-minecraft);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
}

.plan-price-period {
  font-size: 13px;
  color: var(--text-dim);
}

.plan-comparison-note {
  font-size: 11.5px;
  color: var(--mc-emerald-light);
  font-weight: 600;
  margin-bottom: 18px;
  min-height: 28px;
}

.plan-card-body {
  flex: 1;
  margin-bottom: 24px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-main);
}

.check-icon {
  color: var(--mc-emerald-light);
  font-weight: 800;
  flex-shrink: 0;
}

.cross-icon {
  color: #6b7280;
  font-weight: 800;
  flex-shrink: 0;
}

.feature-disabled {
  color: #6b7280 !important;
  opacity: 0.6;
}

.btn-plan-action {
  padding: 12px;
  border-radius: 4px;
  font-family: var(--font-minecraft);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6);
}

.btn-plan-action:active {
  transform: translateY(2px) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.7) !important;
}

/* Tableau comparatif Minecraft */
.comparison-section {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  margin-top: 20px;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.comparison-header {
  text-align: center;
  margin-bottom: 24px;
}

.comparison-header h2 {
  font-family: var(--font-minecraft);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  font-family: var(--font-minecraft);
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.2);
}

.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.comparison-table th.highlight-col, .comparison-table td.highlight-col {
  background: rgba(16, 185, 129, 0.06);
  border-left: 2px solid rgba(16, 185, 129, 0.25);
  border-right: 2px solid rgba(16, 185, 129, 0.25);
}

.badge-win {
  color: #10b981;
  font-weight: 700;
}

/* Bannière de Quota sur le Dashboard */
.quota-banner {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.04), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.quota-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
}

.text-warning {
  color: #fbbf24;
}

/* Badges d'offres & plans */
.badge-plan {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-minecraft);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  box-shadow: 1px 1px 0 #000;
}

.badge-plan.plan-free {
  background: #0f3822;
  color: var(--mc-emerald-light);
  border: 1px solid var(--mc-emerald);
  text-shadow: 1px 1px 0 #000;
}

.badge-plan.plan-pro {
  background: #0d294a;
  color: var(--mc-diamond);
  border: 1px solid #38bdf8;
  text-shadow: 1px 1px 0 #000;
}

.badge-plan.plan-network {
  background: #381216;
  color: #f87171;
  border: 1px solid #ef4444;
  text-shadow: 1px 1px 0 #000;
}

.badge-plan.plan-lifetime {
  background: linear-gradient(135deg, #78350f, #451a03);
  color: #fde047;
  border: 1px solid #f59e0b;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 1px 1px 0 #000, 0 0 10px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   ATELIER DE THÈMES & GALERIE PUBLIQUE
   ========================================================================== */
.themes-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px;
}

.themes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.themes-header h2 {
  font-family: var(--font-minecraft);
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 2px 2px 0 #000;
}

.themes-header .subtitle {
  color: #94a3b8;
  font-size: 14px;
  max-width: 700px;
  line-height: 1.5;
}

.themes-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.7);
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.themes-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-gallery-tab-btn {
  padding: 7px 14px;
  font-family: var(--font-minecraft);
  font-size: 11px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  color: #94a3b8;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.theme-gallery-tab-btn:hover {
  color: #fff;
  border-color: #475569;
  background: rgba(51, 65, 85, 0.6);
}

.theme-gallery-tab-btn.active {
  background: var(--mc-emerald-dark);
  color: #fff;
  border-color: var(--mc-emerald);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  text-shadow: 1px 1px 0 #000;
}

.themes-search-box {
  min-width: 260px;
  flex: 0 1 320px;
}

.themes-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.theme-card {
  background: rgba(30, 41, 59, 0.85);
  border: 2px solid var(--mc-stone-border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.theme-card:hover {
  transform: translateY(-3px);
  border-color: var(--mc-emerald);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.theme-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.theme-title-area {
  flex: 1;
}

.theme-card .theme-name {
  font-family: var(--font-minecraft);
  font-size: 15px;
  color: #fff;
  margin: 0 0 4px 0;
  text-shadow: 1px 1px 0 #000;
  word-break: break-word;
}

.theme-card .theme-author {
  font-size: 12px;
  color: #94a3b8;
}

.theme-card .theme-author b {
  color: #cbd5e1;
}

.theme-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 40px;
}

.theme-features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.theme-feat-tag {
  font-size: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid #334155;
  padding: 2px 7px;
  border-radius: 3px;
  color: #94a3b8;
  font-weight: 500;
}

.theme-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #334155;
  padding-top: 14px;
  margin-top: auto;
}

.theme-footer-actions-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-footer-actions-right {
  margin-left: auto;
}

/* Badges Thèmes */
.badge-theme-status, .badge-theme-visibility {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-minecraft);
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 1px 1px 0 #000;
  white-space: nowrap;
}

.badge-theme-status.system, .badge-theme-visibility.system {
  background: #3b2a0c;
  color: #fde047;
  border: 1px solid #eab308;
}

.badge-theme-status.public, .badge-theme-visibility.public {
  background: #0c2c3b;
  color: #38bdf8;
  border: 1px solid #0284c7;
}

.badge-theme-status.private, .badge-theme-visibility.private {
  background: #262338;
  color: #c084fc;
  border: 1px solid #9333ea;
}

/* Boutons icônes & texte dans thèmes */
.btn-icon-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-icon-danger:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* Section Thèmes dans le Studio */
.theme-section-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px;
  margin-top: 14px;
}

.theme-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-header-row label {
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0;
}

.theme-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-text-action {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--mc-stone-border);
  color: #cbd5e1;
  font-family: var(--font-minecraft);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-text-action:hover {
  background: rgba(51, 65, 85, 0.8);
  color: #fff;
  border-color: var(--mc-emerald);
}

.theme-selected-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.theme-author-tag {
  font-size: 12px;
  color: #94a3b8;
}

/* Modal Éditeur de Thème */
.theme-editor-card {
  max-width: 950px;
  width: 95%;
}

.theme-editor-title-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  flex-wrap: wrap;
}

.theme-editor-title-box h2 {
  font-size: 18px;
  margin: 0;
  white-space: nowrap;
}

.theme-name-input {
  max-width: 280px;
  font-family: var(--font-minecraft);
  font-size: 13px;
  padding: 6px 10px;
}

.theme-editor-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.theme-desc-input-group {
  flex: 1;
  min-width: 260px;
}

.theme-visibility-selector {
  display: flex;
  gap: 8px;
}

.visibility-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.visibility-pill input[type="radio"] {
  display: none;
}

.visibility-pill .pill-box {
  font-family: var(--font-minecraft);
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--mc-stone-border);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  transition: all 0.2s ease;
}

.visibility-pill:hover .pill-box {
  color: #fff;
  border-color: #475569;
}

.visibility-pill input[type="radio"]:checked + .pill-box {
  background: var(--mc-emerald-dark);
  color: #fff;
  border-color: var(--mc-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
  text-shadow: 1px 1px 0 #000;
}

.theme-editor-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  overflow-x: auto;
}

.theme-tab-btn {
  padding: 6px 12px;
  font-family: var(--font-minecraft);
  font-size: 11px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.theme-tab-btn.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--mc-emerald-light);
  border-color: var(--mc-emerald);
  text-shadow: 1px 1px 0 #000;
}

.code-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.code-editor-header code {
  color: var(--mc-gold-light);
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 4px;
  border-radius: 3px;
}

.code-editor-textarea {
  width: 100%;
  height: 380px;
  background: #090d16;
  border: 1px solid var(--mc-stone-border);
  border-radius: 6px;
  padding: 12px;
  color: #38bdf8;
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}

.code-editor-textarea:focus {
  outline: none;
  border-color: var(--mc-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.theme-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.theme-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================
   STRIPE SÉCURITÉ & HISTORIQUE DES FACTURES
   ========================================== */
.stripe-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 20px;
  margin: 24px 0 32px 0;
  flex-wrap: wrap;
}

.stripe-trust-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stripe-badge {
  font-family: var(--font-minecraft);
  font-size: 11px;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 1px 1px 0 #000;
}

.stripe-badge b {
  color: #6366f1;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 13px;
}

.stripe-cards-pill {
  font-size: 11px;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  padding: 4px 10px;
  border-radius: 4px;
}

.table-dark {
  width: 100%;
  border-collapse: collapse;
}

.table-dark th {
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.8);
  font-family: var(--font-minecraft);
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.table-dark td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  font-size: 13px;
  color: #e2e8f0;
}

.table-dark tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================
   MODAL APERÇU DU LAUNCHER (THÈMES)
   ========================================== */
.modal-theme-preview {
  width: 95%;
  max-width: 1040px;
  height: 88vh;
  max-height: 740px;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border: 2px solid var(--mc-stone-border);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  padding: 0;
}

.theme-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 2px solid var(--mc-stone-border);
  flex-shrink: 0;
}

.preview-modal-title-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-modal-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-icon {
  font-size: 20px;
}

.preview-modal-title-row h3 {
  font-family: var(--font-minecraft);
  font-size: 15px;
  color: #f8fafc;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 #000;
}

.preview-theme-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

.preview-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-preview-body {
  flex: 1;
  padding: 16px 20px;
  background: #090d16;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.theme-preview-frame-container {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #1e293b;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  background: #111827;
}

.theme-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.preview-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.preview-footer-hint {
  font-size: 12px;
  color: #94a3b8;
}

.btn-preview-theme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  border: 2px solid #3b82f6;
  color: #fff;
  font-family: var(--font-minecraft);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 0 #1e3a8a;
  text-shadow: 1px 1px 0 #000;
}

.btn-preview-theme:hover {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.btn-preview-theme:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 #1e3a8a;
}

.hidden {
  display: none !important;
}

/* ==========================================
   STYLES MODPACKS (MODRINTH & CURSEFORGE)
   ========================================== */

.modpack-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 620px) {
  .modpack-type-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   WIDGET MODRINTH DANS LE STUDIO
   ========================================== */
#widgetModrinth {
  width: 100%;
  box-sizing: border-box;
}

.widget-modrinth-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 14px;
  box-sizing: border-box;
  width: 100%;
}

.widget-modrinth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.modrinth-widget-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 8px;
  scrollbar-width: thin;
}

.widget-pill {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 3px 9px;
  font-size: 10px;
  color: #94a3b8;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.widget-pill:hover, .widget-pill.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

.widget-modrinth-list {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
  scrollbar-width: thin;
}

.widget-modrinth-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 0;
  box-sizing: border-box;
}

.widget-modrinth-item:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  transform: translateX(2px);
}

.widget-modrinth-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1e293b;
}

.widget-modrinth-item-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.widget-modrinth-item-title {
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.widget-modrinth-item-desc {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 0 0;
}

.widget-modrinth-item-meta {
  font-size: 9px;
  color: #64748b;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modpack-type-card {
  background: var(--bg-input);
  border: 2px solid #243040;
  border-radius: 4px;
  box-shadow: inset 2px 2px 0 #070a0f, inset -1px -1px 0 rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.modpack-type-card:hover {
  border-color: #3b4d66;
  transform: translateY(-1px);
}

.modpack-type-card.active {
  border-color: var(--mc-emerald-light);
  background: rgba(16, 185, 129, 0.14);
  box-shadow: inset 2px 2px 0 #070a0f, 0 0 12px rgba(85, 255, 85, 0.3);
}

.modpack-type-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.modpack-type-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.modpack-type-info h4 {
  font-family: var(--font-minecraft);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modpack-type-info p {
  font-size: 10px;
  color: var(--text-dim);
  margin: 2px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modpack-panel {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 12px;
}

/* Modrinth Search & Results */
.modrinth-results-dropdown {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.modrinth-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #1e293b;
  transition: background 0.15s ease;
}

.modrinth-result-item:last-child {
  border-bottom: none;
}

.modrinth-result-item:hover {
  background: rgba(16, 185, 129, 0.15);
}

.modrinth-result-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  background: #1e293b;
  flex-shrink: 0;
}

.modrinth-result-info {
  flex: 1;
  min-width: 0;
}

.modrinth-result-title {
  font-family: var(--font-minecraft);
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modrinth-result-desc {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.modrinth-result-meta {
  font-size: 9px;
  color: #10b981;
  margin-left: 8px;
  white-space: nowrap;
}

/* Selected Modrinth Card */
.modrinth-selected-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid #10b981;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.modrinth-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #1e293b;
  flex-shrink: 0;
}

.modrinth-card-details {
  flex: 1;
  min-width: 0;
}

.modrinth-card-details h4 {
  font-family: var(--font-minecraft);
  font-size: 12px;
  color: #fff;
  margin: 0;
}

.modrinth-card-desc {
  font-size: 10px;
  color: #94a3b8;
  margin: 2px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge-mini {
  background: #1e293b;
  color: #10b981;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.modrinth-slug-tag {
  background: #0f172a;
  color: #64748b;
  font-family: monospace;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #334155;
}

.form-select-mini {
  background: #0f172a;
  color: #fff;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
}

.btn-link-danger {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 10px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.btn-link-danger:hover {
  color: #f87171;
}

/* ==========================================
   MODAL : EXPLORATEUR MODRINTH
   ========================================== */

.modal-modrinth-explorer {
  max-width: 860px;
  width: 92%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.modrinth-explorer-body {
  overflow-y: auto;
  max-height: calc(88vh - 140px);
  padding: 16px 20px;
}

.modrinth-search-bar-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.modrinth-search-bar-wrap input {
  flex: 1;
}

.modrinth-quick-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag-pill {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tag-pill:hover {
  border-color: #64748b;
  color: #fff;
}

.tag-pill.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
  font-weight: 600;
}

.modrinth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.modrinth-project-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.modrinth-project-card:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.modrinth-project-card-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.modrinth-project-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #1e293b;
  flex-shrink: 0;
}

.modrinth-project-card-title {
  font-family: var(--font-minecraft);
  font-size: 12px;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.modrinth-project-card-author {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.modrinth-project-card-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modrinth-project-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #1e293b;
}

.modrinth-loading {
  text-align: center;
  padding: 36px 0;
  color: #94a3b8;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Modrinth Details View */
.modrinth-detail-header {
  display: flex;
  gap: 16px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 16px;
  align-items: flex-start;
}

.modrinth-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #1e293b;
  flex-shrink: 0;
}

.modrinth-detail-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 6px 0 0 0;
}

/* Versions List */
.modrinth-versions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

.modrinth-version-row {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.15s ease;
}

.modrinth-version-row:hover {
  border-color: #334155;
  background: rgba(15, 23, 42, 0.9);
}

.modrinth-version-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modrinth-version-title {
  font-family: var(--font-minecraft);
  font-size: 12px;
  color: #fff;
}

.modrinth-version-tags {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.badge-mc {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid #0284c7;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-loader-fabric {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
  border: 1px solid #9333ea;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-loader-forge {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
  border: 1px solid #ea580c;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================
   MODAL JURIDIQUE : CGU & CGV (AGENCYWEB)
   ========================================== */
.modal-legal {
  width: 880px !important;
  max-width: 95vw !important;
  max-height: 88vh !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ==========================================
   PAGE DÉDIÉE : CGU & CGV (VIEWLEGAL)
   ========================================== */
.legal-page-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 60px 20px;
}

.legal-page-header {
  margin-bottom: 25px;
}

.legal-header-titles {
  margin: 18px 0;
}

.legal-page-title {
  font-family: var(--font-minecraft);
  font-size: 24px;
  color: #fff;
  margin: 10px 0 6px 0;
}

.legal-page-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.legal-page-tabs {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-top: 18px;
  flex-wrap: wrap;
}

.legal-page-tab {
  flex: 1;
  min-width: 200px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.legal-page-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.legal-page-tab.active {
  background: var(--mc-emerald);
  color: #000;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.legal-page-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  line-height: 1.7;
  color: #cbd5e1;
  font-size: 14px;
}

@media (max-width: 768px) {
  .legal-page-card {
    padding: 24px 20px;
  }
}

.legal-page-pane h2 {
  font-family: var(--font-minecraft);
  font-size: 18px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--mc-emerald);
  padding-bottom: 8px;
}

.legal-page-pane h3 {
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 26px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 5px;
}

.legal-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  color: var(--text-dim);
  font-size: 12px;
}

.legal-tabs-bar {
  display: flex;
  background: var(--bg-input);
  border-bottom: 1px solid var(--border-color);
  padding: 6px 14px 0 14px;
  gap: 8px;
}

.legal-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.legal-tab-btn.active {
  background: var(--bg-card);
  color: #fff;
  border-color: var(--border-color);
  border-top: 2px solid var(--mc-emerald);
}

.legal-modal-body {
  overflow-y: auto !important;
  max-height: 62vh !important;
  padding: 24px 28px !important;
  line-height: 1.65 !important;
  font-size: 13.5px !important;
  color: #cbd5e1 !important;
}

.legal-content-pane h2 {
  font-family: var(--font-minecraft);
  font-size: 16px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 8px;
}

.legal-content-pane h3 {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.legal-content-pane p {
  margin-bottom: 12px;
}

.legal-content-pane ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content-pane li {
  margin-bottom: 6px;
}

.legal-alert-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid #ef4444;
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 18px 0;
  color: #fecaca;
}

.legal-alert-box.gold-alert {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  color: #fef3c7;
}

.legal-alert-box .alert-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.plans-legal-bar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.plans-legal-text {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0 0 12px 0;
}

.plans-legal-text a, .footer-links-col a.btn-open-legal {
  color: var(--mc-emerald);
  text-decoration: underline;
  cursor: pointer;
}

.plans-legal-text a:hover, .footer-links-col a.btn-open-legal:hover {
  color: #34d399;
}

.plans-lifetime-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12px;
  color: #fde68a;
  line-height: 1.5;
}

.plans-lifetime-notice .notice-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
