/* พื้นฐานทั้งหน้า: พื้นหลัง, ตัวอักษรสีทอง, การ์ด, ปุ่ม */

/* ---------- พื้นหลังทั้งหน้า ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (min-width: 1024px) { html { scroll-padding-top: 76px; } }
body { background-color: #140c0a; overflow-x: hidden; }
/* พื้นหลังทั้งหน้า: โทนไวน์เข้ม + ลายเส้นทองจาง (ไพ่/ชิป) เป็นเลเยอร์ fixed แยก ไม่ต้องวาดใหม่ตอนเลื่อน */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; will-change: transform;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%),
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(214,160,60,.20), transparent 70%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(128,22,34,.30), transparent 70%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(128,22,34,.24), transparent 70%),
    url(../../images/bg/pattern.svg) center top / 200px 200px repeat,
    linear-gradient(180deg, #1d110d 0%, #150c0a 50%, #1a0e0c 100%);
}

/* ---------- Text ---------- */
.text-gold {
  background: linear-gradient(180deg, #fff1c2 0%, #ffe08a 35%, #f5b301 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Card ---------- */
.card {
  border-radius: 4px;
  background: #16130f;
  border: 1px solid rgba(255, 255, 255, .07);
}
.lift { transition: transform .2s ease, border-color .2s ease; }
.lift:hover { transform: translateY(-3px); border-color: rgba(255, 224, 138, .4); }

/* ---------- Buttons ---------- */
.btn-gold { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #f7d27a 0%, #e9b23a 100%); color: #241500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(120,70,0,.3); transition: filter .15s ease; }
.btn-gold:hover { filter: brightness(1.07); }
/* แสงวิ่งเฉพาะตอน hover, ไม่วนตลอดเวลา (ลดภาระเครื่อง) */
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-130%); }
.btn-gold:hover::after { animation: shine .8s ease-out; }
@keyframes shine { to { transform: translateX(130%); } }
.btn-neon { border: 1px solid rgba(255,224,138,.45); color: #f1e4c8; background: transparent; transition: background .15s, border-color .15s; }
.btn-neon:hover { background: rgba(255,224,138,.08); border-color: rgba(255,224,138,.8); }
