:root {
  color-scheme: light;
  --ink: #18171f;
  --muted: #64616b;
  --soft: #f5f5f7;
  --paper: #ffffff;
  --line: #dedee5;
  --night: #111014;
  --night-line: #34303a;
  --gold: #f5b83d;
  --gold-dark: #d48b10;
  --blue: #376df4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(24px, calc((100% - 1120px) / 2));
  background: var(--night);
  color: white;
  border-bottom: 1px solid var(--night-line);
}

.brand,
.header-link,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.98rem;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.34));
}

.header-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
}

.header-link:hover {
  border-color: rgba(245, 184, 61, 0.7);
  color: white;
}

.hero {
  --hero-band-top: 0px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--soft) 0,
    var(--soft) var(--hero-band-top),
    #24202a var(--hero-band-top),
    #151219 100%
  );
  color: var(--ink);
}

.hero::before {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: min(520px, calc(100svh - 220px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 58px;
  padding: 54px 0 58px;
}

.copy {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  color: white;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 7rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.34rem;
  line-height: 1.48;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.button.primary {
  padding: 0 20px;
  border: 1px solid #ffd883;
  background: var(--gold);
  color: #15110a;
  box-shadow: 0 16px 30px rgba(245, 184, 61, 0.24);
}

.button.primary:hover {
  background: #ffc950;
}

.button.secondary {
  padding: 0 18px;
  border: 1px solid rgba(24, 23, 31, 0.16);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(24, 23, 31, 0.34);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero .button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.52);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero .trust-list li {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.product-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 430px;
  place-items: center;
}

.app-icon {
  width: 330px;
  height: 330px;
  border-radius: 8px;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.38));
}

.demo {
  padding: 66px 0 56px;
  background: var(--soft);
}

.demo-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.demo-title {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.demo-window {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(24, 25, 31, 0.2);
  background: linear-gradient(180deg, #2d3142 0%, #14151c 100%);
}

.demo-menubar {
  display: flex;
  height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px;
  background: rgba(28, 30, 38, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  user-select: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.demo-menu-left,
.demo-menu-right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.demo-menu-left {
  flex: 1 1 auto;
  gap: 18px;
}

.demo-menu-right {
  flex: 0 0 auto;
  gap: 1px;
}

.demo-menu-left span,
.demo-menu-left strong,
.demo-clock {
  white-space: nowrap;
}

.demo-apple {
  margin-top: -2px;
  font-size: 15px;
  line-height: 1;
}

.demo-status-item {
  display: flex;
  min-width: 22px;
  height: 21px;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font: inherit;
  line-height: 1;
}

.demo-slot-button {
  cursor: pointer;
}

.demo-slot-button:hover,
.demo-slot-button:focus-visible,
.demo-slot-button.is-pressed {
  background: rgba(128, 138, 160, 0.28);
  outline: none;
}

.demo-slot-reels {
  display: flex;
  color: currentColor;
  user-select: none;
}

.demo-reel-slot {
  position: relative;
  width: 24.67px;
  height: 18px;
  overflow: hidden;
}

.demo-reel-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-reel-glyph .f7-icons {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
}

.demo-system-icon {
  font-size: 14px;
  line-height: 1;
}

.demo-clock {
  display: flex;
  min-width: 0;
  height: 21px;
  align-items: center;
  justify-content: center;
  padding: 0 2px 0 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.demo-screen {
  position: relative;
  height: calc(100% - 25px);
}

.demo-status {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 22px;
  left: 0;
  margin: 0;
  color: #9aa0b2;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.demo-status.is-win {
  color: var(--gold);
}

.demo-coins {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.features {
  padding: 72px 0 82px;
  background: var(--soft);
}

.section-heading,
.feature-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 36px;
}

.section-heading .eyebrow {
  color: var(--gold-dark);
}

.section-heading h2,
.download-panel h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 232px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(24, 23, 31, 0.06);
}

.feature-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  background: #f4e5be;
  color: #704a00;
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-grid h3 {
  margin: 22px 0 12px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.download-panel {
  background: var(--night);
  color: white;
}

.download-inner {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 42px;
  padding: 64px 0 70px;
}

.download-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.checksum {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.55;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  word-break: break-all;
}

@media (max-width: 980px) {
  .hero {
    --hero-band-top: 0px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 44px;
  }

  .copy {
    max-width: 720px;
  }

  h1 {
    font-size: 5.6rem;
  }

  .product-stage {
    min-height: 300px;
  }

  .app-icon {
    width: 260px;
    height: 260px;
  }

  .section-heading,
  .download-inner {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .demo-menubar {
    gap: 14px;
  }

  .demo-menu-left {
    gap: 12px;
  }

  .demo-menu-left span:nth-of-type(n+5) {
    display: none;
  }

}

@media (max-width: 640px) {
  .site-header {
    min-height: 56px;
    padding: 10px 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .header-link {
    min-height: 34px;
  }

  .hero-inner,
  .demo-inner,
  .section-heading,
  .feature-grid,
  .download-inner {
    width: min(calc(100% - 32px), 520px);
  }

  .hero {
    --hero-band-top: 0;
  }

  .hero-inner {
    min-height: auto;
    gap: 22px;
    padding: 26px 0 30px;
  }

  h1 {
    font-size: 3.7rem;
    line-height: 0.94;
  }

  .lede {
    margin-top: 18px;
    font-size: 1.04rem;
    line-height: 1.48;
  }

  .actions {
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .button.secondary {
    display: none;
  }

  .trust-list {
    gap: 7px;
    margin-top: 16px;
  }

  .trust-list li {
    min-height: 30px;
    font-size: 0.8rem;
  }

  .product-stage {
    min-height: 130px;
    order: -1;
  }

  .app-icon {
    width: 128px;
    height: 128px;
  }

  .features {
    padding: 46px 0 52px;
  }

  .demo {
    padding: 46px 0 52px;
  }

  .demo-title {
    margin-bottom: 14px;
  }

  .demo-menubar {
    padding: 0 10px;
  }

  .demo-menu-left {
    gap: 10px;
  }

  .demo-menu-left span,
  .demo-system-icon {
    display: none;
  }

  .demo-menu-right {
    gap: 4px;
  }

  .demo-slot-button {
    min-width: 86px;
  }

  .demo-clock {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
  }

  .section-heading h2,
  .download-panel h2 {
    font-size: 2.15rem;
    line-height: 1.05;
  }

  .feature-grid {
    margin-top: 24px;
  }

  .feature-grid article {
    padding: 20px;
  }

  .download-inner {
    gap: 24px;
    padding: 46px 0 52px;
  }
}

@media (max-width: 640px) and (max-height: 700px) {
  .hero-inner {
    gap: 16px;
    padding: 20px 0 24px;
  }

  .product-stage {
    min-height: 104px;
  }

  .app-icon {
    width: 104px;
    height: 104px;
  }

  .lede {
    margin-top: 14px;
  }

  .trust-list {
    display: none;
  }

}
