@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  
  --bg-main: #090a0d;
  --bg-card: #11141c;
  --bg-card-elevated: #181d28;
  --bg-card-hover: #1f2534;
  --bg-surface: #141822;
  --bg-header: rgba(9, 10, 13, 0.95);

  --accent-yellow: #ffd000;
  --accent-amber: #ff9900;
  --accent-gold-light: #fff3a1;
  --accent-glow: rgba(255, 208, 0, 0.28);
  
  --arctic-white: #ffffff;
  --nordic-green: #22c55e;
  --nordic-red: #f43f5e;
  --tactical-blue: #38bdf8;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 208, 0, 0.14);
  --border-accent: rgba(255, 208, 0, 0.4);
  --border-highlight: #ffd000;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  --text-inverse: #090a0d;

  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-text: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 0 24px rgba(255, 208, 0, 0.25);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1320px;
  --nav-height: 74px;
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-text);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.5rem, 3.8vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
}

.section-header h1 {
  font-size: clamp(1.45rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-bottom: 12px;
}

p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-gold-light);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-main {
  flex: 1 0 auto;
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-alt {
  background-color: #0c0f16;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px auto;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-yellow);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
  color: #090a0d;
  box-shadow: 0 4px 18px rgba(255, 208, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffe033, #ffaa00);
  box-shadow: 0 6px 24px rgba(255, 208, 0, 0.55);
  transform: translateY(-1px);
  color: #000;
}

.btn-secondary {
  background: var(--bg-card-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  color: var(--accent-yellow);
}

.btn-outline {
  background: transparent;
  color: var(--accent-yellow);
  border: 1px solid var(--accent-yellow);
}

.btn-outline:hover {
  background: rgba(255, 208, 0, 0.1);
  color: #fff;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: transform var(--transition), border-color var(--transition);
}

.brand-logo:hover .brand-logo-icon {
  transform: scale(1.04);
  border-color: var(--accent-yellow);
}

.brand-logo-icon svg {
  width: 22px;
  height: 22px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--accent-yellow);
}

.brand-tagline {
  font-family: var(--font-title);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-block;
}

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

.nav-link.active {
  color: var(--accent-yellow);
  background: rgba(255, 208, 0, 0.08);
  border: 1px solid rgba(255, 208, 0, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-actions .btn-sm {
  padding: 7px 13px;
  font-size: 0.78rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  transition: all var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  position: relative;
  padding: 70px 0 90px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: #090a0d;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
}

.hero-content {
  min-width: 0;
  width: 100%;
}

.hero-visual-col {
  min-width: 0;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 100%;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  margin-bottom: 20px;
  font-size: clamp(1.85rem, 4.2vw, 3.6rem);
  line-height: 1.15;
  font-weight: 900;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title .highlight {
  color: var(--accent-yellow);
  display: block;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
  color: #cbd5e1;
  overflow-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  width: 100%;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  min-width: 0;
  width: 100%;
}

.hero-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.stat-value {
  font-family: var(--font-title);
  font-variant-numeric: tabular-nums;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.stat-value span {
  color: var(--accent-yellow);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-top: 6px;
  display: block;
  letter-spacing: 0.04em;
}

.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.hero-media-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.4s ease;
}

.hero-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(9, 10, 13, 0.1) 0%, rgba(9, 10, 13, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px;
}

.live-match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #e11d48;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-pill-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.hero-card-body {
  padding: 20px 22px 24px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.match-score-preview {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.team-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.team-flag {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--accent-yellow);
}

.team-name {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.score-digits {
  font-family: var(--font-title);
  font-variant-numeric: tabular-nums;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-yellow);
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.score-period {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 6px;
  white-space: nowrap;
}

.hero-lineup-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lineup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  transition: border-color var(--transition);
}

.lineup-item:hover {
  border-color: var(--border-accent);
}

.lineup-player-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lineup-pos-tag {
  padding: 2px 6px;
  background: rgba(255, 208, 0, 0.1);
  border: 1px solid rgba(255, 208, 0, 0.3);
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.68rem;
  color: var(--accent-yellow);
}

.lineup-points {
  font-family: var(--font-title);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--nordic-green);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition);
}

.advantage-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

.advantage-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.advantage-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-yellow);
}

.advantage-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.squad-builder-section {
  position: relative;
  background-color: #0b0e14;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.builder-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.builder-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg-card);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 14px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-yellow);
  color: #090a0d;
  border-color: var(--accent-yellow);
}

.search-box {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 380px;
}

.search-input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.88rem;
  transition: border-color var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--border-highlight);
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--text-dark);
}

.slider-container-wrapper {
  position: relative;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.slider-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.slider-top-bar h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.slider-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 1.2rem;
  font-weight: 700;
  transition: all var(--transition);
}

.slider-nav-btn:hover {
  background: var(--accent-yellow);
  color: #000;
}

.players-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-yellow) var(--bg-card-elevated);
}

.players-slider::-webkit-scrollbar {
  height: 6px;
}

.players-slider::-webkit-scrollbar-track {
  background: var(--bg-card-elevated);
  border-radius: 4px;
}

.players-slider::-webkit-scrollbar-thumb {
  background: var(--accent-yellow);
  border-radius: 4px;
}

.player-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.player-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.player-card.selected {
  border-color: var(--accent-yellow);
  background: var(--bg-card-hover);
}

.player-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.player-avatar-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.player-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.player-avatar-box svg {
  width: 28px;
  height: 28px;
  fill: var(--text-muted);
}

.slot-player-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  border: 1px solid var(--border-accent);
}

.slot-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.section-banner-card {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  position: relative;
}

.section-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.player-ovr-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent-yellow);
  color: #000;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.68rem;
  padding: 1px 4px;
  border-radius: 3px;
}

.player-pos-badge {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.player-pos-badge.forward { background: rgba(255, 208, 0, 0.1); color: var(--accent-yellow); border: 1px solid rgba(255, 208, 0, 0.25); }
.player-pos-badge.defense { background: rgba(56, 189, 248, 0.1); color: var(--tactical-blue); border: 1px solid rgba(56, 189, 248, 0.25); }
.player-pos-badge.goalie  { background: rgba(34, 197, 94, 0.1); color: var(--nordic-green); border: 1px solid rgba(34, 197, 94, 0.25); }

.player-name {
  font-size: 1.05rem;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-team {
  font-size: 0.78rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.player-stat-col {
  text-align: center;
}

.pstat-val {
  font-family: var(--font-title);
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.pstat-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--text-dark);
}

.player-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.player-price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-yellow);
}

.btn-add-player {
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: rgba(255, 208, 0, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-yellow);
  transition: all var(--transition);
}

.btn-add-player:hover {
  background: var(--accent-yellow);
  color: #000;
}

.btn-add-player.added {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
}

.my-team-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.my-team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.team-title-group h3 {
  margin-bottom: 2px;
  font-size: 1.25rem;
}

.team-stats-meters {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.meter-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 130px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
}

.meter-bar-track {
  height: 6px;
  background: var(--bg-card-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-amber));
  border-radius: var(--radius-full);
  transition: width var(--transition);
}

.meter-bar-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.roster-slots-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.roster-slot-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.roster-slot-card.filled {
  border-style: solid;
  border-color: var(--border-accent);
  background: var(--bg-card-elevated);
}

.slot-placeholder-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  fill: var(--text-dark);
}

.slot-position-label {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-yellow);
}

.slot-hint {
  font-size: 0.68rem;
  color: var(--text-dark);
  margin-top: 2px;
}

.slot-player-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  border: 1px solid var(--border-card);
}

.slot-player-avatar svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-yellow);
}

.slot-player-name {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.slot-player-team {
  font-size: 0.68rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.btn-remove-slot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: var(--nordic-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.btn-remove-slot:hover {
  background: var(--nordic-red);
  color: #fff;
}

.team-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.team-action-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-play-match {
  padding: 13px 30px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
  color: #090a0d;
  box-shadow: 0 0 20px rgba(255, 208, 0, 0.35);
  transition: all var(--transition);
  opacity: 0.4;
  pointer-events: none;
}

.btn-play-match.ready {
  opacity: 1;
  pointer-events: auto;
  animation: pulse-ready 2s infinite;
}

@keyframes pulse-ready {
  0% { transform: scale(1); box-shadow: 0 0 16px rgba(255, 208, 0, 0.35); }
  50% { transform: scale(1.02); box-shadow: 0 0 30px rgba(255, 208, 0, 0.65); }
  100% { transform: scale(1); box-shadow: 0 0 16px rgba(255, 208, 0, 0.35); }
}

.predictions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.prediction-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.prediction-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.pred-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
}

.pred-team-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--accent-yellow);
  font-weight: 800;
}

.pred-vs {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dark);
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.pred-confidence-row {
  margin-bottom: 14px;
}

.confidence-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 5px;
}

.confidence-bar {
  height: 6px;
  background: var(--bg-card-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
}

.conf-fill-home {
  background: var(--accent-yellow);
  height: 100%;
}

.conf-fill-away {
  background: var(--tactical-blue);
  height: 100%;
}

.pred-key-insight {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-yellow);
  margin-bottom: 14px;
}

.pred-stats-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.pred-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-yellow);
  background: var(--bg-card-elevated);
  box-shadow: var(--shadow-card);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-yellow);
  color: #090a0d;
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: var(--radius-sm);
}

.pricing-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.pricing-tier-name {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.pricing-price {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin: 12px 0 4px;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
  list-style: none;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-feature-item.active {
  color: var(--text-main);
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feature-check-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  fill: var(--accent-yellow);
  margin-top: 2px;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-yellow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 208, 0, 0.15);
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  fill: var(--accent-yellow);
  flex-shrink: 0;
}

.contact-detail-content {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-detail-content h4 {
  font-size: 1rem;
  font-family: var(--font-title);
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-detail-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-detail-content a {
  color: var(--accent-yellow);
  word-break: break-all;
  overflow-wrap: anywhere;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.rules-scoring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}

.scoring-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
}

.scoring-category-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.scoring-category-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-title);
  color: var(--accent-yellow);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.scoring-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.scoring-table tr {
  transition: background var(--transition);
}

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

.scoring-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.scoring-table tr:last-child td {
  border-bottom: none;
}

.scoring-points {
  text-align: right;
  font-family: var(--font-title);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--nordic-green);
  white-space: nowrap;
}

.scoring-points.penalty {
  color: var(--nordic-red);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
  min-width: 0;
  width: 100%;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.mission-card h2 {
  color: var(--accent-yellow);
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.about-story-content {
  min-width: 0;
  width: 100%;
}

.about-facts-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.about-facts-card h3 {
  color: var(--accent-yellow);
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.about-facts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-facts-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  font-size: 0.92rem;
}

.about-facts-item:last-child {
  border-bottom: none;
}

.rules-structure-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.rules-structure-card h2 {
  color: var(--accent-yellow);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.rules-list {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.modal-btn-group {
  display: flex;
  gap: 12px;
}

.auth-wrapper {
  min-height: calc(100vh - var(--nav-height) - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.auth-header {
  text-align: center;
  margin-bottom: 26px;
}

.auth-header h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-highlight);
  box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.18);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-feedback-msg {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-sm);
  color: #4ade80;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  animation: fadeInFeedback 0.3s ease forwards;
}

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

.btn.btn-loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: wait;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 8, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.section-page {
  padding-top: 50px;
}

.modal-header {
  text-align: center;
  margin-bottom: 18px;
}

.modal-header .badge-18plus {
  margin: 0 auto 14px;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
}

.modal-header h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
  text-align: center;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  transform: translateY(15px);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  color: #fff;
  border-color: var(--border-accent);
}

.simulation-screen {
  background: #06070a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.sim-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.sim-team {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.88rem;
}

.sim-score-num {
  font-family: var(--font-title);
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-yellow);
}

.sim-ticker-box {
  min-height: 110px;
  max-height: 140px;
  overflow-y: auto;
  font-family: var(--font-text);
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
}

.sim-event-row {
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-yellow);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: var(--container-max);
  margin: 0 auto;
  background: #0e121a;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(120%);
  transition: transform var(--transition);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-footer {
  background-color: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 24px;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand-col .brand-logo {
  margin-bottom: 2px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0;
}

.footer-brand-domain {
  font-size: 0.8rem;
  color: var(--text-dark);
  font-family: var(--font-text);
  margin: 0;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--accent-yellow);
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-link-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 5px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.social-link-item:hover {
  border-color: var(--border-accent);
  color: var(--accent-yellow);
}

.social-link-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-responsible-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.badge-18plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--nordic-red);
  color: var(--nordic-red);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  background: rgba(244, 63, 94, 0.1);
  flex-shrink: 0;
}

.responsible-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.company-legal-info {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: #090a0d;
    flex-direction: column;
    padding: 28px 24px;
    transform: translateX(-100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid var(--border-subtle);
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .nav-link {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 208, 0, 0.1);
    border-color: var(--border-accent);
  }

  .nav-actions {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .roster-slots-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rules-scoring-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 20px;
  }

  .hero-stat-card {
    padding: 10px 6px;
    text-align: center;
  }

  .stat-value {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .roster-slots-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 16px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

.cta-center-wrapper {
  text-align: center;
  margin-top: 48px;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h1 {
    font-size: 1.4rem;
    line-height: 1.22;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.72rem;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .section-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .btn {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
    line-height: 1.35;
  }

  .btn-lg {
    padding: 13px 18px;
    font-size: 0.92rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    text-align: center;
    white-space: normal;
  }

  .hero-media-wrapper {
    height: 170px;
  }

  .hero-card-body {
    padding: 14px 12px;
    gap: 12px;
  }

  .match-score-preview {
    padding: 10px 8px;
    gap: 6px;
  }

  .team-flag {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .team-name {
    font-size: 0.72rem;
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }

  .score-digits {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .score-period {
    font-size: 0.62rem;
  }

  .lineup-item {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .contact-info-panel,
  .contact-form-card {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }

  .contact-detail-item {
    gap: 12px;
  }

  .contact-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .contact-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .modal-backdrop {
    padding: 14px;
  }

  .modal-box {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .modal-header {
    margin-bottom: 14px;
  }

  .modal-header .badge-18plus {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .modal-header h3 {
    font-size: 1.18rem;
  }

  .modal-subtitle {
    font-size: 0.82rem;
  }

  .modal-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .modal-btn-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .modal-btn-group .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.88rem;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .match-score-preview {
    grid-template-columns: 1fr auto 1fr;
    padding: 8px 4px;
  }

  .score-digits {
    font-size: 1.35rem;
  }
}