:root {
  --bg: #2A0E05;
  --surface: #3A1408;
  --text: #FFF7ED;
  --muted: #FDBA74;
  --primary: #F97316;
  --secondary: #FB7185;
  --accent: #FACC15;
  --border: rgba(255, 247, 237, 0.14);
  --max-w: 1280px;
  --style-brutalism: brutalism;
  --style-minimal: minimal;
  --style-monochrome: monochrome;
  --style-raw: raw;
  --style-rigid-grid: rigid grid;
  --style-bold-borders: bold borders;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(180deg, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255, 247, 237, 0.02) 48px,
      rgba(255, 247, 237, 0.02) 49px
    );
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(251, 113, 133, 0.08), transparent 55%);
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

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

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

a:hover {
  color: var(--primary);
}

.compliance-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  line-height: 1.45;
  color: var(--text);
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 247, 237, 0.04),
    rgba(255, 247, 237, 0.04) 8px,
    rgba(255, 247, 237, 0.08) 8px,
    rgba(255, 247, 237, 0.08) 16px
  );
  position: relative;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg);
  border-bottom: 4px solid var(--primary);
  height: 56px;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.header-nav {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  font-weight: 600;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent);
}

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 3px solid var(--border);
  padding: 8px 10px;
  cursor: pointer;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--text);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: 80px 24px 24px;
}

.mobile-overlay.open {
  display: block;
}

.mobile-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-nav a {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}

.brutalist-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
  border: 3px solid var(--accent);
  padding: 4px 10px;
  margin-bottom: 12px;
}

.site-footer {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  padding: 48px 24px 24px;
  position: relative;
  z-index: 1;
  margin-top: auto;
  flex-shrink: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 247, 237, 0.03) 20px,
    rgba(255, 247, 237, 0.03) 22px
  );
  pointer-events: none;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links h4,
.footer-legal h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
  font-size: 14px;
  color: var(--muted);
}

.footer-badges {
  max-width: var(--max-w);
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.footer-badges a {
  display: block;
}

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

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.footer-cookie-link {
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 14, 5, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: var(--surface);
  border: 4px solid var(--primary);
  padding: 32px;
  max-width: 440px;
  width: 100%;
}

.modal-box h2 {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid var(--border);
  cursor: pointer;
  font-family: inherit;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 4px solid var(--accent);
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--primary);
  padding-bottom: 12px;
}

.legal-content h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 28px 0 12px;
  color: var(--accent);
}

.legal-content h3 {
  font-size: 1rem;
  margin: 16px 0 8px;
}

.legal-content p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul {
  margin: 12px 0 12px 20px;
  color: var(--muted);
  font-size: 14px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
}

.info-cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border: 3px solid var(--accent);
}

.info-cta-link:hover {
  background: var(--accent);
  color: var(--bg);
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }

  .burger-btn {
    display: none;
  }
}

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

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 24px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 247, 237, 0.12);
  top: -80px;
  right: 10%;
  filter: blur(2px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(250, 204, 21, 0.15);
  bottom: -40px;
  left: 8%;
  transform: rotate(15deg);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 247, 237, 0.9);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

.offers-section {
  position: relative;
  padding: 56px 24px;
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(42, 14, 5, 0.88), rgba(58, 20, 8, 0.92)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.1), transparent 55%);
  pointer-events: none;
}

.offers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offers-inner h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.offers-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.offer-card {
  background: linear-gradient(145deg, #1a1510 0%, #141414 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(249, 115, 22, 0.15);
}

.offer-card-logo-wrap {
  background: #FFFFFF;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-card-logo {
  width: 280px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card-name {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 600;
}

.offer-bonus-group {
  margin-bottom: 12px;
}

.offer-card-bonus {
  font-size: 15px;
  color: #FBBF24;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.offer-card-terms {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.offer-card-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.offer-card-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #D97706, #F59E0B);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: inherit;
}

.offer-card-cta:hover {
  background: linear-gradient(135deg, #B45309, #D97706);
}

.info-section {
  padding: 56px 24px;
  position: relative;
}

.info-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 800;
}

.info-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.layout-licences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.layout-licences .licence-stack {
  border: 5px solid var(--primary);
  padding: 24px;
  background: var(--surface);
  margin-top: -12px;
}

.licence-checklist {
  list-style: none;
  margin-top: 16px;
}

.licence-checklist li {
  padding: 10px 0;
  border-bottom: 2px solid var(--border);
  font-size: 14px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.licence-checklist li::before {
  content: "■ ";
  color: var(--accent);
}

.decor-side {
  max-width: 100%;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border: 4px solid var(--secondary);
}

.layout-rugby-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.rugby-stat-band {
  display: flex;
  gap: 0;
  margin: 20px 0;
  border: 4px solid var(--accent);
}

.rugby-stat {
  flex: 1;
  padding: 16px;
  text-align: center;
  border-right: 3px solid var(--border);
  background: var(--surface);
}

.rugby-stat:last-child {
  border-right: none;
}

.rugby-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
}

.rugby-stat span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}

.layout-tennis-overlap {
  position: relative;
}

.tennis-pull {
  float: right;
  width: 42%;
  max-width: 400px;
  margin: 0 0 16px 24px;
  padding: 20px;
  background: var(--surface);
  border: 4px solid var(--primary);
  transform: translateY(-8px);
}

.tennis-pull p {
  font-size: 14px;
  font-style: italic;
  color: var(--text);
}

.layout-bonus-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.bonus-mini-card {
  padding: 20px;
  background: var(--surface);
  border: 3px solid var(--border);
}

.bonus-mini-card:nth-child(2) {
  border-width: 5px;
  border-color: var(--accent);
  transform: translateY(-6px);
}

.bonus-mini-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.bonus-mini-card p {
  font-size: 13px;
  margin: 0;
}

.layout-tennis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tennis-tile {
  padding: 24px;
  border: 3px solid var(--border);
  background: rgba(58, 20, 8, 0.6);
}

.tennis-tile:nth-child(odd) {
  border-color: var(--primary);
}

.tennis-tile h3 {
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--accent);
}

.layout-rugby-guide {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.rugby-steps {
  flex: 1;
  min-width: 280px;
}

.rugby-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.rugby-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 48px;
}

.rugby-visual {
  flex: 0 0 280px;
  max-width: 100%;
}

.rugby-visual img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  border: 5px solid var(--secondary);
}

.layout-football-columns {
  column-count: 2;
  column-gap: 32px;
}

.layout-football-columns h2 {
  column-span: all;
}

.football-highlight {
  background: var(--primary);
  color: var(--bg);
  padding: 4px 8px;
  font-weight: 700;
}

.layout-cotes-table {
  overflow-x: auto;
  margin: 20px 0;
  border: 4px solid var(--primary);
}

.cotes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cotes-table th,
.cotes-table td {
  padding: 12px 16px;
  text-align: left;
  border: 2px solid var(--border);
}

.cotes-table th {
  background: var(--surface);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.cotes-table td {
  color: var(--muted);
}

.layout-types-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.type-block {
  padding: 18px;
  background: var(--surface);
  border: 3px solid var(--border);
}

.type-block:nth-child(1) { border-width: 5px; }

.type-block:nth-child(4) { border-color: var(--accent); }

.type-block:nth-child(6) { transform: rotate(-1deg); }

.type-block h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.type-block p {
  font-size: 13px;
  margin: 0;
}

.layout-football-band {
  background: var(--surface);
  border-top: 6px solid var(--accent);
  border-bottom: 6px solid var(--primary);
  padding: 40px 32px;
  margin: 0 -24px;
}

.football-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.football-pill {
  padding: 6px 14px;
  border: 2px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.info-1 { background: var(--bg); }

.info-2 { background: rgba(58, 20, 8, 0.5); }

.info-3 { background: var(--bg); }

.info-4 { background: var(--surface); }

.info-5 { background: var(--bg); }

.info-6 { background: rgba(42, 14, 5, 0.8); }

.info-7 { background: var(--surface); }

.info-8 { background: var(--bg); }

.info-9 { background: var(--surface); }

.info-10 { background: var(--bg); }

.brutalism-grid-note {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 186, 116, 0.4);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

  .layout-licences,
  .layout-rugby-split,
  .layout-tennis-grid,
  .layout-bonus-cards,
  .layout-types-mosaic,
  .layout-football-columns {
    grid-template-columns: 1fr;
    column-count: 1;
  }

  .tennis-pull {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
  }

  .rugby-visual {
    flex: 1 1 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .layout-football-band {
    margin: 0;
    padding: 32px 20px;
  }

  .decor-side {
    max-width: 100%;
    max-height: 240px;
    width: 100%;
  }

  .licence-stack {
    max-width: 100%;
    overflow: hidden;
  }

  .offer-card-logo {
    width: 240px;
    height: 77px;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-card-bonus {
    font-size: 14px;
  }
}
