:root {
  --sports-navy-950: #061621;
  --sports-navy-900: #0a1e2f;
  --sports-navy-800: #112b43;
  --sports-blue-700: #1e4f93;
  --sports-blue-600: #2563eb;
  --sports-blue-500: #3b82f6;
  --sports-slate-200: #e2e8f0;
  --sports-slate-300: #cbd5e1;
  --sports-slate-400: #94a3b8;
  --sports-slate-500: #64748b;
  --sports-panel: rgba(12, 23, 37, 0.9);
  --sports-panel-alt: rgba(15, 31, 48, 0.95);
  --sports-card: rgba(17, 28, 41, 0.94);
  --sports-line: rgba(148, 163, 184, 0.22);
  --sports-white: #f8fbff;
  --sports-muted: #b9c8d9;
  --sports-success: #22c55e;
  --sports-success-soft: rgba(34, 197, 94, 0.14);
  --sports-warning: #f59e0b;
  --sports-warning-soft: rgba(245, 158, 11, 0.16);
  --sports-danger: #ef4444;
  --sports-danger-soft: rgba(239, 68, 68, 0.15);
  --sports-shadow: 0 18px 42px rgba(2, 8, 20, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Poppins", "Manrope", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.08), transparent 26%),
    linear-gradient(135deg, var(--sports-navy-950) 0%, #0b1d31 30%, #101e31 100%);
  color: var(--sports-white);
  line-height: 1.5;
}

body,
body * {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

p,
li,
span,
small,
label,
input,
select,
textarea,
button,
th,
td {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--sports-line);
  border-radius: 12px;
  background: rgba(11, 20, 31, 0.95);
  color: var(--sports-white);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--sports-slate-400);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  background: rgba(12, 22, 33, 1);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--sports-slate-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

form,
.panel,
.card,
.shell,
.page-main,
.wrap,
.main-wrap,
.content-shell {
  position: relative;
}

.page-main,
.wrap,
.main-wrap,
.content-shell,
section,
article,
.panel,
.card {
  border-radius: 18px;
}

.panel,
.card,
section,
article,
form,
.shell,
.page-main,
.wrap,
.main-wrap {
  background: linear-gradient(180deg, rgba(15, 27, 40, 0.96), rgba(10, 19, 29, 0.96));
  border: 1px solid var(--sports-line);
  box-shadow: var(--sports-shadow);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.7rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
  color: var(--sports-muted);
}

.table-wrap,
table,
.data-grid,
.list-grid {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
}

table {
  width: 100%;
  border: 1px solid var(--sports-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(9, 18, 27, 0.9);
}

thead th {
  background: rgba(18, 34, 50, 0.96);
  color: var(--sports-slate-300);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 0.9rem;
  border-bottom: 1px solid var(--sports-line);
}

tbody td {
  padding: 0.9rem;
  color: var(--sports-white);
  border-bottom: 1px solid var(--sports-line);
  background: rgba(12, 22, 34, 0.7);
}

tbody tr:hover td {
  background: rgba(27, 42, 60, 0.8);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.badge,
.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge.success,
.status-pill.success,
.tag.success {
  color: #dfffe9;
  background: var(--sports-success-soft);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge.warning,
.status-pill.warning,
.tag.warning {
  color: #ffe6b3;
  background: var(--sports-warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge.danger,
.status-pill.danger,
.tag.danger {
  color: #ffe0e0;
  background: var(--sports-danger-soft);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.primary-btn,
.btn-primary,
button[type="submit"],
button.primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  border-color: rgba(96, 165, 250, 0.2);
  color: #fff;
}

.secondary-btn,
.btn-secondary,
button.secondary {
  background: linear-gradient(135deg, #142e4d 0%, #1d3855 100%);
  border-color: rgba(148, 163, 184, 0.25);
  color: #eff6ff;
}

.success-btn,
.btn-success,
button.success {
  background: linear-gradient(135deg, #1d7a40 0%, #22c55e 100%);
  border-color: rgba(34, 197, 94, 0.18);
  color: white;
}

.warning-btn,
.btn-warning,
button.warning {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  border-color: rgba(245, 158, 11, 0.2);
  color: #1f1300;
}

.danger-btn,
.btn-danger,
button.danger {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
  border-color: rgba(254, 202, 202, 0.18);
  color: white;
}

.form-row,
.inline-fields,
.multi-input,
.two-col,
.dashboard-grid {
  display: grid;
  gap: 1rem;
}

.two-col,
.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1200px) {
  .desktop-hero {
    max-width: 1320px;
  }
}

@media (max-width: 1024px) {
  .two-col,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    background:
      radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 26%),
      linear-gradient(135deg, var(--sports-navy-950) 0%, #0d1e2d 35%, #101e2d 100%);
  }

  .topbar,
  .site-topbar,
  .site-nav,
  .nav {
    padding-inline: 0.65rem;
  }

  .two-col,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 0.85rem;
    border: 1px solid var(--sports-line);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(12, 22, 34, 0.9);
  }

  tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  tbody td::before {
    content: attr(data-label);
    color: var(--sports-slate-300);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media (max-width: 390px) {
  body {
    font-size: 15px;
  }

  button,
  input,
  select,
  textarea {
    min-height: 42px;
    border-radius: 10px;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}
