:root {
  --fb88-black: #080808;
  --fb88-ink: #171717;
  --fb88-muted: #646464;
  --fb88-line: #e8e8e8;
  --fb88-red: #d80012;
  --fb88-red-dark: #9d000b;
  --fb88-gold: #ffd21f;
  --fb88-gold-deep: #f3a900;
  --fb88-soft: #fff8e6;
  --fb88-wrap: 1120px;
  --fb88-shadow: 0 18px 42px rgba(0, 0, 0, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fb88-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.fb88-topbar,
.fb88-nav,
.fb88-hero,
.fb88-section,
.fb88-app-band,
.fb88-footer {
  max-width: 100%;
  overflow-x: clip;
}

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

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

.fb88-wrap {
  width: min(var(--fb88-wrap), calc(100% - 48px));
  margin: 0 auto;
}

.fb88-topbar {
  background: #090909;
  color: #fff;
}

.fb88-topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fb88-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
}

.fb88-brand span {
  color: var(--fb88-gold);
}

.fb88-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff4b5, #ffbc13 48%, #c30012);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 0 0 2px rgba(255, 210, 31, .2);
}

.fb88-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fb88-pill {
  min-width: 116px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.fb88-pill-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #f02323, #b90010);
}

.fb88-nav {
  background: linear-gradient(180deg, #ef2024, var(--fb88-red));
  color: #fff;
  box-shadow: 0 4px 0 rgba(120, 0, 0, .18);
}

.fb88-nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.fb88-home-link,
.fb88-nav-link {
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
}

.fb88-home-link {
  width: 68px;
  color: var(--fb88-gold);
}

.fb88-nav-link.is-active::after,
.fb88-home-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 4px;
  background: var(--fb88-gold);
  border-radius: 4px 4px 0 0;
}

.fb88-hero {
  background:
    radial-gradient(circle at 68% 48%, rgba(214, 0, 18, .48), transparent 34%),
    radial-gradient(circle at 70% 64%, rgba(255, 210, 31, .24), transparent 30%),
    linear-gradient(90deg, #050505 0%, #0b0504 42%, #210200 100%);
  color: #fff;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #1a1a1a;
}

.fb88-hero-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 34px;
  align-items: center;
  padding: 50px 0 44px;
}

.fb88-hero-copy {
  max-width: 530px;
}

.fb88-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.fb88-hero h1 span {
  display: block;
  color: var(--fb88-gold);
}

.fb88-hero p {
  margin: 24px 0 30px;
  color: #f1f1f1;
  font-size: 17px;
  max-width: 500px;
}

.fb88-hero-ctas,
.fb88-section-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.fb88-btn {
  min-height: 50px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
}

.fb88-btn-yellow {
  background: linear-gradient(135deg, #ffe45a, #ffc400);
  color: #161000;
  box-shadow: 0 10px 26px rgba(255, 190, 0, .28);
}

.fb88-btn-dark {
  background: rgba(0, 0, 0, .42);
  border-color: var(--fb88-gold);
  color: #fff;
}

.fb88-btn-red {
  background: linear-gradient(135deg, #ef1d22, #b90010);
  color: #fff;
}

.fb88-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.fb88-hero-art {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.fb88-hero-art img {
  width: min(660px, 100%);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .42));
  -webkit-mask-image: radial-gradient(circle at 56% 50%, #000 0 64%, rgba(0, 0, 0, .9) 72%, transparent 88%);
  mask-image: radial-gradient(circle at 56% 50%, #000 0 64%, rgba(0, 0, 0, .9) 72%, transparent 88%);
}

.fb88-section {
  padding: 54px 0;
  background: #fff;
}

.fb88-section-compact {
  padding-top: 36px;
}

.fb88-section + .fb88-section {
  border-top: 1px solid #efefef;
}

.fb88-section-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.fb88-overview-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
  align-items: center;
}

.fb88-overview-copy h2,
.fb88-app-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 900;
}

.fb88-overview-copy p,
.fb88-app-copy p {
  margin: 0 0 24px;
  color: var(--fb88-muted);
  font-size: 16px;
}

.fb88-media-frame {
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--fb88-shadow);
}

.fb88-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fb88-feature-card {
  min-height: 198px;
  padding: 28px 20px 24px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .04);
}

.fb88-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  color: var(--fb88-red);
}

.fb88-feature-card h3,
.fb88-product-card h3,
.fb88-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.fb88-feature-card p,
.fb88-product-card p,
.fb88-step p,
.fb88-news-copy p {
  margin: 0;
  color: var(--fb88-muted);
  font-size: 14px;
}

.fb88-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fb88-product-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
}

.fb88-product-card img {
  width: 100%;
  aspect-ratio: 1.714 / 1;
  object-fit: cover;
}

.fb88-product-body {
  padding: 18px 18px 20px;
  position: relative;
  min-height: 140px;
}

.fb88-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fb88-red);
  color: #fff;
  display: grid;
  place-items: center;
}

.fb88-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.fb88-step {
  text-align: center;
  position: relative;
  padding: 4px 10px;
}

.fb88-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 53px;
  right: -18px;
  width: 36px;
  height: 1px;
  background: repeating-linear-gradient(90deg, #777 0 5px, transparent 5px 9px);
}

.fb88-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  right: -22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  transform: rotate(-45deg);
}

.fb88-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  background: var(--fb88-red);
  color: #fff;
  font-weight: 900;
}

.fb88-step-icon {
  width: 74px;
  height: 74px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  color: #111;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: #fff;
}

.fb88-app-band {
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 210, 31, .3), transparent 28%),
    linear-gradient(100deg, #050505, #210200 58%, #070707);
  color: #fff;
  overflow: hidden;
}

.fb88-app-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  min-height: 250px;
}

.fb88-app-copy h2 {
  color: var(--fb88-gold);
}

.fb88-app-copy p {
  color: #f0f0f0;
}

.fb88-app-visual {
  min-height: 250px;
  position: relative;
}

.fb88-app-visual::before,
.fb88-app-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 5px solid rgba(255, 210, 31, .65);
  transform: rotate(-12deg);
}

.fb88-app-visual::before {
  width: 280px;
  height: 92px;
  right: 8%;
  top: 74px;
}

.fb88-app-visual::after {
  width: 400px;
  height: 120px;
  right: -12%;
  top: 102px;
  border-color: rgba(216, 0, 18, .8);
}

.fb88-app-badge {
  position: absolute;
  right: 21%;
  top: 58px;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff2a8, #ffbd17 48%, #b45d00);
  color: #151000;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 22px 42px rgba(0, 0, 0, .45);
  z-index: 2;
}

.fb88-news-list {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}

.fb88-news-item {
  min-height: 116px;
  display: grid;
  grid-template-columns: 220px 1fr 110px 42px;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #ececec;
}

.fb88-news-item:last-child {
  border-bottom: 0;
}

.fb88-news-item img {
  width: 220px;
  aspect-ratio: 2.13 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.fb88-news-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.fb88-news-date {
  color: #777;
  font-size: 14px;
  text-align: right;
}

.fb88-news-more {
  width: 34px;
  height: 34px;
  color: #111;
  display: grid;
  place-items: center;
}

.fb88-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fb88-faq-item {
  min-height: 52px;
  border: 1px solid #e4e4e4;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  background: #fff;
}

.fb88-plus {
  font-size: 22px;
  line-height: 1;
}

.fb88-footer {
  background: #070707;
  color: #fff;
  padding: 38px 0 16px;
}

.fb88-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr .8fr 1fr;
  gap: 42px;
}

.fb88-footer .fb88-brand {
  font-size: 38px;
  margin-bottom: 16px;
}

.fb88-footer p,
.fb88-footer a,
.fb88-footer li {
  color: #d8d8d8;
  font-size: 14px;
}

.fb88-footer h3 {
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
}

.fb88-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fb88-footer li + li {
  margin-top: 8px;
}

.fb88-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.fb88-social span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.fb88-copy {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  color: #d0d0d0;
  font-size: 13px;
}

.fb88-article-hero {
  background: linear-gradient(100deg, #050505, #270300 58%, #090909);
  color: #fff;
  padding: 62px 0;
}

.fb88-article-hero h1 {
  margin: 0 auto 14px;
  max-width: 900px;
  text-align: center;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.12;
  font-weight: 900;
}

.fb88-article-meta {
  text-align: center;
  color: #f7d76a;
  font-size: 15px;
}

.fb88-article-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 60px;
}

.fb88-article-cover {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--fb88-shadow);
}

.fb88-article-body {
  color: #333;
  font-size: 17px;
}

.fb88-article-body h2 {
  margin: 34px 0 12px;
  color: #111;
  font-size: 28px;
  line-height: 1.25;
}

.fb88-article-body p {
  margin: 0 0 18px;
}

.fb88-article-body ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.fb88-article-nav {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #e5e5e5;
  display: grid;
  gap: 12px;
}

.fb88-pagination {
  margin-top: 26px;
  text-align: center;
}

.fb88-pagination a,
.fb88-pagination span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .fb88-wrap {
    width: min(var(--fb88-wrap), calc(100% - 32px));
  }

  .fb88-topbar-inner {
    min-height: 66px;
  }

  .fb88-brand {
    font-size: 32px;
  }

  .fb88-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fb88-nav-link {
    flex: 0 0 auto;
    padding: 0 14px;
    white-space: nowrap;
  }

  .fb88-hero-grid,
  .fb88-overview-grid,
  .fb88-app-grid {
    grid-template-columns: 1fr;
  }

  .fb88-hero {
    min-height: 0;
  }

  .fb88-hero-grid {
    padding: 40px 0 32px;
    gap: 20px;
  }

  .fb88-hero-art {
    justify-content: center;
  }

  .fb88-feature-grid,
  .fb88-product-grid,
  .fb88-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fb88-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .fb88-step::before,
  .fb88-step::after {
    display: none;
  }

  .fb88-news-item {
    grid-template-columns: 150px 1fr 80px 32px;
    gap: 16px;
    padding: 16px;
  }

  .fb88-news-item img {
    width: 150px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .fb88-wrap,
  .fb88-article-shell {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .fb88-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .fb88-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .fb88-pill {
    min-width: 0;
    width: 100%;
    padding: 0 10px;
  }

  .fb88-nav-inner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0;
    padding: 0 12px;
  }

  .fb88-hero h1 {
    font-size: 28px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .fb88-hero p {
    font-size: 15px;
  }

  .fb88-btn {
    width: 100%;
  }

  .fb88-section {
    padding: 38px 0;
  }

  .fb88-section-title {
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .fb88-overview-copy p,
  .fb88-app-copy p,
  .fb88-article-body,
  .fb88-news-copy h3,
  .fb88-feature-card p,
  .fb88-product-card p {
    overflow-wrap: anywhere;
  }

  .fb88-hero-copy,
  .fb88-overview-copy,
  .fb88-media-frame,
  .fb88-feature-card,
  .fb88-product-card,
  .fb88-news-list,
  .fb88-faq-item {
    max-width: 100%;
  }

  .fb88-feature-grid,
  .fb88-product-grid,
  .fb88-footer-grid,
  .fb88-faq-grid,
  .fb88-steps {
    grid-template-columns: 1fr;
  }

  .fb88-app-visual {
    min-height: 190px;
    overflow: hidden;
  }

  .fb88-app-badge {
    right: calc(50% - 78px);
  }

  .fb88-news-item {
    grid-template-columns: 108px 1fr 28px;
    gap: 12px;
  }

  .fb88-news-date {
    display: none;
  }

  .fb88-news-item img {
    width: 108px;
    border-radius: 6px;
  }

  .fb88-news-copy h3 {
    font-size: 15px;
  }

  .fb88-news-copy p {
    display: none;
  }
}
