.roa-game-center-page {
  --roa-gc-ink: #15100f;
  --roa-gc-paper: #fff4d6;
  --roa-gc-paper-soft: #fff9e4;
  --roa-gc-red: #ef1f2d;
  --roa-gc-blue: #1287d6;
  --roa-gc-yellow: #f6c84c;
  --roa-gc-green: #22c55e;
  --roa-gc-shadow: rgba(21, 16, 15, .56);
  color: #171717;
}

.roa-game-center-page,
.roa-game-center-page * {
  box-sizing: border-box;
}

.roa-game-center-page .roa-container {
  width: min(var(--roa-container, 1180px), calc(100% - 44px));
  margin-inline: auto;
}

.roa-game-center-page .roa-section,
.roa-game-center-page .roa-front-section {
  position: relative;
  z-index: 1;
  padding-block: 72px;
}

.roa-highway-page.roa-game-center-page {
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  background-color: #22110f;
  background-image:
    radial-gradient(circle at 12% 4%, rgba(239, 31, 45, .42), transparent 24rem),
    radial-gradient(circle at 86% 10%, rgba(18, 135, 214, .34), transparent 26rem),
    radial-gradient(circle at 52% 96%, rgba(246, 200, 76, .34), transparent 30rem),
    linear-gradient(135deg, #2b100d 0%, #633015 36%, #0d374f 70%, #18100f 100%);
}

.roa-highway-page.roa-game-center-page::before,
.roa-highway-page.roa-game-center-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.roa-highway-page.roa-game-center-page::before {
  opacity: .24;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .30) 0 1px, transparent 1.5px) 0 0 / 14px 14px,
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 10px);
  mix-blend-mode: screen;
}

.roa-highway-page.roa-game-center-page::after {
  opacity: .48;
  background:
    radial-gradient(circle at 10% 12%, rgba(239, 31, 45, .56) 0, rgba(239, 31, 45, .56) 7px, transparent 8px, transparent 18px, rgba(239, 31, 45, .20) 19px, rgba(239, 31, 45, .20) 23px, transparent 24px),
    radial-gradient(circle at 91% 70%, rgba(18, 135, 214, .44) 0, rgba(18, 135, 214, .44) 6px, transparent 7px, transparent 16px, rgba(18, 135, 214, .16) 17px, rgba(18, 135, 214, .16) 22px, transparent 23px),
    radial-gradient(circle at 78% 18%, rgba(246, 200, 76, .42) 0, rgba(246, 200, 76, .42) 9px, transparent 10px, transparent 20px);
}

.roa-highway-page.roa-game-center-page > * {
  position: relative;
  z-index: 1;
}

.roa-game-center-page :where(h1, h2, h3, strong, b) {
  letter-spacing: 0;
}

.roa-game-center-hero {
  min-height: min(720px, 78vh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--roa-gc-ink);
  padding: clamp(110px, 14vw, 180px) clamp(20px, 5vw, 78px) clamp(42px, 7vw, 88px);
}

.roa-highway-page .roa-game-center-hero.roa-highway-hero {
  min-height: 640px;
  background:
    linear-gradient(180deg, rgba(255, 244, 214, .34), rgba(21, 16, 15, .44)),
    linear-gradient(90deg, rgba(255, 244, 214, .74) 0 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(0deg, rgba(255, 244, 214, .45) 0 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(135deg, #ffd85e 0%, #ff7b32 42%, #1b8ed8 76%, #20100f 100%);
  box-shadow: inset 0 -12px 0 rgba(21, 16, 15, .28);
}

.roa-game-center-hero-copy,
.roa-game-center-season-card,
.roa-highway-hero-stack {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
}

.roa-game-center-hero h1 {
  margin: 6px 0 12px;
  max-width: 800px;
  color: var(--roa-gc-ink);
  font-family: var(--roa-typography-heading-font, Montserrat, Arial, sans-serif);
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: .88;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 #fff, 8px 8px 0 rgba(239, 31, 45, .88);
}

.roa-game-center-hero p {
  max-width: 660px;
  color: #1f2937;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 850;
}

.roa-game-center-subtitle {
  max-width: max-content;
  border: 3px solid var(--roa-gc-ink);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--roa-gc-paper-soft);
  box-shadow: 4px 5px 0 var(--roa-gc-shadow);
  color: var(--roa-gc-red) !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

.roa-game-center-actions,
.roa-highway-hero-actions,
.roa-highway-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.roa-game-center-page :is(.roa-game-center-actions a, .roa-highway-hero-actions a, .roa-hero-actions a, .roa-highway-buttons button) {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--roa-gc-ink);
  border-radius: 8px;
  padding: 11px 18px;
  background: var(--roa-gc-paper-soft);
  color: var(--roa-gc-ink);
  box-shadow: 4px 5px 0 var(--roa-gc-shadow);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}

.roa-game-center-page :is(.roa-game-center-actions a.is-primary, .roa-highway-hero-actions a.is-primary, .roa-hero-actions a.is-primary, .roa-highway-buttons button.is-primary) {
  background: var(--roa-gc-red);
  color: #fff;
  text-shadow: 0 2px 0 rgba(21, 16, 15, .68);
}

.roa-game-center-page :is(.roa-game-center-actions a, .roa-highway-hero-actions a, .roa-hero-actions a, .roa-highway-buttons button):hover {
  transform: translateY(-2px);
  box-shadow: 5px 7px 0 var(--roa-gc-shadow);
}

.roa-game-center-page :is(.roa-highway-buttons button:disabled) {
  opacity: .48;
  cursor: not-allowed;
}

.roa-game-center-season-card,
.roa-game-center-card,
.roa-game-center-status-grid article,
.roa-game-center-ranking-stats article,
.roa-game-center-list-card,
.roa-game-center-story-grid article,
.roa-game-center-rule-grid article,
.roa-highway-preview-card,
.roa-highway-season-mini,
.roa-highway-hud article,
.roa-highway-results,
.roa-highway-leaderboard,
.roa-highway-prizes,
.roa-highway-rules {
  border: 3px solid var(--roa-gc-ink);
  border-radius: 8px;
  background: var(--roa-gc-paper);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .86);
}

.roa-highway-hero-stack {
  display: grid;
  gap: 16px;
}

.roa-highway-preview-card {
  min-height: 240px;
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(17, 17, 17, .92) 24.5% 75.5%, transparent 76%),
    linear-gradient(180deg, #7ed3ff 0%, #f8d77d 58%, #905328 100%);
}

.roa-highway-preview-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% -12%;
  height: 66%;
  background:
    linear-gradient(82deg, transparent 0 25%, rgba(19, 24, 31, .96) 25.4% 74.6%, transparent 75%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, .56) 58px 86px, transparent 86px 156px);
  border-top: 7px solid rgba(255, 255, 255, .70);
  transform: perspective(420px) rotateX(48deg);
  transform-origin: bottom;
}

.roa-highway-preview-card img {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(4px 5px 0 rgba(21, 16, 15, .45));
}

.roa-highway-preview-card .is-car {
  width: min(42%, 170px);
  left: 50%;
  bottom: 20%;
  transform: translateX(-50%) rotate(-2deg);
}

.roa-highway-preview-card .is-coin {
  width: 38px;
  left: 34%;
  top: 18%;
}

.roa-highway-preview-card .is-pizza {
  width: 54px;
  right: 23%;
  top: 24%;
  transform: rotate(10deg);
}

.roa-highway-preview-card .is-crate,
.roa-highway-preview-card .is-cone {
  width: 68px;
  right: 18%;
  bottom: 22%;
  transform: rotate(8deg);
}

.roa-highway-preview-card strong {
  position: relative;
  z-index: 3;
  display: inline-block;
  border: 3px solid var(--roa-gc-ink);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--roa-gc-red);
  color: #fff;
  box-shadow: 4px 5px 0 rgba(21, 16, 15, .60);
  text-transform: uppercase;
}

.roa-game-center-season-card {
  align-self: end;
  padding: 20px;
}

.roa-game-center-card {
  padding: 14px;
}

.roa-game-center-season-card span,
.roa-game-center-card span,
.roa-game-center-page .roa-kicker {
  display: block;
  color: var(--roa-gc-red);
  font-weight: 950;
  text-transform: uppercase;
}

.roa-game-center-season-card strong,
.roa-game-center-card strong {
  display: block;
  margin: 8px 0;
  color: var(--roa-gc-ink);
  font-family: var(--roa-typography-heading-font, Montserrat, Arial, sans-serif);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.roa-game-center-season-card p,
.roa-game-center-card p {
  margin: 0;
  color: var(--roa-gc-ink);
  font-weight: 820;
}

.roa-game-center-season-card small {
  display: block;
  margin-top: 10px;
  color: #475569;
  font-weight: 850;
}

.roa-game-center-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1480px;
  margin: 0 auto 18px;
}

.roa-game-center-feature-panel,
.roa-game-center-split,
.roa-game-center-briefing {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(340px, 1.06fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.roa-game-center-feature-panel > *,
.roa-game-center-split > *,
.roa-game-center-briefing > * {
  min-width: 0;
  max-width: 100%;
}

.roa-game-center-feature-panel h2,
.roa-game-center-briefing h2,
.roa-game-center-highlight h2,
.roa-game-center-footer-cta h2,
.roa-game-center-page .roa-section-head h2 {
  margin: 12px 0 14px;
  color: var(--roa-gc-paper-soft);
  font-family: "Comic Sans MS", var(--roa-font-heading, var(--font-heading, Montserrat, Arial, sans-serif));
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: .92;
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--roa-gc-ink);
  text-shadow: 0 4px 0 rgba(21, 16, 15, .74), 0 14px 24px rgba(21, 16, 15, .34);
}

.roa-game-center-feature-panel p,
.roa-game-center-briefing p,
.roa-game-center-highlight p,
.roa-game-center-footer-cta p,
.roa-game-center-page .roa-section-head p {
  color: var(--roa-gc-paper-soft);
  font-size: 1.05rem;
  font-weight: 820;
  line-height: 1.6;
  text-shadow: 0 2px 0 rgba(21, 16, 15, .54);
}

.roa-game-center-status-grid,
.roa-game-center-ranking-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.roa-game-center-status-grid article,
.roa-game-center-ranking-stats article {
  padding: 16px;
}

.roa-game-center-status-grid span,
.roa-game-center-ranking-stats span,
.roa-game-center-story-grid span {
  display: block;
  color: var(--roa-gc-red);
  font-weight: 950;
  text-transform: uppercase;
}

.roa-game-center-status-grid strong,
.roa-game-center-ranking-stats strong {
  display: block;
  margin: 6px 0;
  color: var(--roa-gc-ink);
  font-family: var(--roa-typography-heading-font, Montserrat, Arial, sans-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.roa-game-center-status-grid p,
.roa-game-center-ranking-stats p {
  margin: 0;
  color: var(--roa-gc-ink);
  font-weight: 820;
}

.roa-highway-page .roa-highway-play {
  scroll-margin-top: 92px;
  padding-block: 72px;
  background: transparent;
}

.roa-game-center-briefing {
  align-items: start;
  margin-bottom: 24px;
}

.roa-game-center-briefing .roa-highway-brief {
  max-width: none;
  margin: 0;
  grid-template-columns: 1fr;
}

.roa-game-center-briefing .roa-highway-brief .roa-game-center-card {
  min-height: 0;
}

.roa-game-center-list-card {
  padding: 16px;
}

.roa-game-center-list-card ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roa-game-center-list-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, .2);
  padding: 9px 0;
}

.roa-game-center-list-card span {
  min-width: 0;
  color: var(--roa-gc-ink);
  font-weight: 900;
}

.roa-game-center-list-card strong {
  color: var(--roa-gc-red);
}

.roa-game-center-story-grid,
.roa-game-center-rule-grid {
  display: grid;
  gap: 14px;
}

.roa-game-center-story-grid article,
.roa-game-center-rule-grid article {
  padding: 16px;
}

.roa-game-center-story-grid strong,
.roa-game-center-rule-grid h3 {
  display: block;
  margin: 8px 0;
  color: var(--roa-gc-ink);
  font-family: var(--roa-typography-heading-font, Montserrat, Arial, sans-serif);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.roa-game-center-story-grid p,
.roa-game-center-rule-grid li {
  color: var(--roa-gc-ink);
  font-weight: 820;
}

.roa-game-center-rule-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roa-game-center-rule-grid ul {
  margin: 0;
  padding-left: 20px;
}

.roa-game-center-rule-grid li {
  margin: 7px 0;
}

.roa-game-center-footer-cta {
  text-align: center;
}

.roa-game-center-footer-cta .roa-container {
  display: grid;
  justify-items: center;
}

.roa-game-center-nav {
  position: sticky;
  top: 64px;
  z-index: 30;
  border-block: 4px solid var(--roa-gc-ink);
  background: linear-gradient(180deg, rgba(255, 244, 214, .98), rgba(255, 249, 228, .94));
  box-shadow: 0 8px 0 rgba(21, 16, 15, .28);
}

.roa-game-center-nav .roa-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-block: 14px;
}

.roa-game-center-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--roa-gc-ink);
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--roa-gc-paper-soft);
  color: var(--roa-gc-ink);
  box-shadow: 4px 5px 0 var(--roa-gc-shadow);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.roa-game-center-nav a.is-active {
  background: var(--roa-gc-red);
  color: #fff;
}

.roa-game-center-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roa-game-center-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, .2);
  padding: 7px 0;
}

@media (max-width: 920px) {
  .roa-game-center-hero,
  .roa-game-center-card-grid,
  .roa-game-center-feature-panel,
  .roa-game-center-split,
  .roa-game-center-briefing,
  .roa-game-center-status-grid,
  .roa-game-center-ranking-stats,
  .roa-game-center-rule-grid {
    grid-template-columns: 1fr;
  }

  .roa-game-center-hero {
    min-height: 0;
    padding-top: 116px;
  }
}

@media (max-width: 640px) {
  .roa-highway-page .roa-game-center-hero {
    width: 100vw;
    max-width: 100vw;
    padding-inline: 24px;
  }

  .roa-highway-page .roa-game-center-hero-copy {
    width: min(calc(100vw - 48px), 342px);
    max-width: min(calc(100vw - 48px), 342px);
  }

  .roa-game-center-hero h1 {
    font-size: clamp(2.8rem, 18vw, 5rem);
  }

  .roa-highway-page .roa-game-center-hero h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 13vw, 3.35rem);
    text-shadow: 3px 3px 0 #fff, 5px 5px 0 rgba(239, 31, 45, .88);
    word-break: normal;
    overflow-wrap: normal;
  }

  .roa-game-center-subtitle {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .roa-highway-page .roa-game-center-hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .roa-highway-page .roa-game-center-actions {
    align-items: stretch;
  }

  .roa-highway-page .roa-game-center-actions a,
  .roa-highway-page .roa-highway-buttons button {
    min-width: min(100%, 260px);
  }

  .roa-game-center-page .roa-container {
    width: calc(100% - 28px);
  }

  .roa-game-center-nav .roa-container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .roa-game-center-page :is(.roa-game-center-actions a, .roa-highway-hero-actions a, .roa-hero-actions a, .roa-highway-buttons button) {
    transition: none;
  }
}
