:root {
  --background: #10161d;
  --foreground: #f9fafb;
  --card: #121822;
  --layout-sections-color: #121822;
  --border: #18202a;
  --secondary: #1e2939;
  --secondary-foreground: #f9fafb;
  --muted: #222a38;
  --muted-foreground: #99a1af;
  --accent: #1e2939;
  --input: rgba(155, 187, 245, 0.16);

  --placement-1: #e5ba43;
  --placement-2: #808c9c;
  --placement-3: #b56326;
  --placement-other: #1e2634;

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

  --eu-bg: #1c3e20;
  --eu-fg: #89f19c;
  --tr-bg: #442228;
  --tr-fg: #d95c6a;
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Geist', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* Header */
.site-header-wrap {
  padding: 16px 16px 0;
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(16, 22, 29, 0.96) 72%, rgba(16, 22, 29, 0));
}

.site-header {
  max-width: 1352px;
  height: 64px;
  margin: 0 auto;
  background: var(--layout-sections-color);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 160px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-wordmark-img {
  height: 28px;
  width: auto;
  display: block;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-pill-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.085);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
}

.page-section:not(.hidden) {
  animation: pageFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-svg-img {
  height: 24px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

.nav-link:hover .nav-svg-img, .nav-link.active .nav-svg-img {
  opacity: 1;
}

.chev-down {
  opacity: 0.7;
  margin-left: -2px;
}

/* Discords Hover Dropdown (Tek seçenek: Logo + MC-TIERS) */
.nav-dropdown-wrap {
  position: relative;
}

.discord-hover-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 80;
}

.nav-dropdown-wrap:hover .discord-hover-menu,
.nav-dropdown-wrap:focus-within .discord-hover-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.discord-single-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 174px;
  padding: 10px 14px;
  background: #141b25;
  border: 2px solid #202a38;
  border-radius: 12px;
  text-decoration: none;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.discord-single-item:hover {
  background: #1c2635;
  border-color: rgba(245, 196, 81, 0.45);
  color: #ffffff;
}

.discord-item-logo-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0c1118;
  border: 1px solid #243042;
  display: grid;
  place-items: center;
  padding: 4px;
  flex-shrink: 0;
}

.discord-item-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

/* Language Dropdown */
.lang-menu-wrap {
  position: relative;
}

.lang-trigger-btn {
  background: transparent;
  border: 0;
  padding: 5px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lang-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 282px;
  background: #141b25;
  border: 2px solid #202a38;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 80;
}

.lang-dropdown-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #79879c;
  padding: 2px 6px 8px;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  color: #b4c0d2;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.lang-option.active {
  background: #1f2a3a;
  color: #ffffff;
  font-weight: 700;
}

.lang-check {
  margin-left: auto;
  font-size: 13px;
  color: #ffffff;
}

.flag-svg {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  flex-shrink: 0;
  display: block;
}

.lang-trigger-btn .flag-svg {
  width: 26px;
  height: 17.33px;
}

/* Search Pill */
.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  width: 240px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  background: var(--input);
  color: var(--muted-foreground);
  border: 1px solid transparent;
}

.search-pill:focus-within {
  border-color: #6a7282;
}

.search-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.search-pill input {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--foreground);
  font-size: 14px;
  width: 100%;
}

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

.search-kbd {
  background: var(--muted);
  color: var(--muted-foreground);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Main */
.page-main {
  max-width: 1352px;
  width: 100%;
  margin: 0 auto;
  padding: 34px 16px 0;
  min-height: calc(100vh - 220px);
}

/* ==================== HOME PAGE STYLES ==================== */
.home-hero-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 42px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

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

.home-hero-logo {
  width: 26rem;
  max-width: 100%;
  height: auto;
  display: block;
}

.home-hero-title {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #f1f5f9;
}

.home-hero-desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.625;
  color: var(--muted-foreground);
  max-width: 36rem;
}

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

.btn-light {
  height: 48px;
  padding: 0 20px;
  background: #f8fafc;
  color: #0f172a;
  border: 0;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-light:hover {
  background: #ffffff;
}

.btn-dark {
  height: 48px;
  padding: 0 20px;
  background: var(--secondary);
  color: #f8fafc;
  border: 0;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-dark:hover {
  background: #273549;
}

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

.home-hero-right {
  border-left: 2px solid var(--border);
  padding: 40px;
}

.home-top-players-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.top-players-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

.text-link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: #90a1b9;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.text-link-btn:hover {
  color: #ffffff;
}

.home-top-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-mini-row {
  background: rgba(30, 41, 57, 0.24);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.home-mini-row:hover {
  background: var(--accent);
}

.home-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-mini-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.home-mini-ribbon {
  position: relative;
  width: 132px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 14px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.home-mini-ribbon .rank-ribbon-num {
  font-size: 24px;
}

.home-mini-ribbon .rank-ribbon-skin {
  width: 50px;
  height: 50px;
  margin-top: 5px;
  margin-right: 6px;
}

.home-mini-name {
  font-size: 20px;
  font-weight: 700;
  color: #cad5e2;
  line-height: 1.15;
}

.home-mini-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  margin-top: 2px;
}

.home-mini-slots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-left: 4px;
}

.mini-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 800;
}

.mini-slot-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #3c475a;
  display: grid;
  place-items: center;
  padding: 4px;
}

.mini-slot-circle img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.home-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 36px;
  border-top: 2px solid var(--border);
  background: rgba(12, 17, 25, 0.55);
}

.home-ip-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-ip-trophy {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.home-online-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  display: inline-block;
}

.online-word {
  color: #4ade80;
}

.online-sub {
  color: var(--muted-foreground);
}

.home-block {
  margin-bottom: 42px;
}

.home-block-title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  color: #e2e8f0;
}

.home-muted-p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-foreground);
}

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

.gamemode-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 22px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.gamemode-card:hover {
  background: var(--secondary);
  border-color: #2b3a4f;
  transform: translateY(-2px);
}

.gm-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #232f42;
  display: grid;
  place-items: center;
}

.gm-icon-box img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.home-split-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.home-tested-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sm-ip-btn {
  height: 38px !important;
  font-size: 14px !important;
  padding: 0 14px !important;
}

.tested-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tested-steps-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #cad5e2;
  background: rgba(16, 22, 29, 0.55);
}

.tested-steps-list li.step-highlight {
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.3);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-num.gold {
  background: rgba(245, 196, 81, 0.2);
  color: #f5c451;
}

.home-two-col-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 42px;
}

.home-info-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
}

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

.home-tier-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  background: #171f2b;
}

.home-tier-bar-row.t1 { background: linear-gradient(90deg, rgba(232, 186, 58, 0.22), rgba(232, 186, 58, 0.08)); color: #f6ca56; }
.home-tier-bar-row.t2 { background: linear-gradient(90deg, rgba(196, 211, 231, 0.18), rgba(196, 211, 231, 0.07)); color: #d6e2f2; }
.home-tier-bar-row.t3 { background: linear-gradient(90deg, rgba(234, 156, 98, 0.2), rgba(234, 156, 98, 0.06)); color: #ea9c62; }

.ht-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ht-bar-right {
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.home-title-bars {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.title-bar-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 5px;
}

.title-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.title-bar-left img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.title-bar-track {
  height: 4px;
  width: 100%;
  border-radius: 4px;
  background: #1b2432;
  overflow: hidden;
}

.title-bar-fill {
  height: 100%;
  border-radius: 4px;
}

.home-events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-event-card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 440px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.ev-mon { font-size: 11px; font-weight: 700; color: #e8ba3a; }
.ev-day { font-size: 24px; font-weight: 800; line-height: 1.1; }
.ev-wk  { font-size: 11px; color: var(--muted-foreground); }

.event-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

.event-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.event-sub  { font-size: 13px; color: #90a1b9; line-height: 1.45; }

/* FAQ Accordion */
.faq-accordion {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item.open {
  border-left: 3px solid #e5ba43;
  background: rgba(229, 186, 67, 0.04);
}

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

.faq-num {
  font-size: 12.5px;
  font-weight: 700;
  color: #5b6b82;
}

.faq-item.open .faq-num {
  color: #e5ba43;
}

.faq-plus {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--secondary);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

.faq-item.open .faq-plus {
  background: rgba(229, 186, 67, 0.18);
  color: #e5ba43;
}

.faq-body {
  display: none;
  padding: 0 22px 18px 54px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.faq-item.open .faq-body {
  display: block;
}

.home-questions-banner {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.hq-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hq-trophy {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hq-left h3 { margin: 0 0 6px; font-size: 18px; }
.hq-left p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted-foreground); }

.hq-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hq-link-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 0 10px;
  text-align: left;
  color: #cad5e2;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.hq-link-row:last-child { border-bottom: 0; padding-bottom: 0; }
.hq-link-row:hover { color: #ffffff; }

/* ==================== SERVER IP PAGE STYLES ==================== */
.server-hero-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.server-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e5ba43;
  margin-bottom: 8px;
}

.server-hero-title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 800;
}

.server-hero-desc {
  margin: 0 0 18px;
  max-width: 520px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.server-status-box {
  background: rgba(16, 22, 29, 0.75);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 320px;
}

.server-status-trophy { width: 52px; height: 52px; object-fit: contain; }
.server-status-online { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #4ade80; margin: 3px 0; }
.server-status-close { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #ef4444; margin: 3px 0; }
.status-dot-red {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.85);
  display: inline-block;
}
.status-word-red { color: #ef4444; font-weight: 700; }
.server-status-sub { font-size: 13.5px; color: var(--muted-foreground); }

.server-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.server-metric-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.server-metric-card span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.server-metric-card strong {
  font-size: 16px;
  color: #ffffff;
}

.join-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.join-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.join-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 14px;
}

.join-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.join-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #90a1b9;
}

.join-steps li strong { color: #ffffff; }

.join-steps li span {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--secondary);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ==================== FULL PLAYER PROFILE PAGE ==================== */
.full-profile-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.fp-hero-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.fp-avatar-box {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #0b1018;
  border: 1.5px solid #1e2837;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fp-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.fp-hero-meta {
  min-width: 0;
}

.fp-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fp-username {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.fp-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(232, 186, 58, 0.14);
  border: 1px solid rgba(232, 186, 58, 0.35);
}

.fp-subtitle {
  margin-top: 6px;
  font-size: 14.5px;
  color: #7d8da4;
}

.fp-bio {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #8b9bb4;
}

.fp-table-card {
  background: var(--card);
  border: 1.5px solid #1b2432;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}

.fp-table-head, .fp-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 0.7fr 1fr 0.6fr;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
}

.fp-table-head {
  font-size: 12.5px;
  font-weight: 600;
  color: #6b7b92;
  border-bottom: 1.5px solid #1b2432;
}

.fp-table-row {
  font-size: 14px;
  border-bottom: 1px solid #18202c;
}

.fp-table-row:last-child {
  border-bottom: 0;
}

.fp-table-row:hover {
  background: rgba(30, 41, 57, 0.25);
}

.fp-col-right {
  text-align: right;
  font-weight: 700;
  color: #e2e8f0;
}

.fp-gm-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #e2e8f0;
}

.fp-gm-cell img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.fp-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 800;
  width: fit-content;
}

.fp-muted-cell {
  color: #7d8da4;
  font-size: 13.5px;
}

.fp-learn-more h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
}

.fp-learn-more ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fp-learn-more li {
  color: #6b7b92;
}

.fp-learn-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: #8b9bb4;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.fp-learn-link:hover {
  color: #ffffff;
}

/* ==================== RANKINGS PAGE & TABS ==================== */
#pageRankings {
  padding-top: 62px;
}

.card-dock-wrapper {
  position: relative;
}

.kit-tabs-dock {
  position: absolute;
  bottom: 100%;
  left: 0;
  display: flex;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.kit-tabs-dock::-webkit-scrollbar {
  display: none;
}

.kit-tab-btn {
  position: relative;
  width: 98px;
  min-width: 86px;
  padding: 7px 6px 6px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border: 2px solid var(--border);
  border-bottom: none;
  background: var(--card);
  color: rgba(153, 161, 175, 0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.kit-tab-btn img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

.kit-tab-btn:hover {
  background: rgba(30, 41, 57, 0.55);
  color: var(--foreground);
}

.kit-tab-btn:hover img, .kit-tab-btn.active img {
  animation: iconPulseFloat 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.22));
}

.kit-tab-btn.active {
  background: #171f2b;
  color: #ffffff;
}

.kit-tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff;
}

.kit-tab-btn strong {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes iconPulseFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.07); }
}

.rankings-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  border-top-left-radius: 0;
  padding: 18px 28px 28px;
}

.single-panel-card {
  border-top-left-radius: 14px;
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.card-heading h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.card-heading p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: #7b8ca4;
}

.card-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.info-btn:hover { background: #273549; }

.server-ip-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ip-trophy-img { width: 48px; height: 48px; object-fit: contain; }

.ip-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

.ip-action-row { display: flex; align-items: center; gap: 6px; }

.ip-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ip-copy-pill:hover { background: #273549; }

.discord-square-btn {
  width: 28px;
  height: 26px;
  border-radius: 6px;
  border: 0;
  background: #155dfc;
  color: #bedbff;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
}

.discord-btn-svg { filter: brightness(0) invert(0.92); }
.discord-square-btn:hover { background: #2568ff; }

.status-notice {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(30, 41, 57, 0.45);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 12px;
  font-size: 14px;
}

/* LTM Coming Soon */
.ltm-empty-state {
  text-align: center;
  padding: 38px 18px 46px;
}

.ltm-empty-state h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #e2e8f0;
}

.ltm-empty-state p {
  margin: 0 auto;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.55;
  color: #7d8da4;
}

/* Overall Table */
.table-col-headers {
  display: grid;
  grid-template-columns: 164px minmax(240px, 1fr) 86px 432px;
  align-items: center;
  gap: 14px;
  padding: 2px 16px 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #364357;
}

.ch-player { padding-left: 8px; }
.ch-region, .ch-tiers { text-align: center; }

.overall-rows { display: flex; flex-direction: column; gap: 8px; }

.player-row {
  display: grid;
  grid-template-columns: 164px minmax(240px, 1fr) 86px 432px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 7px 16px 7px 10px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: rgba(30, 41, 57, 0.22);
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.player-row:hover { background: var(--accent); transform: translateX(-10px); }

.rank-ribbon {
  position: relative;
  width: 160px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 16px;
  overflow: hidden;
  border-radius: 4px;
}

.ribbon-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 0;
}

.rank-ribbon-num {
  position: relative;
  z-index: 2;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 3px 1px #232323;
}

.rank-ribbon-skin {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-top: 6px;
  margin-right: 10px;
  filter: drop-shadow(-4px -2px 1px rgba(0, 0, 0, 0.48));
}

.player-identity { min-width: 0; }
.player-username {
  font-size: 23px;
  font-weight: 700;
  color: #cad5e2;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-subtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 14px;
}

.title-anim-img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.player-title-label { color: #90a1b9; font-weight: 600; }
.player-points-label { color: #4f5f75; font-weight: 600; }

.region-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background: rgba(51, 65, 85, 0.12);
  border-radius: 10px;
}

.region-badge {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
}

.region-EU { background: var(--eu-bg); color: var(--eu-fg); }
.region-TR { background: var(--tr-bg); color: var(--tr-fg); }

.tiers-slots-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.tier-slot {
  position: relative;
  width: 40px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.tier-slot:not(.empty):hover { transform: translateY(-2px) scale(1.06); }
.tier-slot:not(.empty):hover .slot-circle img { animation: iconPulseFloat 1.5s ease-in-out infinite; }

.slot-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #3c475a;
  padding: 4px;
  display: grid;
  place-items: center;
}

.slot-circle img { width: 19px; height: 19px; object-fit: contain; }

.slot-pill {
  position: absolute;
  bottom: 2px;
  width: 36px;
  height: 20px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tier-slot.empty .slot-circle {
  background: rgba(0, 0, 0, 0.2);
  border: 2px dashed rgba(100, 116, 139, 0.45);
  opacity: 0.45;
}

.tier-slot.empty .slot-circle img { display: none; }
.tier-slot.empty .slot-pill {
  background: rgba(100, 116, 139, 0.13);
  backdrop-filter: blur(4px);
  color: var(--muted-foreground);
  font-weight: 600;
}

/* Tier Columns */
.tier-columns-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.tier-col {
  background: #131a24;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  border: 1.5px solid #1b2432;
}

.tier-col-head {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tier-col-head img { width: 28px; height: 28px; object-fit: contain; }
.tier-col.c1 .tier-col-head { background: linear-gradient(180deg, #5a4616, #43330f); color: #f6ca56; }
.tier-col.c2 .tier-col-head { background: linear-gradient(180deg, #434d5b, #313844); color: #d6e2f2; }
.tier-col.c3 .tier-col-head { background: linear-gradient(180deg, #5a351c, #422614); color: #ea9c62; }
.tier-col.c4 .tier-col-head { background: linear-gradient(180deg, #1d2534, #171e2b); color: #cbd5e1; }
.tier-col.c5 .tier-col-head { background: linear-gradient(180deg, #1d2534, #171e2b); color: #cbd5e1; }

.tier-col-body { display: flex; flex-direction: column; }

.col-player-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 48px;
  padding: 0 14px 0 16px;
  background: #141c27;
  border-bottom: 1.5px solid #1a2330;
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.col-player-card:nth-child(even) { background: #18202d; }
.col-player-card:hover { background: #222e40; }

.col-player-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #4e5e78;
}

.col-player-card.reg-TR::before { background: #b84a56; }
.col-player-card.reg-EU::before { background: #4ca368; }

.col-player-left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.col-player-left img { width: 28px; height: 28px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }

.col-player-name {
  font-size: 16px;
  font-weight: 700;
  color: #e5ebf5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-chevrons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7d99;
  flex-shrink: 0;
  transition: color 0.14s ease;
}

.col-player-card:hover .col-chevrons {
  color: #cbd5e1;
}

.empty-msg {
  text-align: center;
  padding: 36px 12px;
  color: #5b6b82;
  font-size: 14px;
}

/* Footer */
.site-footer {
  width: 100%;
  background: var(--layout-sections-color);
  border-top: 2px solid var(--border);
  margin-top: 84px;
}

.footer-container {
  max-width: 1352px;
  margin: 0 auto;
  padding: 52px 24px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 36px;
}

.footer-wordmark-img { height: 30px; width: auto; margin-bottom: 12px; }

.footer-desc {
  margin: 0 0 18px;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.55;
  color: #90a1b9;
}

.footer-ip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--secondary);
  color: #ffffff;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.footer-ip-btn:hover { background: #273549; }
.footer-versions { margin-top: 10px; font-size: 13px; color: var(--muted-foreground); }
.footer-links-col h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #ffffff; }

.footer-kit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.footer-kit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  color: #90a1b9;
  font-size: 14px;
  cursor: pointer;
}

.footer-kit-link:hover { color: #ffffff; }
.footer-kit-link img { width: 16px; height: 16px; }

.footer-explore-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: #90a1b9;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.footer-link-btn:hover { color: #ffffff; }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-foreground);
}

.footer-disclaimer { color: #6b798f; }

/* Modals & Smooth Open/Close Animations */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 11, 16, 0.78);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(590px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  opacity: 0;
  transform: translateY(14px) scale(0.95);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

.modal-backdrop.is-open .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Information Popover (Titles / Points) */
.info-popover-wrap {
  position: relative;
}

.info-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: -20px;
  width: 344px;
  max-width: calc(100vw - 32px);
  background: #111722;
  border: 1.5px solid #202a38;
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.65);
  z-index: 85;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
}

.info-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.info-tabs-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0a0f17;
  border: 1px solid #1b2432;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 14px;
}

.info-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 10px;
  color: #8b9bb4;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.info-tab-btn.active {
  background: #161f2d;
  border-color: #465770;
  color: #ffffff;
}

.info-pane-head {
  font-size: 14.5px;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.info-pane-head strong {
  color: #ffffff;
  font-weight: 700;
}

.info-pop-titles {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.info-title-entry-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

.info-title-entry-top img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.info-title-entry-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #7e8da4;
}

.info-pop-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-pt-group-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 7px;
}

.info-pt-group-head img {
  width: 16px;
  height: 16px;
}

.info-pt-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 11px;
  border-left: 2.5px solid #3c475a;
}

.info-pt-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: #1a222f;
  color: #cbd5e1;
  cursor: default;
}

.info-pt-pill::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  background: #131a25;
  border: 1px solid #263245;
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.info-pt-pill:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-wide { width: min(720px, 100%); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--secondary);
  border: 0;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.modal-title { margin: 0 0 6px; font-size: 20px; }
.modal-sub { margin: 0 0 16px; font-size: 14px; color: var(--muted-foreground); }

.profile-modal-card {
  width: min(444px, 100%);
  border-radius: 18px;
  padding: 28px 26px 26px;
  background: #111722;
  border: 2px solid #1d2736;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.profile-close-btn {
  border-radius: 999px;
  background: #1e2837;
  color: #cbd5e1;
}

.profile-close-btn:hover {
  background: #283549;
  color: #ffffff;
}

.profile-center-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.profile-avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 2.5px solid #e5ba43;
  background: #0d131d;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.profile-circle-bust {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.profile-center-name {
  margin: 0 0 9px;
  font-size: 27px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.profile-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  background: rgba(232, 186, 58, 0.14);
  border: 1px solid rgba(232, 186, 58, 0.3);
  margin-bottom: 10px;
}

.modal-title-webp {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.profile-region-text {
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 15px;
}

.profile-ext-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.profile-ext-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a2332;
  border: 1px solid #253246;
  color: #cbd5e1;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.profile-ext-btn:hover {
  background: #232f42;
  color: #ffffff;
}

.namemc-glyph {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: #0b0f15;
  color: #ffffff;
  font-weight: 900;
  font-size: 11px;
  display: grid;
  place-items: center;
  font-family: ui-monospace, monospace;
}

.profile-sec-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #7d8da4;
  margin: 0 0 8px;
}

.profile-position-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  background: #0d131c;
  border: 1.5px solid #1e2837;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

.profile-pos-ribbon {
  position: relative;
  width: 86px;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 16px;
  flex-shrink: 0;
}

.profile-pos-num {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 2px 1px #232323;
}

.profile-pos-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  padding-right: 12px;
}

.profile-pos-right strong {
  color: #f1f5f9;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.profile-pos-right span {
  color: #6b7b92;
  font-weight: 500;
  font-size: 14px;
}

.profile-tiers-tray {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  background: #0d131c;
  border: 1.5px solid #1e2837;
  border-radius: 10px;
}

.profile-tiers-tray .tier-slot {
  width: 44px;
  height: 60px;
}

.profile-tiers-tray .slot-circle {
  width: 34px;
  height: 34px;
}

.profile-tiers-tray .slot-circle img {
  width: 21px;
  height: 21px;
}

.profile-tiers-tray .slot-pill {
  width: 38px;
  height: 22px;
  font-size: 13px;
}

.profile-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.profile-slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f151e;
  border: 1px solid var(--border);
}

.profile-slot-card.unranked { opacity: 0.45; }
.profile-slot-left { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.profile-slot-left img { width: 20px; height: 20px; }
.profile-slot-right { text-align: right; }
.profile-slot-tier { display: block; font-weight: 800; font-size: 14px; }
.profile-slot-pts { font-size: 11.5px; color: var(--muted-foreground); }

.info-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-subhead { margin: 0 0 10px; font-size: 15px; color: #e2e8f0; }
.points-list, .titles-list { display: flex; flex-direction: column; gap: 6px; }
.info-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: #0e141c;
  border: 1px solid var(--border);
  font-size: 13.5px;
}

.info-title-left { display: inline-flex; align-items: center; gap: 7px; }
.info-title-left img { width: 18px; height: 18px; object-fit: contain; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  background: #1e2939;
  color: #ffffff;
  border: 1px solid #3b4b63;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1140px) {
  .main-nav { display: none; }
  .table-col-headers { display: none; }
  .home-hero-grid, .home-split-card, .home-two-col-cards, .home-questions-banner, .join-two-col { grid-template-columns: 1fr; }
  .home-hero-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
  .gamemodes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .server-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-row {
    grid-template-columns: 150px 1fr auto;
    grid-template-areas:
      "ribbon identity region"
      "tiers tiers tiers";
  }
  .rank-ribbon { grid-area: ribbon; width: 150px; }
  .player-identity { grid-area: identity; }
  .region-cell { grid-area: region; }
  .tiers-slots-row { grid-area: tiers; flex-wrap: wrap; }
  .tier-columns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .rankings-card { padding: 16px; }
  .search-pill { width: 155px; }
  .tier-columns-grid, .profile-slots-grid, .info-two-col, .server-metrics-grid {
    grid-template-columns: 1fr;
  }
}
