html, body {
  background-color: #282828;
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background-image: var(--olmu-bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#olmu-app-open-splash {
  display: none;
}

html.olmu-opening-app #olmu-app-open-splash {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background-color: #282828;
  gap: 16px;
  color: #f7d6a3;
}

html.olmu-opening-app #olmu-app-open-splash img {
  height: 96px;
  width: auto;
}

.landing-page {
  background-color: rgba(0, 0, 0, 0.86);
  min-height: 100dvh;
  box-sizing: border-box;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.olmu-header {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  box-sizing: border-box;
  flex-shrink: 0;
  z-index: 10;
}

.olmu-header-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #24242480;
  border-radius: 12px;
  padding: 5px 10px;
  border: 1px solid #2c211c;
  box-sizing: border-box;
  height: 38px;
}

.olmu-header-logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.olmu-header-spacer {
  flex: 1;
}

.olmu-header-lang-wrap {
  width: 100px;
  position: relative;
}

.olmu-header-lang-trigger {
  cursor: pointer;
  min-width: 90px;
  justify-content: flex-start;
  width: 100%;
  color: inherit;
  font: inherit;
}

.olmu-header-lang-flag,
.olmu-header-lang-option-flag {
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

.olmu-header-lang-label,
.olmu-header-lang-option-label {
  color: #fff;
  font-weight: 400;
  font-size: 12px;
}

.olmu-header-lang-arrow {
  margin-left: auto;
  transition: transform 0.2s;
}

.olmu-header-lang-wrap.open .olmu-header-lang-arrow {
  transform: rotate(180deg);
}

.olmu-header-lang-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #242424f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0003;
  z-index: 10;
  overflow: hidden;
}

.olmu-header-lang-option {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
}

.olmu-header-lang-option-selected,
.olmu-header-lang-option:hover {
  background: #282828;
}

.landing-desktop-only {
  display: none !important;
}

.landing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.landing-intro-left {
  width: 100%;
  box-sizing: border-box;
}

.header-text {
  font-style: normal;
  font-weight: 590;
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(148.99deg, #ffe8c4 27.36%, #ffce83 98.12%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 8px 16px 0;
}

.supporting-text {
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: #fff;
  margin: 8px 16px 24px;
}

.reward-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.reward-card-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px 16px;
}

.reward-preview-frame {
  width: min(100%, 560px);
  aspect-ratio: 1200 / 630;
  flex-shrink: 0;
  line-height: 0;
}

.reward-preview-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  background: #1c1c1c;
}

.landing-split-column,
.landing-centered-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.landing-centered-column {
  gap: 28px;
}

.reward-steps-area {
  flex-shrink: 0;
  margin-top: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.reward-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.reward-step-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.reward-step-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
}

.reward-step-index,
.reward-step-title {
  font-weight: 590;
  font-size: 20px;
  line-height: 28px;
  background: linear-gradient(148.99deg, #ffe8c4 27.36%, #ffce83 98.12%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reward-step-title {
  margin-left: 0.35em;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

[hidden] {
  display: none !important;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.store-buttons:not(.store-buttons-ready) {
  visibility: hidden;
  min-height: 40px;
}

.store-buttons.store-buttons-dual {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.store-button-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.store-button-link-compact {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
}

.store-button-image,
.store-desktop-badge-image,
.store-button-image-compact {
  display: block;
  width: 100%;
  height: auto;
}

.store-desktop-columns {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  width: fit-content;
}

.store-desktop-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 120px;
}

.store-desktop-badge-link {
  display: block;
  width: 120px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.qr-code {
  display: block;
  border-radius: 8px;
  background: #fff;
}

.reward-qr-action {
  display: flex;
  justify-content: center;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  background: #f7d6a3;
  border-radius: 8px;
  text-decoration: none;
  color: #282828;
  font-weight: 510;
  font-size: 16px;
}

.reward-claim-button {
  aspect-ratio: 668 / 80;
  height: auto;
  min-height: 40px;
  font-weight: 590;
}

.reward-expired-messages {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
}

.reward-expired-icon {
  margin: 28px 0 20px;
}

.reward-expired-description {
  font-size: 14px;
  line-height: 22px;
  color: #bebebe;
  max-width: 360px;
  margin: 0;
}

.page-footer {
  border-top: 1px solid #f7d6a3;
  margin-top: auto;
  width: 100%;
}

.page-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 16px;
}

.footer-help-text,
.footer-legal-row {
  font-size: 12px;
  line-height: 18px;
  color: #bebebe;
  text-align: center;
  margin: 0;
}

.footer-contact-email,
.footer-legal-link {
  color: #f7d6a3;
  text-decoration: none;
}

.footer-legal-link {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .landing-page {
    padding-bottom: calc(220px + env(safe-area-inset-bottom, 0px));
  }

  .landing-page.landing-page-centered {
    padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
  }

  .landing-page:not(.landing-page-centered) .reward-steps-area {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    margin: 0;
    padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px));
    background: #000;
  }
}

@media (min-width: 1024px) {
  .landing-desktop-only {
    display: block !important;
  }

  .landing-mobile-only,
  .landing-narrow-only {
    display: none !important;
  }

  .landing-page .reward-steps-area {
    position: static;
    background: transparent;
  }

  .landing-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 560px;
    width: 100%;
    margin: 32px auto 0;
    padding: 56px 24px;
    box-sizing: border-box;
  }

  .landing-intro-left .header-text,
  .landing-intro-left .supporting-text,
  .header-text,
  .reward-step-heading {
    text-align: center;
    justify-content: center;
  }

  .reward-content,
  .reward-steps-area,
  .reward-steps {
    width: 100%;
  }

  .page-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 96px;
  }

  .footer-help-text {
    text-align: left;
  }
}
