/* ==========================================================================
   Spelinspekta - Swedish Betting and Casino Guide
   Colors:
     Primary Background:   #171D2B
     Secondary Background: #202B38
     Card Background:      #263B43
     Primary Accent:       #8CCFC0 (Soft Mint)
     Secondary Accent:     #D99B69 (Warm Copper)
     Main Text:            #F1EFE8
     Secondary Text:       #AAB7B6
     Border Color:         #35464B
   Typography:
     Headings:  Space Grotesk
     Body Text: DM Sans
   ========================================================================== */

:root {
  --bg-primary: #171D2B;
  --bg-secondary: #202B38;
  --bg-card: #263B43;
  --bg-card-hover: #2D444E;
  --bg-surface: #1B2433;
  --bg-glass: rgba(32, 43, 56, 0.85);

  --accent-mint: #8CCFC0;
  --accent-mint-light: #B7E4DA;
  --accent-mint-glow: rgba(140, 207, 192, 0.2);
  --accent-copper: #D99B69;
  --accent-copper-glow: rgba(217, 155, 105, 0.2);

  --text-main: #F1EFE8;
  --text-muted: #AAB7B6;
  --text-dim: #7C8B8F;

  --border-color: #35464B;
  --border-focus: #8CCFC0;

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(10, 14, 22, 0.4);
  --shadow-md: 0 8px 24px rgba(10, 14, 22, 0.55);
  --shadow-lg: 0 16px 40px rgba(8, 12, 18, 0.7);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

main {
  flex: 1 0 auto;
}

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

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 1.8vw + 0.2rem, 1.5rem);
}

h4 {
  font-size: 1.15rem;
}

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

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-head.text-left {
  text-align: left;
  margin-left: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-mint);
  background: rgba(140, 207, 192, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(140, 207, 192, 0.3);
  margin-bottom: 0.85rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--accent-mint);
  color: #111822;
  border: 1px solid var(--accent-mint);
  box-shadow: 0 4px 14px var(--accent-mint-glow);
}

.btn-primary:hover {
  background-color: var(--accent-mint-light);
  color: #111822;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 207, 192, 0.35);
}

.btn-secondary {
  background-color: rgba(217, 155, 105, 0.12);
  color: var(--accent-copper);
  border: 1px solid rgba(217, 155, 105, 0.4);
}

.btn-secondary:hover {
  background-color: rgba(217, 155, 105, 0.22);
  color: #f7b889;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  background: rgba(140, 207, 192, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 0.8rem;
}

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

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
/* .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-normal);
} */

.topbar {
  background-color: #121722;
  border-bottom: 1px solid rgba(53, 70, 75, 0.6);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(140, 207, 192, 0.12);
  color: var(--accent-mint);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.75rem;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-links a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.topbar-links a:hover {
  color: var(--text-main);
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

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

.nav-link.active {
  color: var(--accent-mint);
  font-weight: 600;
  background: rgba(140, 207, 192, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background-color: var(--accent-mint);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(38, 59, 67, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  border-color: var(--accent-mint);
  color: var(--text-main);
  background: rgba(38, 59, 67, 0.9);
}

.search-trigger-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-mint);
}

.search-kbd {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  background: rgba(23, 29, 43, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-dim);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-slow);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.mobile-drawer-close {
  color: var(--text-muted);
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(53, 70, 75, 0.4);
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  color: var(--accent-mint);
  padding-left: 0.85rem;
}

.mobile-drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #1A2332 0%, #171D2B 100%);
  padding: 5rem 0 4rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(140, 207, 192, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(217, 155, 105, 0.06) 0%, transparent 40%),
    linear-gradient(to right, rgba(23, 29, 43, 0.96) 20%, rgba(23, 29, 43, 0.75) 60%, rgba(23, 29, 43, 0.92) 100%),
    url('../images/stadium-night.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-content .lead {
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(53, 70, 75, 0.7);
}

.metric-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-mint);
  line-height: 1.1;
}

.metric-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Widget / Live Pulse Box */
.hero-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  backdrop-filter: blur(8px);
}

.hero-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(220, 38, 38, 0.15);
  color: #F87171;
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.live-pulse {
  width: 7px;
  height: 7px;
  background-color: #EF4444;
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }

  100% {
    transform: scale(0.95);
    opacity: 1;
  }
}

.widget-match-item {
  background: rgba(23, 29, 43, 0.65);
  border: 1px solid rgba(53, 70, 75, 0.7);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.widget-match-item:last-child {
  margin-bottom: 0;
}

.widget-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.widget-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.team-badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-mint);
  margin-right: 0.4rem;
}

.widget-score {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-copper);
  background: rgba(217, 155, 105, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.widget-odds-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.odds-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.odds-chip strong {
  color: var(--text-main);
  font-family: var(--font-heading);
}

.odds-chip:hover {
  border-color: var(--accent-mint);
  background: rgba(140, 207, 192, 0.08);
}

.widget-disclaimer {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 1rem;
}

/* ==========================================================================
   Filter & Search Toolbar
   ========================================================================== */
.filter-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.filter-chip {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-chip:hover {
  border-color: var(--accent-mint);
  color: var(--text-main);
}

.filter-chip.active {
  background-color: var(--accent-mint);
  border-color: var(--accent-mint);
  color: #111822;
  font-weight: 600;
}

.filter-search-box {
  position: relative;
  min-width: 240px;
}

.filter-search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.filter-search-input:focus {
  border-color: var(--accent-mint);
}

.filter-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  pointer-events: none;
}

/* ==========================================================================
   Operator Comparison Cards (3 col desktop / 2 col tablet / 1 col mobile)
   ========================================================================== */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.operator-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.operator-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-mint);
  box-shadow: var(--shadow-md);
}

.operator-card.featured-pick {
  border-color: rgba(140, 207, 192, 0.6);
  background: linear-gradient(180deg, #2A404A 0%, var(--bg-card) 100%);
}

.operator-tag-banner {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: linear-gradient(90deg, var(--accent-mint) 0%, #76BCAD 100%);
  color: #111822;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.operator-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.operator-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.operator-logo-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  text-align: center;
  flex-shrink: 0;
  padding: 0.25rem;
}

.operator-title-wrap h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.operator-company {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.operator-rating-badge {
  text-align: right;
  flex-shrink: 0;
}

.rating-score {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-copper);
}

.rating-stars {
  font-size: 0.75rem;
  color: var(--accent-copper);
  display: flex;
  gap: 1px;
}

.operator-licence-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(23, 29, 43, 0.6);
  border: 1px solid rgba(53, 70, 75, 0.6);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  margin-bottom: 1rem;
}

.licence-check-icon {
  width: 14px;
  height: 14px;
  stroke: var(--accent-mint);
  flex-shrink: 0;
}

.operator-bonus-box {
  background: rgba(32, 43, 56, 0.7);
  border-left: 3px solid var(--accent-mint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
}

.operator-bonus-box h4 {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.operator-bonus-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.operator-bonus-terms {
  font-size: 0.68rem;
  color: var(--text-dim);
  display: block;
  line-height: 1.35;
}

.operator-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.feature-pill {
  font-size: 0.74rem;
  background: rgba(140, 207, 192, 0.08);
  border: 1px solid rgba(140, 207, 192, 0.2);
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.operator-payments {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.payment-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.operator-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(53, 70, 75, 0.6);
}

/* ==========================================================================
   Sports Categories Section
   ========================================================================== */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.sport-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  text-decoration: none;
}

.sport-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-mint);
}

.sport-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transition: opacity var(--transition-normal), transform var(--transition-slow);
}

.sport-card:hover .sport-card-bg {
  opacity: 0.28;
  transform: scale(1.05);
}

.sport-card-content {
  position: relative;
  z-index: 2;
}

.sport-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(32, 43, 56, 0.9);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-mint);
}

.sport-icon-box img,
.sport-icon-box svg {
  width: 22px;
  height: 22px;
}

.sport-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.sport-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.sport-leagues-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  position: relative;
  z-index: 2;
}

.sport-league-chip {
  font-size: 0.68rem;
  background: rgba(23, 29, 43, 0.7);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
}

/* ==========================================================================
   Match Centre (Live Sportsbook Interface)
   ========================================================================== */
.match-centre-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.match-centre-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.status-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-tab {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.status-tab.active {
  background: var(--accent-mint);
  color: #111822;
}

.status-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.sport-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.5rem 1.25rem;
  background: rgba(23, 29, 43, 0.5);
  border-bottom: 1px solid var(--border-color);
}

.sport-pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.sport-pill.active {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  background: rgba(140, 207, 192, 0.1);
}

.match-list {
  display: flex;
  flex-direction: column;
}

.match-row {
  display: grid;
  grid-template-columns: 140px 1.5fr 120px 1.2fr;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast);
  gap: 1rem;
}

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

.match-row:hover {
  background: rgba(38, 59, 67, 0.3);
}

.match-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.match-sport-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-mint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.match-time-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.match-teams-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.match-team-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.match-score-col {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-copper);
}

.match-odds-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.odds-button {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.odds-label {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.odds-value {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.odds-button:hover {
  border-color: var(--accent-mint);
  background: rgba(140, 207, 192, 0.1);
}

.odds-button.active {
  background: var(--accent-mint);
}

.odds-button.active .odds-value,
.odds-button.active .odds-label {
  color: #111822;
}

.match-centre-footer {
  background: var(--bg-secondary);
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Casino Comparison & Categories
   ========================================================================== */
.casino-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.casino-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

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

.casino-cat-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.casino-cat-card .cat-count {
  font-size: 0.75rem;
  color: var(--accent-mint);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.casino-cat-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.top-games-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.game-tag {
  font-size: 0.68rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--text-dim);
}

/* Swedish Compliance Banner */
.compliance-banner {
  background: rgba(32, 43, 56, 0.85);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-copper);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.compliance-icon {
  width: 28px;
  height: 28px;
  stroke: var(--accent-copper);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.compliance-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

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

/* ==========================================================================
   Betting Guides / Editorial Articles
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.75rem;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-mint);
  box-shadow: var(--shadow-md);
}

.guide-thumb-wrap {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.guide-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.guide-card:hover .guide-thumb-img {
  transform: scale(1.05);
}

.guide-cat-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(23, 29, 43, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-color);
  color: var(--accent-mint);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.guide-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-readtime {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.guide-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.35;
}

.guide-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.guide-card-footer {
  margin-top: auto;
}

/* ==========================================================================
   Why choose Spelinspekta (Editorial Values)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-fast);
}

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

.value-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(140, 207, 192, 0.1);
  border: 1px solid rgba(140, 207, 192, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
  margin-bottom: 1.25rem;
}

.value-icon-box svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Responsible Gambling Highlight
   ========================================================================== */
.responsible-banner {
  background: linear-gradient(135deg, #1F2E3A 0%, #17212B 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.responsible-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(217, 155, 105, 0.15), transparent 70%);
  pointer-events: none;
}

.responsible-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.responsible-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.responsible-badges-row img {
  height: 36px;
  width: auto;
}

.responsible-contact-box {
  background: rgba(23, 29, 43, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.responsible-contact-box h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-mint);
}

.support-hotline {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(140, 207, 192, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  stroke: var(--accent-mint);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #111621;
  border-top: 1px solid var(--border-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-nav-list a:hover {
  color: var(--accent-mint);
  padding-left: 4px;
}

.footer-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(53, 70, 75, 0.6);
  border-bottom: 1px solid rgba(53, 70, 75, 0.6);
  margin-bottom: 2rem;
}

.footer-badges-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badges-list img {
  height: 32px;
  width: auto;
}

.footer-disclaimers {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-disclaimers p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Modals & Popups (Search, Review, Guides, Cookies)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 4px;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

/* Search Modal Specific */
.search-modal-box {
  max-width: 620px;
  padding: 1.5rem;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: var(--accent-mint);
}

.search-modal-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 3rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
}

.search-modal-input:focus {
  border-color: var(--accent-mint);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.search-result-item:hover {
  border-color: var(--accent-mint);
  background: var(--bg-card-hover);
}

.result-type-tag {
  font-size: 0.7rem;
  color: var(--accent-mint);
  text-transform: uppercase;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  transform: translateY(120%);
  transition: transform var(--transition-slow);
}

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

.cookie-text {
  flex: 1 1 400px;
}

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

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

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-mint);
  color: #111822;
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Inner Page Styling (Articles, Legal, Contact)
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, #1C2636 0%, #171D2B 100%);
  padding: 4rem 0 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-mint);
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-mint);
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .responsible-inner {
    grid-template-columns: 1fr;
  }

  .match-row {
    grid-template-columns: 110px 1.2fr 90px 1fr;
    padding: 1rem;
    gap: 0.75rem;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

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

  .match-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: left;
  }

  .match-score-col {
    text-align: left;
  }

  .match-odds-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .operator-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .topbar-meta {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-search-box {
    width: 100%;
  }

  .operator-actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.25rem;
  }
}

/* Golden editorial theme inspired by the reference artwork */
:root {
  --bg-primary: #171614;
  --bg-secondary: #211f1b;
  --bg-card: #292620;
  --bg-card-hover: #373127;
  --bg-surface: #201e1a;
  --bg-glass: rgba(30, 28, 24, 0.92);
  --accent-mint: #d7b75b;
  --accent-mint-light: #f1d77c;
  --accent-mint-glow: rgba(215, 183, 91, 0.2);
  --accent-copper: #b89145;
  --accent-copper-glow: rgba(184, 145, 69, 0.2);
  --text-main: #f4edda;
  --text-muted: #c1b9a6;
  --text-dim: #8f8879;
  --border-color: #514832;
  --border-focus: #e3c466;
}

body {
  background: radial-gradient(ellipse at 50% 0%, #30291d 0, var(--bg-primary) 42rem);
}

.site-header {
  background: #1f1e1b;
  border-bottom-color: rgba(215, 183, 91, .28);
}

.topbar {
  background: #0e0d0c;
  border-bottom-color: rgba(215, 183, 91, .2);
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent-mint);
}

.btn-primary {
  background: linear-gradient(135deg, #f0d87c, #b58b36);
  color: #20190b;
  border-color: #d5b557;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f7e49a, #c9a74d);
  color: #20190b;
}

.btn-secondary {
  color: #e2c76f;
  border-color: rgba(215, 183, 91, .5);
  background: rgba(215, 183, 91, .08);
}

.kicker {
  color: #e4c767;
  background: rgba(215, 183, 91, .09);
  border-color: rgba(215, 183, 91, .35);
}

.card,
.hero-widget,
.operator-card,
.guide-card,
.sport-card,
.content-card {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.site-footer {
  background: #100f0d;
  border-top-color: rgba(215, 183, 91, .35);
}

.footer-trust-strip {
  border-color: rgba(215, 183, 91, .18);
}

/* Keep every destination available in both desktop and mobile navigation. */
.main-header {
  gap: 1rem;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .65rem;
}

.nav-link {
  padding: .55rem .35rem;
  font-size: .82rem;
}

.header-actions .btn {
  display: none;
}

/* Homepage: centered campaign-style hero, preserving all existing copy and data. */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(ellipse at 50% 28%, rgba(183, 145, 54, .2), transparent 52%), linear-gradient(180deg, #181612 0%, #24211b 68%, #171614 100%);
  border-bottom: 1px solid rgba(215, 183, 91, .28);
}

.hero-bg-overlay {
  opacity: .54;
  background-image: linear-gradient(180deg, rgba(17, 16, 14, .28), rgba(17, 16, 14, .85)), url('../images/stadium-night.jpg');
  background-position: center 48%;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  text-align: center;
  max-width: 1020px;
}

.hero-content {
  width: 100%;
}

.hero-content .kicker {
  margin-left: auto;
  margin-right: auto;
}

.hero-content h1 {
  max-width: 900px;
  margin: .5rem auto 1rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -.035em;
  color: #e6c963;
  text-shadow: 0 3px 22px rgba(234, 190, 71, .25);
}

.hero-content .lead {
  max-width: 780px;
  margin: 0 auto 1.5rem;
  color: #ddd3bc;
}

.hero-actions {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-metrics {
  max-width: 850px;
  margin: 0 auto;
  border-top-color: rgba(215, 183, 91, .3);
}

.metric-item strong {
  color: #e6c963;
}

.hero-widget {
  width: 100%;
  max-width: 880px;
  text-align: left;
  background: rgba(22, 21, 18, .88);
  border-color: rgba(215, 183, 91, .42);
  border-radius: 4px;
}

.widget-match-item {
  border-color: rgba(215, 183, 91, .22);
}

.odds-chip {
  border-color: rgba(215, 183, 91, .24);
}

.section-alt {
  background: linear-gradient(180deg, #28241b, #1b1915);
}

@media (max-width: 1050px) {
  .main-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
  }

  .nav-list {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
  }

  .header-actions .btn {
    display: inline-flex;
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    text-align: center;
    gap: .8rem;
  }
}

/* Shared campaign styling for every inner page */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(190, 153, 66, .2), transparent 58%), linear-gradient(180deg, #211e18 0%, #171614 100%);
  padding: 3.6rem 0 3rem;
  border-bottom: 1px solid rgba(215, 183, 91, .3);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .kicker {
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  color: #e6c963;
  text-transform: uppercase;
  letter-spacing: -.025em;
  text-shadow: 0 3px 22px rgba(234, 190, 71, .16);
}

.page-hero .lead {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
  color: #d0c6ae;
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-alt {
  background: linear-gradient(180deg, #28241b, #1b1915);
  border-top: 1px solid rgba(215, 183, 91, .12);
  border-bottom: 1px solid rgba(215, 183, 91, .12);
}

.section-head h2 {
  color: #e5d7af;
}

.operator-card,
.guide-card,
.sport-card,
.casino-cat-card,
.faq-item,
.article-content,
.contact-grid>*,
.responsible-contact-box,
.responsible-banner,
.support-hotline {
  border-color: rgba(215, 183, 91, .27);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.operator-card,
.guide-card,
.casino-cat-card,
.article-content,
.faq-item,
.contact-grid>*,
.responsible-contact-box {
  background: linear-gradient(145deg, rgba(47, 42, 32, .97), rgba(31, 29, 24, .98));
}

.operator-card.featured-pick {
  background: linear-gradient(150deg, #3a3020, #26231c 72%);
  border-color: rgba(230, 201, 99, .65);
}

.operator-card:hover,
.guide-card:hover,
.casino-cat-card:hover,
.faq-item:hover,
.sport-card:hover {
  border-color: #d9b94f;
}

.operator-tag-banner {
  background: linear-gradient(90deg, #efd77b, #bd9745);
  color: #211a0d;
}

.filter-toolbar,
.filter-search-box,
.filter-chip,
.sport-filter-pills,
.status-tabs {
  border-color: rgba(215, 183, 91, .26);
}

.filter-chip.active,
.sport-pill.active,
.status-tab.active {
  background: #d0ae50;
  color: #1c180f;
  border-color: #e5c961;
}

.sport-card {
  background-color: #29251d;
}

.sport-card::after {
  background: linear-gradient(0deg, rgba(18, 17, 14, .92), rgba(18, 17, 14, .08));
}

.article-content {
  border-radius: 5px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.article-content h2 {
  color: #dfc15e;
  border-bottom: 1px solid rgba(215, 183, 91, .22);
  padding-bottom: .45rem;
}

.article-content a {
  color: #e1c56b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-control,
.filter-search-input {
  background: #171613;
  border-color: #5b5035;
}

.form-control:focus,
.filter-search-input:focus {
  border-color: #e2c563;
  box-shadow: 0 0 0 3px rgba(215, 183, 91, .12);
}

.responsible-banner {
  background: linear-gradient(120deg, #44371d, #29241a);
}

.responsible-contact-box,
.support-hotline {
  background-color: #27231b;
}

.cookie-banner {
  background: #211f1a;
  border-color: rgba(215, 183, 91, .4);
}

.modal-box {
  background: #211f1a;
  border-color: rgba(215, 183, 91, .35);
}

@media (max-width: 700px) {
  .page-hero {
    padding: 2.8rem 0 2.3rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .article-content {
    border-radius: 4px;
  }
}

/* Homepage feature sections: refined campaign and dashboard layouts */
.home-hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 4rem;
  background: radial-gradient(ellipse at 50% 17%, rgba(209, 170, 72, .2), transparent 42%), linear-gradient(180deg, #151411 0%, #242019 62%, #171614 100%);
}

.home-hero .hero-grid {
  max-width: 1080px;
  gap: 2.6rem;
}

.home-hero .hero-content h1 {
  max-width: 850px;
}

.home-hero .hero-metrics {
  max-width: 920px;
  border: 1px solid rgba(218, 188, 100, .24);
  border-radius: 8px;
  padding: 1.3rem 1rem;
  background: rgba(17, 16, 14, .54);
  backdrop-filter: blur(8px);
}

.home-hero .metric-item+.metric-item {
  border-left: 1px solid rgba(218, 188, 100, .2);
}

.home-hero .hero-widget {
  max-width: 940px;
  padding: 1.35rem;
  background: linear-gradient(135deg, rgba(37, 33, 26, .97), rgba(20, 19, 16, .97));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
}

.home-hero .hero-widget-header {
  margin-bottom: .9rem;
}

.home-hero .widget-match-item {
  display: grid;
  grid-template-columns: minmax(140px, .8fr) minmax(250px, 1.5fr) minmax(250px, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(215, 183, 91, .18);
  border-radius: 6px;
  margin: .65rem 0;
  background: rgba(10, 10, 9, .28);
}

.home-hero .widget-match-meta {
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

.home-hero .widget-match-teams {
  margin: 0;
}

.home-hero .widget-odds-row {
  margin: 0;
}

.home-operators {
  background: linear-gradient(180deg, #191815, #211e18);
}

.home-operators .container,
.home-sports .container,
.home-match .container,
.home-faq .container {
  max-width: 1160px;
}

.home-operators .section-head {
  max-width: 800px;
  margin-bottom: 2.25rem;
}

.home-operators .filter-toolbar {
  position: sticky;
  top: 76px;
  z-index: 5;
  display: flex;
  gap: 1rem;
  padding: .85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(215, 183, 91, .25);
  border-radius: 8px;
  background: rgba(25, 23, 19, .95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}

.home-operators .filter-group {
  gap: .45rem;
}

.home-operators .filter-chip {
  border-radius: 5px;
}

.home-operators .operator-grid {
  gap: 1.15rem;
}

.home-sports {
  background: radial-gradient(ellipse at 50% 0%, rgba(181, 143, 55, .11), transparent 48%), #211f1b;
}

.home-sports .sports-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-sports .sport-card {
  min-height: 270px;
  padding: 1.2rem;
  border-radius: 7px;
  border-color: rgba(218, 188, 100, .25);
  background: #171613;
}

.home-sports .sport-card-bg {
  opacity: .32;
}

.home-sports .sport-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14, 13, 11, .04) 0%, rgba(14, 13, 11, .48) 40%, rgba(14, 13, 11, .96) 100%);
  pointer-events: none;
}

.home-sports .sport-card:hover .sport-card-bg {
  opacity: .46;
}

.home-sports .sport-icon-box {
  background: rgba(28, 25, 19, .88);
  border-color: rgba(227, 198, 100, .48);
}

.home-sports .sport-league-chip {
  color: #e3d6b6;
  background: rgba(25, 23, 19, .82);
  border-color: rgba(215, 183, 91, .27);
}

.home-match {
  background: linear-gradient(180deg, #171614, #211e18);
}

.home-match .section-head {
  max-width: 800px;
}

.home-match .match-centre-container {
  border: 1px solid rgba(215, 183, 91, .34);
  border-radius: 8px;
  background: #1c1a16;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .34);
}

.home-match .match-centre-nav {
  background: linear-gradient(90deg, #2b261b, #201e19);
}

.home-match .status-tab.active,
.home-match .sport-pill.active {
  color: #211a0c;
  background: linear-gradient(135deg, #f0d77a, #b7903b);
  border-color: #d9b84f;
}

.home-match .match-row {
  background: rgba(255, 255, 255, .012);
}

.home-match .odds-button {
  border-radius: 5px;
}

.home-match .odds-button:hover {
  background: rgba(215, 183, 91, .12);
  border-color: #d7b75b;
}

.home-match .match-centre-footer {
  color: #aaa18e;
  background: #171613;
}

.home-casino .container {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.6fr);
  gap: 1.25rem 2rem;
  align-items: start;
}

.home-casino .compliance-banner {
  grid-column: 1 / -1;
  margin-bottom: .35rem;
}

.home-casino .section-head {
  text-align: left;
  margin: .6rem 0 0;
  position: sticky;
  top: 105px;
}

.home-casino .section-head .kicker {
  margin-left: 0;
}

.home-casino .section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.home-casino .casino-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.home-casino .casino-cat-card {
  min-height: 205px;
  padding: 1.35rem;
  border-radius: 7px;
  background: linear-gradient(145deg, #302a1e, #1b1915);
}

.home-casino .casino-cat-card h4 {
  color: #ead68d;
  font-size: 1.12rem;
}

.home-casino .cat-count {
  color: #d5b85d;
}

.home-casino .game-tag {
  border-color: rgba(215, 183, 91, .25);
  color: #d9cfb8;
}

.home-faq {
  background: linear-gradient(135deg, #262219, #171614 58%);
}

.home-faq .container {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.35fr);
  gap: 2rem 4rem;
  align-items: start;
}

.home-faq .section-head {
  text-align: left;
  margin: .5rem 0 0;
  position: sticky;
  top: 110px;
}

.home-faq .section-head .kicker {
  margin-left: 0;
}

.home-faq .section-head h2 {
  color: #ead68d;
}

.home-faq .faq-list {
  width: 100%;
  max-width: none;
  gap: .65rem;
}

.home-faq .faq-item {
  border-radius: 6px;
  background: linear-gradient(115deg, #302a1e, #201e19);
}

.home-faq .faq-question {
  padding: 1.1rem 1.2rem;
}

.home-faq .faq-item.active {
  border-color: rgba(223, 193, 94, .72);
}

@media (max-width: 900px) {
  .home-sports .sports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-casino .container,
  .home-faq .container {
    grid-template-columns: 1fr;
  }

  .home-casino .section-head,
  .home-faq .section-head {
    position: static;
    margin: 0 0 .4rem;
  }
}

@media (max-width: 700px) {
  .home-hero .hero-metrics {
    grid-template-columns: 1fr;
  }

  .home-hero .metric-item+.metric-item {
    border: 0;
    border-top: 1px solid rgba(218, 188, 100, .2);
    padding-top: .8rem;
  }

  .home-hero .widget-match-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .home-operators .filter-toolbar {
    position: static;
    flex-direction: column;
  }

  .home-operators .filter-group {
    flex-wrap: wrap;
  }

  .home-sports .sports-grid,
  .home-casino .casino-category-grid {
    grid-template-columns: 1fr;
  }

  .home-sports .sport-card {
    min-height: 245px;
  }

  .home-faq .faq-question {
    font-size: .95rem;
    padding: 1rem;
  }
}

/* Signature header and footer, with a split editorial homepage hero */
/* .site-header {
  background: rgba(17,16,14,.97);
  border-bottom: 1px solid rgba(224,194,101,.32);
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
} */
.main-header {
  height: auto;
  min-height: 104px;
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  grid-template-areas: "brand nav actions" "brand nav actions";
  gap: 1rem 1.25rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.brand-link {
  grid-area: brand;
  align-self: center;
  position: relative;
}

.brand-link::after {
  content: "SVERIGE";
  position: absolute;
  left: 0;
  bottom: -.55rem;
  color: #bca45c;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .32em;
}

.brand-logo-img {
  height: 48px;
  filter: drop-shadow(0 2px 10px rgba(218, 188, 100, .14));
}

.main-nav {
  grid-area: nav;
  min-width: 0;
  justify-content: center;
}

.nav-list {
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem;
}

.nav-link {
  font-size: .82rem;
  padding: .5rem .68rem;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(215, 183, 91, .09);
}

.nav-link.active {
  background: rgba(215, 183, 91, .12);
}

.nav-link.active::after {
  bottom: -5px;
  background: #e3c466;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  list-style: none;
  cursor: pointer;
  padding: .5rem .65rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: .82rem;
  border-radius: 4px;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary:hover,
.nav-more[open] summary {
  color: #e3c466;
  background: rgba(215, 183, 91, .09);
}

.nav-more-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + .75rem);
  right: 0;
  min-width: 205px;
  padding: .45rem;
  border: 1px solid rgba(215, 183, 91, .3);
  border-radius: 7px;
  background: #201e19;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .45);
}

.nav-more-menu a {
  display: block;
  color: #000;
  padding: .65rem .75rem;
  border-radius: 4px;
  font-size: .84rem;
}

.nav-more-menu a:hover {
  color: #f0d77a;
  background: rgba(215, 183, 91, .1);
}

.header-actions {
  grid-area: actions;
}

.search-trigger-btn {
  background: #211f1a;
  border-color: rgba(215, 183, 91, .27);
}

.header-actions .btn-primary {
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(190, 153, 66, .16);
}

.home-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: #171512;
  border-bottom: 1px solid rgba(215, 183, 91, .32);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 45%, rgba(199, 158, 58, .19), transparent 36%), linear-gradient(115deg, transparent 45%, rgba(222, 184, 84, .055) 45.2%, transparent 45.7%), linear-gradient(245deg, transparent 65%, rgba(222, 184, 84, .045) 65.2%, transparent 65.7%);
  pointer-events: none;
}

.home-hero .hero-bg-overlay {
  opacity: .34;
  background-image: linear-gradient(90deg, rgba(16, 15, 13, .9), rgba(16, 15, 13, .4) 65%, rgba(16, 15, 13, .72)), url('../images/stadium-night.jpg');
  background-position: center;
}

.home-hero .hero-grid {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  text-align: left;
}

.home-hero .hero-content {
  position: relative;
}

.home-hero .hero-content::before {
  content: "SPELINSPEKTA  /  SVENSK SPELGUIDE";
  display: block;
  margin-bottom: 1.4rem;
  color: #c8ad5e;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.home-hero .hero-content .kicker {
  margin: 0 0 1rem;
}

.home-hero .hero-content h1 {
  max-width: 660px;
  margin: 0 0 1.2rem;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: .99;
  text-align: left;
}

.home-hero .hero-content .lead {
  max-width: 610px;
  margin: 0 0 1.6rem;
  text-align: left;
}

.home-hero .hero-actions {
  justify-content: flex-start;
  margin-bottom: 1.8rem;
}

.home-hero .hero-metrics {
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: .9rem 0 0;
  border: 0;
  border-top: 1px solid rgba(215, 183, 91, .34);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.home-hero .metric-item {
  padding: .2rem .8rem .2rem 0;
}

.home-hero .metric-item+.metric-item {
  padding-left: .9rem;
  border-left: 1px solid rgba(215, 183, 91, .22);
}

.home-hero .metric-item strong {
  font-size: 1.55rem;
}

.home-hero .metric-item span {
  display: block;
  line-height: 1.35;
  font-size: .74rem;
}

.home-hero .hero-widget {
  max-width: none;
  padding: 1.35rem;
  border: 1px solid rgba(230, 201, 99, .46);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(42, 36, 25, .96), rgba(20, 19, 16, .96));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 255, 255, .06);
  transform: translateY(1.2rem);
}

.home-hero .hero-widget::before {
  content: "MATCH PULSE  •  DEMO";
  display: block;
  color: #b8a362;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin: -.2rem 0 .9rem;
}

.home-hero .hero-widget-header {
  display: none;
}

.home-hero .widget-match-item {
  display: block;
  margin: 0 0 .8rem;
  padding: 1rem;
  border: 1px solid rgba(215, 183, 91, .2);
  border-radius: 6px;
  background: linear-gradient(110deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
}

.home-hero .widget-match-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}

.home-hero .widget-match-teams {
  margin-bottom: .9rem;
}

.home-hero .widget-odds-row {
  margin: 0;
}

.home-hero .odds-chip {
  background: rgba(215, 183, 91, .055);
  border-color: rgba(215, 183, 91, .23);
}

.home-hero .widget-disclaimer {
  margin-top: .9rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(215, 183, 91, .16);
  font-size: .72rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  background: radial-gradient(ellipse at 14% 0%, rgba(174, 139, 58, .12), transparent 35%), #100f0d;
  border-top: 1px solid rgba(225, 195, 102, .44);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(1.5rem, calc((100vw - 1180px)/2));
  width: 96px;
  height: 2px;
  background: linear-gradient(90deg, #f0d77a, transparent);
}

.site-footer>.container {
  position: relative;
}

.footer-grid {
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(130px, .8fr));
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.footer-brand-col {
  padding: 1.4rem;
  border: 1px solid rgba(215, 183, 91, .22);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(46, 39, 26, .68), rgba(25, 23, 19, .6));
}

.footer-brand-col .brand-link {
  display: inline-flex;
}

.footer-brand-col .brand-link::after {
  display: none;
}

.footer-brand-col p {
  color: #b7ad97;
  margin: .85rem 0 1.2rem;
}

.footer-col {
  padding: 1.4rem .8rem;
}

.footer-col h4 {
  color: #e2cc83;
  font-size: .76rem;
  letter-spacing: .16em;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(215, 183, 91, .22);
}

.footer-nav-list {
  gap: .7rem;
}

.footer-nav-list a {
  color: #b8b09e;
  font-size: .85rem;
}

.footer-nav-list a:hover {
  color: #f0d77a;
  padding-left: 3px;
}

.footer-trust-strip {
  margin-bottom: 1.4rem;
  padding: 1.2rem 0;
  border-color: rgba(215, 183, 91, .2);
}

.footer-badges-list {
  gap: .7rem;
}

.footer-badges-list img {
  padding: .28rem;
  border: 1px solid rgba(215, 183, 91, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .025);
}

.footer-disclaimers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(215, 183, 91, .16);
}

.footer-disclaimers p {
  margin: 0;
}

.footer-bottom {
  padding-top: .65rem;
  color: #8f8879;
}

@media (max-width: 1100px) {
  .main-header {
    grid-template-columns: 155px minmax(0, 1fr) auto;
    gap: .7rem;
  }

  .nav-link {
    font-size: .76rem;
    padding: .45rem .5rem;
  }

  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
    gap: 2rem;
  }
}

@media (max-width: 880px) {
  .main-header {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions" "nav nav";
  }

  .main-nav {
    display: flex;
    width: 100%;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    max-width: 820px;
  }

  .home-hero .hero-content {
    text-align: center;
  }

  .home-hero .hero-content .kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero .hero-content h1,
  .home-hero .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .home-hero .hero-content::before {
    text-align: center;
  }

  .home-hero .hero-actions {
    justify-content: center;
  }

  .home-hero .hero-metrics {
    margin: 0 auto;
  }

  .home-hero .hero-widget {
    transform: none;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .main-header {
    min-height: 72px;
    padding-top: .7rem;
    padding-bottom: .7rem;
  }

  .main-nav {
    display: none;
  }

  .brand-logo-img {
    height: 42px;
  }

  .brand-link::after {
    bottom: -.45rem;
  }

  .header-actions .btn {
    display: none;
  }

  .search-trigger-btn {
    padding: .5rem;
  }

  .search-trigger-btn span:not(.search-kbd) {
    display: none;
  }

  .search-kbd {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-hero .hero-grid {
    text-align: center;
  }

  .home-hero .hero-content h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .home-hero .hero-metrics {
    grid-template-columns: 1fr;
    gap: .7rem;
    text-align: center;
  }

  .home-hero .metric-item,
  .home-hero .metric-item+.metric-item {
    padding: .35rem 0;
    border: 0;
  }

  .home-hero .metric-item+.metric-item {
    border-top: 1px solid rgba(215, 183, 91, .18);
    padding-top: .7rem;
  }

  .home-hero .widget-match-teams {
    gap: .45rem;
    font-size: .8rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
  }

  .footer-brand-col {
    grid-column: 1/-1;
  }

  .footer-col {
    padding: 1rem .45rem;
  }

  .footer-disclaimers {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .footer-trust-strip {
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-col {
    padding: .75rem .3rem;
  }
}

/* Keep the original Swedish copy intact; decorative accents carry no added text. */
.brand-link::after {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, #d7b75b, transparent);
  letter-spacing: 0;
}

.home-hero .hero-content::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin: 0 0 1.2rem;
  background: linear-gradient(90deg, #e3c466, transparent);
}

.home-hero .hero-widget::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 0 .8rem;
  background: #d7b75b;
}

.home-hero .hero-widget-header {
  display: flex;
}

@media (max-width: 880px) {
  .home-hero .hero-content::before {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Header-only palette: ink navy, mist, and a warm persimmon accent */
.topbar {
  background: #000;
  color: #e8edf5;
  border: 0;
  font-size: .72rem;
  letter-spacing: .025em;
}

.topbar-inner {
  min-height: 36px;
}

.topbar-pill {
  color: #f0b18c;
  background: transparent;
  border: 0;
  padding: 0;
}

.topbar-links a,
.topbar-meta>span:last-child {
  color: #d1d9e7;
}

.topbar-links a:hover {
  color: #fff;
}

/* .site-header {
  --header-accent: #c96749;
  background: #edf1f6;
  border-bottom: 1px solid #d4dce7;
  box-shadow: 0 8px 24px rgba(28,42,65,.09);
} */
.main-header {
  min-height: 88px;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  padding-top: .65rem;
  padding-bottom: .65rem;
}

.brand-logo-img {
  filter: none;
}

.brand-link::after {
  background: #65758e;
}

.nav-list {
  gap: .12rem;
}

.nav-link {
  color: #fff;
  font-size: .79rem;
  border-radius: 999px;
  padding: .55rem .72rem;
}

.nav-link:hover {
  color: #25344d;
  background: #dfe6ef;
}

.nav-link.active {
  color: #9f482f;
  background: #f8e5dc;
}

.nav-link.active::after {
  display: none;
}

.nav-more summary {
  color: #fff;
  border-radius: 999px;
}

.nav-more summary:hover,
.nav-more[open] summary {
  color: #25344d;
  background: #dfe6ef;
}

.nav-more-menu {
  background: #f7f9fc;
  border-color: #d4dce7;
  border-radius: 12px;
}

.nav-more-menu a:hover {
  color: #9f482f;
  background: #f8e5dc;
}

.search-trigger-btn {
  color: #000;
  background: #f9fbfd;
  border-color: #d4dce7;
  border-radius: 999px;
}

.search-trigger-btn svg {
  stroke: #60718a;
}

.header-actions .btn-primary {
  border-radius: 999px;
  color: #fffaf7;
  background: #c96749;
  border-color: #c96749;
  box-shadow: 0 5px 16px rgba(201, 103, 73, .2);
}

.header-actions .btn-primary:hover {
  color: #fff;
  background: #ad5035;
  border-color: #ad5035;
}

.mobile-menu-btn {
  color: #33435d;
}

.mobile-nav-drawer {
  background: #edf1f6;
}

.mobile-nav-links a {
  color: #46546b;
  border-color: #d4dce7;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  color: #9f482f;
  background: #f8e5dc;
}

.site-footer {
  padding: 0 0 1.6rem;
  color: #e9e8dc;
  background: #1f1e1b;
  border: 0;
}

.site-footer::before {
  content: none;
}

.footer-grid {
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(130px, .72fr));
  gap: 2rem;
  padding: 3.6rem 0 2.8rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(240, 240, 220, .16);
}

.footer-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.1rem 0 1rem;
  border-bottom: 1px solid rgba(240, 240, 220, .16);
}

.footer-intro span {
  color: #d6e86a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.footer-intro p {
  margin: 0;
  color: #f0efe5;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -.035em;
}

.footer-brand-col {
  padding: 0;
  border: 0;
  background: none;
}

.footer-brand-col .brand-link::after {
  display: none;
}

.footer-brand-col .brand-logo-img {
  filter: none;
  background: #f1f0e7;
  padding: .25rem .45rem;
  border-radius: 6px;
}

.footer-brand-col p {
  max-width: 290px;
  color: #b8c0b0;
}

.footer-col {
  padding: 0;
}

.footer-col h4 {
  color: #d6e86a;
  border: 0;
  padding: 0;
  font-size: .7rem;
  letter-spacing: .16em;
}

.footer-nav-list a {
  color: #c1c8ba;
}

.footer-nav-list a:hover {
  color: #e3ef9a;
  padding-left: 3px;
}

.footer-trust-strip {
  margin: 0;
  padding: 1.4rem 0;
  border-color: rgba(240, 240, 220, .16);
}

.footer-badges-list img {
  background: #222d25;
  border: 1px solid rgba(240, 240, 220, .12);
  border-radius: 8px;
}

.footer-disclaimers {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(240, 240, 220, .16);
}

.footer-disclaimers p,
.footer-bottom {
  color: #9fa99b;
}

.footer-bottom {
  padding-top: 1rem;
}

.footer-bottom a {
  color: #d6e86a;
}

@media(max-width:880px) {
  .main-header {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions" "nav nav";
  }
}

@media(max-width:700px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-meta>span:last-child,
  .topbar-links {
    display: none;
  }

  .footer-grid {
    padding: 2.6rem 0 2rem;
  }

  .footer-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Hero composition: editorial introduction, live preview, then a full-width trust rail */
.home-hero .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  grid-template-rows: auto auto;
  column-gap: clamp(2.25rem, 5vw, 5rem);
  row-gap: 2.3rem;
}

.home-hero .hero-content {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.home-hero .hero-widget {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.home-hero .hero-metrics {
  grid-column: 1/-1;
  grid-row: 2;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(225, 195, 102, .28);
  border-bottom: 1px solid rgba(225, 195, 102, .18);
  padding: .95rem 0;
  background: linear-gradient(90deg, rgba(215, 183, 91, .045), transparent 50%, rgba(215, 183, 91, .045));
}

.home-hero .hero-metrics .metric-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: .9rem;
  padding: .25rem 1.35rem;
}

.home-hero .hero-metrics .metric-item:first-child {
  padding-left: .35rem;
}

.home-hero .hero-metrics .metric-item+.metric-item {
  border-left: 1px solid rgba(225, 195, 102, .22);
  padding-left: 1.35rem;
}

.home-hero .hero-metrics .metric-item strong {
  grid-row: span 2;
  font-size: 1.8rem;
  color: #edcf70;
}

.home-hero .hero-metrics .metric-item span {
  font-size: .78rem;
  line-height: 1.35;
}

.home-hero .hero-widget {
  transform: none;
  position: relative;
}

.home-hero .hero-widget::after {
  content: "";
  position: absolute;
  inset: -8px 12px 12px -8px;
  z-index: -1;
  border: 1px solid rgba(215, 183, 91, .14);
  border-radius: 11px;
  pointer-events: none;
}

.home-hero .hero-widget::before {
  content: "";
}

.home-hero .hero-content::before {
  content: "";
}

@media (max-width: 880px) {
  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 1.8rem;
  }

  .home-hero .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .home-hero .hero-widget {
    grid-column: 1;
    grid-row: 2;
  }

  .home-hero .hero-metrics {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 600px) {
  .home-hero .hero-metrics {
    grid-template-columns: 1fr;
    padding: .35rem 0;
  }

  .home-hero .hero-metrics .metric-item,
  .home-hero .hero-metrics .metric-item:first-child,
  .home-hero .hero-metrics .metric-item+.metric-item {
    padding: .75rem .25rem;
    border-left: 0;
  }

  .home-hero .hero-metrics .metric-item+.metric-item {
    border-top: 1px solid rgba(225, 195, 102, .18);
  }

  .home-hero .hero-metrics .metric-item strong {
    font-size: 1.45rem;
  }
}