:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  display: flex;
  place-items: flex-start;
  justify-content: center;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

#app {
  width: 100%;
  text-align: center;
}

#landing-page {
  --max-width: 750px;
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #120305;
  cursor: pointer;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.full-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hero,
.games {
  width: 100%;
  line-height: 0;
}

/* ===== Top bar — match twpp target (750) ===== */
.top-bar {
  --bar-h: clamp(56px, calc(78 / 750 * 100vw), 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, calc(40 / 750 * 100%), 40px);
  width: 100%;
  height: var(--bar-h);
  /* target measured: left/right ~33px */
  padding: 0 calc(33 / 750 * 100%);
  background: #000;
}

.top-bar__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(15px, calc(28 / 750 * 100vw), 28px);
  line-height: 1.15;
  text-align: left;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.top-bar__text .num {
  display: inline-block;
  margin: 0 4px;
  font-style: italic;
  font-weight: 900;
  font-size: 1.35em;
  line-height: 1;
  vertical-align: -0.06em;
  background: linear-gradient(
    180deg,
    #fff9d8 0%,
    #ffe98a 28%,
    #f0c040 58%,
    #d49a18 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f0c040;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75));
}

.top-bar__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(118px, calc(176 / 750 * 100%), 176px);
  height: clamp(30px, calc(42 / 750 * 100vw), 42px);
  padding: 0 8px;
  border-radius: 10px;
  border: 1.5px solid #6a1a12;
  color: #5a2010;
  font-size: clamp(13px, calc(18 / 750 * 100vw), 18px);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fefad0 0%, #f0d878 42%, #d4a040 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(140, 90, 20, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.55);
}

/* ===== CTA ===== */
.cta {
  width: 100%;
  padding: 10px 18px 14px;
  background: #120305;
}

.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  min-height: clamp(44px, 12vw, 56px);
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffe14a;
  font-size: clamp(15px, 4.4vw, 22px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  background: linear-gradient(180deg, #ff5a5a 0%, #e2272f 40%, #b01018 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 200, 200, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.35);
}

.cta__tip {
  margin-top: 10px;
  font-size: clamp(12px, 3.5vw, 18px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
  color: #fff;
}

.cta__tip .num {
  display: inline-block;
  margin: 0 3px;
  font-weight: 900;
  background: linear-gradient(180deg, #fff9d8 0%, #f0c040 58%, #d49a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f0c040;
}

@media (min-width: 750px) {
  #landing-page {
    max-width: 750px;
    margin: 0 auto;
  }

  .top-bar {
    --bar-h: 78px;
    height: 78px;
    padding: 0 33px;
    gap: 40px;
  }

  .top-bar__text {
    font-size: 28px;
  }

  .top-bar__btn {
    width: 176px;
    height: 42px;
  }
}

@media (max-width: 750px) {
  #landing-page {
    max-width: 750px;
    margin: 0 auto;
  }
}
