/* ════════════════════════════════════════════════════════════
   tyz789.com · บ้านมังกร — หน้าเข้าเกม
   ธีม: ไฟ (ไฮโล · ส้มแดง)  ปะทะ  หยก (เสือมังกร · เขียว)
   คลาสทั้งหมดขึ้นต้น tz- · keyframes ขึ้นต้น tz-
   ════════════════════════════════════════════════════════════ */
:root {
  --fire1: #ff3b1c; --fire2: #ff8a1f; --fire3: #ffd34d; --fire-deep: #2a0503;
  --jade1: #0fbf55; --jade2: #8cff5a; --jade3: #e4ffb0; --jade-deep: #011c0d;
  --gold: #ffd34d; --gold2: #fff1a8;
  --holo: #6ff3ff; --holo2: #b28dff;
  --ink: #fff8ec; --muted: rgba(255, 248, 236, .7); --faint: rgba(255, 248, 236, .45);
  --glass: rgba(12, 10, 14, .52); --line: rgba(255, 255, 255, .12);
  --r: 22px;
  --ease: cubic-bezier(.22, .9, .25, 1);
  color-scheme: dark;
}
.is-fire { --c1: var(--fire1); --c2: var(--fire2); --c3: var(--fire3); --deep: var(--fire-deep); --glow: rgba(255, 90, 30, .55); }
.is-jade { --c1: var(--jade1); --c2: var(--jade2); --c3: var(--jade3); --deep: var(--jade-deep); --glow: rgba(60, 230, 110, .5); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: #0b0605; color: var(--ink);
  font-family: 'Kanit', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, sans-serif; font-weight: 400;
  line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
b { font-weight: 700; }
[hidden] { display: none !important; }
main, .tz-top, .tz-foot { position: relative; z-index: 2; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 12px; }

/* ─────────────── พื้นหลัง: 2 ฝั่งตัดทแยง ─────────────── */
.tz-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.tz-bg__half { position: absolute; inset: 0; overflow: hidden; }
.tz-bg__half--a {
  background: radial-gradient(120% 90% at 20% 30%, #c0280c 0%, #6e1004 42%, #250402 78%);
  clip-path: polygon(0 0, 57% 0, 43% 100%, 0 100%);
  animation: tz-seam-a 9s ease-in-out infinite alternate;
}
.tz-bg__half--b {
  background: radial-gradient(120% 90% at 80% 30%, #0c9a40 0%, #04501f 42%, #011a0b 78%);
  clip-path: polygon(57% 0, 100% 0, 100% 100%, 43% 100%);
  animation: tz-seam-b 9s ease-in-out infinite alternate;
}
@keyframes tz-seam-a { to { clip-path: polygon(0 0, 54% 0, 46% 100%, 0 100%); } }
@keyframes tz-seam-b { to { clip-path: polygon(54% 0, 100% 0, 100% 100%, 46% 100%); } }

.tz-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; mix-blend-mode: screen; }
.tz-bg__half--a .tz-blob { background: radial-gradient(circle, #ff7a1a, transparent 65%); }
.tz-bg__half--b .tz-blob { background: radial-gradient(circle, #5dff6a, transparent 65%); }
.tz-blob.b1 { width: 55vmax; height: 55vmax; left: -15vmax; top: -10vmax; animation: tz-drift1 16s ease-in-out infinite alternate; }
.tz-blob.b2 { width: 40vmax; height: 40vmax; left: 15vmax; bottom: -18vmax; opacity: .45; animation: tz-drift2 21s ease-in-out infinite alternate; }
.tz-blob.b3 { width: 26vmax; height: 26vmax; left: 30vmax; top: 18vh; opacity: .35; animation: tz-drift1 13s ease-in-out infinite alternate-reverse; }
.tz-bg__half--b .tz-blob.b1 { left: auto; right: -15vmax; }
.tz-bg__half--b .tz-blob.b2 { left: auto; right: 15vmax; }
.tz-bg__half--b .tz-blob.b3 { left: auto; right: 30vmax; }
.tz-bg__half--b .tz-blob { background: radial-gradient(circle, #33e86a, transparent 65%); }
@keyframes tz-drift1 { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
@keyframes tz-drift2 { to { transform: translate(-6vmax, -8vmax) scale(.9); } }

.tz-rays {
  position: absolute; width: 160vmax; height: 160vmax; left: 25%; top: 40%; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 140, .11) 0 6deg, transparent 6deg 18deg);
  mask: radial-gradient(circle, #000 0, transparent 55%); -webkit-mask: radial-gradient(circle, #000 0, transparent 55%);
  animation: tz-spin 80s linear infinite;
}
.tz-bg__half--b .tz-rays { left: 75%; background: repeating-conic-gradient(from 0deg, rgba(190, 255, 170, .1) 0 6deg, transparent 6deg 18deg); animation-direction: reverse; }
@keyframes tz-spin { to { rotate: 1turn; } }

/* พื้นกริดโฮโลแกรมด้านล่าง */
.tz-bg__grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 230, 170, .14) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 230, 170, .14) 0 1px, transparent 1px 64px);
  transform: perspective(420px) rotateX(62deg); transform-origin: 50% 100%;
  mask: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask: linear-gradient(to top, #000 10%, transparent 85%);
  animation: tz-floor 3.2s linear infinite;
}
@keyframes tz-floor { to { background-position: 0 64px, 0 64px; } }
.tz-bg__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.tz-bg__bolt { position: absolute; inset: 0; width: 100%; height: 100%; }
.tz-bg__bolt path { fill: none; stroke: #fff6c8; stroke-width: 2.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px #ffd34d) drop-shadow(0 0 16px #fff); opacity: 0; transition: opacity .35s; }
.tz-bg__bolt path:nth-child(2) { stroke-width: 1; stroke: #e9ffd2; filter: drop-shadow(0 0 8px #8cff5a); }
.tz-bg__bolt.is-on path { opacity: .95; transition: opacity .05s; }
.tz-bg__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, .55) 100%); }

/* ─────────────── แถบบน ─────────────── */
.tz-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1240px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 20px 10px;
}
.tz-brand { display: flex; align-items: center; gap: 10px; }
.tz-brand__mark {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #2a0f00;
  background: linear-gradient(135deg, var(--gold2), var(--gold) 45%, #e8a20c);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25) inset, 0 6px 24px rgba(255, 190, 40, .45);
}
.tz-brand__mark .tzi { width: 30px; height: 30px; }
.tz-brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.tz-brand__txt b { font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; background: linear-gradient(180deg, #fff, var(--gold) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tz-brand__txt small { font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.tz-top__live { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tz-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 99px;
  background: rgba(10, 8, 10, .5); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .88rem; white-space: nowrap;
}
.tz-pill b { font-weight: 700; font-variant-numeric: tabular-nums; }
.tz-pill .tzi { width: 16px; height: 16px; color: var(--gold); }
.tz-dot { width: 8px; height: 8px; border-radius: 50%; background: #3dff7a; box-shadow: 0 0 0 0 rgba(61, 255, 122, .7); animation: tz-ping 1.6s infinite; flex: none; }
@keyframes tz-ping { 70% { box-shadow: 0 0 0 9px rgba(61, 255, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 122, 0); } }

/* ─────────────── HERO: เวทีปะทะ ─────────────── */
.tz-arena {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 7vw, 120px); max-width: 1240px; margin: 0 auto; padding: 18px 20px 40px;
}
.tz-side { display: flex; flex-direction: column; align-items: center; text-align: center; animation: tz-rise .9s var(--ease) both; animation-delay: calc(var(--i) * .15s); }
@keyframes tz-rise { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.tz-side__head { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tz-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 99px; font-size: .84rem;
  background: color-mix(in srgb, var(--deep) 70%, transparent); border: 1px solid color-mix(in srgb, var(--c2) 45%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c1) 25%, transparent);
}
.tz-chip__ico { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; }
.tz-chip__ico .tzi { width: 16px; height: 16px; }

.tz-title { margin: 10px 0 0; font-size: clamp(3rem, 7.2vw, 5.4rem); line-height: 1.05; font-weight: 900; letter-spacing: -.01em; }
.tz-title span {
  background: linear-gradient(180deg, #fffdf0 0%, var(--c3) 38%, var(--gold) 55%, color-mix(in srgb, var(--c2) 60%, #b45a00) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 color-mix(in srgb, var(--deep) 80%, #000)) drop-shadow(0 0 22px var(--glow));
  background-size: 100% 220%; animation: tz-title-shine 4.5s ease-in-out infinite;
}
@keyframes tz-title-shine { 50% { background-position: 0 70%; } }
.tz-tagline { margin: 4px 0 18px; color: var(--muted); font-size: 1.02rem; }

/* แบนเนอร์ + เอียง 3 มิติ */
.tz-banner { position: relative; display: block; width: min(100%, 430px); perspective: 900px; -webkit-tap-highlight-color: transparent; }
.tz-banner__glow {
  position: absolute; inset: 6% 4% -2%; border-radius: 40px; filter: blur(42px); opacity: .85;
  background: conic-gradient(from 0deg, var(--c1), var(--c3), var(--c2), var(--gold), var(--c1));
  animation: tz-spin 7s linear infinite, tz-breathe 3.2s ease-in-out infinite;
}
@keyframes tz-breathe { 50% { opacity: .5; scale: .94; } }
.tz-banner__frame {
  position: relative; display: block; padding: 4px; border-radius: var(--r); overflow: hidden; isolation: isolate;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .4s; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  animation: tz-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -3s);
}
@keyframes tz-float { 50% { translate: 0 -10px; } }
.tz-banner__frame::before {
  content: ''; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 20%, var(--c3) 30%, var(--gold) 38%, transparent 48% 70%, var(--c2) 82%, transparent 92%);
  animation: tz-spin 4.5s linear infinite;
}
.tz-banner__frame::after { content: ''; position: absolute; inset: 4px; z-index: -1; border-radius: calc(var(--r) - 4px); background: var(--deep); }
.tz-banner img { border-radius: calc(var(--r) - 4px); width: 100%; aspect-ratio: 824 / 832; object-fit: cover; }
.tz-banner__sheen {
  position: absolute; inset: 4px; border-radius: calc(var(--r) - 4px); pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .75) 46%, rgba(255, 240, 200, .2) 52%, transparent 62%);
  background-size: 260% 100%; animation: tz-sheen 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * 2.1s);
}
@keyframes tz-sheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -40% 0; } }
.tz-banner__scan {
  position: absolute; left: 4px; right: 4px; height: 26%; top: -30%; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c3) 22%, transparent), transparent);
  animation: tz-scan 5.5s linear infinite;
}
@keyframes tz-scan { to { top: 110%; } }
.tz-banner__live {
  position: absolute; z-index: 3; top: -13px; left: 50%; translate: -50% 0; display: inline-flex; border: 2px solid rgba(255, 255, 255, .85); align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px;
  background: rgba(220, 20, 40, .92); font-size: .74rem; font-weight: 700; letter-spacing: .12em; box-shadow: 0 4px 14px rgba(220, 20, 40, .5);
}
.tz-banner__live .tz-dot { background: #fff; animation-name: tz-ping-w; }
@keyframes tz-ping-w { 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } }
.tz-banner__tap {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 14px; border-radius: 99px; font-size: .82rem; background: rgba(0, 0, 0, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .22); opacity: 0; transform: translateY(8px); transition: .35s var(--ease);
}
.tz-banner__tap .tzi { width: 18px; height: 18px; color: var(--c3); }
.tz-banner:hover .tz-banner__tap, .tz-banner:focus-visible .tz-banner__tap { opacity: 1; transform: none; }
.tz-banner:hover .tz-banner__frame { box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 50px var(--glow); }
@media (hover: none) { .tz-banner__tap { opacity: 1; transform: none; animation: tz-hint 2.6s ease-in-out infinite; } }
@keyframes tz-hint { 50% { translate: -50% -4px; } }

/* ปุ่มเข้าเกม — ขอบเรืองแสงหมุน + แสงวาบ + วงคลื่น */
.tz-cta { position: relative; display: block; width: min(100%, 430px); margin-top: 26px; border-radius: 99px; -webkit-tap-highlight-color: transparent; }
.tz-cta__ring { position: absolute; inset: -3px; border-radius: inherit; overflow: hidden; }
.tz-cta__ring::before {
  content: ''; position: absolute; inset: -150% -10%;
  background: conic-gradient(from 0deg, var(--gold2), var(--c2), var(--c1), var(--gold), var(--c3), var(--gold2));
  animation: tz-spin 2.8s linear infinite;
}
.tz-cta::before {
  content: ''; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; filter: blur(16px); opacity: .8;
  background: linear-gradient(90deg, var(--c1), var(--gold), var(--c2)); animation: tz-breathe 2.4s ease-in-out infinite;
}
.tz-cta::after { /* คลื่นเรียกความสนใจ */
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--c3); pointer-events: none;
  animation: tz-wave 2.4s ease-out infinite;
}
@keyframes tz-wave { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.45); } }
.tz-cta__body {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: inherit; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 45%), linear-gradient(100deg, color-mix(in srgb, var(--c1) 92%, #000), var(--c2));
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .2s var(--ease);
}
.tz-cta__body::after { /* แสงวาบกวาด */
  content: ''; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-22deg);
  animation: tz-swipe 3s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s);
}
@keyframes tz-swipe { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.tz-cta:hover .tz-cta__body { transform: translateY(-2px) scale(1.015); }
.tz-cta:active .tz-cta__body { transform: scale(.97); }
.tz-cta__ico {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(0, 0, 0, .24); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.tz-cta__ico .tzi { width: 32px; height: 32px; }
.tz-cta__txt { flex: 1; display: flex; flex-direction: column; text-align: left; line-height: 1.15; min-width: 0; }
.tz-cta__txt small { font-size: .8rem; opacity: .9; }
.tz-cta__txt b { font-size: clamp(1.25rem, 2.6vw, 1.55rem); font-weight: 800; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-cta__go {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(180deg, #fffdf0, var(--gold)); color: #3b1a00; box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.tz-cta__go .tzi { width: 26px; height: 26px; stroke-width: 2.6; animation: tz-nudge 1.4s ease-in-out infinite; }
@keyframes tz-nudge { 50% { transform: translateX(4px); } }

/* ข้อมูลเกม */
.tz-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; width: min(100%, 470px); }
.tz-facts li {
  flex: 1 1 96px; display: flex; flex-direction: column; align-items: center; padding: 10px 8px; border-radius: 16px; line-height: 1.15;
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 75%, transparent), rgba(0, 0, 0, .35)); border: 1px solid color-mix(in srgb, var(--c2) 35%, transparent);
}
.tz-facts small { font-size: .76rem; color: var(--muted); }
.tz-facts b { font-size: 1.45rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(255, 200, 60, .45); }
.tz-facts em { font-style: normal; font-size: .72rem; color: var(--faint); }
.tz-facts__line b { font-size: 1.05rem; color: #7dff9a; text-shadow: none; padding-top: 4px; }

/* ตรา VS */
.tz-vs { position: absolute; left: 50%; top: 330px; width: 120px; height: 120px; translate: -50% 0; display: grid; place-items: center; z-index: 3; }
.tz-vs__core {
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 35% 30%, #fffbe0, var(--gold) 45%, #b06a00); box-shadow: 0 0 0 4px rgba(0, 0, 0, .35), 0 0 40px rgba(255, 210, 80, .8), 0 0 90px rgba(255, 120, 40, .5);
  animation: tz-vs-beat 1.8s ease-in-out infinite;
}
.tz-vs__core b { font-size: 2.2rem; font-weight: 900; font-style: italic; color: #3a0d00; letter-spacing: -.04em; text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
@keyframes tz-vs-beat { 15% { scale: 1.12; } 30% { scale: .98; } 45% { scale: 1.06; } 60% { scale: 1; } }
.tz-vs__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255, 220, 120, .7); animation: tz-spin 9s linear infinite; }
.tz-vs__ring.r2 { inset: -14px; border: 2px solid transparent; border-top-color: var(--fire2); border-bottom-color: var(--jade2); animation-duration: 3s; animation-direction: reverse; }
.tz-vs__spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff6c0; box-shadow: 0 0 12px #ffd34d; animation: tz-orbit 2.4s linear infinite; }
.tz-vs__spark.s2 { animation-delay: -.8s; background: #ffb38a; }
.tz-vs__spark.s3 { animation-delay: -1.6s; background: #b7ff9a; }
@keyframes tz-orbit { from { transform: rotate(0) translateX(70px); } to { transform: rotate(1turn) translateX(70px); } }

/* ─────────────── จุดเด่น ─────────────── */
.tz-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1240px; margin: 0 auto; padding: 0 20px 50px; }
.tz-perk {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px;
  border-radius: 18px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.tz-perk__ico {
  grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #2a1200;
  background: linear-gradient(135deg, var(--gold2), var(--gold) 50%, #e39a0b); box-shadow: 0 6px 18px rgba(255, 190, 40, .3);
}
.tz-perk__ico .tzi { width: 28px; height: 28px; }
.tz-perk b { font-size: 1.02rem; }
.tz-perk small { color: var(--muted); font-size: .82rem; }

/* ─────────────── ท้ายหน้า + แถบปุ่มลอย ─────────────── */
.tz-foot { text-align: center; padding: 10px 20px 120px; color: var(--muted); font-size: .88rem; }
.tz-foot p { margin: 4px 0; }
.tz-foot__legal { color: var(--faint); font-size: .78rem; }

.tz-dock {
  position: fixed; z-index: 20; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: none; gap: 8px; padding: 8px;
  border-radius: 22px; background: rgba(12, 8, 8, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .45s var(--ease);
}
.tz-dock.is-show { transform: none; }
.tz-dock__btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 12px; border-radius: 16px; font-size: 1.08rem;
  position: relative; overflow: hidden; background: linear-gradient(100deg, var(--c1), var(--c2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .2);
}
.tz-dock__btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-22deg); animation: tz-swipe 3.4s ease-in-out infinite; }
.tz-dock__btn + .tz-dock__btn::after { animation-delay: 1.7s; }
.tz-dock__btn b { font-weight: 800; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.tz-dock__btn .tzi { width: 22px; height: 22px; }
.tz-dock__ico { display: grid; place-items: center; }

/* ─────────────── ไอคอนเคลื่อนไหว ─────────────── */
.tzi-dice__a { transform-box: fill-box; transform-origin: center; animation: tz-dice-a 2.6s var(--ease) infinite; }
.tzi-dice__b { transform-box: fill-box; transform-origin: center; animation: tz-dice-b 2.6s var(--ease) infinite; }
@keyframes tz-dice-a { 0%, 55% { transform: none; } 70% { transform: translateY(-3px) rotate(-90deg); } 85%, 100% { transform: rotate(-180deg); } }
@keyframes tz-dice-b { 0%, 60% { transform: none; } 75% { transform: translateY(-4px) rotate(90deg); } 90%, 100% { transform: rotate(180deg); } }
.tzi-cards__front { transform-box: fill-box; transform-origin: center; animation: tz-flip 3s ease-in-out infinite; }
.tzi-cards__back { transform-box: fill-box; transform-origin: 30% 90%; animation: tz-fan 3s ease-in-out infinite; }
@keyframes tz-flip { 0%, 50% { transform: none; } 65% { transform: scaleX(0); } 80%, 100% { transform: none; } }
@keyframes tz-fan { 50% { transform: rotate(-8deg); } }
.tzi-dragon__fire { animation: tz-flicker .8s steps(2) infinite; }
@keyframes tz-flicker { 50% { opacity: .2; } }
.tzi-dragon__body { stroke-dasharray: 60; animation: tz-draw 4s ease-in-out infinite; }
@keyframes tz-draw { 0% { stroke-dashoffset: 60; } 40%, 100% { stroke-dashoffset: 0; } }
.tzi-clock__hand, .tzi-c24__hand { transform-origin: 12px 12px; animation: tz-spin 4s linear infinite; }
.tzi-c24__dash { transform-origin: 12px 12px; animation: tz-spin 12s linear infinite reverse; }
.tzi-coin__top { animation: tz-coin 1.6s ease-in-out infinite; }
@keyframes tz-coin { 50% { transform: translateY(-2.2px); } }
.tzi-shield__ok { stroke-dasharray: 12; animation: tz-check 2.4s ease-in-out infinite; }
@keyframes tz-check { 0% { stroke-dashoffset: 12; } 40%, 100% { stroke-dashoffset: 0; } }
.tzi-chat__d { animation: tz-typing 1.2s ease-in-out infinite; }
.tzi-chat__d.d2 { animation-delay: .15s; } .tzi-chat__d.d3 { animation-delay: .3s; }
@keyframes tz-typing { 30% { transform: translateY(-1.8px); opacity: .5; } }
.tzi-tap__ring { transform-box: fill-box; transform-origin: center; animation: tz-tapring 1.6s ease-out infinite; }
@keyframes tz-tapring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.tzi-radar__sweep { transform-origin: 12px 12px; animation: tz-spin 2.4s linear infinite; }
.tzi-users__b { animation: tz-flicker 2s ease-in-out infinite; }
.tzi-eye__pupil { animation: tz-look 4s ease-in-out infinite; }
@keyframes tz-look { 25% { transform: translateX(-1.5px); } 50% { transform: translateX(1.5px); } 75% { transform: none; } }
.tzi-bolt__z { animation: tz-flash 2.2s ease-in-out infinite; }
@keyframes tz-flash { 0%, 80%, 100% { opacity: 1; } 85% { opacity: .2; } 90% { opacity: 1; } 95% { opacity: .4; } }
.tzi-chart__b { transform-box: fill-box; transform-origin: bottom; animation: tz-eq 1.6s ease-in-out infinite; }
.tzi-chart__b.b2 { animation-delay: -.5s; } .tzi-chart__b.b3 { animation-delay: -1s; }
@keyframes tz-eq { 50% { transform: scaleY(.55); } }
.tzi-target__m { transform-origin: 12px 12px; animation: tz-breathe 2s ease-in-out infinite; }
.tzi-pulse__l { stroke-dasharray: 40; animation: tz-ecg 2s linear infinite; }
@keyframes tz-ecg { from { stroke-dashoffset: 40; } to { stroke-dashoffset: -40; } }
.tz-ani-spin .tzi { animation: none; }
.tz-ani-bounce { animation: tz-bounce 2.2s ease-in-out infinite; }
@keyframes tz-bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.tz-ani-beat { animation: tz-vs-beat 2.4s ease-in-out infinite; }
.tz-ani-wave { animation: tz-tilt 3s ease-in-out infinite; }
@keyframes tz-tilt { 25% { rotate: -6deg; } 75% { rotate: 6deg; } }

/* ─────────────── จอเล็ก ─────────────── */
@media (max-width: 980px) {
  .tz-perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tz-bg__half--a { clip-path: polygon(0 0, 100% 0, 100% 46%, 0 54%); animation-name: tz-seam-am; }
  .tz-bg__half--b { clip-path: polygon(0 54%, 100% 46%, 100% 100%, 0 100%); animation-name: tz-seam-bm; }
  .tz-rays { left: 50%; top: 20%; }
  .tz-bg__half--b .tz-rays { left: 50%; top: 80%; }
  .tz-arena { grid-template-columns: 1fr; gap: 100px; padding-top: 10px; }
  .tz-vs { top: auto; bottom: auto; }
  .tz-dock { display: flex; }
  .tz-top { padding-left: 16px; padding-right: 16px; }
  .tz-arena, .tz-perks { padding-left: 16px; padding-right: 16px; }
}
@keyframes tz-seam-am { to { clip-path: polygon(0 0, 100% 0, 100% 52%, 0 48%); } }
@keyframes tz-seam-bm { to { clip-path: polygon(0 48%, 100% 52%, 100% 100%, 0 100%); } }
@media (max-width: 460px) {
  .tz-perks { grid-template-columns: 1fr; }
  .tz-brand__txt small { display: none; }
  .tz-cta__ico, .tz-cta__go { width: 46px; height: 46px; }
  .tz-title { font-size: 3.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tz-bg__fx, .tz-bg__bolt { display: none; }
}
