/* FFA4U Free Credit Landing – Premium Black Gold */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #24201b 0%, #050307 55%, #000000 100%);
  color: #f7f7ff;
  line-height: 1.6;
}

a {
  color: inherit;
}

/* Page wrapper */
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 12px 40px;
}

/* Header */
.header-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.logo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.logo {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.tagline {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.85rem;
  color: #f0e0b8;
}

/* Marquee (简单版) */
.marquee {
  margin: 6px 0 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 230, 150, 0.16), rgba(0, 0, 0, 0.9));
  border: 1px solid rgba(255, 220, 150, 0.6);
  font-size: 0.82rem;
  color: #ffefb8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 18px;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 220, 160, 0.35), transparent 60%),
    linear-gradient(145deg, rgba(12, 10, 16, 0.98), rgba(5, 4, 7, 0.98));
  border: 1px solid rgba(255, 225, 170, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #ffebac;
}

.hero-lead {
  font-size: 0.96rem;
  margin-bottom: 10px;
  color: #f7edd1;
}

.hero-list {
  font-size: 0.9rem;
  list-style: none;
}

.hero-list li + li {
  margin-top: 4px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.18s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #ffe6a4, #e8c97c);
  color: #120c06;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.85);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.95);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #e8c97c;
  background: rgba(0, 0, 0, 0.75);
  color: #f7e7c3;
}

.btn-outline:hover {
  background: #e8c97c;
  color: #100b05;
}

.btn-outline-light {
  border-color: #f0e2bf;
  background: transparent;
  color: #f8eac6;
}

.btn-outline-light:hover {
  background: rgba(255, 234, 176, 0.2);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
  border-radius: 999px;
  border: 1px solid #e8c97c;
  text-decoration: none;
  background: #0b0b0d;
  color: #f6e7c4;
}

.hero-note {
  font-size: 0.78rem;
  color: #f1ddae;
  margin-top: 4px;
}

/* Generic sections */
.section {
  background: rgba(8, 6, 11, 0.98);
  border-radius: 20px;
  padding: 16px 16px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(84, 72, 48, 0.9);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.85);
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #f7e0a0;
}

.section-desc {
  font-size: 0.9rem;
  color: #f3e5c0;
  margin-bottom: 10px;
}

/* Link buttons – 单列 */
.section-links .link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.link-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 26px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111015, #050308);
  border: 1px solid #544830;
  text-decoration: none;
  color: #f7f3e6;
  font-size: 0.93rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.link-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.link-row:hover::before {
  opacity: 1;
}

.link-row:hover {
  border-color: #e8c97c;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.95);
}

.link-icon img {
    width: 24px;   /* 你可以调大小 */
    height: 24px;
    object-fit: contain;
    display: block;
}


.link-text {
  font-weight: 600;
}

.link-arrow {
  text-align: right;
  font-size: 0.88rem;
}

/* CTA banner */
.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(90deg, #ffda7d, #e8b54d);
  color: #1b1006;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.9);
}

/* Live table */
.live-table {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #635632;
  background: #050406;
}

.live-header,
.live-row {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.4fr 1.5fr;
  font-size: 0.86rem;
}

.live-header {
  background: #25220f;
  color: #ffe6a0;
  font-weight: 600;
}

.live-header span,
.live-row span {
  padding: 6px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.live-row:nth-child(2n) {
  background: #111119;
}

.live-row:nth-child(2n + 1) {
  background: #08070c;
}

.live-row span:last-child,
.live-header span:last-child {
  border-right: none;
}

.live-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #f1ddae;
}

/* Promotions */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.promo-card {
  border-radius: 16px;
  background: #111015;
  border: 1px solid #574a2c;
  padding: 10px 11px 12px;
  font-size: 0.9rem;
}

.promo-card h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: #E9D18B;
;
}

.promo-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #C5A028 0%, #EFD572 50%, #D4AF37 100%);;
  color: #fff;
  margin-bottom: 4px;
}

/* Commission */
.section-commission .commission-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-commission h2 {
  margin-bottom: 4px;
}

/* Partnership / Lepak7 */
.partner-card {
  border-radius: 16px;
  background: #111015;
  border: 1px solid #544830;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Attention */
.section-attention .attention-list {
  list-style: none;
  font-size: 0.9rem;
  margin: 4px 0 8px;
}

/* Providers grid */
.providers-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.provider-card {
  background: #111015;
  border-radius: 14px;
  padding: 8px 6px 10px;
  border: 1px solid #4f452a;
  text-align: center;
  font-size: 0.82rem;
}

.provider-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 4px;
}

/* FAQ */
.section#faq details {
  border-radius: 14px;
  border: 1px solid #53462e;
  background: #09080d;
  padding: 8px 10px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.section#faq summary {
  cursor: pointer;
  font-weight: 600;
}

.section#faq p {
  margin-top: 6px;
  color: #f7e5c1;
}

.disclaimer {
  font-size: 0.8rem;
  color: #f2ddaa;
  margin-top: 6px;
}

/* Footer */
/* ===== FOOTER (Black-Gold Premium) ===== */

.footer {
  margin-top: 22px;
  padding: 28px 20px 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, #1a1712 0%, #0d0b0e 60%, #000000 100%);
  border: 1px solid rgba(255, 215, 140, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.footer-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 219, 152, 0.2);
}

.footer-brand {
  flex: 1.5;
  color: #f4e5c4;
  font-size: 0.88rem;
  padding-right: 12px;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 140, 0.5));
}

.footer-links {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-links h4 {
  color: #ffe7a6;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(255, 215, 140, 0.5);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #f2e4bf;
  font-size: 0.88rem;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #ffd78c;
  text-shadow: 0 0 4px rgba(255, 215, 140, 0.4);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 16px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #e5d6b0;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 215, 140, 0.2);
  background: rgba(255, 215, 140, 0.05);
  border-radius: 0 0 14px 14px;
}


/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .providers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 14px 12px 16px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .providers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Banner Slider Wrapper ---- */
.banner-slider {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin: 15px 0;
  aspect-ratio: 16 / 9;
  position: relative;
}

/* ---- Each slide ---- */
.slide {
  width: 100%;
  height: 100%;
}

/* ---- Slide image ---- */
.slide img {
  width: 100%;
  height: 100%;

  /* 🔥 图片保持比例，不拉伸 */
  object-fit: cover;
  object-position: center center;

  display: block;
}

/* Arrows */
.banner-slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  font-size: 24px;
  cursor: pointer;
  color: #ffe7a6;
  background: rgba(0,0,0,0.35);
  border-radius: 8px;
  user-select: none;
  transition: 0.2s;
}

.banner-slider .nav:hover {
  background: rgba(255,215,140,0.35);
}

.banner-slider .nav.prev {
  left: 8px;
}

.banner-slider .nav.next {
  right: 8px;
}

/* Dots */
.banner-slider .dots {
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.banner-slider .dot {
  height: 8px;
  width: 8px;
  margin: 0 4px;
  display: inline-block;
  background: rgba(255,215,140,0.4);
  border-radius: 50%;
  cursor: pointer;
}

.banner-slider .dot.active {
  background: #ffd78c;
}
