/* ==========================================================================
       UNSLOP DESIGN TOKENS (Ink / Tactical Esports Dark Ramp)
       ========================================================================== */
    :root {
      /* Neutral Ramp */
      --bg-base: #060b14;
      --surface-1: #0a1120;
      --surface-2: #0e172a;
      --surface-3: #132038;
      --line-subtle: rgba(255, 255, 255, 0.06);
      --line-medium: rgba(56, 189, 248, 0.18);
      --line-focus: #38bdf8;

      /* Text Roles */
      --text-primary: #f1f5f9;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;

      /* Single Tactical Accent */
      --accent-blue: #1557ff;
      --accent-cyan: #38bdf8;
      --semantic-green: #10b981;
      --semantic-green-bg: rgba(16, 185, 129, 0.1);

      /* Motion */
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --duration-fast: 0.15s;
      --duration-normal: 0.25s;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background-color: var(--bg-base);
      color: var(--text-primary);
      font-family: 'DM Sans', -apple-system, sans-serif;
      min-height: 100vh;
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }

    /* Top Progress Loading Bar (Smooth Page/Action Feedback) */
    #top-loading-bar {
      position: fixed;
      top: 0;
      left: 0;
      height: 2px;
      width: 0%;
      background: linear-gradient(90deg, #1557ff, #38bdf8);
      z-index: 9999;
      opacity: 0;
      transition: width 0.3s ease, opacity 0.2s ease;
    }
    #top-loading-bar.active {
      opacity: 1;
      width: 68%;
    }
    #top-loading-bar.done {
      width: 100%;
      opacity: 0;
      transition: width 0.15s ease, opacity 0.3s ease 0.15s;
    }

    /* Layout Shell */
    .shell {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      padding: 0 24px;
    }

    /* Navigation (Quiet Chrome) */
    header.nav-bar {
      border-bottom: 1px solid var(--line-subtle);
      background: rgba(6, 11, 20, 0.92);
      backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 100;
      height: 72px;
      display: flex;
      align-items: center;
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand {
      display: flex;
      align-items: center;
    }
    .brand-logo-img {
      height: 38px;
      width: auto;
      display: block;
      object-fit: contain;
      filter: drop-shadow(0 2px 8px rgba(21, 87, 255, 0.25));
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .nav-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--semantic-green-bg);
      border: 1px solid rgba(16, 185, 129, 0.22);
      color: #34d399;
      padding: 5px 12px;
      border-radius: 16px;
      font-size: 12px;
      font-weight: 500;
    }
    .status-dot {
      width: 6px;
      height: 6px;
      background: var(--semantic-green);
      border-radius: 50%;
    }
    .btn-track {
      background: transparent;
      border: 1px solid var(--line-subtle);
      color: var(--text-secondary);
      padding: 7px 14px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: color var(--duration-fast), border-color var(--duration-fast);
    }
    .btn-track:hover {
      color: var(--text-primary);
      border-color: rgba(255, 255, 255, 0.2);
    }

    /* Service Hero Header */
    .service-hero-header {
      margin-top: 32px;
      margin-bottom: 20px;
    }
    .service-title-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 20px;
    }
    .service-badge-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .service-badge-icon svg {
      width: 22px;
      height: 22px;
      color: var(--text-primary);
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
    }
    .service-text-group h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.15;
      letter-spacing: -0.02em;
    }
    .service-text-group p {
      font-size: 13px;
      color: var(--text-secondary);
      margin-top: 2px;
    }

    /* Sub-header Navigation Tabs */
    .service-sub-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 4px;
    }
    .sub-nav-pill {
      background: transparent;
      border: 1px solid transparent;
      color: var(--text-secondary);
      padding: 8px 16px;
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: background var(--duration-fast), color var(--duration-fast);
      white-space: nowrap;
    }
    .sub-nav-pill:hover {
      color: var(--text-primary);
      background: rgba(255, 255, 255, 0.04);
    }
    .sub-nav-pill.active {
      background: var(--surface-2);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-primary);
    }

    /* Info Bar (Subtle Announcement) */
    .info-bar {
      background: var(--surface-1);
      border: 1px solid var(--line-subtle);
      border-radius: 10px;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--text-secondary);
      margin-bottom: 24px;
    }
    .info-bar svg {
      width: 16px;
      height: 16px;
      color: var(--accent-cyan);
      flex-shrink: 0;
    }

    /* Main Two-Column Layout */
    .calculator-layout {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 24px;
      align-items: start;
    }

    /* Config Cards */
    .config-card {
      background: var(--surface-1);
      border: 1px solid var(--line-subtle);
      border-radius: 12px;
      padding: 24px;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .card-header-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 20px;
    }
    .selected-rank-circle {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .selected-rank-circle img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      transition: transform 0.2s var(--ease-out);
    }
    .selected-rank-circle.pop img {
      transform: scale(1.18);
    }
    .header-text h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 16px;
      font-weight: 600;
      color: var(--text-primary);
    }
    .header-text p {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 1px;
    }

    /* Tier Grid with 8 Rank Badges */
    .tiers-selector-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }
    .tier-tile {
      flex: 1;
      min-width: 48px;
      height: 48px;
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: border-color var(--duration-fast), background var(--duration-fast);
    }
    .tier-tile:hover {
      border-color: rgba(255, 255, 255, 0.18);
      background: var(--surface-3);
    }
    .tier-tile.active {
      background: var(--surface-3);
      border-color: var(--accent-cyan);
    }
    .tier-tile img {
      width: 28px;
      height: 28px;
      object-fit: contain;
    }

    /* Division Pickers (1, 2, 3) */
    .divisions-row {
      display: flex;
      gap: 8px;
      margin-bottom: 20px;
      max-width: 200px;
    }
    .div-num-btn {
      flex: 1;
      height: 36px;
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      border-radius: 6px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-secondary);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--duration-fast);
    }
    .div-num-btn:hover {
      color: var(--text-primary);
      border-color: rgba(255, 255, 255, 0.2);
    }
    .div-num-btn.active {
      background: #1e293b;
      border-color: rgba(255, 255, 255, 0.35);
      color: var(--text-primary);
    }

    /* Dropdowns */
    .dropdowns-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    .select-group label {
      display: block;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: .06em;
      margin-bottom: 6px;
    }
    .select-group select {
      width: 100%;
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      border-radius: 6px;
      height: 40px;
      padding: 0 12px;
      color: var(--text-primary);
      font-size: 13px;
      outline: none;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%222%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      transition: border-color var(--duration-fast);
    }
    .select-group select:focus {
      border-color: var(--accent-cyan);
    }

    /* Checkout Card (Right Column) */
    .checkout-card {
      background: var(--surface-1);
      border: 1px solid var(--line-subtle);
      border-radius: 12px;
      padding: 24px;
      position: sticky;
      top: 92px;
    }
    .checkout-header {
      text-align: center;
      margin-bottom: 18px;
    }
    .checkout-header h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 19px;
      font-weight: 700;
      color: var(--text-primary);
    }
    .checkout-header p {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* Route pill box */
    .route-pill-box {
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      border-radius: 8px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-primary);
      margin-bottom: 18px;
    }
    .route-pill-box img {
      width: 18px;
      height: 18px;
      object-fit: contain;
    }
    .route-pill-box svg {
      width: 14px;
      height: 14px;
      color: var(--text-muted);
    }

    /* Queue Mode: Solo vs Duo */
    .mode-toggle-group {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      border-radius: 8px;
      padding: 4px;
      margin-bottom: 20px;
    }
    .mode-btn {
      height: 36px;
      background: transparent;
      border: none;
      border-radius: 6px;
      color: var(--text-secondary);
      font-family: 'Space Grotesk', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all var(--duration-fast);
    }
    .mode-btn svg { width: 15px; height: 15px; fill: currentColor; }
    .mode-btn.active {
      background: #1e293b;
      color: var(--text-primary);
    }

    /* Addons Rows */
    .addon-rows {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 20px;
    }
    .addon-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      user-select: none;
      cursor: pointer;
    }
    .addon-label-side {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-primary);
    }
    .pill-tag {
      font-size: 11px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(21, 87, 255, 0.12);
      border: 1px solid rgba(21, 87, 255, 0.3);
      color: #60a5fa;
      font-family: 'JetBrains Mono', monospace;
    }
    .pill-tag.free {
      background: var(--semantic-green-bg);
      border-color: rgba(16, 185, 129, 0.25);
      color: #34d399;
    }
    .pill-tag.auto {
      background: rgba(56, 189, 248, 0.12);
      border-color: rgba(56, 189, 248, 0.3);
      color: var(--accent-cyan);
    }

    /* Switch Component */
    .switch {
      position: relative;
      display: inline-block;
      width: 36px;
      height: 20px;
      flex-shrink: 0;
    }
    .switch input { opacity: 0; width: 0; height: 0; }
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0; left: 0; right: 0; bottom: 0;
      background-color: #334155;
      transition: background-color var(--duration-fast);
      border-radius: 10px;
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 14px;
      width: 14px;
      left: 3px;
      bottom: 3px;
      background-color: #fff;
      transition: transform var(--duration-fast) var(--ease-out);
      border-radius: 50%;
    }
    input:checked + .slider {
      background-color: var(--accent-blue);
    }
    input:checked + .slider:before {
      transform: translateX(16px);
    }

    /* ETA indicator */
    .eta-box {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 14px;
    }
    .eta-box svg { width: 14px; height: 14px; }

    /* Discount Pill */
    .discount-banner {
      background: var(--semantic-green-bg);
      border: 1px solid rgba(16, 185, 129, 0.25);
      border-radius: 6px;
      padding: 8px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #34d399;
      font-size: 12px;
      font-weight: 500;
      margin-bottom: 10px;
    }
    .discount-close {
      cursor: pointer;
      color: var(--text-muted);
      background: transparent;
      border: none;
      font-size: 14px;
    }

    .savings-sub {
      text-align: center;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .savings-sub strong { color: var(--text-primary); }

    .line-divider {
      height: 1px;
      background: var(--line-subtle);
      width: 100%;
      margin-bottom: 16px;
    }

    /* Price Row */
    .price-summary-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 18px;
    }
    .price-summary-row .label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-secondary);
    }
    .price-values-wrap {
      display: flex;
      align-items: baseline;
      gap: 8px;
    }
    .cashback-badge {
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.3);
      color: #fbbf24;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .old-price {
      font-size: 13px;
      color: var(--text-muted);
      text-decoration: line-through;
      font-family: 'JetBrains Mono', monospace;
    }
    .final-price {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 30px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1;
      font-variant-numeric: tabular-nums;
      transition: transform 0.15s ease;
    }
    .final-price.bump {
      transform: scale(1.06);
    }

    /* Buy Boost CTA */
    .btn-buy-boost {
      width: 100%;
      height: 46px;
      background: linear-gradient(135deg, #1557ff, #0648e6);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-buy-boost:hover {
      background: linear-gradient(135deg, #0f4ee6, #043cb8);
      transform: translateY(-1px);
    }

    /* Modals */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(4, 8, 16, 0.88);
      backdrop-filter: blur(8px);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-overlay.open { display: flex; }
    .modal-card {
      background: var(--surface-1);
      border: 1px solid var(--line-subtle);
      border-radius: 12px;
      width: 100%;
      max-width: 440px;
      padding: 28px;
      position: relative;
    }
    .modal-close {
      position: absolute;
      top: 16px; right: 16px;
      background: transparent;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 18px;
    }
    .modal-close:hover { color: var(--text-primary); }

    .input-field {
      margin-bottom: 14px;
    }
    .input-field label {
      display: block;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: .06em;
      margin-bottom: 6px;
    }
    .input-field input, .input-field select {
      width: 100%;
      background: var(--surface-2);
      border: 1px solid var(--line-subtle);
      border-radius: 6px;
      padding: 10px 12px;
      color: var(--text-primary);
      font-size: 13px;
      outline: none;
    }
    .input-field input:focus, .input-field select:focus {
      border-color: var(--accent-cyan);
    }

    /* Spinner Loading Component */
    .btn-spinner {
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.6s linear infinite;
      display: inline-block;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @media (max-width: 900px) {
      .calculator-layout { grid-template-columns: 1fr; }
      .dropdowns-row { grid-template-columns: 1fr; }
    }
/* ==========================================================================
   TACTICAL MATCHES AMOUNT CARD (Matching Reference Design)
   ========================================================================== */
.matches-amount-card {
  background: #0c1018;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin-top: 10px;
}

.matches-amount-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 22px;
}

.matches-count-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #141822;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.matches-header-info h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 4px 0;
}

.matches-header-info p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
}

/* Slider Track & Thumb */
.slider-container {
  width: 100%;
  margin-bottom: 24px;
  padding: 4px 0;
}

.tactical-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(to right, #2563eb 0%, #2563eb 75%, #131926 75%, #131926 100%);
  outline: none;
  cursor: pointer;
}

/* Webkit Thumb */
.tactical-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tactical-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 8px rgba(37, 99, 235, 0.5);
}

/* Firefox Thumb */
.tactical-range-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tactical-range-slider::-moz-range-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 8px rgba(37, 99, 235, 0.5);
}

/* Server & Game Mode Dropdowns */
.matches-selectors-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.matches-select-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.matches-select-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tactical-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #090d14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 36px 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

.tactical-select:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.tactical-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.select-chevron {
  position: absolute;
  right: 12px;
  width: 14px;
  height: 14px;
  color: #94a3b8;
  pointer-events: none;
}


/* ==========================================================================
   TACTICAL HYBRID BRAND LOCKUP & CENTER NAVIGATION
   ========================================================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.15s ease;
  user-select: none;
}
.brand:hover {
  transform: scale(1.02);
}
.brand-emblem-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.45));
}
.brand-text-lockup {
  display: flex;
  align-items: center;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-text-valo {
  color: #ffffff;
  font-style: italic;
  letter-spacing: -0.01em;
}
.brand-text-boost {
  color: #2563eb;
  font-style: italic;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 1px;
}
.brand-text-tld {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-style: normal;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 6px;
  border-radius: 9999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}
.nav-link-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nav-link-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-link-btn.active {
  color: #ffffff;
  background: #2563eb;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
}
@media (max-width: 980px) {
  .nav-center {
    display: none;
  }
}


/* ==========================================================================
   FRAGGER-STYLE VALOBOOST TACTICAL BRAND LOCKUP
   ========================================================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.brand:hover {
  transform: translateY(-1px) scale(1.02);
}
.brand-glyph-wrap {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.65));
  transition: filter 0.2s ease;
}
.brand:hover .brand-glyph-wrap {
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.85));
}
.brand-glyph-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.brand-text strong {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
}
.brand-text small {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}


/* ==========================================================================
   PRO BOLD VALOBOOST BRAND LOCKUP (ENLARGED & DEDUPLICATED)
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.brand:hover {
  transform: translateY(-1px) scale(1.02);
}
.brand-glyph-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(37, 99, 235, 0.7));
  transition: filter 0.2s ease;
}
.brand:hover .brand-glyph-wrap {
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.9));
}
.brand-svg-glyph {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-name {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1;
}


/* ==========================================================================
   ENLARGED HEROIC VECTOR GLYPH (TEXT-FREE ESPO BRAND)
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.brand:hover {
  transform: scale(1.08);
}
.brand-glyph-wrap {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.75));
  transition: filter 0.25s ease;
}
.brand:hover .brand-glyph-wrap {
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.95));
}
.brand-svg-glyph {
  width: 100%;
  height: 100%;
  display: block;
}


/* ==========================================================================
   STATIC FIXED EU/TRK SERVER BADGE
   ========================================================================== */
.server-static-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  height: 44px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  user-select: none;
}
.server-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f1f5f9;
}
.server-badge-active {
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}


/* ==========================================================================
   TRUE 50% MATHEMATICAL DEAD-CENTER NAVIGATION PILLS
   ========================================================================== */
.nav-inner {
  position: relative !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-center {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 6px;
  border-radius: 9999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

@media (max-width: 980px) {
  .nav-center {
    display: none !important;
  }
}


/* ==========================================================================
   PIXEL-PERFECT EXACT SIZE & COLOR MATCHED SERVER BOXES (NO EMOJI)
   ========================================================================== */
.server-static-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  user-select: none !important;
}

/* Section 1: Exactly matches .select-group select (height: 40px, bg: rgb(14,23,42), radius: 6px) */
.server-static-rank,
.select-group .server-static-box {
  width: 100% !important;
  height: 40px !important;
  background: var(--surface-2, rgb(14, 23, 42)) !important;
  border: 1px solid var(--line-subtle, rgba(255, 255, 255, 0.06)) !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--text-primary, #ffffff) !important;
}

/* Section 2: Exactly matches .tactical-select (height: 40px, bg: #090d14, radius: 8px) */
.server-static-slider,
.matches-select-group .server-static-box {
  width: 100% !important;
  height: 40px !important;
  background: #090d14 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}

.server-text-main {
  color: #ffffff !important;
  letter-spacing: 0.01em !important;
}

.server-badge-active {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.04em !important;
}


/* ==========================================================================
   TACTICAL COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: rgba(13, 21, 39, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 24px rgba(37, 99, 235, 0.15);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: cookieSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}
.cookie-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.cookie-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.btn-cookie-accept {
  flex: 1;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  height: 38px;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
  transition: all 0.18s ease;
}
.btn-cookie-accept:hover {
  background: #1d4ed8;
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.7);
}
.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  height: 38px;
  padding: 0 16px;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
