/* Variables */
:root {
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1d4ed8;
  --color-background: #f8fafc;
  --color-white: #ffffff;
  --color-text: #0f172a;
  --color-text-light: #475569;
  --color-border: #e2e8f0;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.5rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  font-size: 2rem;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--color-text-light);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.1);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.feature-text {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-hero {
  background: white;
  color: var(--color-primary);
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.btn-hero:hover {
  background: #f8fafc;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Filters Section */
.filters-section {
  background: white;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 73px;
  z-index: 90;
}

.filters-bar {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  color: var(--color-text);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  background: white;
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Sections */
.comparison-section,
.reviews-section,
.guide-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--color-text);
}

/* Comparison Table */
.comparison-table-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: var(--color-background);
  border-bottom: 2px solid var(--color-border);
}

.comparison-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table tbody tr:hover {
  background: var(--color-background);
}

.bookmaker-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bookmaker-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.bookmaker-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star {
  color: #fbbf24;
  font-size: 1.125rem;
}

.star-empty {
  color: var(--color-border);
}

.rating-number {
  margin-left: 0.5rem;
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.bonus-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bonus-text strong {
  font-weight: 600;
  color: var(--color-success);
  font-size: 0.95rem;
}

.bonus-explainer,
.highlight-explainer,
.footer-bonus-explainer {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
}

.highlight-value-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
}

.deposit-amount {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.badge-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #dcfce7;
  color: #166534;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-no {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #f3f4f6;
  color: var(--color-text-light);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Review Cards */
.reviews-grid {
  display: grid;
  gap: 2rem;
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.2s;
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.review-header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.review-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.75rem;
  color: white;
}

.review-title-group h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.review-body {
  padding: 2rem;
}

.review-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.review-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.highlight-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.pros-cons-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pros-list,
.cons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pros-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0.25rem;
}

.pros-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 800;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0.25rem;
}

.cons-list li::before {
  content: '✗';
  color: var(--color-danger);
  font-weight: 800;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.best-for-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tag {
  padding: 0.5rem 1rem;
  background: var(--color-background);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.review-footer {
  padding: 2rem;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bonus {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-bonus-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.footer-bonus-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-success);
}

/* Guide Section */
.guide-section {
  background: white;
}

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

.guide-card {
  padding: 2rem;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.guide-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.guide-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.site-footer a {
  color: white;
  font-weight: 600;
}

.site-footer p {
  margin-bottom: 1rem;
}

.disclaimer {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-small {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .header-nav {
    gap: 0.75rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    padding: 0.5rem 0.25rem;
  }

  .btn,
  .btn-hero,
  .btn-primary,
  .btn-sm,
  .filter-btn,
  .calculator-btn,
  .btn-calculate,
  .btn-compare,
  .btn-add,
  .btn-remove {
    min-height: 48px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .brand {
    font-size: 1.25rem;
    justify-content: center;
  }

  .hero {
    padding: 3rem 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .filters-bar {
    overflow-x: scroll;
  }

  /* Convert table to cards on mobile */
  .comparison-table {
    display: block;
  }
  
  .comparison-table thead {
    display: none;
  }
  
  .comparison-table tbody {
    display: block;
  }
  
  .comparison-table tr {
    display: block;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
  }
  
  .comparison-table td {
    display: block;
    padding: 0.5rem 0;
    border: none;
    text-align: left !important;
  }
  
  .comparison-table td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
  }
  
  /* Hide data-label for buttons */
  .comparison-table td:last-child::before {
    display: none;
  }
  
  .comparison-table td:last-child {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .review-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* Calculator Pages */
.page-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  text-align: center;
}

.page-title-lg {
  font-size: 3rem;
}

.page-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.page-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.page-intro strong {
  color: var(--color-text);
}

.calculator-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.calculator-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}

.calculator-card--list {
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.calculator-card--list:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
  border-color: var(--color-primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.btn-calculate,
.btn-compare {
  width: 100%;
  background: var(--color-primary);
  color: white;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.result-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
  color: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  display: none;
}

.result-card-light {
  background: white;
  color: var(--color-text);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  display: none;
  overflow: hidden;
}

.result-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.9;
}

.result-amount {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 24px;
}

.result-section {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.result-section:last-child {
  margin-bottom: 0;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.conversion-item {
  text-align: center;
}

.conversion-label {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.conversion-value {
  font-size: 20px;
  font-weight: 700;
}

.breakdown {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breakdown-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 18px;
  margin-top: 8px;
}

.info-section {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.info-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.result-heading {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.info-section p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
}

.next-steps {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid var(--color-primary);
}

.next-steps-title {
  color: #1e40af;
  margin-bottom: 16px;
}

.next-steps-grid {
  display: grid;
  gap: 12px;
}

.next-step-card {
  display: block;
  padding: 16px;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  color: #1e3a8a;
  border-left: 4px solid var(--color-primary);
  transition: transform 0.2s;
}

.next-step-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.next-step-title {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.next-step-desc {
  font-size: 14px;
  opacity: 0.8;
}

.back-link {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: none;
  background: var(--color-primary-dark);
}

.back-link-alt {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.back-link-alt:hover {
  background: #f8fafc;
}

.selection-row,
.bookmaker-row {
  display: grid;
  grid-template-columns: 1fr 150px 40px;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.btn-remove {
  background: var(--color-danger);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.btn-add {
  background: var(--color-success);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 24px;
}

.result-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
  color: white;
  padding: 24px 32px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 20px 32px;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
  gap: 16px;
}

.comparison-row.best {
  background: #f0fdf4;
  border-left: 4px solid var(--color-success);
}

.comparison-row.worst {
  background: #fef2f2;
  border-left: 4px solid var(--color-danger);
}

.bookmaker-name {
  font-weight: 700;
  font-size: 18px;
}

.odds-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.return-value {
  font-size: 18px;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.badge-best {
  background: var(--color-success);
  color: white;
}

.badge-worst {
  background: var(--color-danger);
  color: white;
}

.calculators-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.calculators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.calculator-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.calculator-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.calculator-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
}

.calculator-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.calculator-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: #6b7280;
  font-size: 14px;
}

.calculator-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.calculator-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.2s;
}

.calculator-btn:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

.related-content {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
}

.related-content h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e3a8a;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.related-list a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .comparison-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 8px;
  }
}

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

  .selection-row,
  .bookmaker-row {
    grid-template-columns: 1fr;
  }

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

  .related-content {
    padding: 18px;
  }
}

/* Blog index styling */
.blog-index-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.blog-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0f172a;
}

.blog-subtitle {
  color: #64748b;
  font-size: 1.05rem;
}

.blog-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}

.blog-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  margin-bottom: 10px;
  font-weight: 700;
}

.blog-card h2 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-card p {
  color: #475569;
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.blog-card .read-more {
  font-weight: 700;
}

@media (max-width: 640px) {
  .blog-index-container { padding: 24px 16px 48px; }
  .blog-header h1 { font-size: 1.8rem; }
  .blog-card { padding: 16px; }
}

/* Main nav (blog + site pages) */
.main-nav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a.active,
.nav-links a:hover {
  color: #2563eb;
}

@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav-links {
    gap: 10px;
  }
}
