/* Lepak7 Free Credit Landing Page – style.css */

/* 基本重置 */
*,
*::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, #39e1d3 0%, #0097b2 40%, #015f6e 100%);
  background-repeat: no-repeat;
  background-attachment: fixed; /* 固定背景，不重复 */
  background-size: cover;       /* 拉满整个视窗 */

  color: #031b25;
  line-height: 1.6;
}

/* 页面容器 */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
}

/* HERO 区域 */
.hero {
  margin-top: 0px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-inner {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-left {
  flex: 0 0 220px;
}

.hero-logo {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* 当你暂时没有横幅图，可以用纯色块填充： */
/*
.hero-logo {
  width: 100%;
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #b8f2ff 50%, #ffffff 100%);
}
*/

.hero-right {
  flex: 1;
}

.hero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 0.98rem;
  color: #e9feff;
  margin-bottom: 14px;
}

.text-highlight {
  font-weight: 600;
  color: #ffe179;
}

/* CTA 按钮 */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #ffe36b, #ffb347);
  color: #16313a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* hero badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.8rem;
  color: #e4fdff;
}

/* 快速锚点导航 */
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  justify-content: center;
}

.quick-nav a {
  font-size: 0.84rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #04232f;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-nav a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 通用 section */
.section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px 18px 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.section.alt {
  background: rgba(0, 0, 0, 0.18);
  color: #eefeff;
  border-color: rgba(255, 255, 255, 0.25);
}

.section h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.section.alt h2 {
  color: #ffe97b;
}

.section-lead {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* grid 布局 */
.grid {
  display: grid;
  gap: 12px;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.9rem;
}

.section.alt .card {
  background: rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 255, 255, 0.32);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #ffffff;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.step-number {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffe36b, #ffb347);
  color: #1c262d;
  font-weight: 700;
  margin-right: 8px;
  font-size: 0.85rem;
}

/* Note */
.note {
  margin-top: 12px;
  font-size: 0.86rem;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px dashed rgba(255, 255, 255, 0.7);
}

/* Game cards */
.card.game {
  font-size: 0.88rem;
}

/* Links section */
.link-group {
  margin-bottom: 14px;
}

.link-group h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.link-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.12);
  color: #e4fdff;
  text-decoration: none;
  font-size: 0.9rem;
}

.link-btn:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Partnership links */
.partnership-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FAQ */
.faq-list details {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "＋";
  float: right;
}

.faq-list details[open] summary::after {
  content: "－";
}

.faq-list p {
  margin-top: 6px;
  color: #e8fdff;
}

/* 小字 */
.small {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 6px;
}

/* Footer */
.footer {
  margin-top: 16px;
  padding: 16px 12px 10px;
  border-radius: 18px 18px 0 0;
  background: rgba(0, 0, 0, 0.45);
  color: #d8f8ff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: none;
}

.footer-top {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.footer-brand {
  flex: 1;
  font-size: 0.86rem;
}

.footer-logo-text {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #39e1d3, #00a4c9);
  color: #062730;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-cols {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.8rem;
}

.footer-cols h4 {
  font-size: 0.82rem;
  margin-bottom: 4px;
  color: #ffe97b;
}

.footer-cols ul {
  list-style: none;
}

.footer-cols li {
  margin-bottom: 3px;
}

.footer-cols a {
  color: #d8f8ff;
  text-decoration: none;
}

.footer-cols a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-badges {
  opacity: 0.9;
}

/* 响应式 */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-left {
    flex: none;
    width: 100%;
  }

  .hero-logo {
    max-width: 360px;
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .page {
    padding: 12px;
  }

  .hero {
    padding: 14px 14px 16px;
  }

  .hero h1 {
    font-size: 1.25rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 14px 12px 16px;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Slider wrapper */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 18px;
}

/* 滑动区域 */
.slides {
  display: flex;
  transition: transform 0.6s ease;
}

/* 每张 slide */
.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* 左右箭头 */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  border: none;
  color: white;
  font-size: 28px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 5;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.55);
}

.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

/* 底部指示点 */
.dots {
  text-align: center;
  margin-top: 8px;
}

.dot {
  height: 10px;
  width: 10px;
  background: rgba(255,255,255,0.5);
  display: inline-block;
  border-radius: 50%;
  margin: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #ffe36b;
}

/* Link button with icon */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;   /* 让文字居中 */
    gap: 10px;
    position: relative;        /* 允许 icon 定位 */
}

.link-btn:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* 左边图标定位 */
.link-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.95;

    position: absolute;
    left: 12px;                /* 左侧固定 12px */
    top: 50%;
    transform: translateY(-50%);
}

/* 让文字真正置中（不被 icon 挤开） */
.link-btn span {
    flex: 1;
    text-align: center;
}

.footer-logo-text {
    background: none !important; /* 移除原本渐变背景 */
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.footer-logo-img {
    height: 32px;   /* 你可以调整，例如 28px / 36px */
    width: auto;
    display: block;
}

.top-logo {
    width: 100%;
    text-align: center;
    padding: 8px 0;
}

.top-logo img {
    height: 50px;      /* 自行调整大小 */
    width: auto;
    object-fit: contain;
    display: inline-block;
}

/* Shake + Pause 动画（间隔震动）*/
@keyframes shake-interval {
  0% { transform: translate(0, 0); }
  5% { transform: translate(-1px, 1px); }
  10% { transform: translate(1px, -1px); }
  15% { transform: translate(-1px, -1px); }
  20% { transform: translate(0, 0); }
  100% { transform: translate(0, 0); } /* 其余时间都保持静止 */
}

/* 套用在按钮上 */
.btn-shake-interval {
  animation: shake-interval 2.5s ease-in-out infinite;
}