/* Shared header stays consistent while the original landing styles are enabled. */
body { font-family: "Basier Circle", "PingFang SC", "Microsoft YaHei", sans-serif; }
body.landing-page { height: auto; min-height: 100vh; }
body:not(.landing-page) { background: var(--page-background); color: var(--text-color); }
.site-header { background: #272321; color: #777; line-height: 1.25; }
.site-header a { text-decoration: none; }
.site-header .market-link { color: #777; font-weight: 500; }
.site-header .market-link:hover, .site-header .market-link[aria-current] { color: #fff; }
.site-header .brand-artwork { display: block; width: 100%; height: auto; }


#legacy-home { background: #18331f; color: #fff; }
#legacy-home .main-wrapper { padding-top: 0; }
#legacy-home .site-intro { width: min(calc(100% - 32px), 1100px); margin: 0 auto; padding: 18px 0; text-align: center; }
#legacy-home .site-intro h1 { margin: 0 0 10px; color: #fff2dc; font-size: clamp(22px, 3vw, 30px); line-height: 1.5; }
#legacy-home .product-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 14px; color: #e9c36b; font-size: 14px; line-height: 1.6; }
#legacy-home .product-index a:hover { text-decoration: underline; }
#legacy-home .site-intro p { margin: 0; color: #e2e8df; font-size: 15px; line-height: 1.8; }
#legacy-home .side { position: fixed; right: 0; top: 214px; z-index: 20; padding: 5px; border-radius: 12px 0 0 12px; background: #ffffffde; }
#legacy-home .side ul { margin: 0; }
#legacy-home .side img { width: 38px; height: 38px; }
/* The active banner sits in front of a smaller preview on either side. */
#legacy-home .banner-carousel { padding: clamp(14px, 2vw, 28px) 0 12px; overflow: hidden; background: #18331f; }
#legacy-home .banner-carousel__inner { width: min(100%, 1540px); margin-inline: auto; }
#legacy-home .banner-carousel__stage { position: relative; aspect-ratio: 64 / 17; isolation: isolate; touch-action: pan-y; }
#legacy-home .banner-carousel__slide { position: absolute; top: 50%; left: 50%; display: block; width: 76%; aspect-ratio: 64 / 21; overflow: hidden; border-radius: clamp(6px, 1.5vw, 14px); opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.72); transition: transform 500ms ease, opacity 500ms ease, filter 500ms ease; pointer-events: none; }
#legacy-home .banner-carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
#legacy-home .banner-carousel__slide.is-previous, #legacy-home .banner-carousel__slide.is-next { z-index: 1; opacity: .5; visibility: visible; filter: brightness(.75) blur(.6px); pointer-events: auto; }
#legacy-home .banner-carousel__slide.is-previous { transform: translate(-70%, -50%) scale(.86); }
#legacy-home .banner-carousel__slide.is-next { transform: translate(-30%, -50%) scale(.86); }
#legacy-home .banner-carousel__slide.is-active { z-index: 2; opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); filter: none; pointer-events: auto; box-shadow: 0 7px 20px #0006; }
#legacy-home .localized-title { width: auto; max-width: 100%; height: auto; margin: 0 auto 30px; padding-inline: 16px; font-family: inherit; font-size: clamp(21px, 3.5vw, 32px); font-weight: 800; line-height: 1.5; text-align: center; color: #fff2dc; background: none; -webkit-text-fill-color: currentColor; text-shadow: 1px 2px 0 #5a3524; }
#legacy-home [lang-tag="read_more_about"] { width: auto !important; height: auto !important; padding: 0 10px; color: #fff2dc; background: none !important; font-size: clamp(21px, 3.5vw, 32px); line-height: 1.5; }
#legacy-home .localized-feature { position: relative; min-height: 215px; padding: 24px 22px; border-radius: 24px; background: #ffffff24; box-shadow: inset 0 1px 0 #ffffff30; }
#legacy-home .localized-feature h3 { padding-right: 38px; margin: 0 0 22px; font-size: 24px; font-weight: 700; line-height: 1.4; }
#legacy-home .localized-feature__icon { position: absolute; top: 24px; right: 22px; font-size: 30px; }
#legacy-home .localized-feature ul { margin: 0; }
#legacy-home .localized-feature li { position: relative; margin-top: 10px; padding-left: 23px; font-size: 16px; line-height: 1.5; }
#legacy-home .localized-feature li::before { content: '✓'; position: absolute; left: 0; color: #8bea34; font-weight: 800; }
#legacy-home .game-showcase__copy { min-width: 0; }
#legacy-home .game-showcase__copy h2, #legacy-home .game-showcase__copy li { white-space: normal; line-height: 1.5; font-family: inherit; }
#legacy-home .localized-more { display: inline-block; padding: 6px 15px; border-radius: 6px; background: #087e47; color: #fff; font-size: 14px; font-weight: 600; }
#legacy-home .platform-earn__card-copy h3, #legacy-home .platform-earn__card-copy p { font-family: inherit; line-height: 1.6; }
#legacy-home .localized-feedback { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
#legacy-home .localized-feedback > * { margin: 0; padding: 20px; border-radius: 14px; color: #272737; background: #fff; box-shadow: 0 12px 20px #0003; }
#legacy-home .localized-rating { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
#legacy-home .localized-rating > strong { font-size: 38px; }
#legacy-home .localized-rating > strong span { font-size: 16px; color: #777; }
#legacy-home .localized-stars { display: block; color: #15975b; letter-spacing: 2px; }
#legacy-home .localized-feedback blockquote { line-height: 1.7; }
#legacy-home .localized-feedback p { margin: 12px 0 0; }
#legacy-home .localized-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 22px 12px; border: 1px solid #c3a765; border-radius: 16px; text-align: center; }
#legacy-home .localized-categories i { display: block; margin-bottom: 12px; font-size: 32px; font-style: normal; }
#legacy-home .read-games-item__copy { font-family: inherit; }
#legacy-home .read-games-item__copy h3, #legacy-home .read-games-item__copy p, #legacy-home .read-games-item__copy a { font-family: inherit; line-height: 1.6; }

@media (max-width: 640px) {
  #legacy-home .localized-feature { min-height: 210px; padding: 22px 18px; }
  #legacy-home .localized-feature h3 { margin-bottom: 18px; font-size: 20px; }
  #legacy-home .localized-feature li { font-size: 14px; }
  #legacy-home .localized-feedback { grid-template-columns: 1fr; }
  #legacy-home .localized-rating { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  #legacy-home .localized-categories { gap: 6px; font-size: 13px; }
  #legacy-home .platform-earn__cards { grid-template-columns: 1fr; }
  #legacy-home .platform-earn__card { min-height: 130px; }
  #legacy-home .read-games-item__copy { padding-right: 12px; }
  #legacy-home .side img { width: 28px; height: 28px; }
}
#legacy-home .game-showcase-carousel__track { align-items: flex-start; }
#legacy-home .game-showcase-carousel__slide a { position: relative; display: grid; gap: 16px; }
#legacy-home .game-showcase-carousel__slide .localized-showcase-title { position: static; margin: 0; color: #fff2dc; font: 800 clamp(20px, 3.5vw, 36px)/1.3 "PingFang SC", "Microsoft YaHei", sans-serif; text-shadow: 1px 2px 0 #5a3524; }
#legacy-home .game-showcase-carousel__artwork { position: relative; width: 100%; aspect-ratio: 414 / 384; overflow: hidden; }
/* Align the phones rather than the differently padded source canvases. */
#legacy-home .game-showcase-carousel__artwork img { position: absolute; top: 0; left: 50%; display: block; width: var(--artwork-width, 100%); max-width: none; height: auto; clip-path: none; transform: translate(-50%, var(--artwork-offset, -13.5135%)); }

@media (min-width: 961px) {
  #legacy-home .game-showcase-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 640px)); justify-content: center; align-items: start; gap: 56px 36px; padding-inline: 36px; }
  #legacy-home .game-showcase-panel > .game-showcase__feature { width: 100%; max-width: none; margin: 0; padding: 0; }
  #legacy-home .game-showcase__feature--fortune { grid-area: 1 / 1; }
  #legacy-home .game-showcase__feature--ycdz { grid-area: 1 / 2; }
  #legacy-home .game-showcase__feature--lucky { grid-area: 2 / 1; }
  #legacy-home .game-showcase__feature--mexico { grid-area: 2 / 2; }
  #legacy-home .game-showcase__feature-link { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; width: 100%; max-width: 600px; margin-right: auto; }
  #legacy-home .game-showcase__feature-img { width: 100%; max-width: none; height: clamp(260px, 24vw, 340px); margin: 0; object-fit: contain; object-position: center; }
  #legacy-home .game-showcase__feature--lucky .game-showcase__feature-img,
  #legacy-home .game-showcase__feature--mexico .game-showcase__feature-img { transform: translateX(clamp(-104px, -6.5vw, -32px)); }
  #legacy-home .game-showcase__copy { align-self: start; padding-top: clamp(24px, 2.2vw, 36px); }
  #legacy-home .game-showcase__copy h2 { font-size: clamp(24px, 2.2vw, 36px); }
  #legacy-home .game-showcase__copy li { font-size: 14px; }
  #legacy-home .game-showcase-panel > .game-showcase-carousel { grid-column: 1 / -1; margin-top: 0; }
}

/* Searchable platform introductions and quote guidance share the landing palette. */
#legacy-home .product-index a { color: inherit; }
#legacy-home .seo-services { width: min(calc(100% - 32px), 1100px); margin: 40px auto; overflow-wrap: anywhere; }
#legacy-home .seo-services h2 { margin: 32px 0 20px; color: #fff2dc; font-size: clamp(22px, 3vw, 30px); line-height: 1.5; }
#legacy-home .seo-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#legacy-home .seo-service-grid article, #legacy-home .seo-pricing-faq > div { min-width: 0; padding: 22px; border: 1px solid #e9c36b40; border-radius: 14px; background: #ffffff0c; }
#legacy-home .seo-services h3 { margin: 0 0 12px; color: #fff2dc; font-size: 20px; line-height: 1.5; }
#legacy-home .seo-services p, #legacy-home .seo-services dd { margin: 0 0 14px; color: #e2e8df; font-size: 15px; line-height: 1.85; }
#legacy-home .seo-services a { color: #e9c36b; text-decoration: underline; text-underline-offset: 3px; }
#legacy-home .seo-pricing-faq { display: grid; gap: 16px; margin: 0 0 20px; }
#legacy-home .seo-pricing-faq dt { margin: 0 0 10px; color: #fff2dc; font-size: 18px; font-weight: 600; line-height: 1.6; }
#legacy-home .seo-pricing-faq dd { margin-bottom: 0; }
@media (max-width: 800px) {
  #legacy-home .seo-service-grid { grid-template-columns: 1fr; }
  #legacy-home .seo-service-grid article, #legacy-home .seo-pricing-faq > div { padding: 18px; }
}
