:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #14181f;
  --muted: #687382;
  --line: #dde3ea;
  --fcl-brand: #08785f;
  --fcl-brand-dark: #064e40;
  --accent: #d9a52f;
  --accent-soft: #fff3d2;
  --danger: #b63a3a;
  --ok: #177d4f;
  --shadow: 0 14px 34px rgba(20, 24, 31, 0.1);
  --radius: 8px;
}

/* Custom HTML chrome - keep visible even when BO has its own header/footer CSS. */
.fcl-site-header,
.fcl-site-footer {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Hide BO/default header only - do not hide custom .fcl-site-header. */
#header,
#top,
#top-header,
#main-header,
#site-header,
#masthead,
#navbar,
.default-header,
.bo-header,
.app-header,
.header:not(.fcl-site-header),
.site-header:not(.fcl-site-header),
.main-header:not(.fcl-site-header),
.top-header:not(.fcl-site-header),
.navbar,
.gw-header-bg,
.LoginPageHeader,
.RegisterPageHeader {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Hide BO/default footer, language, marquee, news ticker and wallet widgets. */
#footer,
#changelanguage,
#marquee,
#ticker,
marquee,
.marquee,
.news-marquee,
.news-ticker,
.ticker,
.ticker-wrapper,
.announcement-bar,
.announcement,
.notice-bar,
.bottom-notice,
.main-notice,
.notice-popup,
.promo-footer,
.footer-wrapper,
.default-footer,
.bo-footer,
.app-footer,
.footer:not(.fcl-site-footer),
.site-footer:not(.fcl-site-footer),
.gw-footer-bg,
.gw-marquee-bg,
.gw-notice-bg,
.home-banner,
.home-balance,
.home-download,
.home-featured,
.home-game,
.home-jackpot,
.home-lucky,
.home-rebate,
.home-refer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Remove BO top/bottom blank spacing left by hidden chrome. */
html,
body,
#app,
#content,
.content,
.page,
.page-content,
.main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

#content {
  bottom: 0 !important;
}

.fcl-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 165, 47, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fafb 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.fcl-page .fcl-site-header,
.fcl-page .fcl-site-footer,
.fcl-page main,
.fcl-page section {
  display: block !important;
  visibility: visible !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 165, 47, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fafb 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--fcl-brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.fcl-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 19, 25, 0.96);
  border-bottom: 1px solid rgba(217, 165, 47, 0.22);
  box-shadow: 0 8px 26px rgba(20, 24, 31, 0.18);
  backdrop-filter: blur(12px);
}

.fcl-nav-wrap {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.fcl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.fcl-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #fff0b7);
  color: #151515;
  font-weight: 900;
}

/* Logo image in the header - height-capped so it never blows up the header */
.fcl-brand-logo {
  height: 88px;
  width: auto;
  max-height: 88px;
  display: block;
}

.fcl-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

.fcl-nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.fcl-nav-links a:hover {
  color: #fff;
}

.hero {
  background:
    linear-gradient(135deg, rgba(8, 78, 64, 0.96) 0%, rgba(20, 24, 31, 0.95) 52%, rgba(109, 78, 14, 0.96) 100%),
    url("https://xt30sf.b-cdn.net/media/45d063c44828649c5aaeb.png") center / cover;
  color: #fff;
  border-bottom: 1px solid rgba(217, 165, 47, 0.24);
}

.hero-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(217, 165, 47, 0.18);
  border: 1px solid rgba(217, 165, 47, 0.38);
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 60px);
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
}

h3 {
  font-size: 20px;
}

.hero p {
  max-width: 720px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fcl-page .fcl-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(180deg, #0c9275, var(--fcl-brand));
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(8, 120, 95, 0.22);
  text-decoration: none;
}

.fcl-page .fcl-btn:hover {
  background: var(--fcl-brand-dark);
  color: #fff;
  text-decoration: none;
}

.fcl-page .fcl-btn-accent {
  background: linear-gradient(180deg, #ffd36b, var(--accent));
  color: #171717;
  box-shadow: 0 8px 18px rgba(217, 165, 47, 0.28);
}

.fcl-page .fcl-btn-accent:hover {
  background: #d99a00;
  color: #171717;
}

.fcl-page .fcl-btn-light {
  background: #fff;
  color: var(--fcl-brand-dark);
  border-color: rgba(255, 255, 255, 0.7);
}

.fcl-page .fcl-btn-light:hover {
  background: #f3faf7;
  color: var(--fcl-brand-dark);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid rgba(217, 165, 47, 0.22);
  box-shadow: var(--shadow);
  padding: 18px;
}

.quick-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e9f7f2;
  color: var(--fcl-brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.tag.gold {
  background: var(--accent-soft);
  color: #7a5600;
}

.section {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-header p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card,
.fcl-brand-card,
.hero-panel,
.table-wrap {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.fcl-brand-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 165, 47, 0.42);
  box-shadow: 0 18px 42px rgba(20, 24, 31, 0.14);
}

.card-body {
  padding: 16px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.offer-banner-link {
  display: block;
  line-height: 0;
}

.offer-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(180deg, #fbfcfd, #eef2f5);
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease;
}

.offer-card:hover .offer-banner {
  transform: scale(1.03);
}

.offer-card .card-body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.offer-bonus {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.fcl-brand-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fcl-brand-banner-link {
  display: block;
  line-height: 0;
}

.fcl-brand-banner {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.fcl-brand-card:hover .fcl-brand-banner {
  transform: scale(1.04);
}

.fcl-brand-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  flex: 1;
}

.fcl-brand-body .fcl-btn {
  margin-top: auto;
}

.fcl-brand-card h3 {
  margin-bottom: 2px;
  font-size: 17px;
}

.fcl-brand-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.offer-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.offer-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.amount {
  min-width: 74px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: #6a4b00;
  font-weight: 900;
  text-align: center;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.meta-value {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #edf4f1;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.notice {
  padding: 15px;
  border-left: 4px solid var(--fcl-brand);
  border-radius: var(--radius);
  background: #edf8f4;
  color: var(--ink);
}

.warning {
  border-left-color: var(--danger);
  background: #fff1f1;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: steps;
  position: relative;
  padding: 16px 16px 16px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fcl-brand);
  color: #fff;
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 10px;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok);
  font-weight: 900;
}

.fcl-site-footer {
  margin-top: 28px;
  background: #17202a;
  color: #dbe2e8;
}

.footer-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.footer-inner a {
  color: #fff;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.fcl-site-footer .small {
  color: #b9c4cf;
}

@media (max-width: 860px) {
  .fcl-nav-wrap,
  .section-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-inner,
  .split,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

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

  .fcl-site-header {
    position: static;
  }

  .fcl-nav-wrap {
    min-height: auto;
    padding: 12px 0;
    gap: 12px;
  }

  .fcl-nav-links {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .fcl-nav-links a {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .fcl-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero-inner {
    padding: 28px 0 22px;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

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

  .section {
    width: min(100% - 22px, 1180px);
    padding: 30px 0;
  }

  .meta-list {
    grid-template-columns: 1fr;
  }

  .quick-list li,
  .offer-top {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .fcl-page .fcl-btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
  }

  .fcl-brand-logo {
    height: 72px;
    max-height: 72px;
  }

  .fcl-brand-card {
    min-height: 0;
  }

  .fcl-brand-body {
    padding: 10px;
    gap: 7px;
  }

  .fcl-brand-card h3 {
    font-size: 15px;
    line-height: 1.2;
  }

  .fcl-brand-card p {
    font-size: 12px;
  }

  .fcl-page .fcl-brand-card .fcl-btn {
    min-height: 38px;
    font-size: 13px;
  }
}

/* Floating brand icon (BGRICH) - fixed to the right, bobs up & down */
.fcl-float-icon {
  position: fixed;
  right: 14px;
  bottom: 92px;
  z-index: 60;
  width: 88px;
  height: 88px;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(20, 24, 31, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.85);
  animation: fcl-float 5.2s ease-in-out infinite;
}

.fcl-float-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fcl-float-icon:hover {
  animation-play-state: paused;
}

@keyframes fcl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes fcl-float-mobile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-42vh); }
}

@media (max-width: 560px) {
  .fcl-float-icon {
    width: 66px;
    height: 66px;
    right: 10px;
    bottom: 78px;
    animation: fcl-float-mobile 7.2s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fcl-float-icon { animation: none; }
}
