/*
Theme Name: FC Arena Platform
Author: Mohamed Ashraf
Version: 6.8
Description: EA Sports FC Pro Ultimate Esports Portal - Production Ready, 100% Responsive, Zero-Gutter Dark Mode, Real Countdown, Live Brackets, PS5/PC Cross-Play.
Text Domain: fc-arena
*/
:root {
  --fc-pitch: #06080d;
  --fc-slate: #0b0f17;
  --fc-card: #101623;
  --fc-card-hover: #161e30;
  --fc-volt: #d4ff00;
  --fc-volt-glow: rgba(212, 255, 0, 0.35);
  --fc-silver: #9ca3af;
  --fc-muted: #525c6e;
  --fc-border: rgba(255, 255, 255, 0.08);
  --fc-border-hover: rgba(212, 255, 0, 0.3);
  --fc-red: #ff3366;
  --fc-cyan: #00f0ff;
  --fc-gold: #ffbe0b;
}

/* 1. Reset & Global Viewport Lockdown */
*, *::before, *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  background-color: #06080d !important;
  color: #ffffff !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  background-color: #06080d !important;
  color: #ffffff !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(212, 255, 0, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(0, 240, 255, 0.025) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px !important;
}

.font-fc {
  font-family: 'Teko', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2. Marquee Ticker (Continuous, Smooth LTR) */
.fc-ticker-bar {
  background: #090c12;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 16px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  overflow: hidden;
}
.ticker-badge {
  background: var(--fc-volt);
  color: #000;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  flex-shrink: 0;
  z-index: 2;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  direction: ltr;
  display: flex;
  min-width: 0;
}
.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerSlideLTR 22s linear infinite;
  will-change: transform;
}
.ticker-item {
  color: var(--fc-silver);
  font-size: 12px;
  direction: rtl;
  display: inline-block;
  padding-left: 24px;
}
@keyframes tickerSlideLTR {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

/* 3. Header HUD & Navigation */
.fc-header {
  background: rgba(11, 15, 23, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(212, 255, 0, 0.2);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}
.fc-brand-link {
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.fc-triangle-badge {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 15px solid var(--fc-volt);
  filter: drop-shadow(0 0 8px var(--fc-volt-glow));
  transform: rotate(90deg);
}

.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* User Profile Header Dropdown */
.header-profile-wrap { position: relative; }
.header-profile-chip {
  background: #111723;
  border: 1px solid var(--fc-border);
  padding: 4px 12px 4px 6px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.header-profile-chip:hover {
  border-color: var(--fc-volt);
  box-shadow: 0 0 10px var(--fc-volt-glow);
}
.header-avatar-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--fc-volt);
  background: #080a0f;
}

.header-profile-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: #111723;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.9);
  margin-top: 8px;
  z-index: 1001;
  text-align: right;
  animation: modalPop 0.18s ease-out;
}
.header-profile-dropdown.active { display: block; }
.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
}
.dropdown-item-btn {
  width: 100%;
  text-align: right;
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.dropdown-item-btn:hover {
  background: #172030;
  color: var(--fc-volt);
}
.dropdown-item-btn.item-logout {
  color: var(--fc-red) !important;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 4px;
}
.dropdown-item-btn.item-logout:hover {
  background: rgba(255, 51, 102, 0.15);
  color: #fff !important;
}

/* Top 10 */
.top10-wrapper { position: relative; display: inline-block; }
.top10-btn { 
  background: #111723; 
  border: 1px solid var(--fc-border); 
  color: var(--fc-volt); 
  padding: 6px 14px; 
  border-radius: 6px; 
  font-weight: 800; 
  cursor: pointer; 
  font-size: 12px;
  white-space: nowrap;
}
.top10-dropdown { 
  display: none; 
  position: absolute; 
  top: 100%; 
  right: 0; 
  width: 330px; 
  background: #111723; 
  border: 1px solid rgba(255,255,255,0.12); 
  border-radius: 8px; 
  padding: 12px; 
  box-shadow: 0 12px 36px rgba(0,0,0,0.9); 
  margin-top: 8px; 
  z-index: 1000; 
}
.top10-wrapper:hover .top10-dropdown { display: block; }
.rank-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 12px; }

.btn-deposit-header { 
  background: var(--fc-volt); 
  color: #000; 
  font-weight: 900; 
  font-size: 11px; 
  padding: 6px 14px; 
  border-radius: 4px; 
  border: none; 
  cursor: pointer; 
  white-space: nowrap;
}
.btn-deposit-header:hover { filter: brightness(1.1); box-shadow: 0 0 10px var(--fc-volt-glow); }

/* 4. Motto Banner */
.fc-motto-banner {
  background: linear-gradient(135deg, #121824 0%, #080b11 100%);
  border: 1px solid rgba(212, 255, 0, 0.2);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.fc-motto-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--fc-volt);
}
.motto-left { display: flex; align-items: center; gap: 14px; }
.motto-emblem-wrap {
  width: 44px;
  height: 44px;
  background: #090c13;
  border: 1.5px solid var(--fc-volt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--fc-volt-glow);
  flex-shrink: 0;
}
.motto-heading { font-size: 16px; font-weight: 900; font-style: italic; color: #fff; }
.motto-text { font-size: 12px; color: var(--fc-silver); margin-top: 3px; line-height: 1.5; }
.motto-tag {
  background: rgba(212, 255, 0, 0.1);
  border: 1px solid var(--fc-volt);
  color: var(--fc-volt);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 5. Player HUD */
.fc-player-hud {
  background: linear-gradient(135deg, #131a26 0%, #0a0d14 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 5px solid var(--fc-volt);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 34px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
}
.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 16px;
}
.player-identity-group { display: flex; align-items: center; gap: 14px; }
.player-avatar-crest {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--fc-volt);
  box-shadow: 0 0 16px var(--fc-volt-glow);
  flex-shrink: 0;
}
.player-avatar-crest img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-hover-badge {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--fc-volt);
  opacity: 0;
  transition: opacity 0.2s;
}
.player-avatar-crest:hover .avatar-hover-badge { opacity: 1; }
.player-welcome-msg { font-size: 12px; color: var(--fc-silver); margin-bottom: 2px; }
.player-pro-name { font-size: 20px; font-weight: 900; font-style: italic; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.player-meta-badges { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.player-tag-pill {
  font-size: 11px;
  background: #080b11;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--fc-silver);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.player-tag-pill.pc-pill { border-color: rgba(0, 240, 255, 0.4); color: var(--fc-cyan); }
.player-tag-pill.ps5-pill { border-color: rgba(0, 112, 209, 0.5); color: #4da3ff; }
.hud-actions-cluster { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn-hud-profile {
  background: #172030;
  border: 1px solid var(--fc-border);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-hud-profile:hover { border-color: var(--fc-volt); color: var(--fc-volt); }

.hud-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.hud-stat-box {
  background: #090c13;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.2s;
}
.hud-stat-box:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.hud-stat-title { font-size: 10px; font-weight: 700; color: var(--fc-muted); text-transform: uppercase; margin-bottom: 5px; }
.hud-stat-val { font-size: 24px; font-weight: 900; line-height: 1; }

/* 6. Content Modules (About Us, How-it-Works, Rules) */
.fc-section-block {
  margin: 44px 0;
  width: 100%;
}
.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-title { font-size: 21px; font-weight: 900; font-style: italic; display: flex; align-items: center; gap: 8px; }
.section-desc { font-size: 12px; color: var(--fc-silver); }

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.about-pillar-card {
  background: linear-gradient(145deg, #101623 0%, #090c13 100%);
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  padding: 22px;
  transition: all 0.2s;
}
.about-pillar-card:hover {
  border-color: var(--fc-volt);
  transform: translateY(-2px);
}
.pillar-icon-box { font-size: 28px; margin-bottom: 10px; }
.pillar-heading { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.pillar-body { font-size: 13px; color: var(--fc-silver); line-height: 1.6; }

.pro-steps-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.pro-step-tile {
  background: #0e131d;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-num-pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 255, 0, 0.12);
  border: 1px solid var(--fc-volt);
  color: var(--fc-volt);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.step-heading { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.step-subtext { font-size: 12px; color: var(--fc-silver); line-height: 1.5; }

.pro-rules-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.pro-rule-card {
  background: #0a0d14;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 3px solid var(--fc-cyan);
  border-radius: 8px;
  padding: 16px;
}
.pro-rule-card.rule-volt { border-top-color: var(--fc-volt); }
.pro-rule-card.rule-gold { border-top-color: var(--fc-gold); }
.pro-rule-card.rule-red { border-top-color: var(--fc-red); }
.rule-badge-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rule-headline { font-size: 14px; font-weight: 800; color: #fff; }
.rule-body { font-size: 12px; color: var(--fc-silver); line-height: 1.5; }

.platform-pill-crossplay {
  background: linear-gradient(90deg, #00439c 0%, #107c10 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.tourn-countdown-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 255, 0, 0.08);
  border: 1px solid rgba(212, 255, 0, 0.25);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
}
.tourn-countdown-ribbon.started {
  background: rgba(255, 51, 102, 0.12);
  border-color: rgba(255, 51, 102, 0.4);
}
.countdown-clock {
  font-family: 'Teko', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--fc-volt);
  letter-spacing: 0.5px;
}

.fc-floating-support {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: #fff;
  padding: 9px 16px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 9999;
  transition: transform 0.2s;
}
.fc-floating-support:hover { transform: translateY(-2px) scale(1.04); color: #fff; }

/* 7. Modal Windows */
.fc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.94);
  backdrop-filter: blur(12px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.fc-modal-overlay.active { display: flex; }
.fc-modal {
  background: #10151f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 50px rgba(0,0,0,0.85);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.fc-modal.bracket-modal { max-width: 1200px; width: 100%; padding: 22px; }
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.fc-close-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #171e2b;
  border: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-close-btn:hover { background: var(--fc-red); color: #fff; border-color: var(--fc-red); }

.fc-form-group { margin-bottom: 14px; text-align: right; }
.fc-form-label { display: block; font-size: 12px; font-weight: 800; color: var(--fc-silver); margin-bottom: 5px; }
.fc-form-input {
  width: 100%;
  padding: 11px 14px;
  background: #080b11;
  border: 1px solid #232c3d;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.fc-form-input:focus { border-color: var(--fc-volt); }
.fc-btn-submit {
  width: 100%;
  background: var(--fc-volt);
  color: #000;
  border: none;
  padding: 12px;
  font-weight: 900;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}
.avatar-upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #080b11;
  border: 1px dashed #2a3447;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  text-align: right;
}
.avatar-preview-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--fc-volt);
  flex-shrink: 0;
}

/* 8. Responsive Bracket Layout (Desktop & Mobile) */
.fc-bracket-canvas {
  background: #07090e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 20px 14px;
  width: 100%;
}
.fc-bracket-tree {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
}
.bracket-round { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.round-header {
  text-align: center;
  background: #111622;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 16px;
}
.round-title { font-size: 13px; font-weight: 800; color: #fff; }
.round-subtitle { font-size: 10px; color: var(--fc-silver); }

.round-matches {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
  gap: 12px;
}
.bracket-match-node {
  background: #101520;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.bracket-match-node.my-match {
  border: 1px solid var(--fc-volt);
  box-shadow: 0 0 14px var(--fc-volt-glow);
}
.match-slot-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: #0e131d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.match-slot-item:last-child { border-bottom: none; }
.match-slot-item.me-slot { background: rgba(212, 255, 0, 0.07); }

.player-info-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  min-width: 0;
}
.seed-index { font-size: 10px; color: var(--fc-muted); font-family: monospace; }
.player-name-txt {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-name-txt.is-me { color: var(--fc-volt); }

.record-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  background: #080b11;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.record-w { color: var(--fc-volt); }
.record-l { color: var(--fc-red); }

.match-action-bar {
  padding: 6px 10px;
  background: #090c13;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}
.btn-enter-room {
  background: var(--fc-volt);
  color: #000;
  border: none;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.final-podium-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0.9;
  text-align: center;
  padding: 10px;
  min-width: 0;
}
.champion-trophy-card {
  background: linear-gradient(145deg, #18202d 0%, #0d121c 100%);
  border: 2px solid var(--fc-gold);
  border-radius: 12px;
  padding: 20px 14px;
  width: 100%;
  box-shadow: 0 0 30px rgba(255, 190, 11, 0.18);
  position: relative;
  overflow: hidden;
}
.trophy-emblem { font-size: 46px; line-height: 1; margin-bottom: 8px; filter: drop-shadow(0 4px 12px rgba(255,190,11,0.5)); }
.trophy-title { font-size: 15px; font-weight: 900; color: var(--fc-gold); font-style: italic; }
.trophy-prize-banner {
  background: #000;
  border: 1px solid var(--fc-gold);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 10px 0;
}
.prize-cash-val { font-size: 24px; font-weight: 900; color: var(--fc-volt); line-height: 1; }

/* 9. Mobile Responsive Specifics */
@media (max-width: 768px) {
  .fc-header {
    padding: 10px 14px;
    flex-wrap: wrap;
  }
  .fc-brand-link { font-size: 18px; }
  .header-actions-wrap { gap: 6px; }
  .header-profile-chip { padding: 3px 8px 3px 4px; font-size: 11px; }
  .top10-btn { padding: 5px 8px; font-size: 10px; }
  .top10-dropdown { width: 280px; right: auto; left: 0; }
  .header-profile-dropdown { width: 210px; left: 0; }
  
  .fc-motto-banner { padding: 14px; margin-bottom: 18px; }
  .motto-heading { font-size: 14px; }
  .motto-text { font-size: 11px; }

  .fc-player-hud { padding: 16px; margin-bottom: 22px; }
  .hud-top-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hud-actions-cluster { width: 100%; justify-content: space-between; }
  .hud-actions-cluster button { flex: 1; text-align: center; justify-content: center; }
  .hud-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hud-stat-box:last-child { grid-column: span 2; }
  .hud-stat-val { font-size: 20px; }

  .fc-section-block { margin: 32px 0; }
  .section-title { font-size: 18px; }
  .pro-steps-strip, .about-pillars-grid, .pro-rules-strip { grid-template-columns: 1fr; gap: 12px; }

  /* الشجرة على الموبايل: رأسية متسلسلة بدون أي سحب أفقي */
  .fc-bracket-canvas {
    overflow-x: hidden !important;
    padding: 10px 6px !important;
  }
  .fc-bracket-tree {
    width: 100% !important;
    min-width: 100% !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
  .bracket-round {
    width: 100% !important;
  }
  .final-podium-column {
    width: 100% !important;
  }
  .fc-floating-support {
    bottom: 14px;
    left: 14px;
    font-size: 11px;
    padding: 8px 14px;
  }
}
