/* ==========================================================================
   الحجز الممتاز — Al-Hajz Al-Mumtaz
   Shared auth styles (glassmorphic) — built on top of Bootstrap 5 RTL
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0a0e12;
  --surface: #141a21;
  --surface-2: #1e262f;
  --surface-container: #19221b;

  /* Brand */
  --primary: #ea891e;
  --primary-bright: #ffa139;
  --primary-press: #12b86f;
  --on-primary: #fff;
  --accent: #ffb020;

  /* Text */
  --text: #f5f7fa;
  --text-muted: #8b95a1;
  --on-surface-variant: #bacbbc;

  /* Lines */
  --border: #2a323c;
  --danger: #ff5a5f;

  /* Glass tokens */
  --glass-bg: rgba(20, 26, 33, 0.55);
  --glass-bg-strong: rgba(20, 26, 33, 0.72);
  --glass-input: rgba(30, 38, 47, 0.55);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-strong: rgba(255, 255, 255, 0.16);
  --glass-blur: 22px;

  /* Radii */
  --r-card: 16px;
  --r-control: 12px;

  /* Spacing scale */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-xxl: 32px;
}

/* --------------------------------------------------------------------------
   Base / background
   -------------------------------------------------------------------------- */
* {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  color: var(--text);
  overflow-x: hidden;

  /* Background image on the body itself.
     The two gradients sit ON TOP of the image (same declaration), so they
     dim it for readability — this is how you "fade" a CSS background image
     while keeping it on the element. Tune the alpha values to taste. */
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 70% at 50% 0%, rgba(25, 230, 140, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(10, 14, 18, 0.62) 0%, rgba(10, 14, 18, 0.55) 100%),
    url("/assets/mobile_bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s-xl) var(--s-lg);
}

.auth-wrap {
  width: 100%;
  max-width: 420px;
}

/* --------------------------------------------------------------------------
   Brand header
   -------------------------------------------------------------------------- */
.brand {
  text-align: center;
  margin-bottom: var(--s-xl);
}

.brand-logo {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-md);
  color: var(--primary);
  filter: drop-shadow(0 6px 18px rgba(25, 230, 140, 0.35));
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

.brand-title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--primary);
  margin: 0 0 var(--s-xs);
  letter-spacing: 0.2px;
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Glass card
   -------------------------------------------------------------------------- */
.glass-card {
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-xl);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 var(--s-xl);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Form controls
   -------------------------------------------------------------------------- */
.field {
  margin-bottom: var(--s-lg);
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface-variant);
  margin-bottom: var(--s-sm);
}

.input-shell {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  background: var(--glass-input);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-control);
  padding: 0 var(--s-md);
  height: 52px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.input-shell:focus-within {
  border-color: var(--primary);
  background: rgba(30, 38, 47, 0.7);
  box-shadow: 0 0 0 3px rgba(25, 230, 140, 0.18);
}

.input-shell input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  height: 100%;
}

.input-shell input::placeholder {
  color: var(--text-muted);
}

/* date input — keep native picker but theme it */
.input-shell input[type="date"] {
  color-scheme: dark;
}

.input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.input-icon svg {
  width: 20px;
  height: 20px;
}

/* trailing icon usable as a toggle button (password eye) */
button.input-icon {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

button.input-icon:hover {
  color: var(--text);
}

/* phone prefix chip */
.input-prefix {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  background: rgba(25, 230, 140, 0.12);
  border-radius: 8px;
  padding: 4px 8px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
.link-primary-soft {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.link-primary-soft:hover {
  color: var(--primary-bright);
  text-decoration: underline;
}

.forgot-row {
  margin: calc(var(--s-sm) * -1) 0 var(--s-lg);
}

/* --------------------------------------------------------------------------
   Primary button
   -------------------------------------------------------------------------- */
.btn-pitch {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: var(--r-control);
  background: linear-gradient(180deg, var(--primary-bright) 0%, var(--primary) 100%);
  color: var(--on-primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 10px 24px rgba(25, 230, 140, 0.30);
}

.btn-pitch:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(25, 230, 140, 0.42);
}

.btn-pitch:active {
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   Footer line
   -------------------------------------------------------------------------- */
.auth-footer {
  text-align: center;
  margin-top: var(--s-xl);
  color: var(--text-muted);
  font-size: 14px;
}

.auth-footer a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Avatar uploader (sign up)
   -------------------------------------------------------------------------- */
.avatar-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
  margin-bottom: var(--s-xl);
}

.avatar-ring {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-input);
  border: 2px dashed var(--glass-border-strong);
  color: var(--text-muted);
  cursor: pointer;
  overflow: hidden;
}

.avatar-ring svg {
  width: 34px;
  height: 34px;
}

.avatar-ring img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-edit {
  position: absolute;
  bottom: 2px;
  inset-inline-start: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--surface);
}

.avatar-edit svg {
  width: 15px;
  height: 15px;
}

.avatar-hint {
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Segmented control (skill level)
   -------------------------------------------------------------------------- */
.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xs);
  background: var(--glass-input);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-control);
  padding: 4px;
}

.segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment label {
  text-align: center;
  padding: 10px 0;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.segment input:checked+label {
  background: linear-gradient(180deg, var(--primary-bright) 0%, var(--primary) 100%);
  color: var(--on-primary);
  box-shadow: 0 6px 16px rgba(25, 230, 140, 0.28);
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
.divider-space {
  height: var(--s-sm);
}

@media (max-width: 380px) {
  .glass-card {
    padding: var(--s-lg);
  }

  .brand-title {
    font-size: 23px;
  }
}

/* ==========================================================================
   APP SHELL (logged-in screens)
   ========================================================================== */

/* Phone-width column, centered on desktop */
.app-page {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Scrollable content area; bottom padding clears the tab bar */
.app-content {
  flex: 1;
  padding: var(--s-lg) var(--s-lg) calc(var(--s-lg) + 88px);
}

.app-content--flush {
  padding-inline: 0;
}

/* --------------------------------------------------------------------------
   Top app bar
   -------------------------------------------------------------------------- */
.app-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-md) var(--s-lg);
  background: rgba(10, 14, 18, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.app-bar__brand {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  margin: 0;
}

.app-bar__title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin: 0;
}

.app-bar__actions {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-input);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  border-color: var(--glass-border-strong);
}

/* Chevrons point "forward": drawn for RTL, mirrored in LTR */
html[dir="ltr"] .team-card__chev svg,
html[dir="ltr"] .list-row__chev svg {
  transform: scaleX(-1);
}

/* Unseen-notifications badge on the app-bar bell */
.icon-btn {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* Language switcher (app-bar): segmented pill, active side filled */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--glass-border);
  background: var(--glass-input);
  border-radius: 999px;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.lang-switch__btn img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.lang-switch__btn.is-active {
  background: linear-gradient(180deg, var(--primary-bright) 0%, var(--primary) 100%);
  color: #fff;
  opacity: 1;
  cursor: default;
}

.lang-switch__btn:not(.is-active):hover {
  opacity: 1;
}


.app-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.app-bar__back svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Bottom tab bar
   -------------------------------------------------------------------------- */
.tab-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  max-width: 480px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(13, 21, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--glass-border);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}

.tab-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.tab-bar__item svg {
  width: 22px;
  height: 22px;
}

.tab-bar__item i {
  font-size: 20px;
  line-height: 1;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-bar__item.is-active {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Section header
   -------------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: var(--s-xl) 0 var(--s-md);
}

.section-head:first-child {
  margin-top: 0;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin: 0;
}

.section-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 2px 0 0;
}

.section-action {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* Day group label (matches list) */
.day-label {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-weight: 700;
  color: var(--text);
  margin: var(--s-lg) 0 var(--s-md);
}

.day-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* --------------------------------------------------------------------------
   Match card
   -------------------------------------------------------------------------- */
.match-card {
  display: flex;
  gap: var(--s-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  margin-bottom: var(--s-md);
}

.match-card__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--s-md);
  flex-shrink: 0;
  width: 92px;
}

.match-card__body {
  flex: 1;
  min-width: 0;
}

.price-pill {
  align-self: flex-start;
  background: var(--glass-input);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 6px 12px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}

.btn-join {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--r-control);
  background: var(--primary);
  color: var(--on-primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 8px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(25, 230, 140, 0.25);
}

.btn-join:active {
  transform: translateY(1px);
}

/* Already-joined state: same shape as the join button, but inert */
.btn-join--disabled {
  opacity: 0.55;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.match-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 6px;
}

.match-row svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.match-map {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  margin-bottom: var(--s-md);
}

.match-map svg {
  width: 14px;
  height: 14px;
}

.joined-label {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0 0 6px;
}

.joined-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-sm);
}

.spots-left {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.spots-left--low {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Avatars + stacks
   -------------------------------------------------------------------------- */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a3a30, #1a241d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  overflow: hidden;
  flex-shrink: 0;
}

.avatar svg {
  width: 60%;
  height: 60%;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--lg {
  width: 64px;
  height: 64px;
}

.avatar--xl {
  width: 110px;
  height: 110px;
}

/* tier rings */
.ring {
  padding: 2px;
  border-radius: 50%;
  display: inline-flex;
}

.ring-primary {
  background: var(--primary);
}

.ring-gold {
  background: var(--tier-gold, #ffd24a);
}

.ring-silver {
  background: #c7cdd4;
}

.ring-bronze {
  background: #cd7f32;
}

.ring-platinum {
  background: #6fe3e1;
}

.ring>.avatar {
  border: 2px solid var(--bg);
}

.avatar-stack {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.avatar-stack .avatar {
  width: 30px;
  height: 30px;
  border: 2px solid var(--surface);
  margin-inline-start: -10px;
}

.avatar-stack .avatar:first-child {
  margin-inline-start: 0;
}

.avatar-stack__count {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: rgba(25, 230, 140, 0.16);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: -10px;
}

/* --------------------------------------------------------------------------
   Pills / badges
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.pill--primary {
  background: rgba(25, 230, 140, .16);
  color: var(--primary);
  border: 1px solid rgba(25, 230, 140, .35);
}

.pill--accent {
  background: rgba(255, 176, 32, .15);
  color: var(--accent);
  border: 1px solid rgba(255, 176, 32, .35);
}

.pill--neutral {
  background: var(--glass-input);
  color: var(--on-surface-variant);
  border: 1px solid var(--glass-border);
}

.pill--platinum {
  background: rgba(111, 227, 225, .15);
  color: var(--tier-platinum, #6fe3e1);
  border: 1px solid rgba(111, 227, 225, .35);
}

.pill--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   Stat tiles
   -------------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  gap: var(--s-md);
}

.stat-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.stat-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.stat-tile {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat-tile__num {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  color: var(--text);
}

.stat-tile__num--green {
  color: var(--primary);
}

.stat-tile__num--amber {
  color: var(--accent);
}

.stat-tile__label {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.stat-tile__icon {
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-tile__icon svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   Data table
   -------------------------------------------------------------------------- */
.data-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table thead th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  padding: 12px 8px;
  background: rgba(255, 255, 255, .03);
}

.data-table tbody td {
  padding: 14px 8px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text);
}

.data-table .col-strong {
  font-weight: 700;
}

.t-win {
  color: var(--primary);
  font-weight: 700;
}

.t-loss {
  color: var(--danger);
  font-weight: 700;
}

.t-draw {
  color: var(--text-muted);
  font-weight: 700;
}

.t-points {
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.cell-player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Profile header
   -------------------------------------------------------------------------- */
.profile-head {
  text-align: center;
  padding: var(--s-xl) 0 var(--s-md);
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: var(--s-md);
}

.profile-cam {
  position: absolute;
  bottom: 4px;
  inset-inline-start: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg);
}

.profile-cam svg {
  width: 16px;
  height: 16px;
}

.profile-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 var(--s-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.profile-name svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.btn-outline-pitch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--r-control);
  border: 1px solid rgba(25, 230, 140, .4);
  background: rgba(25, 230, 140, .10);
  color: var(--primary);
  font-weight: 700;
  font-family: "Sora", sans-serif;
  text-decoration: none;
  cursor: pointer;
  margin-top: var(--s-md);
}

.btn-outline-pitch svg {
  width: 18px;
  height: 18px;
}

/* List rows (settings) */
.list-row {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-control);
  padding: 16px;
  margin-bottom: var(--s-md);
  color: var(--text);
  text-decoration: none;
}

.list-row__icon {
  color: var(--text-muted);
  display: inline-flex;
}

.list-row__icon svg {
  width: 20px;
  height: 20px;
}

.list-row__label {
  flex: 1;
  font-weight: 600;
}

.list-row__chev {
  color: var(--text-muted);
}

.list-row__chev svg {
  width: 18px;
  height: 18px;
}

.list-row--danger {
  color: var(--danger);
}

.list-row--danger .list-row__icon {
  color: var(--danger);
}

/* --------------------------------------------------------------------------
   Achievements
   -------------------------------------------------------------------------- */
.ach-scroll {
  display: flex;
  gap: var(--s-md);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.ach-scroll::-webkit-scrollbar {
  display: none;
}

.ach-card {
  flex: 0 0 130px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  text-align: center;
}

.ach-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-sm);
}

.ach-card__icon svg {
  width: 22px;
  height: 22px;
}

.ach-card__icon--green {
  background: rgba(25, 230, 140, .16);
  color: var(--primary);
}

.ach-card__icon--gold {
  background: rgba(255, 210, 74, .16);
  color: var(--tier-gold, #ffd24a);
}

.ach-card__icon--muted {
  background: var(--glass-input);
  color: var(--text-muted);
}

.ach-card__title {
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Leaderboard podium
   -------------------------------------------------------------------------- */
.toggle-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--glass-input);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-control);
  padding: 4px;
  margin-bottom: var(--s-lg);
}

.toggle-pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-pills label {
  text-align: center;
  padding: 10px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.toggle-pills input:checked+label {
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  color: var(--on-primary);
}

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--s-lg);
  padding: var(--s-md) 0 var(--s-xl);
}

.podium__item {
  text-align: center;
  flex: 1;
  max-width: 110px;
}

.podium__rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin: -14px auto 6px;
  position: relative;
  z-index: 2;
  color: #0a0e12;
}

.podium__rank--1 {
  background: var(--tier-gold, #ffd24a);
}

.podium__rank--2 {
  background: #c7cdd4;
}

.podium__rank--3 {
  background: #cd7f32;
}

.podium__name {
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
}

.podium__pts {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.podium__item--1 .podium__pts {
  color: var(--tier-gold, #ffd24a);
}

.podium__item--2 .podium__pts {
  color: #c7cdd4;
}

.podium__item--3 .podium__pts {
  color: #cd7f32;
}

.podium__item--1 {
  transform: translateY(-12px);
}

.podium__item--1 .avatar {
  box-shadow: 0 0 26px rgba(255, 210, 74, .5);
}

.info-note {
  display: flex;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-md) var(--s-lg);
  margin-bottom: var(--s-lg);
}

.info-note svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.info-note__title {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 4px;
}

.info-note__text {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Player chips grid (match details)
   -------------------------------------------------------------------------- */
.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
}

.player-chip {
  text-align: center;
}

.player-chip__name {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.player-chip__role {
  font-size: 11px;
  color: var(--text-muted);
}

.player-chip--empty .avatar {
  opacity: .4;
  border: 2px dashed var(--glass-border-strong);
  background: transparent;
}

/* info list (match description) */
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--on-surface-variant);
  font-size: 14px;
  padding: 6px 0;
}

.bullet-list li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* map placeholder */
.map-box {
  position: relative;
  height: 150px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #131b16 url("/assets/map.png") center / cover no-repeat;
}

.map-box__btn {
  position: absolute;
  left: 50%;
  bottom: var(--s-md);
  width: max-content;
  max-width: calc(100% - (var(--s-md) * 2));
  transform: translateX(-50%);
  background: rgba(10, 14, 18, .58);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-control);
  padding: 12px 18px;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.map-box__btn:hover {
  background: rgba(10, 14, 18, .68);
  color: var(--primary-bright);
}

.map-box__btn svg {
  width: 16px;
  height: 16px;
}

/* sticky bottom CTA (match details / forms) — sits above the fixed tab bar */
.sticky-cta {
  position: sticky;
  bottom: calc(68px + env(safe-area-inset-bottom));
  z-index: 20;
  padding: var(--s-md) var(--s-lg) var(--s-md);
  background: linear-gradient(180deg, transparent, rgba(10, 14, 18, .9) 30%);
}

/* --------------------------------------------------------------------------
   Status screen (pending)
   -------------------------------------------------------------------------- */
.status-wrap {
  text-align: center;
  padding: var(--s-xxl) var(--s-lg);
}

.status-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto var(--s-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 176, 32, .12);
  border: 1px solid rgba(255, 176, 32, .4);
  color: var(--accent);
  box-shadow: 0 0 40px rgba(255, 176, 32, .2);
}

.status-icon svg {
  width: 40px;
  height: 40px;
}

.status-title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 26px;
  margin: var(--s-md) 0;
}

.status-detail {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  text-align: start;
  margin: var(--s-xl) 0;
  color: var(--on-surface-variant);
  line-height: 1.7;
}

.status-detail__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--glass-border);
  font-size: 14px;
}

.status-detail__code {
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: var(--r-control);
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  color: var(--on-primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

.status-foot {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: var(--s-md);
}

/* ==========================================================================
   PAYMENT SCREEN
   ========================================================================== */
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-sm) 0;
  font-size: 15px;
}

.summary-row__key {
  color: var(--text-muted);
}

.summary-row__val {
  font-weight: 700;
  color: var(--text);
}

.summary-row--total {
  border-top: 1px solid var(--glass-border);
  margin-top: var(--s-sm);
  padding-top: var(--s-md);
}

.summary-row--total .summary-row__key {
  color: var(--text);
  font-weight: 700;
}

.summary-row--total .summary-row__val {
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 22px;
}

/* discount code */
.promo-row {
  display: flex;
  gap: var(--s-sm);
}

.promo-row .input-shell {
  flex: 1;
}

.btn-apply {
  flex-shrink: 0;
  padding: 0 var(--s-lg);
  border-radius: var(--r-control);
  border: 1px solid var(--glass-border);
  background: var(--glass-input);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn-apply:hover {
  border-color: var(--primary);
}

/* payment method cards */
.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-md);
  align-items: start;
}

.pay-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.pay-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 230, 140, .16);
}

.pay-card__logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  margin: 0 auto var(--s-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-input);
}

.pay-card__logo svg {
  width: 26px;
  height: 26px;
}

.pay-card__logo--vf {
  color: var(--danger);
}

.pay-card__logo--ip {
  color: var(--primary);
}

.pay-card__name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--s-md);
}

/* QR placeholder */
.qr-box {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--s-md);
  border-radius: 10px;
  background: #0c130e;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.qr-box svg {
  width: 100%;
  height: 100%;
  color: var(--on-surface-variant);
}

/* copy field */
.copy-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
}

.copy-field__text {
  flex: 1;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-align: start;
  direction: ltr;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-field__btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
}

.copy-field__btn svg {
  width: 16px;
  height: 16px;
}

.copy-field__btn:hover {
  color: var(--primary);
}

.copy-field__btn.is-copied {
  color: var(--primary);
}

/* upload receipt box */
.upload-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin: var(--s-lg) 0 var(--s-md);
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
  border: 2px dashed var(--glass-border-strong);
  border-radius: var(--r-card);
  padding: var(--s-xxl) var(--s-lg);
  background: rgba(25, 230, 140, .04);
  cursor: pointer;
  text-align: center;
}

.upload-box:hover {
  border-color: var(--primary);
}

.upload-box__icon {
  color: var(--primary);
}

.upload-box__icon svg {
  width: 42px;
  height: 42px;
}

.upload-box__label {
  font-weight: 700;
  color: var(--text);
}

.upload-box img {
  max-width: 100%;
  border-radius: var(--r-control);
}

/* ==========================================================================
   SPLASH SCREEN
   ========================================================================== */
.splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-xl);
  position: relative;
}

.splash__logo {
  color: var(--primary);
  margin-bottom: var(--s-xl);
  filter: drop-shadow(0 0 30px rgba(25, 230, 140, .55));
  animation: splash-pulse 2.2s ease-in-out infinite;
}

.splash__logo svg {
  width: 92px;
  height: 92px;
}

.splash__title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--primary);
  margin: 0 0 var(--s-sm);
}

.splash__subtitle {
  color: var(--on-surface-variant);
  font-size: 15px;
  margin: 0 0 var(--s-xl);
}

.splash__dots {
  display: inline-flex;
  gap: 7px;
}

.splash__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: splash-dot 1.2s ease-in-out infinite;
}

.splash__dots span:nth-child(2) {
  animation-delay: .2s;
}

.splash__dots span:nth-child(3) {
  animation-delay: .4s;
}

.splash__foot {
  position: absolute;
  bottom: var(--s-xxl);
  left: 0;
  right: 0;
  text-align: center;
}

.splash__bar {
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
  margin: 0 auto var(--s-md);
}

.splash__tag {
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

@keyframes splash-pulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 22px rgba(25, 230, 140, .4));
  }

  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 40px rgba(25, 230, 140, .7));
  }
}

@keyframes splash-dot {

  0%,
  100% {
    opacity: .3;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* ==========================================================================
   SUB-TABS (inside matches page)
   ========================================================================== */
.sub-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--glass-input);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-control);
  padding: 4px;
  margin-bottom: var(--s-lg);
}

.sub-tabs__btn {
  text-align: center;
  padding: 11px 8px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  border: 0;
  background: transparent;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.sub-tabs__btn.is-active {
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  color: var(--on-primary);
  box-shadow: 0 6px 16px rgba(234,137,30,.28);
}

.tab-panel { display: block; }
.tab-panel[hidden] { display: none; }

/* ==========================================================================
   LEAGUE CARD
   ========================================================================== */
.league-card {
  display: flex;
  gap: var(--s-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  margin-bottom: var(--s-md);
  transition: border-color .18s ease, transform .12s ease;
}

.league-card:hover {
  border-color: var(--glass-border-strong);
}

.league-card__body {
  flex: 1;
  min-width: 0;
}

.league-card__name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 6px;
}

.league-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--s-md);
}

.league-card__row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.league-card__row svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.league-card__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--s-md);
  flex-shrink: 0;
  width: 100px;
}

.btn-enter-league {
  border: 0;
  border-radius: var(--r-control);
  background: var(--primary);
  color: var(--on-primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 8px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(234,137,30,.25);
  text-decoration: none;
  text-align: center;
  display: block;
  line-height: 1.3;
  transition: transform .1s ease;
}

.btn-enter-league:active { transform: translateY(1px); }

/* ==========================================================================
   TEAM CARD (inside league details)
   ========================================================================== */
.team-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  margin-bottom: var(--s-md);
  display: flex;
  align-items: center;
  gap: var(--s-md);
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s ease;
  cursor: pointer;
}

.team-card:hover {
  border-color: var(--glass-border-strong);
  color: var(--text);
}

.team-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(234,137,30,.12);
  border: 1px solid rgba(234,137,30,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.team-card__icon svg {
  width: 24px;
  height: 24px;
}

.team-card__info {
  flex: 1;
  min-width: 0;
}

.team-card__name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}

.team-card__sub {
  font-size: 12px;
  color: var(--text-muted);
}

.team-card__chev {
  color: var(--text-muted);
  flex-shrink: 0;
}

.team-card__chev svg {
  width: 18px;
  height: 18px;
}

/* Captain badge */
.badge-captain {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,176,32,.14);
  color: var(--accent);
  border: 1px solid rgba(255,176,32,.3);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
}

.badge-captain svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   CTA PAIR (two buttons side by side)
   ========================================================================== */
.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-md);
}

.btn-pitch--outline {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(234,137,30,.45);
  border-radius: var(--r-control);
  background: rgba(234,137,30,.08);
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-pitch--outline:hover {
  background: rgba(234,137,30,.14);
  border-color: var(--primary);
}

.btn-pitch--outline svg {
  width: 18px;
  height: 18px;
}

.btn-pitch--sm {
  height: 44px;
  font-size: 14px;
}

/* ==========================================================================
   JOIN REQUEST CARDS (captain management)
   ========================================================================== */
.request-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  margin-bottom: var(--s-md);
  display: flex;
  align-items: center;
  gap: var(--s-md);
}

.request-card__info {
  flex: 1;
  min-width: 0;
}

.request-card__name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}

.request-card__date {
  font-size: 12px;
  color: var(--text-muted);
}

.request-card__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-accept {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(25,230,140,.16);
  color: #19e68c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}

.btn-accept:hover {
  background: rgba(25,230,140,.28);
}

.btn-accept svg {
  width: 18px;
  height: 18px;
}

.btn-reject {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,90,95,.14);
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}

.btn-reject:hover {
  background: rgba(255,90,95,.26);
}

.btn-reject svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   COMING SOON (tournaments)
   ========================================================================== */
.coming-soon {
  text-align: center;
  padding: var(--s-xxl) var(--s-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
}

.coming-soon__icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto var(--s-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(234,137,30,.10);
  border: 1px solid rgba(234,137,30,.30);
  color: var(--primary);
  box-shadow: 0 0 50px rgba(234,137,30,.18);
  animation: coming-pulse 2.5s ease-in-out infinite;
}

.coming-soon__icon svg {
  width: 48px;
  height: 48px;
}

.coming-soon__title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--primary);
  margin: 0 0 var(--s-sm);
}

.coming-soon__sub {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 var(--s-xl);
  max-width: 280px;
  line-height: 1.7;
}

.coming-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234,137,30,.12);
  border: 1px solid rgba(234,137,30,.30);
  border-radius: 999px;
  padding: 8px 20px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  animation: badge-glow 2s ease-in-out infinite alternate;
}

.coming-soon__badge svg {
  width: 16px;
  height: 16px;
}

@keyframes coming-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(234,137,30,.15);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(234,137,30,.30);
  }
}

@keyframes badge-glow {
  0% { box-shadow: 0 0 8px rgba(234,137,30,.1); }
  100% { box-shadow: 0 0 20px rgba(234,137,30,.25); }
}

/* ==========================================================================
   EMPTY STATE / SECTION BADGE
   ========================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(234,137,30,.10);
  border: 1px solid rgba(234,137,30,.25);
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: var(--s-md);
}

.section-badge svg {
  width: 14px;
  height: 14px;
}

/* Player list (vertical, for team details) */
.player-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.player-list-item {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding: var(--s-md) var(--s-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-control);
}

.player-list-item__name {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}

.player-list-item__role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Add player inline form */
.add-player-row {
  display: flex;
  gap: var(--s-sm);
  margin-top: var(--s-md);
}

.add-player-row .input-shell {
  flex: 1;
}

.btn-add {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--r-control);
  border: 0;
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .1s ease;
}

.btn-add:active { transform: translateY(1px); }

.btn-add svg {
  width: 22px;
  height: 22px;
}

/* Divider with text */
.divider-text {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin: var(--s-xl) 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.divider-text::before,
.divider-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

/* Teams count pill */
.teams-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.teams-count strong {
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}
