.matches-page-main {
  flex: 1;
}

.matches-page-wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.matches-page-title {
  margin: 0 0 3rem;
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111111;
}

.matches-tabs {
  width: 100%;
}

.matches-tablist {
  display: inline-flex;
  width: 100%;
  max-width: 24rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0.25rem;
  border-radius: 0.375rem;
  background: #f3f4f6;
  color: #6b7280;
}

.matches-tab-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 0;
  background: transparent;
  border-radius: 0.125rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.matches-tab-button.active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.matches-tab-button:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

.matches-tab-panel {
  margin-top: 0.5rem;
}

.matches-tab-panel[hidden] {
  display: none;
}

.matches-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Upcoming card */
.fixture-card,
.result-card {
  overflow: hidden;
  border: 1px solid hsl(0 0% 88%);
  border-radius: 0.5rem;
  background: #ffffff;
  color: #141414;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fixture-card:hover,
.result-card:hover {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.fixture-card-inner {
  padding: 1.5rem;
}

.fixture-upcoming-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.fixture-upcoming-meta,
.fixture-upcoming-venue {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.fixture-upcoming-venue {
  gap: 0.25rem;
}

.fixture-upcoming-match {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
}

.fixture-vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  background: #ef4444;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.fixture-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Past result card */
.result-card-inner {
  padding: 0;
}

.result-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #171717;
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.6);
}

.result-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.result-team {
  flex: 1;
  text-align: center;
}

.result-team-name {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.result-score {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.result-status-wrap {
  padding: 0 1rem;
  text-align: center;
}

.result-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.result-status.win {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.result-status.draw {
  color: #eab308;
  background: rgba(234, 179, 8, 0.1);
}

.result-status.loss {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

@media (min-width: 640px) {
  .fixture-upcoming-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .matches-page-title {
    font-size: 3.75rem;
  }

  .result-score {
    font-size: 3.5rem;
  }
}

/* ===== SLIDER WRAPPER ===== */
.nm-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.nm-slider {
    display: flex;
    transition: transform 0.4s ease;
}

.nm-slide {
    min-width: 100%;
    flex-shrink: 0;
}

/* ===== ARROWS ===== */
.nm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: rgba(255,255,255,0.9);
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nm-arrow:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
}

.nm-arrow-left {
    left: -18px;
}

.nm-arrow-right {
    right: -18px;
}

/* ===== DOTS ===== */
.nm-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.nm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}

.nm-dot.active {
    background: #2563eb;
    width: 24px;
    border-radius: 4px;
}