:root {
  --bg: #0a0211;
  --surface: #160822;
  --surface-2: #261036;
  --text: #faf5ff;
  --muted: #c8b9d3;
  --gold: #d3aa52;
  --gold-2: #ffe6a3;
  --green: #bd55ff;
  --line: rgba(211, 170, 82, 0.28);
  --danger: #ff7b7b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 8%, rgba(157, 46, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 0% 34%, rgba(96, 25, 151, 0.2), transparent 30rem),
    var(--bg);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  color: #07100d;
  background: var(--gold-2);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 2, 17, 0.9);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { position: relative; display: inline-flex; min-width: 150px; min-height: 60px; align-items: center; text-decoration: none; white-space: nowrap; }
.brand::before { content: ""; display: block; width: 150px; height: 60px; background: url("dver789-logo.webp") left center / contain no-repeat; filter: drop-shadow(0 0 12px rgba(180, 64, 255, .35)); }
.brand > span { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a { padding: 9px 12px; color: var(--muted); text-decoration: none; border-radius: 12px; font-size: 0.94rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; gap: 9px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: transparent; cursor: pointer; }

.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: transparent; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.btn-primary { color: #102019; border-color: var(--gold); background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 10px 28px rgba(233, 191, 98, 0.18); }
.btn-secondary { border-color: rgba(184, 76, 255, .55); background: rgba(140, 36, 219, .13); }
.btn-large { min-height: 54px; padding-inline: 24px; }

.hero { padding: clamp(70px, 10vw, 140px) 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 86px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--gold-2); font-size: .86rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.35rem); letter-spacing: -.025em; }
h3 { font-size: 1.28rem; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

.media-placeholder { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--radius) + 10px); background: linear-gradient(145deg, rgba(211,170,82,.07), rgba(139,42,220,.15)), var(--surface); box-shadow: var(--shadow); }
.media-placeholder::before, .media-placeholder::after { content: ""; position: absolute; border: 1px solid rgba(233,191,98,.22); border-radius: 50%; }
.media-placeholder::before { width: 320px; height: 320px; }
.media-placeholder::after { width: 220px; height: 220px; }
.placeholder-label { position: relative; z-index: 1; padding: 14px 18px; border: 1px dashed rgba(246,241,229,.38); border-radius: 12px; color: var(--muted); background: rgba(7,16,13,.72); text-align: center; }
.media-wide { min-height: 280px; margin-top: 28px; }
.provided-media { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: var(--surface); box-shadow: var(--shadow); }
.provided-media img { display: block; width: 100%; height: auto; }
.provided-media-wide { margin-top: 28px; }
.provided-media-narrow { width: min(100%, 760px); margin: 28px auto 0; }
.account-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.account-layout .form-shell { width: 100%; }
.hero-art { isolation: isolate; }
.hero-art::before, .hero-art::after { display: none; }
.hero-art img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero-art::after { content: ""; display: block; position: absolute; inset: 0; z-index: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(90deg, rgba(10,2,17,.28), transparent 48%); }

.section { padding: 88px 0; }
.section-tight { padding: 44px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p, .muted { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(255,255,255,.025), transparent), var(--surface); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.card a { color: var(--gold-2); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.explore-image { display: block; width: calc(100% + 52px); height: 188px; margin: -26px -26px 22px; object-fit: cover; border-bottom: 1px solid var(--line); }
.explore-placeholder { display: grid; width: calc(100% + 52px); height: 188px; margin: -26px -26px 22px; place-items: center; border-bottom: 1px dashed var(--line); color: var(--muted); background: linear-gradient(145deg, rgba(211,170,82,.06), rgba(139,42,220,.12)), var(--surface-2); }
.explore-placeholder span { padding: 10px 14px; border: 1px dashed rgba(250,245,255,.32); border-radius: 10px; }
.number { display: inline-grid; width: 42px; height: 42px; margin-bottom: 18px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--gold-2); background: rgba(233,191,98,.07); font-weight: 900; }
.tag { display: inline-flex; padding: 5px 10px; border: 1px solid rgba(190,85,255,.38); border-radius: 99px; color: #e3b5ff; background: rgba(157,46,255,.11); font-size: .8rem; font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 90px); align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid rgba(233,191,98,.12); color: var(--muted); }
.feature-list li::before { content: "✦"; position: absolute; left: 5px; color: var(--gold); }

.breadcrumb { padding-top: 26px; color: var(--muted); font-size: .88rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(184,195,186,.55); }
.breadcrumb a { color: var(--gold-2); }

.page-hero { padding: 64px 0 46px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.35rem, 5.5vw, 4.8rem); }
.content { max-width: 820px; }
.content p, .content li { color: var(--muted); }
.content h2 { margin-top: 1.6em; }
.content h3 { margin-top: 1.5em; }
.notice { padding: 20px 22px; border-left: 3px solid var(--gold); border-radius: 0 16px 16px 0; color: var(--muted); background: rgba(233,191,98,.07); }

.form-shell { width: min(100%, 580px); margin-inline: auto; padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.field { margin-top: 22px; }
.field label { display: block; margin-bottom: 8px; font-weight: 800; }
.phone-field { display: grid; grid-template-columns: 94px 1fr; }
.country-code, .field input { min-height: 56px; border: 1px solid rgba(233,191,98,.26); color: var(--text); background: #09130f; }
.country-code { display: grid; place-items: center; border-radius: 14px 0 0 14px; border-right: 0; color: var(--muted); }
.field input { width: 100%; padding: 0 16px; border-radius: 0 14px 14px 0; outline: none; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233,191,98,.1); }
.form-shell .btn { width: 100%; margin-top: 18px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .85rem; }
.form-error { min-height: 24px; margin: 8px 0 0; color: var(--danger); font-size: .9rem; }

.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { color: var(--text); font-weight: 900; cursor: pointer; }
.faq p { color: var(--muted); }

.cta { padding: 34px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, rgba(211,170,82,.12), rgba(139,42,220,.16)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.cta p { margin: 0; color: var(--muted); }

.site-footer { margin-top: 80px; padding: 56px 0 24px; border-top: 1px solid var(--line); background: rgba(4,10,8,.55); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(233,191,98,.13); color: var(--muted); font-size: .82rem; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #12051d; box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .nav-actions .btn-secondary { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .media-placeholder { min-height: 360px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .brand { min-width: 116px; min-height: 48px; }
  .brand::before { width: 116px; height: 48px; }
  .nav-actions .btn { min-height: 42px; padding: 9px 12px; font-size: .88rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .section { padding: 64px 0; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
