/* ============================================================================
 * styles.css — MCTiers (Pixel-Perfect Recreation with High-Fidelity Animations)
 * ==========================================================================*/

:root {
  /* Paleta idéntica a mctiers.gg */
  --background: #0b0f15;
  --card: #0f1520;
  --border: #1c2637;
  --border-hover: #32435e;
  --muted: #64748b;
  --muted-foreground: #94a3b8;
  --foreground: #f8fafc;
  --accent: rgba(148, 163, 184, 0.08);
  --accent-hover: rgba(148, 163, 184, 0.14);
  --secondary: #1a2332;
  --secondary-foreground: #f1f5f9;
  --secondary-hover: #222f42;
  --primary: #f59e0b;
  --primary-foreground: #0b0f15;
  --placement-other: #1e2634;

  /* Tiers Oficiales de MCTiers */
  --tier-1: #6d5d2c; --tier-1-foreground: #e8ba3a;
  --tier-2: #5e6979; --tier-2-foreground: #c4d3e7;
  --tier-3: #6b4b36; --tier-3-foreground: #f89f5a;
  --tier-4: #303144; --tier-4-foreground: #81749a;
  --tier-5: #2b2c3d; --tier-5-foreground: #8f82a8;

  --ht1: #6d5d2c; --ht1-foreground: #e8ba3a;
  --lt1: #584c25; --lt1-foreground: #d5b355;
  --ht2: #5e6979; --ht2-foreground: #c4d3e7;
  --lt2: #4a505a; --lt2-foreground: #a0a7b2;
  --ht3: #6b4b36; --ht3-foreground: #f89f5a;
  --lt3: #593722; --lt3-foreground: #c67b42;
  --ht4: #303144; --ht4-foreground: #81749a;
  --lt4: #2c2e40; --lt4-foreground: #655b79;
  --ht5: #2b2c3d; --ht5-foreground: #8f82a8;
  --lt5: #262a3a; --lt5-foreground: #655b79;

  /* Regiones Oficiales de MCTiers */
  --na: #442228; --na-foreground: #d95c6a;
  --eu: #1c3e20; --eu-foreground: #89f19c;
  --as: #422c3f; --as-foreground: #af7f91;
  --au: #392e27; --au-foreground: #d5ad80;
  --sa: #193845; --sa-foreground: #5dccdc;
  --me: #4d4525; --me-foreground: #e5d386;

  --font-geist: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius-xl: 14px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-geist);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img {
  display: block;
  user-select: none;
}

.text-white { color: #ffffff !important; }
.text-muted { color: var(--muted-foreground) !important; }
.mb-4 { margin-bottom: 16px !important; }

/* ==========================================================================
 * NPROGRESS BAR (Idéntica a mctiers.gg con barra cyan, peg y spinner)
 * ========================================================================*/
.nprogress-container {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nprogress-container.is-loading {
  opacity: 1;
}

.nprogress-bar {
  background: #29d;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
  transition: width 0.25s ease-out;
}

.nprogress-peg {
  display: block;
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
  opacity: 1;
  transform: rotate(3deg) translate(0px, -4px);
}

.nprogress-spinner {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 15px;
  right: 15px;
}

.nprogress-spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-top-color: #29d;
  border-left-color: #29d;
  border-radius: 50%;
  animation: nprogress-spin 400ms linear infinite;
}

@keyframes nprogress-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
 * Orbes de luz ambiental (Glow Orbs)
 * ========================================================================*/
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.glow-top-left {
  width: 36rem;
  height: 36rem;
  top: -14rem;
  left: -10rem;
  background: rgba(232, 186, 58, 0.12);
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.glow-bottom-right {
  width: 34rem;
  height: 34rem;
  top: 18rem;
  right: -8rem;
  background: rgba(59, 130, 246, 0.11);
  animation: orbFloat2 20s ease-in-out infinite alternate;
}

.glow-center-blue {
  width: 30rem;
  height: 30rem;
  bottom: 0rem;
  left: 25%;
  background: rgba(139, 92, 246, 0.08);
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, -40px) scale(1.1); }
}

/* ==========================================================================
 * Page Wrapper
 * ========================================================================*/
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1352px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
 * Header Flotante
 * ========================================================================*/
.site-header {
  position: sticky;
  top: 16px;
  width: 100%;
  height: 64px;
  margin-top: 16px;
  border-radius: var(--radius-xl);
  background: rgba(15, 21, 32, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--border);
  z-index: 100;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: border-color 0.15s ease;
}

.site-header:hover {
  border-color: var(--border-hover);
}

.nav-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
}

.nav-logo-box {
  width: 160px;
  flex-shrink: 0;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-links-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.12s ease;
}

.nav-item:hover {
  color: #fff;
  background: var(--accent);
}

.nav-item.is-active {
  color: #fff;
  background: var(--accent-hover);
}

.nav-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

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

.nav-search-container {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  background: rgba(148, 163, 184, 0.06);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--muted-foreground);
  transition: all 0.15s ease;
}

.nav-search-container:focus-within {
  background: rgba(148, 163, 184, 0.12);
  border-color: #384e72;
  color: #fff;
}

.nav-search-svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.nav-search-container input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  width: 120px;
}

.nav-search-container input::placeholder {
  color: var(--muted);
}

.kbd-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--muted-foreground);
  border-radius: 4px;
}

/* Botón Servidor IP en Header */
.server-ip-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  background: var(--secondary);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--secondary-foreground);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.12s ease;
}

.server-ip-header-btn:hover {
  background: var(--secondary-hover);
  border-color: var(--border-hover);
}

.server-ip-header-btn:active {
  transform: scale(0.96);
}

.live-ping-box {
  position: relative;
  display: flex;
  width: 9px;
  height: 9px;
}

.ping-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: pingRadar 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.6;
}

.ping-center {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}

@keyframes pingRadar {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.copy-svg {
  opacity: 0.7;
  transition: opacity 0.12s ease;
}

.server-ip-header-btn:hover .copy-svg {
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

/* ==========================================================================
 * VISTAS PRINCIPALES (Page Views)
 * ========================================================================*/
.page-view {
  width: 100%;
  min-height: calc(100vh - 100px);
  padding: 24px 0 64px;
}

/* ==========================================================================
 * HERO CARD (Homepage)
 * ========================================================================*/
.hero-card {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 2px solid var(--border);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.hero-grid-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.hero-left-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero-logo-img {
  width: 24rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-heading {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #f1f5f9;
  line-height: 1.15;
}

.hero-paragraph {
  font-size: 17px;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary-glow {
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-primary-glow:hover {
  background: #fbbf24;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.btn-primary-glow:active {
  transform: scale(0.97);
}

.btn-secondary-flat {
  height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-secondary-flat:hover {
  background: var(--secondary-hover);
  color: #fff;
}

.btn-secondary-flat:active {
  transform: scale(0.97);
}

/* Lado Derecho del Hero: Top Players */
.hero-right-col {
  padding: 40px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.podium-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 6px;
}

.podium-title-tag {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 8px;
}

.full-leaderboard-link {
  font-size: 13px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.12s ease;
}

.full-leaderboard-link:hover {
  color: #fff;
}

.hero-podium-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Tarjeta individual del podio */
.podium-player-card {
  display: flex;
  flex-direction: column;
  background: var(--accent);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.podium-player-card:hover {
  background: var(--accent-hover);
  border-color: #344869;
  transform: translateX(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.podium-card-row {
  display: flex;
  align-items: center;
  height: 80px;
  padding-right: 16px;
  gap: 12px;
}

.shimmer-banner-wrap {
  position: relative;
  width: 150px;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 8px;
  overflow: hidden;
  border-radius: 4px;
  flex-shrink: 0;
}

.shimmer-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shimmer-rank-text {
  position: absolute;
  bottom: 4px;
  left: 10px;
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  line-height: 1;
  filter: drop-shadow(0px 3px 1px #232323);
  z-index: 2;
}

.minecraft-bust-3d {
  position: absolute;
  right: 18px;
  bottom: -2px;
  width: 60px;
  height: 60px;
  filter: drop-shadow(-4px -2px 1px rgba(0, 0, 0, 0.5));
  image-rendering: pixelated;
  z-index: 2;
  transition: transform 0.2s ease;
}

.podium-player-card:hover .minecraft-bust-3d {
  transform: scale(1.12) translateY(-2px);
}

.podium-player-meta {
  min-width: 0;
  flex: 1;
}

.podium-player-name {
  font-size: 22px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-player-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.title-badge-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.pts-parenthesis {
  color: #64748b;
}

.region-square-pill {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.region-square-pill[data-r="NA"] { background: var(--na); color: var(--na-foreground); }
.region-square-pill[data-r="EU"] { background: var(--eu); color: var(--eu-foreground); }
.region-square-pill[data-r="SA"] { background: var(--sa); color: var(--sa-foreground); }
.region-square-pill[data-r="AS"] { background: var(--as); color: var(--as-foreground); }
.region-square-pill[data-r="AU"] { background: var(--au); color: var(--au-foreground); }
.region-square-pill[data-r="ME"] { background: var(--me); color: var(--me-foreground); }

/* Tira de 8 Tiers */
.podium-tiers-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px 8px;
  margin-top: -4px;
  flex-wrap: wrap;
}

.tier-badge-slot {
  position: relative;
  width: 40px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.tier-badge-slot:hover {
  transform: translateY(-2px);
}

.tier-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--tier-border-col, var(--placement-other));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.tier-icon-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tier-label-capsule {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  padding: 1px 0;
  border-radius: 8px;
  background: var(--tier-border-col, var(--placement-other));
  color: var(--tier-text-col, #fff);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
}

.tier-badge-slot.has-peak-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 6px #facc15, 0 0 0 2px var(--card);
  z-index: 2;
}

.tier-badge-slot.is-retired-tier .tier-icon-circle {
  border-color: var(--placement-other);
  filter: grayscale(0.7) opacity(0.7);
}

.tier-badge-slot.is-retired-tier .tier-label-capsule {
  background: var(--placement-other);
  color: var(--muted-foreground);
}

/* Colores por tier */
.tier-ht1 { --tier-border-col: var(--ht1); --tier-text-col: var(--ht1-foreground); }
.tier-lt1 { --tier-border-col: var(--lt1); --tier-text-col: var(--lt1-foreground); }
.tier-ht2 { --tier-border-col: var(--ht2); --tier-text-col: var(--ht2-foreground); }
.tier-lt2 { --tier-border-col: var(--lt2); --tier-text-col: var(--lt2-foreground); }
.tier-ht3 { --tier-border-col: var(--ht3); --tier-text-col: var(--ht3-foreground); }
.tier-lt3 { --tier-border-col: var(--lt3); --tier-text-col: var(--lt3-foreground); }
.tier-ht4 { --tier-border-col: var(--ht4); --tier-text-col: var(--ht4-foreground); }
.tier-lt4 { --tier-border-col: var(--lt4); --tier-text-col: var(--lt4-foreground); }
.tier-ht5 { --tier-border-col: var(--ht5); --tier-text-col: var(--ht5-foreground); }
.tier-lt5 { --tier-border-col: var(--lt5); --tier-text-col: var(--lt5-foreground); }

/* Barra inferior del Hero: Server IP Widget */
.hero-server-status-bar {
  border-top: 2px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.server-status-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trophy-img {
  width: 40px;
  height: 36px;
  object-fit: contain;
}

.server-ip-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

.btn-server-ip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px 0 16px;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.12s ease;
}

.btn-server-ip:hover {
  background: var(--secondary-hover);
}

.btn-server-ip:active {
  transform: scale(0.96);
}

.copy-icon-square {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: color 0.12s ease;
}

.btn-server-ip:hover .copy-icon-square {
  color: #fff;
}

.server-status-mid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-online-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pulse-dot {
  position: relative;
  display: flex;
  width: 10px;
  height: 10px;
}

.ping-bubble {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: pingRadar 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.6;
}

.core-bubble {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.status-text-online {
  font-size: 16px;
  color: #f1f5f9;
}

.players-online-label {
  font-size: 14px;
  color: var(--muted-foreground);
}

.server-status-right {
  display: flex;
  align-items: center;
}

.server-versions-badge {
  font-size: 14px;
  color: var(--muted-foreground);
}

/* ==========================================================================
 * SECCIÓN GAMEMODES (8 Cuadrículas oficiales)
 * ========================================================================*/
.section-gamemodes {
  margin-top: 56px;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-heading-h2 {
  font-size: 26px;
  font-weight: 800;
  color: #e2e8f0;
}

.gamemodes-grid-8 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.gamemode-btn-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 8px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.15s ease;
  cursor: pointer;
}

.gamemode-btn-card:hover {
  background: var(--accent);
  border-color: rgba(148, 163, 184, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.gamemode-svg-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(148, 163, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.gamemode-btn-card:hover .gamemode-svg-wrap {
  border-color: var(--muted-foreground);
}

.gamemode-svg-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.15s ease;
}

.gamemode-btn-card:hover .gamemode-svg-icon {
  transform: scale(1.22);
}

.gamemode-title-txt {
  font-size: 15px;
  font-weight: 700;
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.gamemode-btn-card:hover .gamemode-title-txt {
  color: #ffffff;
}

/* ==========================================================================
 * SECCIÓN TIER TEST (Stepper oficial)
 * ========================================================================*/
.section-tier-test {
  margin-top: 56px;
}

.tier-test-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 2px solid var(--border);
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
}

.tier-test-left-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tier-test-heading {
  font-size: 32px;
  font-weight: 800;
  color: #e2e8f0;
}

.tier-test-desc {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.tier-test-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.stepper-ordered-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.stepper-step {
  display: flex;
  gap: 20px;
}

.stepper-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--secondary);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.step-badge-gold {
  background: var(--tier-1);
  border-color: var(--tier-1-foreground);
  color: var(--tier-1-foreground);
}

.step-trail {
  width: 2px;
  flex: 1;
  min-height: 24px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--border);
}

.step-text {
  color: var(--muted-foreground);
  line-height: 1.6;
  padding-top: 8px;
  padding-bottom: 28px;
  font-size: 15px;
}

/* ==========================================================================
 * SECCIÓN TIERS Y PUNTOS + TÍTULOS
 * ========================================================================*/
.section-tiers-breakdown {
  margin-top: 56px;
}

.tiers-breakdown-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
}

.tier-points-card {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 2px solid var(--border);
  padding: 24px;
}

.subcard-heading {
  font-size: 24px;
  font-weight: 800;
  color: #e2e8f0;
}

.subcard-desc {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-top: 4px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.tier-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-bar-row {
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-weight: 700;
}

.t-tier-1 { background: var(--tier-1); color: var(--tier-1-foreground); }
.t-tier-2 { background: var(--tier-2); color: var(--tier-2-foreground); }
.t-tier-3 { background: var(--tier-3); color: var(--tier-3-foreground); }
.t-tier-4 { background: var(--tier-4); color: var(--tier-4-foreground); }
.t-tier-5 { background: var(--tier-5); color: var(--tier-5-foreground); }

.tier-bar-num-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.tier-bar-title {
  font-size: 17px;
}

.tier-bar-chips {
  margin-left: auto;
  display: flex;
  gap: 6px;
  font-size: 12px;
}

.pts-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.2);
}

.titles-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.title-card-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.title-card-pill img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.title-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
}

.title-card-pts {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-foreground);
}

/* ==========================================================================
 * SECCIÓN FAQ (Acordeón)
 * ========================================================================*/
.section-faq {
  margin-top: 56px;
}

.faq-accordion-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-entry {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-entry.is-open {
  border-color: #384e72;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
  background: transparent;
}

.faq-trigger:hover {
  background: var(--accent);
}

.faq-arrow-svg {
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.faq-entry.is-open .faq-arrow-svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content-drawer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.faq-entry.is-open .faq-content-drawer {
  display: block;
}

/* ==========================================================================
 * VISTA 2: RANKINGS BOARD (matching mctiers.gg/rankings/overall)
 * ========================================================================*/
.rankings-board-wrapper {
  position: relative;
  width: 100%;
  margin-top: 70px;
}

/* Pestañas Superiores fijadas exactamente encima de la tarjeta */
.rankings-tabs-scroller {
  width: 100%;
  display: flex;
  gap: 4px;
  position: absolute;
  bottom: 100%;
  left: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  z-index: 10;
}

.rankings-tabs-scroller::-webkit-scrollbar {
  display: none;
}

.rankings-tab-item {
  width: 112px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 8px 16px 9px;
  border-radius: 22px 22px 0 0;
  border: 2px solid var(--border);
  border-bottom: none;
  background: rgba(15, 23, 42, 0.45);
  color: rgba(148, 163, 184, 0.55);
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  transform: perspective(600px) rotateX(var(--tab-rot-x, 0deg)) rotateY(var(--tab-rot-y, 0deg)) translateY(0);
  will-change: transform, box-shadow;
}

.rankings-tab-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}

.rankings-tab-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--tab-mouse-x, 50%) var(--tab-mouse-y, 50%), rgba(59, 130, 246, 0.28), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.rankings-tab-item:hover {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(15, 23, 42, 0.85) 100%);
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.65);
  transform: perspective(600px) rotateX(var(--tab-rot-x, 0deg)) rotateY(var(--tab-rot-y, 0deg)) translateY(-6px) scale(1.04);
  box-shadow: 0 -10px 28px -4px rgba(37, 99, 235, 0.45), 0 0 15px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rankings-tab-item:hover::before {
  opacity: 1;
  left: 8%;
  right: 8%;
  transform: scaleX(1);
}

.rankings-tab-item:hover::after {
  opacity: 1;
}

.rankings-tab-item.is-active {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.28) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 -8px 24px -2px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: perspective(600px) translateY(-3px);
}

.rankings-tab-item.is-active::before {
  opacity: 1;
  left: 10%;
  right: 10%;
  transform: scaleX(1);
  background: linear-gradient(90deg, #38bdf8, #ffffff, #818cf8);
}

.rankings-tab-item.is-active::after {
  opacity: 0.5;
}

.rankings-tab-item-active-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #ffffff, #818cf8);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
  z-index: 4;
}

.rankings-tab-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.rankings-tab-item:hover img {
  transform: translateY(-4px) scale(1.2) rotate(5deg);
  filter: drop-shadow(0 8px 18px rgba(56, 189, 248, 0.8));
}

.rankings-tab-item.is-active img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 14px rgba(59, 130, 246, 0.6));
}

.rankings-tab-item strong {
  font-size: 14.5px;
  font-weight: 700;
  text-transform: capitalize;
  position: relative;
  z-index: 2;
  transition: color 0.15s ease, text-shadow 0.2s ease, letter-spacing 0.2s ease;
}

.rankings-tab-item:hover strong {
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.75);
}

/* Tarjeta Principal de Rankings */
.rankings-main-board {
  position: relative;
  width: 100%;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  border-top-left-radius: 0;
  padding: 32px;
  padding-top: 12px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

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

.board-title-h1 {
  font-size: 26px;
  font-weight: 800;
  color: #e2e8f0;
}

.board-subtitle-p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.board-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-info-dialog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.12s ease;
}

.btn-info-dialog:hover {
  background: var(--secondary-hover);
}

.btn-info-dialog:active {
  transform: scale(0.96);
}

.server-badge-compact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact-lbl {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.compact-copy-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.compact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 12px;
  font-weight: 700;
}

.compact-discord-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #2563eb;
  color: #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease;
}

.compact-discord-btn:hover {
  background: #1d4ed8;
}

/* Toolbar de Filtros */
.rankings-filter-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 2px solid rgba(24, 32, 42, 0.9);
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  min-width: 240px;
  padding: 0 12px;
  background: rgba(148, 163, 184, 0.07);
  border: 2px solid var(--border);
  border-radius: 10px;
  transition: all 0.15s ease;
}

.search-input-wrap:focus-within {
  border-color: #2f3d52;
  background: rgba(148, 163, 184, 0.12);
}

.search-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  width: 100%;
}

.search-input-wrap input::placeholder {
  color: var(--muted);
}

.clear-search-btn {
  color: var(--muted);
  font-size: 13px;
}

.clear-search-btn:hover {
  color: #fff;
}

.regions-pill-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.region-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s ease;
}

.region-chip-btn:hover {
  color: #fff;
}

.region-chip-btn:active {
  transform: scale(0.96);
}

.region-chip-btn.is-active {
  color: #0b1118;
}

.region-chip-btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.toolbar-right-selects {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-select-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.custom-select-box select {
  appearance: none;
  height: 36px;
  padding: 0 32px 0 12px;
  background: rgba(148, 163, 184, 0.07);
  border: 2px solid var(--border);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.custom-select-box select:focus {
  outline: none;
  border-color: #2f3d52;
}

.select-caret {
  position: absolute;
  right: 10px;
  width: 16px;
  height: 16px;
  fill: var(--muted);
  pointer-events: none;
}

/* Encabezados de Columna */
.board-column-headers {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.header-col-pos { width: 140px; }
.header-col-player { width: 288px; }
.header-col-region { margin-left: auto; padding-right: 16px; }
.header-col-tiers { width: 340px; text-align: center; }

/* ScaleLoader de MCTiers (Bouncing 5-bars) */
.scale-loader-container {
  width: 100%;
  text-align: center;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--muted);
}

.scale-loader-bars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bar-item {
  background-color: white;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
  animation: mctiersScaleLoader 1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
  animation-fill-mode: both;
}

.bar-1 { animation-delay: 0.1s; }
.bar-2 { animation-delay: 0.2s; }
.bar-3 { animation-delay: 0.3s; }
.bar-4 { animation-delay: 0.4s; }
.bar-5 { animation-delay: 0.5s; }

@keyframes mctiersScaleLoader {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(2.2); }
}

/* Filas de Jugadores */
.player-entries-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-table-row {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  background: rgba(148, 163, 184, 0.05);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
  position: relative;
  animation: rowCascadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rowCascadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.player-table-row:hover {
  transform: translateX(-8px);
  background: rgba(148, 163, 184, 0.12);
  border-color: #384e72;
}

.player-table-row:active {
  transform: scale(0.99) translateX(-4px);
}

.row-placement-box {
  position: relative;
  width: 160px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8px;
  flex-shrink: 0;
}

.row-shimmer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-pos-num {
  position: absolute;
  bottom: 4px;
  left: 10px;
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  line-height: 1;
  filter: drop-shadow(0px 3px 1px #232323);
  z-index: 2;
}

.row-skin-bust {
  position: absolute;
  right: 20px;
  bottom: -2px;
  width: 60px;
  height: 60px;
  filter: drop-shadow(-4px -2px 1px rgba(0, 0, 0, 0.5));
  image-rendering: pixelated;
  z-index: 2;
  transition: transform 0.2s ease;
}

.player-table-row:hover .row-skin-bust {
  transform: scale(1.15) translateY(-2px);
}

.row-info-col {
  width: 288px;
  min-width: 0;
  padding: 0 4px;
}

.row-player-name {
  font-size: 23px;
  font-weight: 700;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-title-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-region-badge {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  margin-left: auto;
}

.row-region-badge[data-r="NA"] { background: var(--na); color: var(--na-foreground); }
.row-region-badge[data-r="EU"] { background: var(--eu); color: var(--eu-foreground); }
.row-region-badge[data-r="SA"] { background: var(--sa); color: var(--sa-foreground); }
.row-region-badge[data-r="AS"] { background: var(--as); color: var(--as-foreground); }
.row-region-badge[data-r="AU"] { background: var(--au); color: var(--au-foreground); }
.row-region-badge[data-r="ME"] { background: var(--me); color: var(--me-foreground); }

.row-tiers-cell {
  width: 340px;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.row-tiers-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

/* Paginación */
.board-pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid rgba(24, 32, 42, 0.9);
  flex-wrap: wrap;
}

.pager-info-text {
  font-size: 13px;
  color: var(--muted);
}

.pager-buttons-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-pager {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: rgba(148, 163, 184, 0.07);
  border: 2px solid var(--border);
  border-radius: 9px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.btn-pager:hover:not(:disabled) {
  background: rgba(148, 163, 184, 0.14);
}

.btn-pager:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-pager.is-current {
  background: #263244;
  border-color: #33435c;
  color: #fff;
}

.btn-pager:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================================================
 * MODALES (Player Profile & Info Dialog)
 * ========================================================================*/
.dialog-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10;
  animation: dialogPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dialogPopIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.dialog-close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1c2738;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.15s ease;
}

.dialog-close-button:hover {
  background: #27364d;
  color: #fff;
  transform: scale(1.06);
}

/* ==========================================================================
 * PLAYER PROFILE MODAL (Matching media_1792264757516_020f144f.png & media_1792264775436_03d93dba.png)
 * ========================================================================*/
.profile-card-inner {
  width: 100%;
  max-width: 440px;
  padding: 28px 24px 24px;
  background: #0f1723;
  border: 1px solid #1e293b;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}

/* Avatar Ring */
.modal-avatar-ring {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 2.5px solid #2b3952;
  background: #182335;
  overflow: hidden;
  margin: 4px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.modal-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: pixelated;
}

/* Player Name */
.modal-player-name {
  text-align: center;
  font-size: 27px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.15;
}

/* Title Pill */
.modal-title-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.modal-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #252213;
  border: 1px solid #57481b;
  padding: 5px 16px;
  border-radius: 9999px;
  color: #facc15;
  font-size: 13.5px;
  font-weight: 700;
}

.modal-title-spark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Region Text */
.modal-region-text {
  text-align: center;
  color: #38bdf8;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Action Buttons Row */
.modal-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.modal-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 35px;
  padding: 0 14px;
  background: #131c2a;
  border: 1px solid #202c3e;
  border-radius: 9px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-action-btn:hover {
  background: #1b273b;
  border-color: #2b3952;
  color: #f1f5f9;
  transform: translateY(-1px);
}

.modal-action-btn:active {
  transform: scale(0.97);
}

.namemc-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.btn-ext-icon {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* Section Header Labels */
.modal-section-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Position Banner */
.modal-position-banner {
  display: flex;
  align-items: center;
  height: 50px;
  background: #111a28;
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}

.position-slant-box {
  position: relative;
  height: 100%;
  width: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.position-slant-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.position-slant-num {
  position: relative;
  z-index: 2;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.position-slant-box.rank-1 .position-slant-num {
  color: #422006;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.position-slant-box.rank-2 .position-slant-num {
  color: #1e293b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.position-slant-box.rank-3 .position-slant-num {
  color: #431407;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.position-slant-box.rank-other .position-slant-num {
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.position-info-content {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 12px;
}

.position-trophy-icon {
  font-size: 18px;
  line-height: 1;
}

.position-mode-text {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.position-points-text {
  font-size: 14.5px;
  font-weight: 500;
  color: #94a3b8;
}

/* TIERS Container */
.modal-tiers-wrapper {
  position: relative;
  width: 100%;
}

/* Floating Popover Tooltip (media_1792264775436_03d93dba.png) */
.modal-tier-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0d1522;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 9px 18px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, left 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 40;
}

.modal-tier-popover.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.popover-status-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.popover-points-sub {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 3px;
  white-space: nowrap;
}

.popover-caret {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #0d1522;
  transition: left 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 8 Modes Box */
.modal-tiers-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111a28;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 12px 10px;
}

.modal-tier-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px 3px;
  border-radius: 8px;
  transition: transform 0.12s ease;
  outline: none;
}

.modal-tier-item:hover, .modal-tier-item:focus, .modal-tier-item.is-active {
  transform: translateY(-2px);
}

.modal-tier-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #151e2c;
  border: 1.5px solid #233044;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-tier-circle img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.modal-tier-item:hover .modal-tier-circle,
.modal-tier-item:focus .modal-tier-circle,
.modal-tier-item.is-active .modal-tier-circle {
  border-color: #3b82f6;
  background: #1a273b;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

/* Tier labels colors */
.modal-tier-tag {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}

.modal-tier-tag.tier-gold { color: #facc15; }
.modal-tier-tag.tier-silver { color: #94a3b8; }
.modal-tier-tag.tier-orange { color: #f97316; }
.modal-tier-tag.tier-purple { color: #c084fc; }
.modal-tier-tag.tier-slate { color: #64748b; }
.modal-tier-tag.tier-none { color: #475569; }

/* Info modal content */
.info-card-inner {
  width: 100%;
  max-width: 640px;
  padding: 36px;
}

.dialog-header {
  margin-bottom: 24px;
}

.dialog-title-h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.dialog-sub-p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 4px;
}

.dialog-content-scroll {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-block h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  margin-bottom: 10px;
}

.info-block p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.info-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.info-tier-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid var(--border);
  font-size: 12px;
  text-align: center;
}

/* ==========================================================================
 * TOOLTIP FLOTANTE
 * ========================================================================*/
.mctiers-tooltip {
  position: fixed;
  z-index: 300;
  padding: 10px 14px;
  min-width: 170px;
  background: #0d1218;
  border: 2px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.mctiers-tooltip.is-active {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.tooltip-header img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tooltip-tier-text {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted-foreground);
  font-weight: 600;
}

.tooltip-pts-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.tooltip-status-pill {
  display: inline-block;
  margin-top: 6px;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.tooltip-status-pill.active { background: #1c3e20; color: #89f19c; }
.tooltip-status-pill.retired { background: #442228; color: #d95c6a; }
.tooltip-status-pill.peak { background: #4d4525; color: #e5d386; }

/* ==========================================================================
 * TOAST NOTIFICACIÓN
 * ========================================================================*/
.toast-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #111a26;
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-popup.is-open {
  opacity: 1;
  transform: translateY(0);
}

.toast-popup svg {
  color: var(--primary);
}

/* ==========================================================================
 * FOOTER OFICIAL
 * ========================================================================*/
.site-footer {
  width: 100%;
  margin-top: 64px;
  border-top: 2px solid var(--border);
  background: rgba(15, 21, 32, 0.5);
}

.footer-inner-content {
  max-width: 1352px;
  margin: 0 auto;
  padding: 56px 16px 32px;
}

.footer-three-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.6fr);
  gap: 48px;
}

.footer-brand-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-about-text {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 360px;
}

.footer-server-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-java-bedrock {
  font-size: 12px;
  color: var(--muted);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

.footer-grid-modes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.footer-grid-modes a, .footer-simple-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
  transition: color 0.12s ease;
}

.footer-grid-modes a:hover, .footer-simple-list a:hover {
  color: #fff;
}

.footer-grid-modes img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

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

.footer-legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.legal-disclaimer {
  max-width: 500px;
  text-align: right;
}

/* ==========================================================================
 * RESPONSIVE BREAKPOINTS
 * ========================================================================*/
@media (max-width: 1280px) {
  .hero-grid-split {
    grid-template-columns: 1fr;
  }
  .hero-right-col {
    border-left: none;
    border-top: 2px solid var(--border);
    padding: 32px 24px;
  }
  .gamemodes-grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }
  .tier-test-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
}

@media (max-width: 1024px) {
  .nav-links-list {
    display: none;
  }
  .nav-links-list.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: #0f1520;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    z-index: 100;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .tiers-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .footer-three-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-disclaimer {
    text-align: left;
  }
  .header-col-region, .row-region-badge {
    display: none;
  }
  .profile-card-inner {
    max-width: 95vw;
    padding: 24px 14px 20px;
  }
}

@media (max-width: 768px) {
  .hero-left-col {
    padding: 24px 16px;
  }
  .hero-heading {
    font-size: 30px;
  }
  .hero-server-status-bar {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .gamemodes-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
  .rankings-main-board {
    padding: 16px 12px;
  }
  .header-col-tiers {
    display: none;
  }
  .player-table-row {
    flex-wrap: wrap;
    padding: 12px 8px;
  }
  .row-info-col {
    width: auto;
    flex: 1;
  }
  .row-tiers-cell {
    width: 100%;
    justify-content: flex-start;
    padding: 6px 0 0;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .server-ip-header-btn .server-ip-text {
    display: none;
  }
}

@media (max-width: 520px) {
  .row-placement-box {
    width: 110px;
    height: 48px;
  }
  .row-pos-num {
    font-size: 26px;
  }
  .row-skin-bust {
    width: 44px;
    height: 44px;
    right: 10px;
  }
    .rankings-tab-item {
    width: 86px;
    padding: 4px 6px;
  }
  .rankings-tab-item strong {
    font-size: 13px;
  }
}

/* ==========================================================================
 * 16. TABLERO DE 5 COLUMNAS PARA GAMEMODES (matching mctiers.gg/rankings/vanilla)
 * ==========================================================================*/
.tier-board-5col-wrapper {
  margin-top: 16px;
  width: 100%;
  animation: fadeIn 0.25s ease-out;
}

.tier-board-5col-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

@media (max-width: 1200px) {
  .tier-board-5col-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .tier-board-5col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .tier-board-5col-grid {
    grid-template-columns: 1fr;
  }
}

.tier-col-card {
  background: rgba(15, 21, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.tier-col-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.tier-col-header {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 21, 0.6);
}

.tier-col-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tier-col-badge-pill img {
  width: 16px;
  height: 16px;
}

.badge-tier-1 {
  background: linear-gradient(135deg, #785a21 0%, #4a3811 100%);
  color: #ffd866;
  border: 1px solid rgba(255, 216, 102, 0.35);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.badge-tier-2 {
  background: linear-gradient(135deg, #505c6d 0%, #303742 100%);
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.3);
}

.badge-tier-3 {
  background: linear-gradient(135deg, #724626 0%, #452914 100%);
  color: #fca566;
  border: 1px solid rgba(252, 165, 102, 0.3);
}

.badge-tier-4 {
  background: linear-gradient(135deg, #37384e 0%, #222332 100%);
  color: #a79ec0;
  border: 1px solid rgba(167, 158, 192, 0.3);
}

.badge-tier-5 {
  background: linear-gradient(135deg, #2f3044 0%, #1a1a27 100%);
  color: #8c83a7;
  border: 1px solid rgba(140, 131, 167, 0.3);
}

.tier-col-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
}

.tier-col-players-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 700px;
  overflow-y: auto;
}

/* Fila individual del jugador en el tablero de columnas (h-9 = 36px) */
.tier-player-board-item {
  display: flex;
  align-items: center;
  height: 36px;
  min-height: 36px;
  background: #111722;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0 8px 0 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

.tier-player-board-item:hover {
  background: #1a2332;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Región indicator con hover slide */
.board-item-region {
  height: 100%;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-right: 8px;
  flex-shrink: 0;
  transition: width 0.18s ease;
}

.board-item-region[data-r="NA"] { background: var(--na); color: var(--na-foreground); }
.board-item-region[data-r="EU"] { background: var(--eu); color: var(--eu-foreground); }
.board-item-region[data-r="SA"] { background: var(--sa); color: var(--sa-foreground); }
.board-item-region[data-r="AS"] { background: var(--as); color: var(--as-foreground); }
.board-item-region[data-r="AU"] { background: var(--au); color: var(--au-foreground); }
.board-item-region[data-r="ME"] { background: var(--me); color: var(--me-foreground); }

.tier-player-board-item:hover .board-item-region {
  width: 36px;
}

/* Avatar de cabeza */
.board-item-avatar {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  margin-right: 8px;
  flex-shrink: 0;
  image-rendering: pixelated;
  background: #000;
}

/* Nombre de usuario */
.board-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.tier-player-board-item:hover .board-item-name {
  color: #ffffff;
}

/* Chevrons y Badges de Tier */
.board-item-chevron-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.tier-chevron-double, .tier-chevron-single {
  width: 14px;
  height: 14px;
}

.tier-chevron-double {
  color: #ffd866;
}

.tier-chevron-single {
  color: #94a3b8;
}

.board-item-peak-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.board-item-retired-tag {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.25);
  color: #94a3b8;
  text-transform: uppercase;
}

/* ==========================================================================
 * 17. WAITLIST VIEW (matching mctier.es/waitlist)
 * ==========================================================================*/
.waitlist-page-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.waitlist-hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.waitlist-hero-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .waitlist-hero-header {
    flex-direction: column;
    align-items: stretch;
  }
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.waitlist-title-h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}

.waitlist-subtitle-p {
  color: var(--muted-foreground);
  font-size: 15px;
  max-width: 640px;
}

.waitlist-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .waitlist-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .waitlist-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.metric-card {
  background: rgba(11, 15, 21, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.metric-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.metric-val {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.text-emerald { color: #34d399 !important; }
.text-amber { color: #fbbf24 !important; }

.metric-sub {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 4px;
}

.waitlist-board-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.waitlist-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-refresh-queue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #141b27;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
  transition: all 0.2s ease;
}

.btn-refresh-queue:hover {
  background: #1c2637;
  color: #ffffff;
}

.btn-refresh-queue.is-spinning svg {
  animation: spin 0.8s linear infinite;
}

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

.waitlist-table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

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

.waitlist-table thead {
  background: rgba(11, 15, 21, 0.8);
  border-bottom: 1px solid var(--border);
}

.waitlist-table th {
  padding: 12px 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.waitlist-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.16s ease;
}

.waitlist-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.waitlist-table td {
  padding: 12px 14px;
  vertical-align: middle;
}

.queue-pos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  font-size: 12px;
  color: #94a3b8;
}

.testing-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.testing-dot-radar {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  animation: pulseRadar 1.5s infinite;
}

@keyframes pulseRadar {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

.queue-waiting-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
}

.table-player-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-player-avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  image-rendering: pixelated;
  background: #000;
}

.table-player-name {
  font-weight: 700;
  color: #f8fafc;
}

.table-mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #151d2a;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.table-mode-chip img {
  width: 14px;
  height: 14px;
}

.tester-assigned-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.tester-assigned-chip img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  image-rendering: pixelated;
}

/* Modal Join Queue */
.join-queue-card-inner {
  max-width: 480px;
}

.join-queue-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-label-txt {
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
}

.form-text-input, .form-select-input {
  width: 100%;
  background: #101622;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

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

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-guidelines-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #fbbf24;
}

.form-guidelines-box code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.form-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* ==========================================================================
 * 18. DOCS v2 VIEW (matching mctier.es/docs/v2)
 * ==========================================================================*/
.docs-page-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .docs-page-container {
    grid-template-columns: 1fr;
  }
}

.docs-sidebar {
  position: sticky;
  top: 84px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.docs-sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.api-version-chip {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.docs-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.docs-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-group-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.16s ease;
}

.docs-nav-link:hover, .docs-nav-link.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.http-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

.http-pill.get {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.docs-support-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #141b27;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.docs-support-card:hover {
  border-color: #5865f2;
}

.docs-support-card strong {
  font-size: 13px;
  color: #ffffff;
  display: block;
}

.docs-support-card p {
  font-size: 11.5px;
  color: var(--muted);
}

.docs-content-area {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.doc-card-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  scroll-margin-top: 96px;
}

.doc-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.doc-title-h1 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.doc-lead-p {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.doc-baseurl-box {
  margin: 20px 0;
  background: #0b0f15;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.baseurl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.baseurl-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.baseurl-status-dot {
  font-size: 11.5px;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 6px;
}

.baseurl-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.baseurl-txt {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #38bdf8;
}

.btn-copy-code {
  padding: 4px 10px;
  background: #182232;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.16s ease;
}

.btn-copy-code:hover {
  background: #243247;
  color: #ffffff;
}

.doc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .doc-features-grid {
    grid-template-columns: 1fr;
  }
}

.doc-feature-pill {
  background: rgba(11, 15, 21, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.doc-feature-pill strong {
  font-size: 13.5px;
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.doc-feature-pill p {
  font-size: 12.5px;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Endpoint card */
.doc-endpoint-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.http-badge {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
}

.http-badge.get {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.endpoint-path-code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
}

.doc-section-h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.doc-paragraph {
  font-size: 14.5px;
  color: var(--muted-foreground);
  margin-bottom: 16px;
  line-height: 1.5;
}

.doc-subheading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  margin: 16px 0 8px;
}

.doc-params-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.doc-params-table th {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.doc-params-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.type-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.req-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Try it out console */
.doc-try-console {
  background: #090d14;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}

.try-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.try-console-header strong {
  font-size: 13px;
  color: #ffffff;
}

.try-note {
  font-size: 11.5px;
  color: var(--muted);
}

.try-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.try-prefix {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-foreground);
}

.try-param-input {
  background: #141c2a;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  min-width: 140px;
}

.try-param-input:focus {
  border-color: var(--primary);
}

.try-response-box {
  margin-top: 14px;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.try-response-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-code-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.status-code-pill.status-200 {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.resp-time {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.json-code-block {
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: #e2e8f0;
  max-height: 320px;
  overflow-y: auto;
  white-space: pre;
}

/* ==========================================================================
 * LOGO MCTIERS 3D / YELLOW MINECRAFT STYLE (media_1792262129650_2e529be7.png)
 * ========================================================================*/
.nav-brand-logo-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
  user-select: none;
}

.nav-logo-link:hover .nav-brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 14px rgba(245, 158, 11, 0.45)) brightness(1.08);
}

.mctiers-brand-text {
  font-family: var(--font-geist);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 45%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  user-select: none;
}

.nav-logo-link:hover .mctiers-brand-text {
  transform: scale(1.06);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 1)) drop-shadow(0 0 16px rgba(245, 158, 11, 0.55));
}

/* ==========================================================================
 * DISCORDS DROPDOWN (2-COLUMN MATCHING media_1792262169313_5293a186.png)
 * ========================================================================*/
.nav-dropdown-item {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-item.is-open .nav-dropdown-trigger {
  color: #ffffff;
  background: rgba(30, 41, 59, 0.7);
}

.nav-dropdown-item.is-open .nav-caret-svg {
  transform: rotate(180deg);
}

.nav-caret-svg {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.7;
}

.discords-dropdown-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 250;
  width: 320px;
  padding: 10px;
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(37, 99, 235, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-dropdown-item.is-open .discords-dropdown-popup,
.nav-dropdown-item:hover .discords-dropdown-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.discords-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.discords-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.discord-item-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.discord-item-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.discord-item-pill:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
  color: #ffffff;
  transform: translateX(2px);
}

.discord-item-pill:hover img {
  transform: scale(1.15);
}

/* ==========================================================================
 * HOME HERO & SECTIONS (media_1792262191609_3a853ab1.png & media_1792262207777_600ceb85.png)
 * ========================================================================*/
.home-hero-card {
  max-width: 860px;
  margin: 32px auto 24px;
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 18px;
  padding: 48px 32px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.7);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-hero-card:hover {
  border-color: #2b3952;
  box-shadow: 0 20px 55px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.08);
}

.hero-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 22px;
}

.pill-trophy {
  font-size: 14px;
}

.hero-giant-title {
  font-size: 46px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-giant-subtitle {
  font-size: 15.5px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 28px;
}

.hero-server-ip-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}

.server-ip-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748b;
  text-transform: uppercase;
}

.server-ip-controls-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #141c2a;
  border: 1px solid #1c2637;
  padding: 4px;
  border-radius: 10px;
}

.region-pills-group {
  display: inline-flex;
  align-items: center;
  background: #0b0f15;
  border: 1px solid #1c2637;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.region-pill-btn {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  transition: all 0.15s ease;
  cursor: pointer;
}

.region-pill-btn:hover {
  color: #ffffff;
}

.region-pill-btn.is-active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
}

.server-domain-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #0b0f15;
  border: 1px solid #1c2637;
  color: #f1f5f9;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s ease;
  cursor: pointer;
}

.server-domain-copy-pill:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.hero-cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn-hero-white {
  background: #ffffff;
  color: #0b0f15;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.28);
}

.btn-hero-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1c2637;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #32435e;
  transform: translateY(-2px);
}

.hero-live-subpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 6px;
  transition: color 0.15s ease;
}

.hero-live-subpill strong {
  color: #38bdf8;
}

.hero-live-subpill:hover {
  color: #ffffff;
}

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

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 4 STATS ROW */
.home-stats-4-row {
  max-width: 860px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-stat-box {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-stat-box:hover {
  transform: translateY(-3px);
  border-color: #32435e;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.stat-number {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  display: block;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-name {
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  display: block;
  margin-top: 6px;
}

.stat-sub {
  font-size: 12px;
  color: #64748b;
  display: block;
  margin-top: 4px;
}

/* WHY MCTIERS */
.home-why-section {
  max-width: 860px;
  margin: 0 auto 40px;
}

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

.why-title-h2 {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.why-subtitle-p {
  font-size: 14.5px;
  color: #64748b;
  margin-top: 4px;
}

.why-cards-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card-item {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card-item:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.22);
}

.why-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
}

.why-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.why-item-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

/* CTA CARDS STACK */
.home-cta-cards-stack {
  max-width: 860px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-cta-card-big {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 18px;
  padding: 38px 32px;
  text-align: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.home-cta-card-big:hover {
  border-color: #2b3952;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.65);
}

.cta-card-compact {
  padding: 32px 32px;
}

.cta-card-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.cta-card-heading {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-card-text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 20px;
}

.cta-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-badge-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}

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

.btn-discord-blurple {
  background: #5865f2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.18s ease;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

.btn-discord-blurple:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.5);
}

/* ==========================================================================
 * RANKINGS SUBNAV ROW (media_1792262129650_2e529be7.png)
 * ========================================================================*/
.rankings-subnav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 16px;
  flex-wrap: wrap;
}

.rankings-subnav-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.rankings-server-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f1520;
  border: 1px solid #1c2637;
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.rankings-server-trophy {
  border-radius: 8px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.35));
}

.rankings-server-controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.server-ip-toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Tab underline indicator matching media_1792262129650_2e529be7.png */
.rankings-tab-btn {
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rankings-tab-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
 * OPENAPI V2 DOCS (media_1792262147425_3d182bdf.png)
 * ========================================================================*/
.docs-v2-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin: 28px 0 60px;
}

/* Sidebar */
.docs-v2-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.docs-v2-searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 8px;
  padding: 7px 12px;
  transition: border-color 0.15s ease;
}

.docs-v2-searchbox:focus-within {
  border-color: #38bdf8;
}

.docs-v2-searchbox input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13.5px;
  width: 100%;
}

.kbd-badge-v2 {
  font-family: var(--font-mono);
  font-size: 11px;
  background: #1a2332;
  color: #94a3b8;
  border: 1px solid #2b3952;
  border-radius: 4px;
  padding: 1px 5px;
}

.docs-v2-navtree {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-tree-root {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.docs-tree-root.is-active,
.docs-tree-root:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

.docs-tree-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  padding: 6px 10px;
  cursor: pointer;
}

.group-caret {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.docs-tree-sublist {
  list-style: none;
  padding-left: 12px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.docs-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #94a3b8;
  transition: all 0.15s ease;
}

.docs-sublink:hover,
.docs-sublink.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.docs-sublink.is-active {
  color: #38bdf8;
  font-weight: 600;
}

.http-mini-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.http-mini-badge.get {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

/* Main Doc Area */
.docs-v2-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.docs-v2-header-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

.docs-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.openapi-pill-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.docs-v2-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.docs-openapi-link {
  font-size: 13.5px;
  color: #38bdf8;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 10px;
}

.docs-v2-lead {
  font-size: 14.5px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.docs-v2-deprecation-notice {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #fcd34d;
  line-height: 1.5;
}

.docs-v2-server-box {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 12px;
  padding: 16px;
}

.server-box-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  display: block;
  margin-bottom: 6px;
}

.server-input-mimic {
  background: #090d14;
  border: 1px solid #1c2637;
  border-radius: 6px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.client-libs-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

.client-libs-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.client-lib-tab {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.15s ease;
}

.client-lib-tab.is-active,
.client-lib-tab:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #3b82f6;
}

.client-curl-tag {
  font-size: 12px;
  color: #64748b;
}

/* Operations Row */
.docs-v2-section-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.docs-v2-section-h2 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.docs-operations-panel {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 12px;
  padding: 16px;
}

.operations-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.operations-panel-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.operation-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.operation-row.is-active,
.operation-row:hover {
  background: rgba(56, 189, 248, 0.08);
}

.http-op-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.http-op-tag.get {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.op-path-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #cbd5e1;
}

/* Endpoint Workspace */
.docs-v2-endpoint-workspace {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 16px;
  padding: 28px;
}

.endpoint-heading-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.endpoint-name-h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.btn-copy-md {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-md:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.endpoint-description-p {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.responses-title {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.response-status-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 8px;
}

.resp-plus-toggle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #64748b;
}

.status-num-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-200 {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.badge-500 {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.status-desc-text {
  font-size: 13px;
  color: #94a3b8;
}

/* Terminal Card */
.openapi-runner-card {
  background: #090d14;
  border: 1px solid #1c2637;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.runner-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.runner-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.runner-endpoint-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}

.runner-lang-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
}

.runner-code-area {
  padding: 14px;
  background: #06080d;
}

.runner-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.runner-lineno {
  color: #475569;
  user-select: none;
}

.runner-cmd-text {
  color: #38bdf8;
}

.runner-action-bar {
  padding: 10px 14px;
  background: #090d14;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-test-request-glow {
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.btn-test-request-glow:hover {
  background: #1d4ed8;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.65);
  transform: translateY(-1px);
}

.play-arrow {
  font-size: 11px;
}

.runner-response-pane {
  background: #06080d;
}

.runner-response-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.resp-tabs-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.runner-status-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.runner-status-tab.is-active {
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
}

.dot-green {
  color: #10b981;
  font-size: 10px;
}

.btn-show-schema {
  font-size: 11.5px;
  color: #64748b;
  cursor: pointer;
}

.btn-show-schema:hover {
  color: #94a3b8;
}

.runner-json-display {
  padding: 14px;
  max-height: 280px;
  overflow-y: auto;
}

.runner-pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
  white-space: pre;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .docs-v2-container,
  .docs-v2-header-grid,
  .docs-v2-section-row,
  .docs-v2-endpoint-workspace {
    grid-template-columns: 1fr;
  }
  .home-stats-4-row,
  .why-cards-4-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .home-stats-4-row,
  .why-cards-4-grid {
    grid-template-columns: 1fr;
  }
  .hero-giant-title {
    font-size: 32px;
  }
}

/* ==========================================================================
 * ADVANCED HIGH-FIDELITY ANIMATIONS & EFFECTS
 * ========================================================================*/

/* 1. Ambient Canvas Particles */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* 2. Spotlight Glow on Cards (Mouse-tracking radial glow) */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(56, 189, 248, 0.38),
    transparent 65%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    450px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(37, 99, 235, 0.09),
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.spotlight-card:hover::before,
.spotlight-card:hover::after {
  opacity: 1;
}

/* 3. Hero Card Ambient Breathing Aura */
.home-hero-card {
  position: relative;
}

.home-hero-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(59, 130, 246, 0.18), rgba(16, 185, 129, 0.12));
  z-index: -1;
  filter: blur(12px);
  opacity: 0.6;
  animation: heroBreathingAura 7s ease-in-out infinite alternate;
}

@keyframes heroBreathingAura {
  0% { opacity: 0.35; transform: scale(0.995); filter: blur(10px); }
  50% { opacity: 0.75; transform: scale(1.008); filter: blur(14px); }
  100% { opacity: 0.45; transform: scale(0.998); filter: blur(11px); }
}

/* 4. Button Light Sweep Shimmer */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -130%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: btnShimmerSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btnShimmerSweep {
  0%, 65% { left: -130%; }
  100% { left: 240%; }
}

/* 5. Interactive Click Ripple */
.has-ripple {
  position: relative;
  overflow: hidden;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  transform: scale(0);
  animation: rippleAnimation 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 6. Sparkle Particle Burst on Copy */
.sparkle-burst {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
}

.sparkle-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8, 0 0 5px #f59e0b;
  animation: sparkleFly 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkleFly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx, 30px), var(--ty, -30px)) scale(0);
    opacity: 0;
  }
}

/* 7. Terminal Code Scanner Effect */
.terminal-code-body {
  position: relative;
  overflow: hidden;
}

.terminal-scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
  box-shadow: 0 0 14px #38bdf8, 0 0 8px #818cf8;
  opacity: 0;
  pointer-events: none;
}

.terminal-code-body.is-scanning .terminal-scan-beam {
  opacity: 1;
  animation: scanBeam 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scanBeam {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* 8. 3D Float on Hover for Skin Busts and Tiers */
.minecraft-bust-3d,
.skin-avatar-square {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.player-entry-row:hover .minecraft-bust-3d,
.player-entry-row:hover .skin-avatar-square,
.tier-player-chip:hover img {
  transform: scale(1.18) rotate(3deg);
  filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.55));
}

.tier-badge-slot {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease, box-shadow 0.2s ease;
}

.tier-badge-slot:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

/* 9. Smooth Staggered Column Animation */
.tier-column {
  animation: colSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tier-column:nth-child(1) { animation-delay: 0.05s; }
.tier-column:nth-child(2) { animation-delay: 0.12s; }
.tier-column:nth-child(3) { animation-delay: 0.19s; }
.tier-column:nth-child(4) { animation-delay: 0.26s; }
.tier-column:nth-child(5) { animation-delay: 0.33s; }

@keyframes colSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 10. Haptic Button Click Bounce */
button:active,
.btn-hero-white:active,
.btn-hero-dark:active,
.btn-discord-blurple:active,
.copy-ip-btn:active,
.region-pill-btn:active {
  transform: scale(0.96) !important;
  transition: transform 0.08s ease !important;
}

/* 11. Notification Toast Enhanced Animation */
.toast-popup {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.toast-popup.is-visible {
  transform: translate(-50%, 0) scale(1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
 * 12. TEXT & TITLE ANIMATIONS & EFFECTS (User Request)
 * ========================================================================*/
@keyframes titleGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes textNeonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.75));
  }
}

/* Hero Heading Shimmer */
.hero-heading {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-heading strong {
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 25%, #38bdf8 50%, #facc15 75%, #ffffff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradientShift 5s ease-in-out infinite alternate;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  cursor: default;
}

.hero-heading:hover strong {
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.8));
  transform: scale(1.04) translateY(-2px);
}

/* Board Titles */
.board-title-h1 {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 40%, #93c5fd 75%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradientShift 6s ease-in-out infinite alternate;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  cursor: default;
  display: inline-block;
}

.board-title-h1:hover {
  filter: drop-shadow(0 0 18px rgba(96, 165, 250, 0.65));
  transform: translateX(4px) scale(1.02);
}

/* Subtitle interactive glow */
.board-subtitle-p, .why-subtitle-p, .waitlist-subtitle-p {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.board-subtitle-p:hover, .why-subtitle-p:hover, .waitlist-subtitle-p:hover {
  color: #cbd5e1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

/* Why Titles & CTA Titles */
.why-title-h2, .cta-card-heading, .waitlist-title-h1, .docs-v2-main-title, .docs-v2-section-h2 {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, #93c5fd 80%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradientShift 6s ease-in-out infinite alternate;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  display: inline-block;
  cursor: default;
}

.why-title-h2:hover, .cta-card-heading:hover, .waitlist-title-h1:hover, .docs-v2-main-title:hover, .docs-v2-section-h2:hover {
  filter: drop-shadow(0 0 18px rgba(96, 165, 250, 0.6));
  transform: translateY(-2px) scale(1.02);
}

/* Stat Numbers */
.home-stat-box .stat-number {
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 60%, #38bdf8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradientShift 4s ease infinite alternate;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.home-stat-box:hover .stat-number {
  transform: scale(1.18) translateY(-3px);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.7));
}

/* Table player names dynamic hover */
.row-player-name {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-table-row:hover .row-player-name {
  color: #38bdf8;
  transform: translateX(4px);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

/* Gamemode Board Player Items Dynamics */
.tier-player-board-item {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tier-player-board-item:hover {
  transform: translateX(5px) scale(1.02);
  background: rgba(148, 163, 184, 0.14);
}

.tier-player-board-item:hover .board-item-avatar {
  transform: scale(1.2) rotate(-4deg);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.tier-player-board-item:hover .board-item-name {
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.tier-player-board-item .board-item-avatar {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

/* 5-Column Gamemode Cards Hover Dynamics */
.tier-col-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.tier-col-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.2);
}

.tier-col-card:hover .tier-col-badge-pill {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.tier-col-badge-pill {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

/* Region Filter Chips Dynamic Interaction */
.region-chip-btn {
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.region-chip-btn:hover {
  color: #ffffff;
  background: rgba(148, 163, 184, 0.2);
  border-color: rgba(148, 163, 184, 0.4);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.region-chip-btn:active {
  transform: scale(0.96);
}

.region-chip-btn:hover .dot {
  transform: scale(1.4);
  box-shadow: 0 0 8px currentColor;
}

.region-chip-btn .dot {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

/* Discord Queue Glow Button */
.btn-discord-queue-glow {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.45), 0 0 20px rgba(88, 101, 242, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-discord-queue-glow:hover {
  background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.75), 0 0 35px rgba(88, 101, 242, 0.5);
  color: #ffffff !important;
}

.btn-discord-queue-glow:active {
  transform: scale(0.97);
}


/* ==========================================================================
 * SCROLL REVEAL — Fade-in / Slide-up on Scroll (Intersection Observer)
 * ========================================================================*/

/* --- Base hidden state -------------------------------------------------- */
.sr {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  transition-delay: var(--sr-delay, 0s);
}

/* --- Revealed state ----------------------------------------------------- */
.sr.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Directional variants ----------------------------------------------- */
.sr-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  transition-delay: var(--sr-delay, 0s);
}

.sr-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.sr-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  transition-delay: var(--sr-delay, 0s);
}

.sr-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Scale-up variant --------------------------------------------------- */
.sr-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  transition-delay: var(--sr-delay, 0s);
}

.sr-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Blur-fade variant (extra polish for hero elements) ----------------- */
.sr-blur {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
  transition-delay: var(--sr-delay, 0s);
}

.sr-blur.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* --- Prefers reduced motion (accessibility) ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sr, .sr-left, .sr-right, .sr-scale, .sr-blur {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}


/* ========================================================================
 * SECCIONES AGREGADAS A LA PÁGINA DE INICIO (HOME) (matching media_1792370720845_94e596c1.png)
 * ======================================================================== */
.home-section-block {
  max-width: 860px;
  margin: 0 auto 52px;
}

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

.home-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.home-section-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

/* --- 1. TOP PLAYERS PODIUM --- */
.home-top-podium-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.home-podium-card {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 14px;
  padding: 22px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.home-podium-card:hover {
  transform: translateY(-4px);
  border-color: #344869;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.55);
}

.home-podium-card.rank-1 {
  order: 2;
  border-color: rgba(240, 184, 87, 0.45);
  box-shadow: 0 0 25px rgba(240, 184, 87, 0.12);
  transform: translateY(-8px);
  padding-top: 26px;
}

.home-podium-card.rank-1:hover {
  transform: translateY(-12px);
  border-color: #f0b857;
  box-shadow: 0 16px 36px -6px rgba(240, 184, 87, 0.25);
}

.home-podium-card.rank-2 {
  order: 1;
  border-color: rgba(169, 177, 185, 0.3);
}

.home-podium-card.rank-3 {
  order: 3;
  border-color: rgba(213, 145, 97, 0.3);
}

.podium-rank-tag {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2px;
}

.home-podium-card.rank-1 .podium-rank-tag {
  color: #f0b857;
}

.home-podium-card.rank-2 .podium-rank-tag {
  color: #c4d3e7;
}

.home-podium-card.rank-3 .podium-rank-tag {
  color: #d59161;
}

.podium-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 4px 0;
}

.podium-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #1c2637;
  image-rendering: pixelated;
  background: #141c2a;
}

.home-podium-card.rank-1 .podium-avatar-img {
  border-color: #f0b857;
  box-shadow: 0 0 12px rgba(240, 184, 87, 0.35);
}

.podium-player-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.podium-region-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.podium-points-tag {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.podium-title-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.podium-title-badge-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* --- 2. GAMEMODES GRID --- */
.home-gamemodes-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-gamemode-card {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-gamemode-card:hover {
  transform: translateY(-3px);
  border-color: #344869;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.5);
}

.gamemode-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gamemode-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gamemode-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.gamemode-bot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gamemode-sub-icon {
  color: #475569;
  display: flex;
  align-items: center;
}

.gamemode-count {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
}

/* --- 3. REGIONS GRID --- */
.home-regions-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.home-region-card {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 12px;
  padding: 18px 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-region-card:hover {
  transform: translateY(-3px);
  border-color: #344869;
  box-shadow: 0 10px 22px -4px rgba(0, 0, 0, 0.45);
}

.home-region-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.home-region-name {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
}

.home-region-count {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
}

/* --- 4. HOW IT WORKS --- */
.home-how-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-how-card {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-how-card:hover {
  transform: translateY(-3px);
  border-color: #344869;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.5);
}

.how-card-num-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #172338;
  border: 1px solid #2b3952;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.how-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.how-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

.verify-icon-green {
  font-size: 13px;
}

/* --- 5. POINTS TABLE --- */
.home-points-card {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-point-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.home-point-row:last-child {
  border-bottom: none;
}

.home-point-tier-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 100px;
}

.point-trophy-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.point-tier-name {
  font-size: 15px;
  font-weight: 700;
}

.point-tier-name.no-trophy {
  padding-left: 30px;
}

.home-point-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 2px solid var(--point-bar-color, #38bdf8);
  padding-left: 14px;
  margin-left: 12px;
  flex: 1;
  justify-content: flex-end;
}

.home-point-pill-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}

.home-point-row.point-row-t1 .home-point-pill-box {
  background: #2a2111;
  color: #e8ba3a;
  border-color: #55441b;
}

.home-point-row.point-row-t2 .home-point-pill-box {
  background: #1c232f;
  color: #c4d3e7;
  border-color: #313d50;
}

.home-point-row.point-row-t3 .home-point-pill-box {
  background: #2b1d14;
  color: #f89f5a;
  border-color: #583520;
}

.home-point-row.point-row-t4 .home-point-pill-box,
.home-point-row.point-row-t5 .home-point-pill-box {
  background: #151b26;
  color: #8ba2b8;
  border-color: #243042;
}

.point-arrow {
  font-size: 9px;
  opacity: 0.85;
}

/* --- 6. ACHIEVEMENT TITLES --- */
.home-titles-card {
  background: #0f1520;
  border: 1px solid #1c2637;
  border-radius: 16px;
  padding: 6px 0;
  overflow: hidden;
}

.home-title-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.home-title-item:last-child {
  border-bottom: none;
}

.home-title-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.home-title-item-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-title-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-title-item-name {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0;
}

.home-title-item-req {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* --- RESPONSIVE MEDIA QUERIES FOR NEW HOME SECTIONS --- */
@media (max-width: 900px) {
  .home-gamemodes-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-regions-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .home-top-podium-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-podium-card.rank-1 {
    order: 1;
    transform: none;
  }

  .home-podium-card.rank-2 {
    order: 2;
  }

  .home-podium-card.rank-3 {
    order: 3;
  }

  .home-how-grid-3 {
    grid-template-columns: 1fr;
  }

  .home-regions-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-point-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .home-point-pills-row {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}
