/* eRivals public site. Rajdhani, black header, teal links, orange actions. */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: 67px;
  background: #f9f9fb;
  color: #10243d;
  font-family: Rajdhani, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}

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

[hidden] { display: none !important; }

#open-matches,
#coming-soon,
#how-it-works,
#rules,
#main {
  scroll-margin-top: 84px;
}

a { color: #0c879d; }

button,
input,
select,
textarea { font-family: inherit; }

.skip {
  position: fixed;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: #f25022;
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 67px;
  background: #000;
  border-bottom: 1px solid #272727;
}

.header-bar {
  height: 67px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 38px; width: auto; }

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-burger { display: none; }

.site-header nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.mainnav,
.tertnav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tertnav { margin-left: auto; }

.mainnav a,
.login {
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 15px;
  padding: 22px 8px;
  white-space: nowrap;
}

.mainnav a:hover,
.login:hover { background: #333; }

.mainnav a.is-active { background: #00889f; }

.btn {
  display: inline-block;
  background: #f25022;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  padding: 12px 22px;
  font-size: 16px;
  line-height: 1.1;
}

.btn:hover { background: #d84315; color: #fff; }

.btn-nav {
  padding: 10px 16px;
  font-size: 14px;
  margin-right: 4px;
}

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #000 url("assets/home-slide.jpg") center 28% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-inner { position: relative; z-index: 1; max-width: 640px; padding: 48px 0; }

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.98;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero .bonus {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero .hero-note { margin: 14px 0 0; max-width: 46ch; color: #f2f2f2; }

.ticker {
  margin: 0;
  background: #000;
  color: #0c879d;
  border-top: 1px solid #272727;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 12px 16px;
}

.section { padding: 46px 0 56px; }

.section h2,
.how h2,
.coming h2,
.page-hero h1 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section h2 { margin: 0 0 8px; font-size: 34px; }

.lede { margin: 0 0 18px; max-width: 68ch; color: #24384c; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }

.filters button {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: #fff;
  color: #10243d;
  border: 1px solid #d5d8e0;
  padding: 8px 12px;
  cursor: pointer;
}

.filters button.is-on,
.filters button[aria-pressed="true"] {
  background: #00889f;
  border-color: #00889f;
  color: #fff;
}

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

.match-card {
  background: #fff;
  border: 1px solid #e4e7ee;
  box-shadow: 0 10px 24px rgba(16, 36, 61, 0.06);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
}

.match-card .card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-logo { width: 36px; height: 36px; object-fit: contain; }

.match-card h3 { margin: 10px 0 8px; font-size: 22px; line-height: 1.15; text-transform: uppercase; }

.money {
  display: flex;
  gap: 18px;
  margin: 0 0 10px;
}

.money p { margin: 0; }

.money span { display: block; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; color: #0c879d; font-weight: 700; }

.money strong { font-size: 28px; line-height: 1; color: #f25022; }

.rival {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
}

.rival img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #eee; }

.rival p { margin: 0; }
.rival small { display: block; color: #0c879d; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; }

.match-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 4px 0 14px;
}

.match-card dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c879d;
  font-weight: 700;
}

.match-card dd { margin: 2px 0 0; font-weight: 600; }

.match-card .btn { margin-top: auto; text-align: center; }

.how { background: #000; color: #fff; padding: 52px 0; }

.how h2 { margin: 0 0 16px; font-size: 34px; }

.how-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}

.outline-logo { width: 140px; }

.steps { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: step; }

.steps li {
  position: relative;
  counter-increment: step;
  margin: 0 0 14px;
  padding-left: 52px;
  font-size: 22px;
  line-height: 1.3;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: #f25022;
  color: #fff;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.intro-link img { width: 48px; height: 48px; }

.perks { background: #10243d; color: #fff; padding: 36px 0 42px; }

.perks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

.perks li {
  position: relative;
  padding-left: 22px;
  font-size: 20px;
  font-weight: 600;
}

.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: #f25022;
}

.coming { background: #000; color: #fff; padding: 52px 0; }

.kicker {
  display: inline-block;
  background: #f25022;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 8px;
}

.coming h2 { margin: 12px 0 8px; font-size: 36px; }

.coming .lede { color: #f3f3f3; }

.form-card {
  background: #fff;
  color: #10243d;
  padding: 20px;
  max-width: 640px;
}

.form-card label {
  display: block;
  margin: 12px 0 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid #cfd3dc;
  background: #fff;
  color: #10243d;
  font-size: 18px;
  padding: 10px 12px;
}

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

.form-card .btn { margin-top: 14px; }

.form-note { margin: 12px 0 0; font-size: 15px; color: #3d4f61; }

.honey { display: none; }

.page-hero {
  background: #000;
  color: #fff;
  padding: 28px 0 22px;
  border-bottom: 3px solid #f25022;
}

.page-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); }

.prose { padding: 34px 0 64px; font-size: 18px; line-height: 1.55; }

.prose h2 { margin: 28px 0 8px; font-size: 26px; text-transform: uppercase; }

.prose ul,
.prose ol { padding-left: 1.2rem; }

.prose li { margin: 6px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 0 64px;
}

.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list li { margin: 0 0 8px; }

.site-footer {
  background: #000;
  color: #0c879d;
  font-size: 14px;
  line-height: 1.4;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.footer-top { align-items: center; padding-top: 28px; }
.footer-bottom { align-items: flex-end; padding: 8px 0 40px; }

.payment { height: 34px; width: auto; background: #000; }

.social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.social a {
  color: #fff;
  text-decoration: none;
  border: 1px solid #0c879d;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.social a:hover { background: #0c879d; color: #fff; }

.foot-links,
.foot-main {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 8px 0;
  padding: 0;
}

.foot-links a,
.foot-main a,
.site-footer .phone a {
  color: #0c879d;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.foot-links a:hover,
.foot-main a:hover,
.site-footer .phone a:hover { color: #fff; }

.address,
.phone,
.copy { margin: 6px 0; }

:focus-visible { outline: 2px solid #f25022; outline-offset: 2px; }

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

@media (max-width: 860px) {
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-burger span {
    display: block;
    height: 2px;
    background: #fff;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    background: #000;
    border-bottom: 1px solid #272727;
    padding: 6px 16px 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle:checked ~ nav { display: flex; }

  .mainnav,
  .tertnav { flex-direction: column; align-items: stretch; margin: 0; }

  .mainnav a,
  .login { padding: 12px 4px; }

  .btn-nav { margin: 8px 0; text-align: center; }

  .how-grid,
  .split,
  .perks ul { grid-template-columns: 1fr; }

  .hero { min-height: 420px; }
}

@media (max-width: 640px) {
  .match-grid { grid-template-columns: 1fr; }
  .container { width: min(1140px, calc(100% - 28px)); }
}
