html, body {
  background-color: #000;
  color: #fff;
  transition: background 0.6s ease, color 0.6s ease;
  scroll-behavior: smooth;
}

/* -------- Fade & Motion Animations -------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- Headings (Golden Glow) -------- */
h1, h2, h3 {
  color: #f5d26a;
  text-shadow: 0 0 10px rgba(245,210,106,0.25);
  position: relative;
}
h1::after, h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg,#f5d26a 0%,#caa84a 100%);
  transform: translateX(-50%);
  border-radius: 3px;
  opacity: .8;
}

/* -------- Buttons (Gold Light Flow) -------- */
.btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,#f5d26a 0%,#caa84a 100%);
  color: #000 !important;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 0 18px rgba(245,210,106,0.2);
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 50%,rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
}
.btn:hover::before {
  animation: shine 1.2s ease forwards;
}
@keyframes shine {
  from { left: -75%; }
  to { left: 125%; }
}
.btn:hover {
  box-shadow: 0 0 25px rgba(245,210,106,0.6);
  transform: translateY(-2px);
}

/* -------- Image Hover (Soft Float + Glow) -------- */
img {
  transition: transform .6s ease, box-shadow .6s ease;
}
img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(245,210,106,0.3);
}

/* -------- Section Glow Divider -------- */
section {
  position: relative;
}
section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 80px; height: 2px;
  background: linear-gradient(90deg,#f5d26a 0%,transparent 100%);
  transform: translateX(-50%);
  opacity: 0.4;
}

/* -------- CTA Section Special Pulse -------- */
section[style*="linear-gradient"] {
  animation: pulse-bg 6s infinite alternate;
}
@keyframes pulse-bg {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

/* -------- Links Hover (Gold Glow) -------- */
a:hover {
  color: #f5d26a !important;
  text-shadow: 0 0 6px rgba(245,210,106,0.6);
}

/* -------- FAQ Details Animation -------- */
details summary {
  cursor: pointer;
  transition: color 0.3s ease;
}
details[open] summary {
  color: #f5d26a;
  text-shadow: 0 0 8px rgba(245,210,106,0.5);
}

/* -------- Responsive Polishing -------- */
@media(max-width:768px){
  h1{font-size:34px;}
  h2{font-size:26px;}
  .btn{padding:12px 30px;font-size:15px;}
}
section::before {
  content:none !important;
}
h1::after, h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 3px;
  background: radial-gradient(circle, rgba(245,210,106,0.9) 0%, rgba(245,210,106,0) 70%);
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0.8;
}
/* ===== RYLAN 指定按钮样式（只作用于带 .ry-cta 的3个） ===== */
.ry-cta {
  display: inline-block;
  background: #000;
  color: #f5d26a;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 48px;
  border: 2px solid #f5d26a;
  border-radius: 60px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .8px;
  box-shadow: 0 0 15px rgba(245,210,106,.35);
  transition: all .35s ease-in-out;
  line-height: 1.2;
  text-align: center;
}

/* 悬停 */
.ry-cta:hover,
.ry-cta:focus-visible {
  background: #f5d26a;
  color: #000;
  box-shadow: 0 0 30px rgba(245,210,106,.6);
  transform: scale(1.05);
}

/* 手机端缩小 ~40% */
@media (max-width: 768px) {
  .ry-cta {
    font-size: 15px;
    padding: 10px 32px;
    border-width: 1.6px;
    border-radius: 45px;
    box-shadow: 0 0 10px rgba(245,210,106,.3);
  }
}

/* 保险：明确不影响导航和页脚（即使主题有全局按钮类）*/
header a, nav a, footer a:not(.ry-cta) {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}





