:root {
  --primary: #cf5c0b;
  --primary-600: #b94d04;
  --primary-700: #963b00;
  --primary-soft: #fff0e2;
  --navy: #172852;
  --navy-2: #243d79;
  --blue: #315fcf;
  --cyan: #55c8ec;
  --yellow: #ffd454;
  --cream: #fff9f1;
  --cream-2: #fff1df;
  --surface: #ffffff;
  --text: #19264a;
  --muted: #65708a;
  --border: rgba(25, 38, 74, 0.11);
  --shadow-sm: 0 10px 24px rgba(31, 48, 95, 0.09);
  --shadow-md: 0 20px 48px rgba(31, 48, 95, 0.14);
  --shadow-orange: 0 16px 30px rgba(207, 92, 11, 0.26);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 212, 84, 0.18), transparent 24rem),
    radial-gradient(circle at 94% 20%, rgba(85, 200, 236, 0.16), transparent 28rem),
    linear-gradient(180deg, #fffaf3 0%, #fff7ec 42%, #ffffff 100%);
}

::selection {
  color: #fff;
  background: var(--primary);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

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

.section-title {
  max-width: 930px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-wrap: balance;
}

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

.section-text {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.78;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 9px 15px;
  border: 1px solid rgba(207, 92, 11, 0.15);
  border-radius: 999px;
  color: var(--primary-600);
  background: var(--primary-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(207, 92, 11, 0.11);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(25, 38, 74, 0.08);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 5px 24px rgba(31, 48, 95, 0.05);
  backdrop-filter: blur(18px) saturate(145%);
}

.header-wrap {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(25, 38, 74, 0.12);
  border-radius: 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 22px rgba(31, 48, 95, 0.1);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(207, 92, 11, 0.3);
  color: var(--primary);
  box-shadow: 0 12px 26px rgba(31, 48, 95, 0.14);
  transform: translateY(-1px);
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(49, 95, 207, 0.28);
  outline-offset: 3px;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 16px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 12px;
  color: #354263;
  font-size: 0.91rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 48, 95, 0.08);
  transform: translateY(-1px);
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 0;
  border-radius: 15px;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.main-nav a:focus-visible,
.footer-column a:focus-visible,
.post-link:focus-visible,
.faq-accordion summary:focus-visible {
  outline: 3px solid rgba(49, 95, 207, 0.35);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ee812c);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600), #dc701e);
  box-shadow: 0 19px 34px rgba(207, 92, 11, 0.32);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Game first section */
.first-game-section {
  padding: 42px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 8%, rgba(255, 212, 84, 0.28), transparent 22rem),
    radial-gradient(circle at 95% 25%, rgba(85, 200, 236, 0.19), transparent 25rem),
    linear-gradient(180deg, #fff2e3 0%, #fff9f2 100%);
}

.first-game-section::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  opacity: 0.32;
  background: repeating-linear-gradient(90deg, var(--primary) 0 35px, var(--yellow) 35px 70px, var(--blue) 70px 105px);
}

.first-game-section .section-title {
  max-width: 880px;
}

.game-shell {
  margin-top: 30px;
  padding: 11px;
  border: 1px solid rgba(23, 40, 82, 0.16);
  border-radius: 30px;
  background: linear-gradient(145deg, #294da1, #172852 60%, #0e1937);
  box-shadow: 0 30px 70px rgba(23, 40, 82, 0.25), 0 0 0 7px rgba(49, 95, 207, 0.08);
}

.game-frame-wrap {
  padding: 8px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
}

/* Keep integrated game proportional */
#moto-game-root {
  width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 16px !important;
}

/* Hero */
.hero {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  left: -210px;
  top: 40px;
  border-radius: 50%;
  background: rgba(255, 212, 84, 0.2);
}

.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -240px;
  bottom: -260px;
  border-radius: 50%;
  background: rgba(85, 200, 236, 0.17);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 58px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-wrap: balance;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-copy > p {
  max-width: 700px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.19rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 26px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #33415f;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 48, 95, 0.07);
  font-size: 0.88rem;
  font-weight: 800;
}

.pill::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
}

.hero-card {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(25, 38, 74, 0.1);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -14px 30px auto;
  height: 24px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--primary), var(--cyan));
  opacity: 0.55;
}

.hero-card .screen {
  position: relative;
  display: block;
  inset: auto;
  padding: 10px;
  overflow: hidden;
  border-radius: 23px;
  background: linear-gradient(145deg, #fff0dc, #ecf9ff);
}

.hero-card .screen::before {
  content: none;
}

.game-thumb {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.mini-card {
  padding: 15px;
  border: 1px solid rgba(25, 38, 74, 0.08);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
}

.mini-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
}

.mini-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

/* Features */
#features {
  background: linear-gradient(180deg, #fff9f1, #fff1df);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.feature-card {
  position: relative;
  min-height: 265px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(25, 38, 74, 0.09);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -52px;
  top: -52px;
  border-radius: 50%;
  background: rgba(207, 92, 11, 0.09);
}

.icon-badge {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--primary), #f18b37);
  box-shadow: 0 13px 25px rgba(207, 92, 11, 0.22);
  font-size: 1.75rem;
}

.feature-card h3 {
  margin: 19px 0 9px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

/* Featured cards */
#featured-posts {
  background: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(25, 38, 74, 0.1);
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.post-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-2);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.035);
}

.post-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--primary-600);
  background: var(--primary-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.post-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.post-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.post-link:hover {
  color: var(--primary);
}

/* How to play */
.how-section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 5% 20%, rgba(85, 200, 236, 0.22), transparent 28rem),
    radial-gradient(circle at 95% 100%, rgba(207, 92, 11, 0.25), transparent 30rem),
    linear-gradient(145deg, #16254e 0%, #213d7b 52%, #172852 100%);
}

.how-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 28px 28px;
}

.how-section .container {
  position: relative;
  z-index: 1;
}

.how-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.kicker-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.kicker-light::before {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
}

.how-title {
  color: #fff;
  margin-bottom: 14px;
}

.how-title span {
  color: #ffb065;
}

.how-intro {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.how-play-btn {
  flex: 0 0 auto;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

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

.how-card {
  position: relative;
  min-height: 280px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.085);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.how-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.13);
}

.how-number {
  position: absolute;
  right: 18px;
  top: 12px;
  color: rgba(255, 255, 255, 0.11);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 900;
}

.how-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #f39748);
  box-shadow: 0 13px 24px rgba(0, 0, 0, 0.2);
  font-size: 1.45rem;
  font-weight: 900;
}

.how-card h3 {
  position: relative;
  margin: 20px 0 10px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.3;
}

.how-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

/* FAQ */
.faq-section {
  padding: 92px 0;
  background: linear-gradient(180deg, #fff8ef, #fff);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 125px;
}

.faq-bike-mark {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  margin-top: 30px;
  border: 1px solid rgba(207, 92, 11, 0.15);
  border-radius: 31px;
  background: linear-gradient(145deg, #fff, var(--primary-soft));
  box-shadow: var(--shadow-sm);
  font-size: 3.15rem;
  transform: rotate(-4deg);
}

.faq-accordion {
  display: grid;
  gap: 13px;
}

.faq-accordion details {
  overflow: hidden;
  border: 1px solid rgba(25, 38, 74, 0.11);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(31, 48, 95, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion details[open] {
  border-color: rgba(207, 92, 11, 0.28);
  box-shadow: 0 15px 32px rgba(31, 48, 95, 0.1);
}

.faq-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 20px 58px 20px 22px;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: "+";
  position: absolute;
  right: 19px;
  top: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.faq-accordion details[open] summary::after {
  content: "−";
  color: #fff;
  background: var(--primary);
}

.faq-accordion details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.75;
}

/* CTA */
.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(130deg, var(--primary-600), var(--primary) 56%, #f18b37);
  box-shadow: 0 25px 55px rgba(207, 92, 11, 0.25);
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -120px;
  border: 38px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cta-box p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.cta-box .btn-secondary {
  flex: 0 0 auto;
  color: var(--primary-600);
  border: 0;
}

/* Footer - light four-column design */
.scroll-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 1000;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #f18b37);
  box-shadow: 0 12px 28px rgba(25, 38, 74, 0.28);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) rotate(-8deg);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-to-top::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.scroll-to-top span {
  position: relative;
  z-index: 1;
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  box-shadow: 0 16px 34px rgba(207, 92, 11, 0.38);
  transform: translateY(-3px) rotate(0);
}

.scroll-to-top:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(-8deg);
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(25, 38, 74, 0.08);
  color: #303b55;
  background: #f3efe6;
}

.footer-container {
  padding-top: clamp(52px, 6vw, 74px);
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.8fr) repeat(3, minmax(130px, 0.75fr));
  column-gap: clamp(32px, 5vw, 68px);
  row-gap: 38px;
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 56px);
}

.footer-about p {
  max-width: 430px;
  margin: 20px 0 0;
  color: #697083;
  line-height: 1.75;
}

.footer-brand {
  color: var(--primary-600);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin: 3px 0 15px;
  color: #17213b;
  font-size: 1.06rem;
  line-height: 1.2;
}

.footer-column a {
  position: relative;
  color: #697083;
  font-size: 0.96rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-copyright {
  padding-top: 28px;
  min-height: 58px;
  border-top: 1px solid rgba(25, 38, 74, 0.09);
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  color: #697083;
}

.footer-copyright a {
  color: var(--primary-600);
  font-weight: 800;
}

/* Legal and contact pages */
.simple-hero {
  position: relative;
  padding: 82px 0 70px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 212, 84, 0.22), transparent 21rem),
    radial-gradient(circle at 85% 30%, rgba(85, 200, 236, 0.18), transparent 24rem),
    linear-gradient(180deg, #fff1e2, #fff8ef);
}

.simple-hero h1 {
  max-width: 900px;
  margin: 0 auto 15px;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.simple-hero p {
  max-width: 730px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-section {
  padding: 72px 0 96px;
  background: #fff;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(25, 38, 74, 0.1);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.legal-card h2 {
  margin: 36px 0 10px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card a,
.contact-item a {
  color: var(--blue);
  font-weight: 800;
}

.post-feature-image {
  width: 100%;
  max-height: 480px;
  display: block;
  margin-bottom: 30px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  padding: 22px;
  border: 1px solid rgba(25, 38, 74, 0.09);
  border-radius: 20px;
  background: var(--cream);
}

.contact-item h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.contact-item p {
  margin: 0;
}

/* Tablet */
@media (max-width: 1100px) {
  .header-wrap {
    min-height: 78px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-wrap > .btn {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    max-height: 0;
    display: grid;
    justify-content: stretch;
    gap: 5px;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 50px rgba(31, 48, 95, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.2s ease, visibility 0.2s ease, transform 0.25s ease;
  }

  .site-header.is-menu-open .main-nav {
    max-height: 520px;
    padding: 12px;
    border-color: rgba(25, 38, 74, 0.1);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 38px;
  }

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

  .faq-layout {
    gap: 38px;
  }

  .footer-grid {
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(120px, 1fr));
    column-gap: 28px;
  }
}

/* Mobile and narrow tablet */
@media (max-width: 820px) {
  html {
    scroll-padding-top: 94px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section,
  .hero,
  .how-section,
  .faq-section {
    padding: 68px 0;
  }

  .header-wrap {
    min-height: 72px;
    padding: 9px 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .first-game-section {
    padding-top: 30px;
  }

  .game-shell {
    padding: 7px;
    border-radius: 22px;
  }

  .game-frame-wrap {
    padding: 5px;
    border-radius: 17px;
  }

  #moto-game-root {
    border-radius: 12px !important;
  }

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

  .hero-copy h1 {
    font-size: clamp(2.65rem, 11vw, 4.3rem);
  }

  .hero-card {
    max-width: 650px;
    margin: 0 auto;
  }

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

  .how-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-copy {
    position: static;
  }

  .faq-bike-mark {
    display: none;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 34px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .section,
  .hero,
  .how-section,
  .faq-section {
    padding: 56px 0;
  }

  .first-game-section {
    padding: 26px 0 52px;
  }

  .section-title {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .section-text {
    font-size: 0.98rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .feature-grid,
  .cards-grid,
  .how-grid,
  .contact-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .how-card {
    min-height: 0;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .faq-accordion summary {
    min-height: 66px;
    padding: 18px 54px 18px 18px;
    font-size: 0.95rem;
  }

  .faq-accordion details p {
    padding: 0 18px 19px;
  }

  .cta-box {
    padding: 27px 23px;
    border-radius: 24px;
  }

  .cta-box .btn {
    width: 100%;
  }

  .footer-container {
    padding-top: 48px;
  }

  .footer-grid {
    gap: 29px;
  }

  .footer-about,
  .footer-column,
  .footer-column:last-child {
    grid-column: auto;
  }

  .simple-hero {
    padding: 60px 0 52px;
  }

  .legal-section {
    padding: 45px 0 68px;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
