/* EA SPORTS FC 26 TOURNAMENT APP STYLES */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Teko:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #0a0d14;
  --bg-surface: #121824;
  --bg-card: #182030;
  --bg-card-hover: #202b40;
  --accent-green: #00ff87;
  --accent-cyan: #00e5ff;
  --accent-gold: #ffbe0b;
  --accent-pink: #ff0055;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 255, 135, 0.4);
  --glow-green: 0 0 20px rgba(0, 255, 135, 0.25);
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.25);
  --radius: 12px;
}

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

html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 255, 135, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0, 229, 255, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header & Nav */
header {
  background: rgba(18, 24, 36, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-bar {
  display: contents;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.btn-join-text-short {
  display: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-badge {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  color: #000;
  font-family: 'Teko', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0.1rem 0.6rem;
  border-radius: 8px;
  line-height: 1;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.nav-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.2), rgba(0, 229, 255, 0.2));
  color: var(--accent-green);
  border: 1px solid var(--border-active);
  box-shadow: var(--glow-green);
}

/* Main Layout Container */
main {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Buttons & Inputs */
.btn {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green), #00cc6a);
  color: #05140b;
  border: none;
  font-weight: 700;
}

.btn-primary:hover {
  box-shadow: var(--glow-green);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-cyan), #0099b8);
  color: #03141a;
  border: none;
  font-weight: 700;
}

.btn-secondary:hover {
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}

.btn-danger {
  background: rgba(255, 0, 85, 0.15);
  color: var(--accent-pink);
  border: 1px solid rgba(255, 0, 85, 0.3);
}

.btn-danger:hover {
  background: rgba(255, 0, 85, 0.3);
}

.btn-clear-all {
  background: rgba(255, 0, 85, 0.16) !important;
  color: var(--accent-pink) !important;
  border: 1px solid rgba(255, 0, 85, 0.4) !important;
  padding: 0.35rem 0.8rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-clear-all:hover {
  background: rgba(255, 0, 85, 0.35) !important;
  border-color: var(--accent-pink) !important;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.35);
  transform: translateY(-1px);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.input-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.input-control {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.input-control:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(0, 255, 135, 0.15);
}

select.input-control {
  appearance: auto;
  cursor: pointer;
  background-color: #111a26;
  color: var(--text-primary);
}

select.input-control option {
  background-color: #121926;
  color: #f1f5f9;
  padding: 8px 10px;
}

select.input-control optgroup {
  background-color: #0b111a;
  color: var(--accent-cyan);
  font-weight: 700;
  padding: 6px 10px;
}

/* Card & Panels */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Tournament Creation Wizard */
.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.player-list-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.65rem;
  min-height: 140px;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.player-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  gap: 0.35rem;
}

.player-chip {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, #141c2b 0%, #0d121c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-left: 4px solid var(--accent-green) !important;
  border-radius: 10px !important;
  padding: 0.65rem 0.8rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.55rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.player-chip:hover {
  border-color: rgba(0, 255, 135, 0.4) !important;
  background: linear-gradient(135deg, #1a2438 0%, #101724 100%) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.player-chip-main {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.player-chip-badge {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

.player-chip-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.player-chip-name {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Rajdhani', sans-serif !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}

.player-chip-team {
  font-size: 0.78rem !important;
  color: var(--accent-cyan) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.player-chip-teamname {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.player-chip-stars {
  font-size: 0.7rem !important;
  opacity: 0.9 !important;
  flex-shrink: 0 !important;
}

.player-chip-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  flex-shrink: 0 !important;
}

.btn-chip-action {
  border: none !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.25rem !important;
}

.btn-chip-edit {
  background: rgba(0, 229, 255, 0.15) !important;
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(0, 229, 255, 0.35) !important;
  padding: 0.45rem 0.65rem !important;
}

.btn-chip-edit:hover {
  background: rgba(0, 229, 255, 0.35) !important;
  color: #ffffff !important;
  border-color: var(--accent-cyan) !important;
}

.btn-chip-del {
  background: rgba(255, 0, 85, 0.15) !important;
  color: var(--accent-pink) !important;
  border: 1px solid rgba(255, 0, 85, 0.35) !important;
  padding: 0.45rem 0.55rem !important;
}

.btn-chip-del:hover {
  background: rgba(255, 0, 85, 0.35) !important;
  color: #ffffff !important;
}

#btn-add-player,
.btn-add-player-primary {
  background: linear-gradient(135deg, #00ff87 0%, #00e5ff 100%) !important;
  color: #03141a !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.25rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 255, 135, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  transition: all 0.2s ease !important;
  text-shadow: none !important;
}

#btn-add-player:hover,
.btn-add-player-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 255, 135, 0.55) !important;
  filter: brightness(1.08) !important;
}

.wizard-actions-container {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.05), rgba(0, 229, 255, 0.03));
  border: 1px solid rgba(0, 255, 135, 0.25);
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-start-glow {
  width: 100% !important;
  font-size: 1.15rem !important;
  padding: 1rem 1.5rem !important;
  font-weight: 800 !important;
  font-family: 'Rajdhani', sans-serif !important;
  letter-spacing: 0.8px !important;
  background: linear-gradient(135deg, #00ff87 0%, #00e5ff 100%) !important;
  color: #03141a !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 25px rgba(0, 255, 135, 0.45) !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-transform: uppercase !important;
}

.btn-start-glow:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 35px rgba(0, 255, 135, 0.65) !important;
  filter: brightness(1.1) !important;
}

.wizard-sub-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.wizard-sub-actions .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Bracket View (Mata-Mata) */
.bracket-wrapper {
  overflow-x: auto;
  padding: 1.5rem 0;
}

.bracket-container {
  display: flex;
  gap: 3rem;
  min-width: max-content;
  align-items: center;
  justify-content: center;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 2rem;
  min-width: 260px;
}

.bracket-round-title {
  text-align: center;
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--accent-cyan);
  padding-bottom: 0.4rem;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}

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

.match-card.finished {
  border-color: rgba(0, 255, 135, 0.3);
}

.match-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.match-team:last-child {
  border-bottom: none;
}

.match-team.winner {
  background: rgba(0, 255, 135, 0.12);
  border-left: 4px solid var(--accent-green);
}

.team-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.team-badge {
  font-size: 1.1rem;
}

.team-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.player-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.score-input {
  width: 42px;
  height: 34px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.score-input:focus {
  border-color: var(--accent-green);
  outline: none;
}

.match-footer {
  padding: 0.4rem;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.75rem;
}

/* Leaderboard / Standings Table */
.table-responsive {
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.standings-table th, .standings-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
}

.standings-table th {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
}

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

.rank-pill {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
}

.rank-1 { background: var(--accent-gold); color: #000; box-shadow: 0 0 10px rgba(255, 190, 11, 0.4); }
.rank-2 { background: #c0c0c0; color: #000; }
.rank-3 { background: #cd7f32; color: #000; }

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  width: 90%;
  max-width: 540px;
  padding: 1.8rem;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover { color: #fff; }

/* Draw Wheel Animation */
.draw-box {
  text-align: center;
  padding: 2rem 1rem;
}

.draw-animation {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-green);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px dashed var(--accent-green);
  margin: 1.5rem 0;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-green);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.3s ease;
  font-weight: 500;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

/* ========================================================
   ADMIN VS VISITOR ACCESS CONTROL
   ======================================================== */
body.is-visitor .admin-only {
  display: none !important;
}

body.is-admin .visitor-only {
  display: none !important;
}

body.is-visitor .score-input {
  pointer-events: none !important;
  opacity: 0.9 !important;
  cursor: not-allowed !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.45) !important;
  color: var(--accent-gold) !important;
  font-weight: 700 !important;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.15);
}

.btn-logout {
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid rgba(255, 0, 85, 0.3);
  color: var(--accent-pink);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: rgba(255, 0, 85, 0.35);
  color: #fff;
  border-color: var(--accent-pink);
}

.visitor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--accent-cyan);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.visitor-badge:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--accent-cyan);
}

/* ========================================================
   FAÇA PARTE DO NOSSO TORNEIO (CALLOUT & CARDS)
   ======================================================== */
.btn-join-tourney {
  background: linear-gradient(135deg, #ff9500 0%, #ff0055 100%);
  color: #fff !important;
  border: 1px solid rgba(255, 215, 0, 0.7);
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 0 16px rgba(255, 149, 0, 0.45);
  transition: all 0.25s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-join-tourney:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 24px rgba(255, 0, 85, 0.7);
  border-color: #ffd700;
  color: #fff !important;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.whatsapp-card:hover {
  border-color: #25d366;
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.3);
}

.discord-card:hover {
  border-color: #5865f2;
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.3);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.08);
}

.contact-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-card:hover .contact-arrow {
  color: #fff;
  transform: translateX(4px);
}

/* ========================================================
   1. CHAVE DE TORNEIO CONVERGENTE AO CENTRO (ESTILO IMAGEM 3)
   ======================================================== */
.converging-bracket-wrapper {
  overflow-x: auto;
  padding: 1.5rem 0.5rem;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, rgba(5, 8, 15, 0.95) 80%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.converging-bracket-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  min-width: max-content;
  margin: 0 auto;
  padding: 1rem;
}

.bracket-wing {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.bracket-wing-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 2rem;
  min-width: 270px;
}

.bracket-col-header {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  padding: 0.4rem 0.8rem;
  background: rgba(0, 229, 255, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  margin-bottom: 0.8rem;
}

/* Palco Central da Grande Final */
.bracket-center-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  max-width: 390px;
  padding: 1rem;
  position: relative;
}

.center-stage-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.center-ball-graphic {
  width: 90px;
  height: 90px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(0, 255, 135, 0.1) 60%, transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.4);
  border: 2px dashed rgba(255, 215, 0, 0.6);
  animation: pulse-ball 3s infinite alternate;
}

@keyframes pulse-ball {
  0% { transform: scale(1); box-shadow: 0 0 25px rgba(255, 215, 0, 0.3); }
  100% { transform: scale(1.08); box-shadow: 0 0 45px rgba(0, 255, 135, 0.6); border-color: var(--accent-green); }
}

.center-stage-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700, #00ff87);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
}

.center-stage-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

.final-match-card {
  width: 100%;
  border: 2px solid var(--accent-gold) !important;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3) !important;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0.6)) !important;
}

.third-match-card {
  width: 100%;
  margin-top: 1.5rem;
  border: 1px solid #cd7f32 !important;
  box-shadow: 0 0 15px rgba(205, 127, 50, 0.25) !important;
  background: rgba(205, 127, 50, 0.05) !important;
}

/* ========================================================
   2. TABELA DE FUTEBOL REAL (ESTILO BRASILEIRÃO - IMAGEM 1)
   ======================================================== */
.real-table-wrapper {
  background: #0b0f19;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.real-football-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}

.real-football-table thead th {
  background: #111726;
  color: #8b9bb4;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.85rem 0.6rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.real-football-table th.col-clube {
  text-align: left;
  padding-left: 1.2rem;
}

.real-football-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
  height: 52px;
}

.real-football-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Indicadores de classificação na borda esquerda */
.real-football-table tr.zone-libertadores {
  border-left: 4px solid #1a73e8 !important;
}

.real-football-table tr.zone-pre-libertadores {
  border-left: 4px solid #00b4d8 !important;
}

.real-football-table tr.zone-sulamericana {
  border-left: 4px solid #00c853 !important;
}

.real-football-table tr.zone-neutral {
  border-left: 4px solid #6c757d !important;
}

.real-football-table tr.zone-relegation {
  border-left: 4px solid #e63946 !important;
}

.real-football-table td {
  padding: 0.65rem 0.6rem;
  vertical-align: middle;
}

.real-football-table td.cell-clube {
  text-align: left;
  padding-left: 1rem;
}

.clube-entry {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.clube-pos {
  font-size: 0.9rem;
  font-weight: 700;
  color: #a0aec0;
  min-width: 22px;
  text-align: center;
}

.clube-badge {
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.clube-name-box {
  display: flex;
  flex-direction: column;
}

.clube-team-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.clube-player-owner {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Célula de Pontos em Destaque */
.cell-pts {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

/* Sequência dos últimos 5 jogos (Form Guide) */
.form-guide-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.form-pill {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.form-pill.win {
  background: #00c853;
  box-shadow: 0 0 6px rgba(0, 200, 83, 0.5);
}

.form-pill.draw {
  background: #6c757d;
}

.form-pill.loss {
  background: #e63946;
  box-shadow: 0 0 6px rgba(230, 57, 70, 0.5);
}

/* Legenda da Tabela */
.table-legend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0.85rem 1.2rem;
  background: #080c14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: #8b9bb4;
}

.legend-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* ========================================================
   3. BANNER DE MODO DRAFT / INICIAR TORNEIO
   ======================================================== */
.draft-tourney-banner {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.14), rgba(0, 229, 255, 0.12));
  border: 2px solid var(--accent-green);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.25);
  animation: pulse-border 2.5s infinite alternate;
}

@keyframes pulse-border {
  0% { border-color: var(--accent-green); box-shadow: 0 0 20px rgba(0, 255, 135, 0.2); }
  100% { border-color: var(--accent-cyan); box-shadow: 0 0 35px rgba(0, 229, 255, 0.4); }
}

.btn-start-action {
  background: linear-gradient(135deg, #00ff87, #00e5ff) !important;
  color: #000 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 0.75rem 1.8rem !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.5) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-start-action:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.8) !important;
}

/* ========================================================
   4. OTIMIZAÇÃO COMPLETA PARA CELULAR & DISPOSITIVOS MÓVEIS
   ======================================================== */

.mobile-scroll-hint {
  display: none;
}

@media (max-width: 990px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem 0.8rem 0.4rem;
    gap: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.4rem;
  }

  .logo-container {
    gap: 0.5rem;
  }

  .logo-container img {
    height: 40px !important;
  }

  .logo-title {
    font-size: 1.15rem !important;
    letter-spacing: 0.5px;
  }

  .logo-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
  }

  .header-right-actions {
    margin-left: 0;
    gap: 0.35rem;
  }

  .header-right-actions .btn-join-tourney {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .btn-join-text-full {
    display: none;
  }

  .btn-join-text-short {
    display: inline;
  }

  #firebase-status-badge {
    font-size: 0.68rem !important;
    padding: 0.2rem 0.5rem !important;
  }

  .admin-badge {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.5rem !important;
    gap: 0.3rem !important;
  }

  .admin-badge .btn-logout {
    padding: 0.15rem 0.4rem !important;
    font-size: 0.68rem !important;
  }

  .visitor-badge {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.55rem !important;
  }

  /* Barra de Navegação Horizontal Deslizável (Touch Swipe) */
  .nav-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    gap: 0.35rem;
    padding: 0.25rem 0.2rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .nav-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    gap: 0.35rem;
  }
}

@media (max-width: 768px) {
  /* Layout principal e espaçamentos */
  main {
    padding: 0.8rem 0.5rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .card {
    padding: 0.95rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.9rem;
  }

  .card-title {
    font-size: 1.05rem;
    gap: 0.5rem;
  }

  .card-title > div,
  .card-title button {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.6rem !important;
  }

  /* Previne zoom chato do iOS em inputs ao focar */
  input, select, textarea {
    font-size: 16px !important;
  }

  .score-input {
    font-size: 1.15rem !important;
    width: 38px !important;
    height: 34px !important;
  }

  /* Touch ergonomics */
  button, .btn, .nav-tab, .btn-join-tourney {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Indicadores de deslize para tabelas e chaves */
  .mobile-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px dashed rgba(0, 229, 255, 0.3);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    margin-bottom: 0.65rem;
    text-align: center;
  }

  /* Wizard de Torneio no Celular */
  .wizard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #btn-randomize-teams,
  #btn-randomize-and-start,
  #btn-create-tournament {
    flex: 1 1 100% !important;
    width: 100%;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    justify-content: center;
  }

  #new-player-name,
  #new-player-team-select,
  #new-player-team-custom {
    min-width: 100% !important;
    width: 100% !important;
  }

  #btn-add-player {
    width: 100%;
    justify-content: center;
    margin-top: 0.2rem;
  }

  /* Tabela de Futebol Real */
  .real-table-wrapper {
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .real-football-table {
    min-width: 650px;
    font-size: 0.82rem;
  }

  .real-football-table th,
  .real-football-table td {
    padding: 0.55rem 0.35rem;
  }

  .clube-entry {
    gap: 0.5rem;
  }

  .clube-badge {
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
  }

  .clube-team-title {
    font-size: 0.82rem;
  }

  .clube-player-owner {
    font-size: 0.68rem;
  }

  .form-pill {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }

  .table-legend-bar {
    padding: 0.65rem 0.8rem;
    gap: 0.65rem;
    font-size: 0.68rem;
  }

  /* Banner de Início de Torneio (Draft) */
  .draft-tourney-banner {
    padding: 1rem 0.85rem;
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .draft-tourney-banner .btn-start-action {
    width: 100%;
    justify-content: center;
    font-size: 1rem !important;
    padding: 0.85rem 1rem !important;
  }

  /* Chaveamento Convergente no Celular */
  .converging-bracket-wrapper {
    padding: 0.85rem 0.3rem;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .converging-bracket-container {
    gap: 0.9rem;
    padding: 0.5rem 0.2rem;
  }

  .bracket-wing {
    gap: 0.9rem;
  }

  .bracket-wing-col {
    min-width: 220px;
    gap: 1.1rem;
  }

  .bracket-center-stage {
    min-width: 250px;
    max-width: 285px;
    padding: 0.4rem;
  }

  .center-ball-graphic {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-bottom: 0.35rem;
  }

  .center-stage-title {
    font-size: 1.2rem;
  }

  .match-card {
    border-radius: 8px;
  }

  .match-team {
    padding: 0.55rem 0.7rem;
  }

  .team-name {
    font-size: 0.85rem;
  }

  .player-subtitle {
    font-size: 0.7rem;
  }

  /* Tabelas nos outros módulos (Amistosos, Artilharia, Confrontos) */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border-radius: 8px;
  }

  table.standings-table {
    min-width: 520px;
    font-size: 0.82rem;
  }

  table.standings-table th,
  table.standings-table td {
    padding: 0.6rem 0.5rem;
  }

  /* Modais no Mobile */
  .modal-content {
    width: 95% !important;
    max-width: 95% !important;
    padding: 1.3rem 0.95rem !important;
    border-radius: 14px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }

  .modal-close {
    top: 0.8rem !important;
    right: 0.8rem !important;
    font-size: 1.7rem !important;
  }

  /* Amistosos Card no Celular */
  .friendly-score-row {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 0.4rem !important;
    align-items: center !important;
    text-align: center !important;
    font-size: 0.92rem !important;
  }

  .friendly-player-col:first-child {
    text-align: right !important;
  }

  .friendly-player-col:last-child {
    text-align: left !important;
  }

  .friendly-score-badge {
    font-size: 1.1rem !important;
    padding: 0.2rem 0.55rem !important;
  }

  /* Toast no Celular */
  #toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 0.98rem !important;
  }

  .logo-subtitle {
    display: none;
  }

  .header-right-actions .btn-join-tourney {
    font-size: 0.7rem;
    padding: 0.25rem 0.45rem;
  }

  .btn-join-text-short {
    font-size: 0.72rem;
  }

  .bracket-wing-col {
    min-width: 210px;
  }

  .bracket-center-stage {
    min-width: 240px;
  }
}

/* ========================================================
   ESTILOS DE CENTRALIZAÇÃO & RESPONSIVIDADE MOBILE
   ======================================================== */

/* Banner de Download do APK Android */
.apk-download-banner {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.14), rgba(96, 239, 255, 0.14));
  border: 1px solid rgba(0, 255, 135, 0.45);
  border-radius: 14px;
  margin-bottom: 1.2rem;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  width: 100%;
}

.apk-banner-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apk-banner-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.apk-banner-title {
  color: #00ff87;
  font-size: 1.1rem;
  display: block;
  font-weight: 800;
}

.apk-banner-sub {
  color: #94a3b8;
  font-size: 0.85rem;
}

.btn-apk-download {
  background: linear-gradient(135deg, #00ff87, #60efff);
  color: #050a14;
  font-weight: 800;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 18px rgba(0, 255, 135, 0.4);
  white-space: nowrap;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-apk-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 255, 135, 0.6);
}

/* Formulário de Amistosos X1 */
.friendly-match-form-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.friendly-score-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ajustes finos de centralização Mobile */
@media (max-width: 768px) {
  .header-top-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.6rem !important;
  }

  .logo-container {
    justify-content: center !important;
    text-align: center !important;
  }

  .logo-title {
    text-align: center !important;
  }

  .header-right-actions {
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  main {
    padding: 0.75rem 0.6rem !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .card {
    padding: 1rem 0.85rem !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
  }

  .apk-download-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1rem 0.85rem !important;
    gap: 0.85rem !important;
  }

  .apk-banner-info {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.35rem !important;
  }

  .btn-apk-download {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1rem !important;
    text-align: center !important;
  }

  .friendly-match-form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    text-align: center !important;
  }

  .friendly-score-box {
    margin: 0.4rem auto !important;
  }

  .card-title {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }

  .card-title > div {
    justify-content: center !important;
    width: 100% !important;
  }

  .btn-danger.btn-clear-all {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ========================================================
   MODAL DE BOAS-VINDAS & T.I CLÃ O$R (CEO BERNAL)
   ======================================================== */
.welcome-modal-card {
  background: linear-gradient(145deg, #121a28 0%, #0a0f18 100%) !important;
  border: 2px solid rgba(0, 255, 135, 0.5) !important;
  box-shadow: 0 0 35px rgba(0, 255, 135, 0.3), 0 15px 50px rgba(0, 0, 0, 0.85) !important;
  border-radius: 18px !important;
  text-align: center !important;
  padding: 1.8rem 1.4rem !important;
  max-width: 520px !important;
  width: 95% !important;
}

.welcome-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.4);
  border-radius: 30px;
  color: #00ff87;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.welcome-title {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #ffffff, #00ff87) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  margin-bottom: 0.35rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.welcome-subtitle {
  color: var(--accent-gold) !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.2rem !important;
  letter-spacing: 0.4px !important;
}

.welcome-box {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 1.1rem !important;
  text-align: left !important;
  margin-bottom: 1.3rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: #e2e8f0 !important;
}

.welcome-box p {
  margin: 0 !important;
}

.welcome-contact-btn {
  background: linear-gradient(135deg, #00ff87, #00e5ff) !important;
  color: #03141a !important;
  font-weight: 800 !important;
  padding: 0.9rem 1.5rem !important;
  font-size: 1.05rem !important;
  border-radius: 10px !important;
  width: 100% !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 255, 135, 0.4) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.welcome-contact-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(0, 255, 135, 0.6) !important;
}

@media (max-width: 440px) {
  .player-chip {
    padding: 0.55rem 0.6rem !important;
    gap: 0.45rem !important;
  }
  .player-chip-badge {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 1.1rem !important;
  }
  .player-chip-name {
    font-size: 0.95rem !important;
  }
  .player-chip-team {
    font-size: 0.74rem !important;
  }
  .btn-chip-edit {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  .btn-chip-del {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  .chip-label-full {
    display: none !important;
  }
}


