:root {
  --navy: #0b2542;
  --navy-soft: #26425e;
  --teal: #078d88;
  --teal-dark: #08716f;
  --orange: #fb4f16;
  --orange-dark: #df3f0d;
  --green: #18a33a;
  --paper: #ffffff;
  --mist: #f5f8fa;
  --hero: #f2f8fc;
  --line: #d7e1e8;
  --muted: #51667b;
  --shadow: 0 10px 30px rgba(11, 37, 66, 0.06);
  --shell: 1180px;
  --radius: 8px;
}

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

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

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

body.nav-open {
  overflow: hidden;
}

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

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(7, 141, 136, 0.36);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

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

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 62px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

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

.primary-nav a {
  position: relative;
  padding: 20px 0 18px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--teal);
  content: "";
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="true"] {
  color: var(--teal-dark);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.header-download,
.download-button,
.mobile-download-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
}

.header-download {
  min-height: 40px;
  padding: 0 28px;
  background: var(--teal);
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(7, 141, 136, 0.16);
}

.header-download:hover {
  background: var(--teal-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  border-bottom: 1px solid #e5edf2;
  background: var(--hero);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(230px, 0.76fr) minmax(250px, 0.84fr);
  align-items: center;
  gap: 32px;
  min-height: 300px;
  padding-block: 24px;
}

.hero-copy h1 {
  max-width: 580px;
  margin-bottom: 8px;
  font-size: clamp(40px, 4.7vw, 52px);
  font-weight: 900;
}

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 14px;
  color: var(--navy-soft);
  font-size: 16px;
  line-height: 1.35;
}

.download-button {
  width: min(100%, 500px);
  min-height: 52px;
  gap: 16px;
  padding: 0 28px;
  background: var(--orange);
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(251, 79, 22, 0.17);
}

.download-button:hover {
  background: var(--orange-dark);
}

.download-button .bi {
  font-size: 28px;
}

.download-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.download-facts li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.download-facts .bi-android2 {
  color: var(--green);
  font-size: 18px;
}

.hero-logo-wrap {
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(100%, 218px);
  height: auto;
  border-radius: 24%;
  filter: drop-shadow(0 18px 18px rgba(107, 63, 8, 0.14));
}

.hero-features {
  padding-left: 12px;
}

.hero-features h2 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 900;
}

.hero-features > p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-features ul {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line);
  list-style: none;
}

.hero-features li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: var(--navy-soft);
  font-size: 15px;
}

.hero-features .bi {
  color: var(--navy);
  font-size: 19px;
}

.content-section {
  padding-top: 30px;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.section-title-row h2,
.guide-panel > h2,
.redeem-copy h2 {
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 900;
}

.section-title-row > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.section-title-row > a:hover {
  color: var(--orange-dark);
}

.section-title-row > a span {
  font-size: 20px;
  line-height: 1;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.games-section {
  padding-bottom: 16px;
}

.game-card {
  min-width: 0;
  margin: 0;
}

.game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.game-card figcaption {
  padding-top: 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.game-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--mist);
}

.game-note .bi {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 18px;
}

.game-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.game-note strong {
  color: var(--navy);
}

.promo-section {
  padding-top: 16px;
  padding-bottom: 16px;
}

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

.promo-card {
  min-height: 132px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.promo-icon {
  display: block;
  margin-bottom: 8px;
  color: #153b58;
  font-size: 28px;
  line-height: 1;
}

.promo-card h3 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.promo-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.promo-details {
  margin-top: 11px;
  border-top: 1px solid var(--line);
}

.promo-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  padding-top: 7px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.promo-details summary::after {
  flex: 0 0 auto;
  color: var(--navy);
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.promo-details[open] summary::after {
  content: "−";
}

.promo-detail-body,
.promo-rule-list {
  margin-top: 7px;
}

.promo-detail-body p + p {
  margin-top: 7px;
}

.promo-rule-list {
  margin-bottom: 0;
}

.promo-rule-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid #e9eef2;
  font-size: 11.5px;
}

.promo-rule-list dt {
  color: var(--muted);
}

.promo-rule-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.promo-details .detail-note {
  margin-top: 7px;
  font-size: 11.5px;
}

.guide-section {
  padding: 0 0 16px;
}

.guide-panel {
  padding: 18px 22px 20px;
  border: 1px solid #dcebea;
  border-radius: var(--radius);
  background: #eef8f8;
}

.guide-panel > h2 {
  margin-bottom: 15px;
  font-size: 30px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 0 24px;
  border-left: 1px solid #c9dddd;
}

.guide-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.guide-grid article:last-child {
  padding-right: 0;
}

.guide-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.guide-grid h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.guide-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.redeem-section {
  padding-bottom: 16px;
}

.redeem-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr);
  align-items: center;
  gap: 28px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.redeem-copy h2 {
  margin-bottom: 7px;
  font-size: 27px;
}

.redeem-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.34;
}

.redeem-tools {
  display: grid;
  gap: 9px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-slots span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.time-slots .active {
  border-color: #ffc0a7;
  background: #fff1ea;
  color: var(--orange-dark);
}

.redeem-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.redeem-steps li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.25;
}

.redeem-steps li > span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.faq-section {
  padding-bottom: 14px;
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.faq-grid summary {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 14px;
  color: var(--navy-soft);
  font-size: 12.5px;
  cursor: pointer;
  list-style: none;
}

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

.faq-grid summary::after {
  color: var(--navy);
  content: "+";
  font-size: 19px;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid details p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding-block: 10px 8px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 44px auto 1fr;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  border-radius: 9px;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand p {
  max-width: 240px;
  margin: 0 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 11px;
}

.footer-nav a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 6px 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom strong {
  margin-right: 6px;
  color: var(--navy);
}

.mobile-download-bar {
  display: none;
}

.error-document {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.error-header-inner {
  grid-template-columns: auto 1fr auto;
}

.error-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.error-nav a:hover {
  color: var(--teal-dark);
}

.error-page {
  display: grid;
  flex: 1;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--hero);
}

.error-shell {
  padding-block: clamp(64px, 12vh, 132px);
}

.error-panel {
  width: min(700px, 100%);
  margin-inline: auto;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.error-code {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: clamp(74px, 14vw, 132px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.error-panel h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 6vw, 58px);
}

.error-panel > p:not(.error-code) {
  max-width: 500px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}

.error-home {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.error-home:hover {
  background: var(--teal-dark);
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 20px;
  }

  .primary-nav a {
    font-size: 13px;
  }

  .header-download {
    padding-inline: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.7fr) minmax(220px, 0.85fr);
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .download-button {
    font-size: 19px;
  }

  .game-grid {
    gap: 10px;
  }

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

  .footer-main {
    grid-template-columns: minmax(250px, 1fr) auto;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 72px;
  }

  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 66px;
  }

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

  .menu-button {
    display: block;
    justify-self: end;
  }

  .header-download {
    display: none;
  }

  .error-header-inner {
    grid-template-columns: auto 1fr;
  }

  .error-nav {
    justify-content: flex-end;
    gap: 18px;
    font-size: 13px;
  }

  .primary-nav {
    position: fixed;
    z-index: 101;
    top: 66px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 16px 18px;
    transform: translateY(-120%);
    border-bottom: 1px solid var(--line);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 12px 28px rgba(11, 37, 66, 0.1);
    transition: 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid #edf1f4;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr);
    min-height: 0;
    padding-block: 34px;
  }

  .hero-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 20px 28px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
  }

  .hero-features h2,
  .hero-features > p {
    margin-bottom: 0;
  }

  .hero-features ul {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .guide-grid article,
  .guide-grid article:first-child,
  .guide-grid article:last-child {
    padding: 0;
    border: 0;
  }

  .redeem-panel {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 70px;
  }

  body.error-document {
    padding-bottom: 0;
  }

  .error-nav {
    display: none;
  }

  .error-header-inner {
    grid-template-columns: 1fr;
  }

  .error-shell {
    padding-block: 42px;
  }

  .error-panel {
    padding: 34px 22px;
  }

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

  .brand {
    font-size: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 30px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .download-button {
    min-height: 56px;
    font-size: 18px;
  }

  .download-facts {
    gap: 7px;
  }

  .download-facts li {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero-logo-wrap {
    order: -1;
  }

  .hero-logo {
    width: 154px;
  }

  .hero-features {
    display: block;
  }

  .hero-features h2 {
    font-size: 25px;
  }

  .hero-features > p {
    margin: 8px 0 14px;
  }

  .section-title-row {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .section-title-row h2,
  .guide-panel > h2 {
    font-size: 27px;
  }

  .section-title-row > a {
    display: none;
  }

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

  .game-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
  }

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

  .promo-card {
    min-height: 0;
  }

  .guide-panel {
    padding: 20px;
  }

  .redeem-panel {
    padding: 18px;
  }

  .time-slots {
    grid-template-columns: 1fr;
  }

  .redeem-steps {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand {
    grid-column: auto;
    grid-template-columns: 44px 1fr;
  }

  .footer-brand p {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    display: grid;
  }

  .mobile-download-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(11, 37, 66, 0.12);
  }

  .mobile-download-bar > span {
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-download-bar a {
    min-height: 42px;
    gap: 8px;
    padding: 0 16px;
    background: var(--orange);
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .mobile-download-bar > span {
    display: none;
  }

  .mobile-download-bar a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .mobile-download-bar,
  .download-button {
    display: none !important;
  }

  body {
    color: #000;
    padding: 0;
  }
}
