/* =========================================================
   FYNSLUND BK HÅNDBOLD · SERIE 2 HERRER
   Professionel hold- og kampside
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --green-950: #032b17;
  --green-900: #054523;
  --green-800: #07602b;
  --green-700: #0a7a2f;
  --green-600: #119541;
  --green-500: #16a34a;
  --green-100: #dcfce7;

  --gold-500: #e2b93b;
  --gold-400: #f0cb55;
  --gold-100: #fff4c7;

  --navy-950: #030712;
  --navy-900: #07111f;
  --navy-800: #0d1b2f;
  --navy-700: #17243a;

  --white: #ffffff;
  --surface: #f7f9fc;
  --surface-2: #eef2f7;
  --text: #101828;
  --text-soft: #344054;
  --muted: #667085;
  --line: #e4e7ec;

  --win: #16a34a;
  --draw: #f59e0b;
  --loss: #dc2626;
  --na: #434146;
  --away: #2563eb;

  --shadow-sm: 0 9px 26px rgba(3, 7, 18, 0.08);
  --shadow-md: 0 20px 52px rgba(3, 7, 18, 0.14);
  --shadow-lg: 0 34px 90px rgba(3, 7, 18, 0.28);

  --container: 1320px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 22%, rgba(22, 163, 74, 0.07), transparent 27%),
    radial-gradient(circle at 94% 78%, rgba(226, 185, 59, 0.08), transparent 24%),
    #f3f6fa;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy-950);
  background: var(--gold-400);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--container));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  padding: 6px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  box-shadow:
    0 9px 22px rgba(0, 0, 0, 0.28),
    0 0 0 2px rgba(226, 185, 59, 0.42);
  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: translateY(-2px) scale(1.04);
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-text small {
  color: var(--gold-400);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.brand-text strong {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #d0d5dd;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav .nav-cta {
  margin-left: 7px;
  padding-inline: 18px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 9px 24px rgba(226, 185, 59, 0.24);
}

.main-nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(226, 185, 59, 0.34);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--white);
}

/* =========================================================
   HOLDHERO
========================================================= */

.team-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 84px 20px 72px;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(3, 7, 18, 0.99), rgba(7, 17, 31, 0.97) 47%, rgba(5, 69, 35, 0.95));
}

.team-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(850px, 72vw);
  aspect-ratio: 1;
  right: -270px;
  top: 47%;
  transform: translateY(-50%);
  background: url("Fynslund.png") center / contain no-repeat;
  opacity: 0.04;
}

.team-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 185, 59, 0.75), transparent);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  left: -220px;
  top: -250px;
  background: rgba(22, 163, 74, 0.18);
}

.hero-glow-two {
  width: 420px;
  height: 420px;
  right: 11%;
  bottom: -300px;
  background: rgba(226, 185, 59, 0.12);
}

.hero-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.breadcrumb {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #8f9bad;
  font-size: 12px;
  font-weight: 750;
}

.breadcrumb a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb strong {
  color: #d0d5dd;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-400);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.hero-copy h1 {
  margin-top: 17px;
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.hero-copy h1 span {
  color: var(--gold-400);
}

.hero-copy > p {
  max-width: 670px;
  margin-top: 27px;
  color: #cbd5e1;
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 550;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 51px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 14px 34px rgba(226, 185, 59, 0.24);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.hero-tags {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span {
  padding: 8px 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #aab4c3;
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 750;
}

.hero-tags b {
  color: var(--white);
  font-size: 14px;
  font-weight: 950;
}

.team-identity-card {
  position: relative;
  min-height: 410px;
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 35px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.team-identity-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.identity-label {
  position: absolute;
  top: 22px;
  left: 23px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--gold-400);
  background: rgba(3, 7, 18, 0.34);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.identity-logo {
  width: 146px;
  height: 146px;
  padding: 12px;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 0 0 5px rgba(226, 185, 59, 0.32);
}

.identity-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-identity-card > p {
  margin-top: 25px;
  color: var(--gold-400);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team-identity-card h2 {
  margin-top: 5px;
  font-size: 29px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.8px;
  text-transform: uppercase;
}

.identity-season {
  margin-top: 9px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.identity-line {
  width: 72px;
  height: 3px;
  margin-top: 21px;
  border-radius: 999px;
  background: var(--gold-400);
}

.team-identity-card small {
  margin-top: 14px;
  color: #9eabba;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.season-dashboard {
  width: min(100%, 1240px);
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.season-dashboard article {
  position: relative;
  min-height: 126px;
  padding: 19px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow:
    0 15px 36px rgba(0, 0, 0, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.season-dashboard article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #94a3b8;
}

.season-dashboard article:hover {
  transform: translateY(-5px);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.season-dashboard .stat-win::before {
  background: var(--win);
}

.season-dashboard .stat-draw::before {
  background: var(--draw);
}

.season-dashboard .stat-loss::before {
  background: var(--loss);
}

.season-dashboard .stat-goals::before {
  background: var(--gold-400);
}

.season-dashboard span {
  color: #8f9bad;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.season-dashboard strong {
  margin-top: 3px;
  font-size: 31px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -1.2px;
}

.season-dashboard small {
  margin-top: 5px;
  color: #aab4c3;
  font-size: 10px;
  font-weight: 700;
}

.form-panel {
  width: min(100%, 1240px);
  margin: 13px auto 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.form-panel > div:first-child {
  display: grid;
}

.form-kicker {
  color: var(--gold-400);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.form-panel > div:first-child strong {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 900;
}

.form-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.form-track span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 11px;
  font-weight: 950;
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.17),
    0 7px 15px rgba(0, 0, 0, 0.2);
}

.form-win {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.form-loss {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* =========================================================
   KAMPCENTER
========================================================= */

.match-center {
  padding: 92px 20px 108px;
}

.section-shell {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.eyebrow-dark {
  color: var(--green-700);
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -2px;
}

.section-heading p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}

.match-count {
  min-width: 118px;
  padding: 15px 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.match-count strong {
  color: var(--green-700);
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
}

.match-count span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.match-toolbar {
  margin: 34px 0 24px;
  padding: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  color: var(--text-soft);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.filter-button span {
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 9px;
  font-weight: 950;
}

.filter-button:hover {
  color: var(--green-700);
  background: rgba(22, 163, 74, 0.07);
}

.filter-button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  box-shadow: 0 10px 22px rgba(10, 122, 47, 0.22);
}

.filter-button.is-active span {
  color: var(--green-900);
  background: var(--white);
}

.match-grid {
  display: grid;
  gap: 22px;
}

/* =========================================================
   KAMPKORT
========================================================= */

.match-card {

  --card-accent: #94a3b8;

  --card-soft: rgba(148, 163, 184, 0.13);

  position: relative;

  isolation: isolate;

  overflow: hidden;

  padding: 30px;

  border: 1px solid rgba(16, 24, 40, 0.08);

  border-radius: 27px;

  color: var(--text);

  background:

    radial-gradient(circle at 8% 0%, var(--card-soft), transparent 30%),

    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.98));

  box-shadow: var(--shadow-md);

  transition:

    transform 0.25s ease,

    box-shadow 0.25s ease,

    border-color 0.25s ease;

}

.match-card::before {

  content: "";

  position: absolute;

  inset: 0 auto 0 0;

  width: 7px;

  background: var(--card-accent);

}

.match-card::after {

  content: "";

  position: absolute;

  top: 0;

  right: 22px;

  left: 22px;

  height: 4px;

  border-radius: 0 0 999px 999px;

  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);

  opacity: 0.75;

}

.match-card:hover {

  transform: translateY(-5px);

  border-color: rgba(16, 24, 40, 0.13);

  box-shadow: 0 28px 68px rgba(3, 7, 18, 0.18);

}

.match-card.win {

  --card-accent: var(--win);

  --card-soft: rgba(22, 163, 74, 0.13);

}

.match-card.draw {

  --card-accent: var(--draw);

  --card-soft: rgba(245, 158, 11, 0.13);

}

.match-card.loss {

  --card-accent: var(--loss);

  --card-soft: rgba(220, 38, 38, 0.11);

}

.match-topline {

  margin-bottom: 26px;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;

}

/* =========================================================

   RESULTATBOKS

========================================================= */

.score {

  min-width: 120px;

  padding: 11px 18px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 16px;

  font-size: 26px;

  font-weight: 950;

  line-height: 1;

  letter-spacing: 0.4px;

  box-shadow:

    inset 0 -3px 0 rgba(0, 0, 0, 0.16),

    0 12px 26px rgba(3, 7, 18, 0.16);

}

/* Sejr */

.score.win-score {

  color: #ffffff;

  background: linear-gradient(135deg, #15803d, #22c55e);

}

/* Uafgjort */

.score.draw-score {

  color: #101828;

  background: linear-gradient(135deg, #d97706, #fbbf24);

}

/* Nederlag */

.score.loss-score {

  color: #ffffff;

  background: linear-gradient(135deg, #b91c1c, #ef4444);

}

/* Ikke spillet / kommende kamp */

.score.upcoming-score {

  color: #101828;

  background: linear-gradient(135deg, #e5e7eb, #cbd5e1);

}

/* =========================================================

   RESULTATTEKST UNDER SCORE

========================================================= */

.result-label {

  margin-top: 7px;

  display: block;

  font-size: 9px;

  font-weight: 950;

  letter-spacing: 1.3px;

  text-transform: uppercase;

}

/* Sejr */

.result-label.win-label {

  color: var(--win);

}

/* Uafgjort */

.result-label.draw-label {

  color: var(--draw);

}

/* Nederlag */

.result-label.loss-label {

  color: var(--loss);

}

/* Ikke spillet / kommende kamp */

.result-label.upcoming-label {

  color: var(--muted);

}

.match-ident {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.match-number {
  min-width: 68px;
  padding: 9px 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 13px;
  color: var(--card-accent);
  background: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.date {
  padding: 10px 14px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 13px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1px;
}

.home-badge,
.na-badge,
.away-badge {
  min-height: 34px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(3, 7, 18, 0.15);
}

.home-badge {
  background: linear-gradient(135deg, #34ff0c, #00e70c);
}

.na-badge {
  background: linear-gradient(135deg, #525966, #525966);
}

.away-badge {
  background: linear-gradient(135deg, #175cd3, #3b82f6);
}

.teams {
  display: grid;
  grid-template-columns: 82px minmax(150px, 1fr) minmax(125px, auto) minmax(150px, 1fr) 82px;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.teams img {
  width: 76px;
  height: 76px;
  padding: 8px;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  box-shadow:
    0 10px 25px rgba(16, 24, 40, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.25s ease;
}

.match-card:hover .teams img {
  transform: scale(1.04);
}

.teams > strong {
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.teams > div {
  display: grid;
  place-items: center;
}

.score {
  min-width: 120px;
  padding: 10px 18px;
  display: inline-flex;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.5px;
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.14),
    0 10px 22px rgba(3, 7, 18, 0.16);
}

.win-score {
  background: linear-gradient(135deg, #15803d, #22c55e);
}

.draw-score {
  background: linear-gradient(135deg, #d97706, #fbbf24);
}

.loss-score {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
}

.result-label {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.win-label {
  color: var(--win);
}

.draw-label {
  color: var(--draw);
}

.loss-label {
  color: var(--loss);
}

/* =========================================================
   HOLDKORT
========================================================= */

.lineup-toggle {
  margin-top: 27px;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.07);
}

.lineup-toggle summary {
  min-height: 68px;
  padding: 13px 16px 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(22, 163, 74, 0.2), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  cursor: pointer;
  transition: background 0.2s ease;
}

.lineup-toggle summary::-webkit-details-marker {
  display: none;
}

.lineup-toggle summary:hover {
  background:
    radial-gradient(circle at 90% 0%, rgba(22, 163, 74, 0.27), transparent 34%),
    linear-gradient(135deg, var(--navy-950), #13243b);
}

.summary-copy {
  display: grid;
}

.summary-copy small {
  color: var(--gold-400);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.summary-copy strong {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 900;
}

.summary-action {
  min-width: 66px;
  padding: 8px 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--gold-400);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 7px 17px rgba(226, 185, 59, 0.28);
}

.team-lineups {
  padding: 27px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.lineup-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.06);
}

.lineup-title {
  min-height: 70px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(145deg, #ffffff, #f5f7fa);
}

.lineup-title h3 {
  color: var(--text);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.15;
}

.lineup-title span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lineup-table-wrapper {
  overflow-x: auto;
}

.lineup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.lineup-table th {
  padding: 10px 12px;
  color: #475467;
  background: #f2f4f7;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-align: left;
  text-transform: uppercase;
}

.lineup-table th:first-child,
.lineup-table td:first-child {
  width: 75px;
  text-align: center;
}

.lineup-table th:last-child,
.lineup-table td:last-child {
  width: 120px;
  text-align: center;
}

.lineup-table td {
  padding: 10px 12px;
  border-top: 1px solid #eef1f4;
  color: var(--text-soft);
  font-weight: 650;
}

.lineup-table tbody tr:hover {
  background: #f9fafb;
}

.lineup-table td:nth-child(2) {
  color: var(--text);
  font-weight: 800;
}

.lineup-responsible {
  padding: 15px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}

.lineup-responsible h4 {
  color: var(--muted);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.responsible-box {
  margin-top: 8px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e5e9ef;
  border-radius: 11px;
  background: var(--white);
}

.responsible-box span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.responsible-box strong {
  color: var(--text);
  font-size: 10px;
  font-weight: 850;
  text-align: right;
}

/* =========================================================
   KAMPDETALJER
========================================================= */

.details {
  margin-top: 17px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.4fr 0.6fr;
  gap: 8px;
}

.details p {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 12px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}

.details b {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

/* =========================================================
   SPONSORER
========================================================= */

.sponsor-section {
  position: relative;
  overflow: hidden;
  padding: 55px 0 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(22, 163, 74, 0.12), transparent 29%),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 60%, var(--green-950));
}

.sponsor-heading {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto 27px;
  text-align: center;
}

.sponsor-heading .eyebrow {
  justify-content: center;
}

.sponsor-heading h2 {
  margin-top: 9px;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.sponsor-heading p {
  margin-top: 10px;
  color: #aab4c3;
  font-size: 13px;
  font-weight: 550;
}

.sponsor-ticker {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 10px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  touch-action: pan-y;
}

.sponsor-ticker::-webkit-scrollbar {
  display: none;
}

/* Fade i siderne uden grønne blokke */
.sponsor-ticker::before,
.sponsor-ticker::after {
  display: none;
}

.sponsor-ticker {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 70px,
    black calc(100% - 70px),
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 70px,
    black calc(100% - 70px),
    transparent 100%
  );
}

.sponsor-ticker.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: sponsor-loop 95s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 3px 6px 3px 24px;
}

.ticker-group:last-child {
  padding-right: 24px;
}

.sponsor-ticker:hover .ticker-track,
.sponsor-ticker.is-dragging .ticker-track {
  animation-play-state: paused;
}

.sponsor-logo {
  width: 195px;
  min-width: 195px;
  min-height: 146px;
  padding: 15px 14px 12px;
  flex: 0 0 195px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 20px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

a.sponsor-logo:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(226, 185, 59, 0.6);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.sponsor-logo img {
  width: auto;
  height: 68px;
  max-width: 160px;
  object-fit: contain;
  pointer-events: none;
}

.sponsor-logo span {
  min-height: 34px;
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}

.ticker-help {
  margin-top: 10px;
  color: #8f9bad;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.45px;
  text-align: center;
}

@keyframes sponsor-loop {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding: 24px 20px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-950);
}

.footer-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  padding: 5px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
}

.footer-brand span {
  display: grid;
}

.footer-brand strong {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-brand small {
  color: #8f9bad;
  font-size: 10px;
  font-weight: 650;
}

.back-to-top {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.back-to-top:hover {
  color: var(--white);
  border-color: rgba(226, 185, 59, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1080px) {
  .main-nav a {
    padding-inline: 9px;
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr 320px;
    gap: 44px;
  }

  .season-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .season-dashboard .stat-goals {
    grid-column: span 2;
  }

  .teams {
    grid-template-columns: 70px minmax(120px, 1fr) minmax(115px, auto) minmax(120px, 1fr) 70px;
    gap: 13px;
  }

  .teams img {
    width: 65px;
    height: 65px;
  }

  .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(3, 7, 18, 0.98);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    text-align: center;
  }

  .main-nav .nav-cta {
    margin: 4px 0 0;
  }

  .team-hero {
    padding-top: 68px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .breadcrumb,
  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .team-identity-card {
    width: min(100%, 470px);
    min-height: 365px;
    margin-inline: auto;
  }

  .form-panel {
    flex-direction: column;
    text-align: center;
  }

  .form-track {
    justify-content: center;
  }

  .section-heading {
    align-items: flex-start;
  }

  .team-lineups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .team-hero {
    padding-inline: 14px;
  }

  .season-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .season-dashboard .stat-goals {
    grid-column: span 2;
  }

  .match-center {
    padding: 72px 14px 88px;
  }

  .section-heading {
    flex-direction: column;
  }

  .match-count {
    min-width: 0;
    width: 100%;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 8px;
  }

  .match-count span {
    margin-top: 0;
  }

  .match-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-button {
    justify-content: space-between;
  }

  .match-card {
    padding: 21px 17px;
    border-radius: 22px;
  }

  .match-topline {
    align-items: stretch;
  }

  .match-ident {
    flex: 1;
  }

  .match-number {
    min-width: 62px;
  }

  .date {
    flex: 1;
  }

  .teams {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo-one logo-two"
      "team-one team-two"
      "score score";
    gap: 10px 16px;
  }

  .teams img:first-child {
    grid-area: logo-one;
  }

  .teams > strong:nth-of-type(1) {
    grid-area: team-one;
  }

  .teams > div {
    grid-area: score;
    margin-top: 9px;
  }

  .teams > strong:nth-of-type(2) {
    grid-area: team-two;
  }

  .teams img:last-child {
    grid-area: logo-two;
  }

  .teams img {
    margin-inline: auto;
  }

  .teams > strong {
    font-size: 16px;
  }

  .team-lineups {
    padding: 16px;
    gap: 16px;
  }

  .details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sponsor-ticker {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      black 30px,
      black calc(100% - 30px),
      transparent 100%
    );

    mask-image: linear-gradient(
      to right,
      transparent 0,
      black 30px,
      black calc(100% - 30px),
      transparent 100%
    );
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-text small {
    display: none;
  }

  .hero-copy h1 {
    font-size: 52px;
    letter-spacing: -2.8px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .team-identity-card {
    min-height: 330px;
    padding: 30px 18px;
  }

  .identity-logo {
    width: 126px;
    height: 126px;
  }

  .season-dashboard {
    gap: 9px;
  }

  .season-dashboard article {
    min-height: 110px;
    padding: 15px 14px;
  }

  .season-dashboard strong {
    font-size: 26px;
  }

  .form-track span {
    width: 31px;
    height: 31px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .match-toolbar {
    grid-template-columns: 1fr;
  }

  .match-topline {
    flex-direction: column;
  }

  .match-ident {
    width: 100%;
  }

  .home-badge,
  .na-badge,
  .away-badge {
    align-self: flex-start;
  }

  .lineup-toggle summary {
    min-height: 62px;
  }

  .summary-copy strong {
    font-size: 11px;
  }

  .summary-action {
    min-width: 58px;
    padding-inline: 9px;
  }

  .lineup-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .responsible-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .responsible-box strong {
    text-align: left;
  }

  .sponsor-logo {
    width: 170px;
    min-width: 170px;
    min-height: 132px;
    flex-basis: 170px;
  }

  .sponsor-logo img {
    height: 58px;
    max-width: 140px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
