@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #111111;
  --bg-elevated: #161616;
  --bg-muted: #1b1b1b;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(241, 35, 169, 0.3);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --text-faint: rgba(255, 255, 255, 0.42);
  --accent: #f123a9;
  --accent-soft: rgba(241, 35, 169, 0.14);
  --accent-strong: #ff4db6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1650px, calc(100vw - 48px));
  --headline: "Poppins", "Segoe UI", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 45%, rgba(241, 35, 169, 0.18), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(241, 35, 169, 0.12), transparent 18%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.section-heading--split {
  justify-content: space-between;
  gap: 24px;
}

.section-heading__title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--headline);
  font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1;
}

.section-heading__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--bg-elevated);
  flex: none;
}

.section-heading__icon img {
  width: 24px;
  height: 24px;
}

.eyebrow,
.panel__eyebrow {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(241, 35, 169, 0.28);
}

.button--ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.button--muted {
  background: #111111;
  color: var(--text-faint);
  border-color: var(--border);
}

.site-shell {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 1001px;
  padding: 30px 0 72px;
  isolation: isolate;
}

.hero__backdrop,
.hero__overlay,
.hero__glow {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  background:
    linear-gradient(180deg, #111111 0%, rgba(17, 17, 17, 0.35) 38%, #111111 100%),
    url("../backgrounds/tiltfam-hero-backdrop.webp") center/cover no-repeat;
  z-index: -3;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.35) 38%, rgba(17, 17, 17, 0.82) 100%);
  z-index: -2;
}

.hero__glow {
  z-index: -1;
  pointer-events: none;
}

.hero__glow--left {
  background: radial-gradient(circle, rgba(241, 35, 169, 0.38), transparent 58%);
  width: 420px;
  height: 420px;
  left: -80px;
  bottom: 90px;
  inset: auto auto 90px -80px;
  filter: blur(12px);
}

.hero__glow--right {
  background: radial-gradient(circle, rgba(241, 35, 169, 0.24), transparent 58%);
  width: 540px;
  height: 540px;
  inset: 220px -40px auto auto;
  filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.nav__brand img {
  width: min(171px, 32vw);
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav__links a {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.92rem;
}

.nav__links a.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 180ms ease;
}

.nav__toggle span + span {
  margin-top: 5px;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  align-items: end;
  gap: 48px;
  margin-top: 120px;
}

.hero__copy h1 {
  margin: 14px 0 0;
  max-width: 10.5ch;
  font-family: var(--headline);
  font-size: clamp(3rem, 2rem + 2.7vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero__subtitle {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 120px;
}

.hero-card {
  position: relative;
  min-height: 457px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--story::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(100, 1, 105, 0.92));
}

.hero-card__story {
  position: absolute;
  inset: auto 24px 22px;
  z-index: 1;
  text-align: center;
}

.hero-card__story h3 {
  margin: 0;
  font-family: var(--headline);
  font-size: clamp(1.4rem, 1rem + 0.8vw, 2rem);
  text-transform: uppercase;
}

.hero-card__story p,
.hero-card__story span {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.hero-card__story span {
  display: inline-block;
  font-weight: 800;
  color: #ffe2f3;
}

.facts-grid,
.reward-grid,
.faq-grid {
  display: grid;
  gap: 24px;
}

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

.fact-card,
.reward-card,
.faq-card,
.panel,
.leaderboard-row,
.bonus-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.fact-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.fact-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(241, 35, 169, 0.15), transparent 65%);
}

.fact-card__badge {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 18px rgba(241, 35, 169, 0.7);
}

.fact-card strong {
  display: block;
  margin-top: 24px;
  font-family: var(--headline);
  font-size: clamp(1.8rem, 1.2rem + 1vw, 2.4rem);
}

.fact-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.bonus-strip {
  display: grid;
  grid-template-columns: 310px 630px repeat(3, 310px);
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.bonus-card {
  position: relative;
  min-height: 510px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bonus-card--feature {
  background:
    linear-gradient(180deg, rgba(241, 35, 169, 0.08), rgba(17, 17, 17, 0.96)),
    var(--bg-elevated);
}

.bonus-card__shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(241, 35, 169, 0.3) 48%, transparent 100%) top/100% 2px no-repeat,
    radial-gradient(circle at top, rgba(241, 35, 169, 0.2), transparent 42%);
  pointer-events: none;
}

.bonus-card__flag,
.bonus-card__live {
  position: absolute;
  top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111111;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.bonus-card__live {
  background: rgba(17, 17, 17, 0.85);
}

.bonus-card h3 {
  margin: 0;
  font-family: var(--headline);
  font-size: 1.6rem;
}

.bonus-card p {
  margin: 12px 0 24px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.reward-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 30px;
}

.reward-card__icon {
  width: 42px;
  height: 42px;
}

.reward-card h3 {
  margin: 0;
  font-family: var(--headline);
  font-size: 1.2rem;
}

.reward-card p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.reward-card strong {
  color: var(--accent);
  font-family: var(--headline);
  font-size: 1.45rem;
}

.streams-layout {
  display: grid;
  grid-template-columns: 380px minmax(320px, 810px) 380px;
  grid-template-rows: 216px 216px;
  gap: 24px;
}

.stream-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.stream-card--wide {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.stream-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stream-card__overlay {
  position: absolute;
  inset: 28px 28px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(16px);
}

.stream-card__profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stream-card__profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.stream-card__profile strong {
  display: block;
  font-size: 1rem;
}

.stream-card__profile span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stream-card__pill {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(17, 17, 17, 0.92);
  color: var(--accent);
  font-weight: 700;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.panel {
  padding: 30px;
}

.panel__header h3 {
  margin: 8px 0 0;
  font-family: var(--headline);
  font-size: 1.6rem;
}

.panel-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.panel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 20px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: #111111;
  border: 1px solid var(--border);
}

.panel-row strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--headline);
  font-size: 1.1rem;
}

.panel-row span {
  color: var(--text-muted);
}

.panel-row b {
  color: var(--accent);
  font-family: var(--headline);
  font-size: 1.35rem;
}

.progress {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: #1d1d1d;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.panel__cta {
  width: 100%;
  margin-top: 26px;
}

.leaderboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 22px 0 24px;
}

.leaderboard-periods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.leaderboard-period {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.leaderboard-period.is-active {
  border-color: rgba(241, 35, 169, 0.38);
  background: rgba(241, 35, 169, 0.14);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(241, 35, 169, 0.12);
}

.leaderboard-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.leaderboard {
  display: grid;
  gap: 12px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
}

.leaderboard-row--empty {
  grid-template-columns: 1fr;
}

.leaderboard-row--champion {
  background: var(--accent);
  border-color: var(--accent);
}

.leaderboard-row--podium {
  background: rgba(241, 35, 169, 0.32);
  border-color: var(--accent);
}

.leaderboard-row--podium-subtle {
  background: rgba(241, 35, 169, 0.08);
  border-color: var(--accent);
}

.leaderboard-row--champion b,
.leaderboard-row--champion .leaderboard-row__rank {
  color: #111111;
}

.leaderboard-row__rank {
  width: 56px;
  text-align: center;
  font-family: var(--headline);
  font-size: 2rem;
}

.leaderboard-row__meta strong {
  display: block;
  font-family: var(--headline);
  font-size: 1.2rem;
}

.leaderboard-row__meta span {
  color: var(--text-muted);
}

.leaderboard-row__meta em {
  display: block;
  margin-top: 6px;
  color: var(--text-faint);
  font-style: normal;
  font-size: 0.88rem;
}

.leaderboard-row b {
  font-family: var(--headline);
  font-size: 1.5rem;
  color: var(--accent);
}

.section--community {
  padding-top: 52px;
}

.community-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  align-items: center;
  gap: 48px;
  padding: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 14% 52%, rgba(241, 35, 169, 0.16), transparent 28%),
    radial-gradient(circle at 78% 34%, rgba(108, 102, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(20, 22, 48, 0.96), rgba(16, 17, 34, 0.98));
  border: 1px solid rgba(127, 119, 255, 0.18);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.community-panel::before,
.community-panel::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
}

.community-panel::before {
  background: rgba(241, 35, 169, 0.28);
  left: -140px;
  bottom: -180px;
}

.community-panel::after {
  background: rgba(108, 102, 255, 0.3);
  right: -120px;
  top: -140px;
}

.community-panel > * {
  position: relative;
  z-index: 1;
}

.community-panel__label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(127, 119, 255, 0.28);
  background: rgba(104, 98, 255, 0.08);
  color: #b9b7ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.community-panel__content h2 {
  margin: 22px 0 0;
  font-family: var(--headline);
  font-size: clamp(2.8rem, 2rem + 2.4vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 8ch;
}

.community-panel__content h2 span {
  display: block;
}

.community-panel__content p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.community-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.community-panel__tags li {
  position: relative;
  padding-left: 14px;
  color: var(--text-faint);
  font-size: 0.98rem;
}

.community-panel__tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e7cff, var(--accent));
  box-shadow: 0 0 12px rgba(241, 35, 169, 0.55);
}

.community-card {
  justify-self: end;
  width: min(100%, 392px);
  padding: 28px;
  border-radius: 28px;
  background: rgba(13, 14, 32, 0.78);
  border: 1px solid rgba(127, 119, 255, 0.18);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    0 0 60px rgba(108, 102, 255, 0.08);
  backdrop-filter: blur(18px);
}

.community-card__button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 18px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #596cff 0%, #7164ff 58%, var(--accent) 100%);
  color: var(--text);
  font-family: var(--headline);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(108, 102, 255, 0.28);
  cursor: pointer;
}

.community-card__button-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    rgba(255, 255, 255, 0.14)
    url("../icons/icon-discord.png")
    center / 16px 16px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.community-card__status {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.95rem;
}

.community-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45d483;
  box-shadow: 0 0 14px rgba(69, 212, 131, 0.72);
}

.footer__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__form input {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text);
  min-width: min(354px, 100%);
}

.footer__form input::placeholder {
  color: var(--text-faint);
}

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

.faq-card {
  overflow: hidden;
}

.faq-card__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 30px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-card__trigger span {
  font-family: var(--headline);
  font-size: 1.05rem;
}

.faq-card__trigger::after {
  content: "+";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #111111;
  color: var(--accent);
  flex: none;
  font-size: 1.5rem;
}

.faq-card__content {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  color: var(--text-muted);
  line-height: 1.7;
  transition:
    max-height 220ms ease,
    padding-bottom 220ms ease;
}

.faq-card.is-open .faq-card__trigger::after {
  content: "-";
}

.faq-card.is-open .faq-card__content {
  max-height: 220px;
  padding-bottom: 28px;
}

.footer {
  padding: 40px 0 28px;
}

.footer__surface {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.7fr 1.3fr;
  gap: 36px;
  padding: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.footer__brand img {
  width: 170px;
}

.footer__brand p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 360px;
  margin: 22px 0;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.footer__socials img {
  width: 24px;
  height: 24px;
}

.footer__links h3,
.footer__signup h3 {
  margin: 0 0 18px;
  color: var(--text-faint);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer__links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer__links a {
  font-weight: 700;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer__badges span {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.footer__legal {
  margin-top: 22px;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.7;
  font-size: 0.92rem;
}

@media (max-width: 1200px) {
  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .nav {
    grid-template-columns: auto auto auto;
  }

  .nav__toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .nav__cta {
    justify-self: end;
  }

  .nav__links {
    grid-column: 1 / -1;
    display: none;
    padding-top: 12px;
    justify-content: flex-start;
  }

  body[data-nav-open="true"] .nav__links {
    display: flex;
  }

  .hero__content,
  .panel-grid,
  .community-panel,
  .footer__surface {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero-grid,
  .facts-grid,
  .reward-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .streams-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .stream-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 340px;
  }

  .leaderboard-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --container: calc(100vw - 28px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 18px;
  }

  .nav {
    grid-template-columns: auto auto;
  }

  .nav__cta {
    display: none;
  }

  .hero__content {
    margin-top: 64px;
  }

  .hero-grid,
  .facts-grid,
  .reward-grid,
  .faq-grid,
  .streams-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin-top: 72px;
  }

  .hero-card,
  .hero-card img {
    min-height: 320px;
  }

  .bonus-strip {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 18px;
  }

  .reward-card,
  .leaderboard-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .stream-card--wide {
    min-height: 260px;
  }

  .stream-card__overlay {
    inset: auto 16px 16px;
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .community-panel,
  .footer__surface,
  .panel {
    padding: 28px 20px;
  }

  .community-card {
    width: 100%;
    justify-self: stretch;
  }
}
