.app888-home {
  background: #070b18;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  overflow: hidden;
}

.app888-home * {
  box-sizing: border-box;
}

.app888-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.app888-hero {
  position: relative;
  padding: 78px 0 64px;
  background:
    radial-gradient(circle at 20% 20%, rgba(247,196,90,.24), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255,108,46,.18), transparent 26%),
    linear-gradient(145deg, #070b18 0%, #11172d 48%, #090d1d 100%);
}

.app888-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  opacity: .45;
}

.app888-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items: center;
}

.app888-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid rgba(247,196,90,.35);
  border-radius: 999px;
  color: #f7c45a;
  background: rgba(247,196,90,.08);
  font-size: 14px;
  letter-spacing: .5px;
  margin-bottom: 18px;
}

.app888-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  color: #fff;
}

.app888-hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.85;
}

.app888-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.app888-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: .2s ease;
}

.app888-btn-primary {
  color: #201200;
  background: linear-gradient(135deg, #ffe38a 0%, #f7c45a 42%, #ff982e 100%);
  box-shadow: 0 14px 32px rgba(247,196,90,.28);
}

.app888-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
}

.app888-btn:hover,
.app888-card-btn:hover,
.app888-chip-wrap a:hover {
  transform: translateY(-2px);
}

.app888-hero-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.app888-hero-points span {
  padding: 7px 11px;
  color: rgba(255,255,255,.78);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}

.app888-hero-card {
  min-height: 390px;
  border-radius: 32px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    radial-gradient(circle at 50% 0%, rgba(247,196,90,.26), transparent 55%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
}

.app888-hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,.7);
}

.app888-hero-card-top strong {
  color: #f7c45a;
}

.app888-feature-list {
  display: grid;
  gap: 16px;
  margin-top: 58px;
}

.app888-feature-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(8,12,28,.72);
  border: 1px solid rgba(255,255,255,.1);
}

.app888-feature-list b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #201200;
  background: linear-gradient(135deg, #ffe38a, #ff982e);
}

.app888-feature-list p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.app888-section {
  padding: 70px 0;
  background: #070b18;
}

.app888-section-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(247,196,90,.1), transparent 28%),
    linear-gradient(180deg, #0b1022 0%, #070b18 100%);
}

.app888-section-head {
  text-align: center;
  margin-bottom: 34px;
}

.app888-section-head span {
  color: #f7c45a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.app888-section-head h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.app888-section-head p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,.68);
  font-size: 16px;
  line-height: 1.8;
}

.app888-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.app888-app-card {
  overflow: hidden;
  border-radius: 24px;
  background: #11172d;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.app888-app-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #151a2e;
}

.app888-card-body {
  padding: 20px;
}

.app888-card-body h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}

.app888-card-body p {
  margin: 0;
  min-height: 58px;
  color: rgba(255,255,255,.66);
  line-height: 1.7;
  font-size: 15px;
}

.app888-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.app888-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #f7c45a;
  background: rgba(247,196,90,.09);
  border: 1px solid rgba(247,196,90,.18);
  font-size: 12px;
  font-weight: 700;
}

.app888-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  color: #201200;
  background: linear-gradient(135deg, #ffe38a, #f7c45a 45%, #ff982e);
  text-decoration: none;
  font-weight: 900;
  transition: .2s ease;
}

.app888-game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.app888-game-card {
  display: block;
  padding: 12px;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.1);
  transition: .2s ease;
}

.app888-game-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.1);
}

.app888-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  background: #151a2e;
  margin-bottom: 12px;
}

.app888-game-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.app888-game-card span {
  display: block;
  margin-top: 5px;
  color: #f7c45a;
  font-size: 13px;
}

.app888-quick {
  padding-top: 54px;
  padding-bottom: 54px;
}

.app888-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.app888-chip-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: #f7c45a;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(247,196,90,.08);
  border: 1px solid rgba(247,196,90,.26);
  font-weight: 800;
  transition: .2s ease;
}

.app888-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.1);
  background: #11172d;
}

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

.app888-table th,
.app888-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.app888-table th {
  color: #f7c45a;
  background: rgba(255,255,255,.045);
  font-size: 14px;
}

.app888-table td {
  color: rgba(255,255,255,.76);
  font-size: 15px;
}

.app888-table a {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: #201200;
  background: #f7c45a;
  text-decoration: none;
  font-weight: 900;
}

.app888-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.app888-benefit-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.1);
}

.app888-benefit-card b {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #201200;
  background: linear-gradient(135deg, #ffe38a, #ff982e);
}

.app888-benefit-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}

.app888-benefit-card p {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
}

.app888-faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.app888-faq-list details {
  border-radius: 18px;
  background: #11172d;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}

.app888-faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff;
  font-weight: 900;
  list-style: none;
}

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

.app888-faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
}

/* 平板 */
@media (max-width: 980px) {
  .app888-hero-grid {
    grid-template-columns: 1fr;
  }

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

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

  .app888-benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* 手機 */
@media (max-width: 640px) {
  .app888-container {
    width: min(100% - 24px, 1180px);
  }

  .app888-hero {
    padding: 46px 0 42px;
  }

  .app888-hero h1 {
    font-size: 38px;
  }

  .app888-hero-text {
    font-size: 16px;
  }

  .app888-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app888-btn {
    width: 100%;
  }

  .app888-hero-card {
    min-height: auto;
    border-radius: 24px;
    padding: 18px;
  }

  .app888-feature-list {
    margin-top: 26px;
  }

  .app888-section {
    padding: 48px 0;
  }

  .app888-card-grid {
    grid-template-columns: 1fr;
  }

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

  .app888-card-body p {
    min-height: auto;
  }

  .app888-section-head {
    text-align: left;
  }

  .app888-section-head p {
    margin-left: 0;
  }

  .app888-chip-wrap {
    justify-content: flex-start;
  }

  .app888-chip-wrap a {
    flex: 1 1 calc(50% - 12px);
    padding: 0 10px;
  }
}