:root {
  --wm-red: #b20e10;
  --wm-red-bright: #e51416;
  --wm-gold: #ffc514;
  --wm-gold-light: #ffe073;
  --wm-ink: #141414;
  --wm-charcoal: #202020;
  --wm-charcoal-soft: #2d2d2d;
  --wm-paper: #f2f2f2;
  --wm-line: #d9d9d9;
  --wm-muted: #6e6e6e;
  --wm-white: #fff;
  --wm-radius: 6px;
  --wm-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.remake-body {
  min-width: 320px;
  margin: 0;
  background: var(--wm-ink);
  color: #1f1f1f;
  font-family: "Source Sans Pro", Arial, sans-serif;
}

.remake-body *,
.remake-body *::before,
.remake-body *::after {
  box-sizing: border-box;
}

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

.remake-body a {
  color: var(--wm-red);
  text-decoration: none;
}

.remake-body a:hover,
.remake-body a:focus-visible {
  color: var(--wm-red-bright);
}

.remake-body button,
.remake-body .button {
  font: inherit;
}

.remake-page {
  overflow: hidden;
  background: var(--wm-paper);
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.padded {
  padding: 42px 0;
}

.alt {
  background: #ededed;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(#2a2a2a, #111);
  border-bottom: 3px solid var(--wm-red);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.header-inner {
  width: min(1440px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: 170px;
  min-width: 170px;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #3a3a3a;
  border-radius: var(--wm-radius);
  background: #181818;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--wm-white);
}

.primary-nav {
  min-width: 0;
  overflow: visible;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  padding: 0 9px;
  color: #ddd;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.highlight {
  color: var(--wm-white);
  background: linear-gradient(rgba(178, 14, 16, .92), rgba(130, 7, 9, .92));
}

.nav-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-button::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 215px;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  background: linear-gradient(#2d2d2d, #151515);
  border: 1px solid #333;
  border-top: 3px solid var(--wm-red);
  border-radius: 0 0 var(--wm-radius) var(--wm-radius);
  box-shadow: var(--wm-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .16s ease;
}

.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown,
.has-menu.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 14px;
  color: #ccc;
  font-size: 14px;
  font-weight: 700;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  color: var(--wm-white);
  background: #1d1d1d;
}

.account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.age-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.signin-link {
  color: #ddd;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.signup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--wm-radius);
  border: 1px solid #a90305;
  color: var(--wm-white);
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(#e74042, var(--wm-red));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.signup-button:hover,
.signup-button:focus-visible {
  color: var(--wm-white);
  background: linear-gradient(#ff5b5b, #cc1215);
}

.hero-section {
  padding: 28px 0 34px;
  background:
    radial-gradient(circle at 18% 15%, rgba(178, 14, 16, .28), transparent 30%),
    linear-gradient(135deg, #151515, #252525 48%, #111);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, .85fr);
  gap: 22px;
  align-items: stretch;
}

.hero-slider {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--wm-radius);
  background: #000;
  box-shadow: var(--wm-shadow);
}

.slides,
.slide,
.slide a,
.slide img {
  height: 100%;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  object-fit: cover;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 54px;
  border: 0;
  border-radius: var(--wm-radius);
  color: var(--wm-white);
  background: rgba(0, 0, 0, .66);
  font-size: 24px;
  font-weight: 900;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-control:hover,
.slider-control:focus-visible {
  background: var(--wm-red);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
}

.dot.active {
  border-color: var(--wm-gold);
  background: var(--wm-gold);
}

.bet-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--wm-radius);
  color: var(--wm-white);
  background: #181818;
  box-shadow: var(--wm-shadow);
}

.bet-card-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .88)),
    url("./editorial/20260518_Mundoboost_vignette_home_promo_340x198.jpg") center / cover;
  transform: scale(1.02);
}

.bet-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.bet-kicker {
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 3px;
  color: var(--wm-white);
  background: var(--wm-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.bet-card h1 {
  margin: 0 0 8px;
  color: var(--wm-white);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.02;
  text-transform: uppercase;
}

.bet-date {
  margin: 0 0 18px;
  color: #f1f1f1;
  font-weight: 700;
}

.odds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.odd-button {
  display: grid;
  gap: 3px;
  min-height: 58px;
  align-content: center;
  justify-items: center;
  border: 1px solid #ddac00;
  border-radius: var(--wm-radius);
  color: #1f1f1f;
  background: linear-gradient(var(--wm-gold-light), var(--wm-gold));
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.odd-button span {
  color: #4d3a00;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.odd-button:hover,
.odd-button:focus-visible {
  color: #1f1f1f;
  background: linear-gradient(#ffea5e, #ffd614);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading.centered {
  align-items: center;
}

.section-title {
  margin: 0;
  color: #1f1f1f;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-title span {
  color: var(--wm-red);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--wm-radius);
  color: #1f1f1f;
  background: linear-gradient(var(--wm-gold-light), var(--wm-gold));
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-link:hover,
.text-link:focus-visible {
  color: #1f1f1f;
  background: linear-gradient(#ffea5e, #ffd614);
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--wm-line);
  border-left: 4px solid var(--wm-red);
  border-radius: var(--wm-radius);
  background: var(--wm-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.news-image {
  height: 100%;
  background: #ddd;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 14px 16px 12px;
}

.news-content h2 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.15;
}

.news-content h2 a {
  color: #1d1d1d;
}

.news-content h2 a:hover,
.news-content h2 a:focus-visible {
  color: var(--wm-red);
}

.news-content .date {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--wm-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-content p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.43;
}

.promo-column {
  display: grid;
  gap: 18px;
}

.promo-tile {
  display: block;
  overflow: hidden;
  border-radius: var(--wm-radius);
  background: #111;
  box-shadow: var(--wm-shadow);
}

.promo-tile img {
  width: 100%;
  transition: transform .22s ease;
}

.promo-tile:hover img,
.promo-tile:focus-visible img {
  transform: scale(1.04);
}

.tournaments-section {
  background:
    linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .94)),
    repeating-linear-gradient(135deg, rgba(178, 14, 16, .08) 0 1px, transparent 1px 11px);
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tournament-grid li {
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: var(--wm-radius);
  background: #f8f8f8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

.tournament-grid a {
  display: grid;
  min-height: 128px;
  place-items: center;
  padding: 10px;
}

.tournament-grid img {
  width: 100%;
  transition: transform .2s ease;
}

.tournament-grid a:hover img,
.tournament-grid a:focus-visible img {
  transform: translateY(-3px);
}

.apps-section {
  padding-bottom: 52px;
}

.app-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 28px 34px;
  border-radius: var(--wm-radius);
  background: var(--wm-white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .1);
}

.app-copy p {
  max-width: 500px;
  margin: 12px 0 18px;
  color: #333;
  font-size: 18px;
  line-height: 1.45;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tertiary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #ccc;
  border-radius: var(--wm-radius);
  color: #111;
  font-weight: 900;
  background: linear-gradient(#f8f8f8, #e2e2e2);
}

.tertiary-button:hover,
.tertiary-button:focus-visible {
  color: #111;
  background: linear-gradient(#fff, #dcdcdc);
}

.devices {
  justify-self: end;
  max-height: 255px;
  object-fit: contain;
}

.editorial-longread {
  background: #f7f7f7;
  border-top: 1px solid #dedede;
}

.longread-wrap {
  display: flex;
  justify-content: center;
}

.longread-body {
  width: min(100%, 930px);
  padding: 42px 54px;
  border-left: 5px solid var(--wm-red);
  background: var(--wm-white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
}

.longread-kicker {
  margin: 0 0 10px;
  color: var(--wm-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.longread-body h1 {
  margin: 0 0 22px;
  color: #111;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 900;
}

.longread-body h2 {
  margin: 34px 0 12px;
  color: #151515;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 900;
}

.longread-body p {
  margin: 0 0 18px;
  color: #2d2d2d;
  font-size: 18px;
  line-height: 1.68;
}

.longread-body .longread-lead {
  color: #1c1c1c;
  font-size: 20px;
  line-height: 1.58;
  font-weight: 700;
}

.remake-footer {
  color: #cfcfcf;
  background: #111;
  border-top: 4px solid var(--wm-red);
}

.remake-footer .section-inner {
  padding: 34px 0 28px;
}

.footer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid #2b2b2b;
}

.footer-branding {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.footer-branding img {
  max-width: 150px;
}

.style-h1,
.footer-branding .style-h1 {
  margin: 0 0 4px;
  color: var(--wm-white);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-branding p {
  margin: 0;
  color: #bfbfbf;
  line-height: 1.45;
}

.footer-social-links {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.footer-social-links a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #333;
  border-radius: 50%;
  color: var(--wm-white);
  background: #202020;
  font-size: 13px;
  font-weight: 900;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: var(--wm-white);
  background: var(--wm-red);
}

.best-odds {
  grid-column: 1 / -1;
  margin: 0;
  color: #969696;
  font-size: 13px;
  line-height: 1.45;
}

.best-odds a {
  color: var(--wm-gold);
}

.footer-body {
  padding: 28px 0;
  border-bottom: 1px solid #2b2b2b;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-sitemap .column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-sitemap .parent {
  margin: 0 0 2px;
  color: var(--wm-white);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-sitemap .spacing {
  margin-top: 14px;
}

.footer-sitemap a {
  color: #bdbdbd;
  font-weight: 600;
}

.footer-sitemap a:hover,
.footer-sitemap a:focus-visible {
  color: var(--wm-white);
}

.trust-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid #2b2b2b;
}

.trust-block h2 {
  margin: 0 0 12px;
  color: var(--wm-white);
  font-size: 17px;
  line-height: 1.2;
  text-transform: uppercase;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 18px;
}

.logo-strip img {
  max-width: 88px;
  max-height: 48px;
  object-fit: contain;
}

.partners .logo-strip img {
  max-width: 62px;
  max-height: 46px;
}

.legal-icons img {
  max-width: 120px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 26px;
}

.site-lang {
  display: grid;
  gap: 8px;
  color: var(--wm-white);
  font-weight: 900;
  text-transform: uppercase;
}

.site-lang select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #333;
  border-radius: var(--wm-radius);
  color: var(--wm-white);
  background: #1d1d1d;
  padding: 0 10px;
}

.legal-copy p {
  margin: 0 0 10px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.5;
}

.legal-copy a {
  color: var(--wm-gold);
}

@media (max-width: 1420px) {
  .header-inner {
    width: min(1380px, calc(100% - 24px));
    grid-template-columns: 158px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand-link,
  .brand-logo {
    width: 158px;
    min-width: 158px;
  }

  .nav-link {
    padding: 0 7px;
    font-size: 13px;
  }

  .signin-link {
    font-size: 13px;
  }

  .signup-button {
    padding: 0 12px;
  }
}

@media (max-width: 1365px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #151515;
    border-top: 1px solid #333;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .36);
  }

  .primary-nav.nav-open {
    display: block;
  }

  .nav-list {
    width: min(720px, calc(100% - 24px));
    margin: 0 auto;
    padding: 12px 0;
    display: grid;
    gap: 4px;
  }

  .nav-link {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
    border-radius: var(--wm-radius);
  }

  .dropdown {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: var(--wm-radius);
  }

  .has-menu.open .dropdown {
    display: block;
  }

  .account-actions {
    justify-self: end;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid,
  .app-panel,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .hero-slider,
  .bet-card {
    min-height: auto;
  }

  .slides {
    aspect-ratio: 940 / 280;
  }

  .bet-card-content {
    min-height: 250px;
  }

  .promo-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .devices {
    justify-self: center;
  }

  .longread-body {
    padding: 34px 32px;
  }

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

@media (max-width: 720px) {
  .header-inner {
    min-height: 62px;
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .brand-link,
  .brand-logo {
    width: 128px;
  }

  .account-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 10px;
  }

  .signup-button {
    flex: 1;
  }

  .menu-toggle {
    justify-self: end;
  }

  .hero-section {
    padding-top: 18px;
  }

  .section-heading,
  .section-heading.centered {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-card {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 140px;
  }

  .news-content {
    padding: 12px;
  }

  .news-content h2 {
    font-size: 17px;
  }

  .news-content p {
    font-size: 14px;
  }

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

  .promo-column {
    grid-template-columns: 1fr;
  }

  .app-panel {
    padding: 24px 18px;
  }

  .longread-body {
    padding: 28px 22px;
  }

  .longread-body h1 {
    font-size: 29px;
  }

  .longread-body h2 {
    font-size: 21px;
  }

  .longread-body p,
  .longread-body .longread-lead {
    font-size: 16px;
    line-height: 1.62;
  }

  .footer-hero,
  .footer-branding,
  .footer-sitemap {
    grid-template-columns: 1fr;
  }

  .footer-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .section-inner {
    width: min(100% - 20px, 1180px);
  }

  .padded {
    padding: 30px 0;
  }

  .slides {
    aspect-ratio: 16 / 9;
  }

  .slider-control {
    width: 34px;
    height: 46px;
  }

  .bet-card-content {
    min-height: 230px;
    padding: 18px;
  }

  .odds-grid {
    gap: 6px;
  }

  .odd-button {
    min-height: 52px;
    font-size: 17px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-image {
    height: 180px;
  }

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

  .download-links,
  .download-links .tertiary-button,
  .text-link {
    width: 100%;
  }

  .footer-social-links {
    flex-wrap: wrap;
  }
}
