/* ===== KATAKK MUSIC FEST — หน้าแรกธีมการ์ตูนพระอาทิตย์ตก ขยับได้ (includes/katakk-home.php) ===== */
:root {
  --kt-navy: #22217a; --kt-navy2: #2f2fa8; --kt-red: #e3262f; --kt-red2: #b5121b; --kt-yellow: #ffd21f;
  --kt-pink: #ff8fc8; --kt-ink: #1d1b4b; --kt-paper: #fffdf8; --kt-muted: #5f5c80;
  --kt-shadow: 0 10px 30px rgba(43, 20, 90, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.kt { margin: 0; font-family: 'Kanit', 'Leelawadee UI', sans-serif; color: var(--kt-ink); background: #fbe3ef; }
.kt img { max-width: 100%; height: auto; }
.kt a { color: inherit; }
.kt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kt-ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kt-soc { width: 18px; height: 18px; flex: none; }

/* ---------- หัวเว็บ ---------- */
.kt-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.kt-header.is-scrolled, .kt-header:hover { background: rgba(255, 255, 255, .94); box-shadow: 0 4px 18px rgba(40, 20, 80, .14); backdrop-filter: blur(8px); }
.kt-header-in { max-width: 1280px; margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; gap: 18px; }
.kt-brand img { height: 56px; width: auto; display: block; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .2)); transition: transform .3s; }
.kt-brand:hover img { transform: rotate(-4deg) scale(1.05); }
.kt-nav { display: flex; gap: 4px; margin: 0 auto; }
.kt-nav a { position: relative; padding: 8px 12px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--kt-ink); border-radius: 8px; }
.kt-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--kt-yellow); transform: scaleX(0); transition: transform .25s; }
.kt-nav a:hover::after, .kt-nav a.is-active::after { transform: scaleX(1); }
.kt-nav-login { display: none; }
.kt-header-cta { display: flex; align-items: center; gap: 10px; }
.kt-login { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(--kt-ink); border-radius: 99px; font-size: 13px; font-weight: 500; text-decoration: none; background: #fff; }
.kt-cart { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1.5px solid var(--kt-ink); font-size: 18px; }
.kt-burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--kt-navy); padding: 10px; cursor: pointer; }
.kt-burger span { display: block; height: 3px; margin: 4px 0; border-radius: 3px; background: #fff; transition: .3s; }

/* ---------- ฮีโร่ ---------- */
.kt-hero { position: relative; min-height: 760px; padding: 96px 20px 120px; overflow: hidden; isolation: isolate; }
.kt-sky { position: absolute; inset: -40px 0 0; z-index: -5; background: var(--sky) center 40% / cover no-repeat; will-change: transform; }
.kt-sun { position: absolute; left: 50%; top: 58%; width: 160px; height: 160px; margin-left: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 245, 190, .95), rgba(255, 190, 60, .5) 40%, transparent 70%); animation: kt-glow 4s ease-in-out infinite; }
.kt-mountains { position: absolute; left: 50%; bottom: 70px; width: min(1400px, 130%); transform: translateX(-50%); z-index: -4; opacity: .95; pointer-events: none; }
.kt-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: -1; background: linear-gradient(transparent, #fbe3ef); }
.kt-cloud { position: absolute; z-index: -2; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(255, 120, 180, .25)); animation: kt-drift 28s ease-in-out infinite alternate; }
.kt-cloud-1 { width: 340px; left: -90px; top: 120px; }
.kt-cloud-2 { width: 260px; right: -70px; top: 300px; animation-duration: 34s; animation-delay: -6s; }
.kt-cloud-3 { width: 420px; left: -120px; bottom: 40px; animation-duration: 40s; }
.kt-cloud-4 { width: 380px; right: -110px; bottom: 30px; animation-duration: 36s; animation-delay: -10s; }
.kt-cloud-5 { width: 200px; left: 38%; top: 100px; opacity: .85; animation-duration: 45s; animation-delay: -20s; }
.kt-cloud-6 { width: 230px; right: 26%; bottom: 150px; opacity: .8; animation-duration: 38s; animation-delay: -14s; }
.kt-balloon { position: absolute; z-index: -2; pointer-events: none; animation: kt-float 7s ease-in-out infinite; }
.kt-balloon-1 { width: 74px; left: 9%; top: 110px; }
.kt-balloon-2 { width: 54px; left: 30%; top: 150px; animation-duration: 9s; animation-delay: -2s; filter: hue-rotate(80deg); }
.kt-balloon-3 { width: 66px; right: 6%; top: 230px; animation-duration: 8s; animation-delay: -4s; filter: hue-rotate(-60deg); }
.kt-birds { position: absolute; right: 18%; top: 90px; width: 120px; z-index: -2; fill: none; stroke: #4b2b55; stroke-width: 2.5; stroke-linecap: round; animation: kt-birds 16s linear infinite; }

.kt-hero-in { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr 1fr; align-items: center; gap: 10px; }
.kt-hero-left { position: relative; min-height: 560px; }
.kt-rooster-wrap { position: absolute; left: -6%; top: 0; width: 118%; transform-origin: 60% 90%; animation: kt-sway 3.2s ease-in-out infinite; z-index: 2; }
.kt-rooster { display: block; width: 100%; filter: drop-shadow(0 14px 18px rgba(60, 20, 60, .35)); }
.kt-notes { position: absolute; right: 2%; top: 22%; width: 80px; height: 140px; pointer-events: none; }
.kt-notes i { position: absolute; bottom: 0; left: 30%; font-style: normal; font-size: 30px; font-weight: 700; color: #fff; text-shadow: 0 2px 0 var(--kt-navy), 0 0 10px rgba(255, 80, 160, .7); opacity: 0; animation: kt-note 3.6s ease-out infinite; }
.kt-notes i:nth-child(2) { left: 70%; animation-delay: .9s; color: var(--kt-yellow); }
.kt-notes i:nth-child(3) { left: 10%; animation-delay: 1.8s; }
.kt-notes i:nth-child(4) { left: 55%; animation-delay: 2.7s; color: #ffb6e1; }
.kt-bridge { position: absolute; left: -4%; bottom: -10px; width: 100%; z-index: 1; filter: drop-shadow(0 10px 14px rgba(40, 20, 60, .3)); animation: kt-bob 6s ease-in-out infinite; }

.kt-hero-center { text-align: center; position: relative; z-index: 3; }
.kt-logo { width: min(440px, 100%); display: block; margin: 0 auto -6px; filter: drop-shadow(0 10px 16px rgba(60, 20, 80, .35)); animation: kt-pop 1s cubic-bezier(.2, 1.6, .4, 1) both, kt-float 5s ease-in-out 1s infinite; }
.kt-title { width: min(420px, 96%); display: block; margin: 0 auto; filter: drop-shadow(0 6px 8px rgba(30, 20, 90, .3)); animation: kt-rise .8s .35s both, kt-wiggle 4.5s ease-in-out 1.6s infinite; }
.kt-date { width: min(330px, 80%); display: block; margin: 2px auto 8px; animation: kt-rise .8s .55s both; }
.kt-date-text { font-size: 34px; font-weight: 800; color: #fff; -webkit-text-stroke: 1.5px var(--kt-navy); margin: 4px 0 8px; }
.kt-loc { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 8px 18px 8px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--kt-red2); font-size: 14px; font-weight: 600; line-height: 1.3; text-align: left; box-shadow: var(--kt-shadow); animation: kt-rise .8s .7s both; }
.kt-loc .kt-ic { width: 26px; height: 26px; color: #fff; fill: var(--kt-red); stroke: #fff; stroke-width: 1.4; }
.kt-buy { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 26px; border-radius: 99px; border: 3px solid #fff; background: linear-gradient(180deg, #ff4a4a, var(--kt-red) 55%, var(--kt-red2)); color: #fff !important; font-size: 20px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 0 #8d0c13, 0 14px 26px rgba(160, 10, 30, .35); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.kt-buy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%); transform: translateX(-120%); animation: kt-shine 3.2s ease-in-out infinite; }
.kt-buy:hover { transform: translateY(-3px) scale(1.03); }
.kt-buy:active { transform: translateY(4px); box-shadow: 0 3px 0 #8d0c13, 0 6px 12px rgba(160, 10, 30, .35); }
.kt-buy .kt-ic { width: 1.3em; height: 1.3em; }
.kt-buy-lg { font-size: 28px; padding: 14px 40px; animation: kt-rise .8s .85s both, kt-pulse 2.4s ease-in-out 2s infinite; }
.kt-buy.is-off { background: #8f8aa8; box-shadow: 0 6px 0 #5f5a78; font-size: 17px; cursor: not-allowed; }
.kt-buy.is-off::after { display: none; }

.kt-hero-right { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.kt-tagline { width: min(360px, 100%); margin: 0 0 6px auto; animation: kt-rise .8s .4s both, kt-float 6s ease-in-out 1.5s infinite; }
.kt-tagline-text { font-size: 28px; font-weight: 800; font-style: italic; color: #fff; -webkit-text-stroke: 1px var(--kt-navy); text-align: right; }
.kt-stage-wrap { position: relative; width: 112%; margin: -10px -6% 0; }
.kt-stage { display: block; width: 100%; filter: drop-shadow(0 12px 16px rgba(40, 20, 60, .35)); animation: kt-stage 2.2s ease-in-out infinite; }
.kt-beam { position: absolute; bottom: 52%; width: 18px; height: 140px; transform-origin: 50% 100%; background: linear-gradient(to top, rgba(255, 120, 230, .65), transparent); filter: blur(2px); mix-blend-mode: screen; pointer-events: none; animation: kt-beam 3s ease-in-out infinite; }
.kt-beam-1 { left: 40%; }
.kt-beam-2 { left: 50%; animation-delay: -1s; background: linear-gradient(to top, rgba(120, 200, 255, .65), transparent); }
.kt-beam-3 { left: 60%; animation-delay: -2s; background: linear-gradient(to top, rgba(255, 230, 120, .65), transparent); }
.kt-count { margin-top: -6px; padding: 26px 18px 14px; border-radius: 22px; position: relative; background: linear-gradient(180deg, #2c2b96, #1d1c6e); border: 3px solid #fff; box-shadow: var(--kt-shadow), inset 0 0 0 2px rgba(120, 140, 255, .5); }
.kt-count p { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); margin: 0; padding: 4px 22px; border-radius: 99px; background: #1d1c6e; border: 2px solid #fff; color: #fff; font-weight: 600; white-space: nowrap; }
.kt-count-cells { display: flex; gap: 8px; }
.kt-count-cells span { display: flex; flex-direction: column; align-items: center; min-width: 66px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(160, 170, 255, .5); color: #dfe1ff; font-size: 12px; }
.kt-count-cells b { font-size: 30px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.kt-count-cells b.is-tick { animation: kt-flip .5s; }

/* ---------- ไลน์อัป ---------- */
.kt-lineup { position: relative; max-width: 1280px; margin: -70px auto 0; padding: 0 20px; z-index: 5; }
.kt-lineup-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 2; margin-bottom: -14px; }
.kt-ribbon { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 34px 8px 60px; font-size: 34px; font-style: italic; font-weight: 800; color: #fff; background: linear-gradient(90deg, #2a2a9c, #3d3dd1); clip-path: polygon(0 12%, 100% 0, 96% 100%, 3% 92%); text-shadow: 0 2px 0 #14135a; }
.kt-guitar { position: absolute; left: 6px; top: -10px; font-size: 42px; transform: rotate(-20deg); animation: kt-strum 1.6s ease-in-out infinite; }
.kt-ribbon-sm { font-size: 24px; padding: 6px 26px; }
.kt-brush { margin: 0; padding: 8px 26px; font-weight: 700; font-style: italic; font-size: 17px; color: var(--kt-ink); background: var(--kt-yellow); clip-path: polygon(2% 10%, 100% 0, 97% 92%, 0 100%); transform: rotate(-2deg); }
.kt-pill-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 18px; border-radius: 99px; background: #fff; border: 2px solid var(--kt-navy); color: var(--kt-navy); font: 600 14px 'Kanit', sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.kt .kt-pill-btn { color: var(--kt-navy); }
.kt .kt-pill-btn:hover { background: var(--kt-navy); color: #fff; }
.kt-paper { position: relative; padding: 34px 26px 18px; background: var(--kt-paper); border-radius: 6px; box-shadow: var(--kt-shadow); clip-path: polygon(0 3%, 3% 0, 8% 2%, 14% 0, 22% 2.5%, 30% 0, 38% 2%, 46% 0, 54% 2.5%, 62% 0, 70% 2%, 78% 0, 86% 2.5%, 93% 0, 100% 2%, 99% 97%, 94% 100%, 86% 98%, 78% 100%, 70% 97.5%, 62% 100%, 54% 98%, 46% 100%, 38% 97.5%, 30% 100%, 22% 98%, 14% 100%, 7% 97.5%, 0 100%); }
.kt-artists { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 12px) / 7); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; }
.kt-artists::-webkit-scrollbar { display: none; }
.kt-artist { scroll-snap-align: start; padding: 0; border: 3px solid #fff; border-radius: 14px; overflow: hidden; background: #f3d6e6; cursor: zoom-in; box-shadow: 0 6px 14px rgba(60, 20, 80, .2); transition: transform .3s, box-shadow .3s; }
.kt-artist img { display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: contain; transition: transform .5s; }
.kt-artist:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 16px 24px rgba(60, 20, 80, .3); }
.kt-artist:hover img { filter: brightness(1.05); }
.kt-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.kt-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3dcea; transition: background .3s, transform .3s; }
.kt-dots i.is-on { background: #f5b400; transform: scale(1.25); }

/* ---------- บัตร ---------- */
.kt-tickets { max-width: 1280px; margin: 26px auto 0; padding: 18px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: linear-gradient(90deg, #fff7d6, #fff 30%, #fff 70%, #fff7d6); border-radius: 18px; box-shadow: var(--kt-shadow); }
.kt-tickets-label { display: flex; flex-direction: column; align-items: flex-start; transform: rotate(-3deg); }
.kt-tickets-label small { font-size: 20px; font-weight: 700; color: var(--kt-ink); }
.kt-tickets-label b { font-size: 42px; line-height: 1; font-weight: 800; font-style: italic; color: var(--kt-red); -webkit-text-stroke: 1px #fff; text-shadow: 0 3px 0 #8d0c13; }
.kt-tickets-label em { margin-top: 6px; padding: 3px 14px; font-style: italic; font-weight: 700; background: var(--kt-yellow); border-radius: 4px; animation: kt-blink 1.6s steps(2) infinite; }
.kt-price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kt-price { position: relative; display: flex; flex-direction: column; align-items: center; padding: 12px 10px 10px; border-radius: 16px; text-decoration: none; color: #fff !important; overflow: hidden; border: 3px solid #fff; box-shadow: 0 8px 0 rgba(0, 0, 0, .18), 0 12px 22px rgba(40, 20, 80, .2); transition: transform .2s; animation: kt-rise .7s var(--d) both; }
.kt-price:hover { transform: translateY(-6px) rotate(-1deg); }
.kt-price-0 { background: linear-gradient(160deg, #7b3fe4, #4b1fa8); }
.kt-price-1 { background: linear-gradient(160deg, #2e8cff, #1755c9); }
.kt-price-2 { background: linear-gradient(160deg, #ffe03a, #ffb300); color: var(--kt-ink) !important; }
.kt-price-title { font-size: 22px; font-weight: 700; line-height: 1.1; }
.kt-price small { font-size: 13px; opacity: .9; }
.kt-price strong { font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -1px; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.kt-price-2 strong { text-shadow: 0 3px 0 rgba(255, 255, 255, .6); }
.kt-price > span:last-child { font-size: 14px; }
.kt-price-shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-130%); animation: kt-shine 4s ease-in-out infinite; animation-delay: var(--d); }
.kt-tickets-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kt-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.kt-sold { color: var(--kt-red); }

/* ---------- สถานที่ ---------- */
.kt-venue { position: relative; margin-top: 40px; padding: 60px 20px 30px; background: linear-gradient(180deg, #fbe3ef 0, rgba(251, 227, 239, 0) 90px), linear-gradient(0deg, rgba(120, 60, 160, .35), transparent 50%), var(--venue-bg, #f6a6b8) center 35% / cover no-repeat; overflow: hidden; }
.kt-venue::before { content: ""; position: absolute; left: 50%; bottom: 150px; width: min(1500px, 140%); height: 260px; transform: translateX(-50%); background: var(--venue-mt, none) center bottom / contain no-repeat; opacity: .55; pointer-events: none; }
.kt-venue > * { position: relative; }
.kt-venue-in { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 26px; align-items: center; }
.kt-venue-title { position: relative; padding-left: 70px; }
.kt-venue-title h2 { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.kt-venue-pin { position: absolute; left: 0; top: 10px; width: 64px; height: 64px; color: #fff; animation: kt-drop 2.6s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.kt-venue-pin .kt-ic { width: 100%; height: 100%; fill: var(--kt-red); stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); }
.kt-new { font-size: 56px; line-height: 1; font-weight: 900; font-style: italic; color: var(--kt-red); -webkit-text-stroke: 2px #fff; text-shadow: 0 4px 0 #8d0c13, 0 8px 16px rgba(0, 0, 0, .2); transform: rotate(-4deg); }
.kt-venue-name { padding: 6px 18px; border-radius: 10px; background: #fff; color: var(--kt-ink); font-size: 20px; font-weight: 700; box-shadow: var(--kt-shadow); }
.kt-venue-prov { padding: 6px 22px; border-radius: 10px; background: linear-gradient(90deg, var(--kt-red), #ff5a3c); color: #fff; font-size: 22px; font-weight: 800; transform: rotate(-2deg); }
.kt-globe { position: relative; display: block; width: min(300px, 80%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 20px 40px rgba(60, 20, 80, .35), inset -20px -20px 50px rgba(0, 0, 0, .3); }
.kt-globe-map { position: absolute; inset: -10%; background: var(--globe) 0 60% / 260% auto repeat-x; animation: kt-spin 40s linear infinite; }
.kt-globe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 45%), radial-gradient(circle at 70% 80%, rgba(0, 0, 40, .35), transparent 50%); }
.kt-route { position: absolute; inset: 22% 12%; z-index: 1; fill: none; stroke: #ff5a2c; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: kt-draw 4s ease-in-out infinite; }
.kt-globe-pin { position: absolute; left: 50%; top: 22%; z-index: 2; width: 70px; height: 70px; margin-left: -35px; animation: kt-drop 2.6s .4s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.kt-globe-pin .kt-ic { width: 100%; height: 100%; fill: var(--kt-red); stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .3)); }
.kt-venue-info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: #fff; text-shadow: 0 2px 6px rgba(60, 20, 80, .45); }
.kt-venue-info p { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 20px; font-weight: 500; line-height: 1.35; }
.kt-venue-info .kt-ic { width: 30px; height: 30px; }
.kt-maps { display: inline-flex; align-items: center; gap: 10px; padding: 10px 26px; border-radius: 99px; background: #fff; color: var(--kt-ink) !important; font-size: 18px; font-weight: 600; text-decoration: none; text-shadow: none; box-shadow: var(--kt-shadow); transition: transform .2s; }
.kt-maps:hover { transform: translateY(-3px); }
.kt-maps svg { width: 24px; height: 24px; }
.kt-venue-info .kt-pill-btn { margin: 0; text-shadow: none; }
.kt-gallery { position: relative; max-width: 1280px; margin: 34px auto 0; }
.kt-gallery .kt-ribbon { margin-bottom: -12px; z-index: 2; }
.kt-gallery-track { display: flex; gap: 14px; width: max-content; padding: 22px 0 14px; animation: kt-marquee 40s linear infinite; }
.kt-gallery:hover .kt-gallery-track { animation-play-state: paused; }
.kt-shot { flex: none; width: 240px; height: 150px; padding: 0; border: 4px solid #fff; border-radius: 12px; overflow: hidden; cursor: zoom-in; box-shadow: var(--kt-shadow); background: #ddd; transform: rotate(-1.5deg); transition: transform .3s; }
.kt-shot:nth-child(even) { transform: rotate(1.5deg); }
.kt-shot:hover { transform: scale(1.06) rotate(0); }
.kt-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- ข่าว / เดินทาง / FAQ ---------- */
.kt-info { max-width: 1280px; margin: 0 auto; padding: 30px 20px 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kt-card { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: var(--kt-shadow); }
.kt-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 21px; font-weight: 700; line-height: 1.2; }
.kt-card h2 .kt-ic { width: 30px; height: 30px; color: var(--kt-red); }
.kt-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kt-news li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.kt-news img { width: 110px; height: 70px; object-fit: cover; border-radius: 10px; }
.kt-news b { display: block; font-size: 15px; line-height: 1.3; }
.kt-news span { display: block; font-size: 13px; color: var(--kt-muted); line-height: 1.35; }
.kt-news time { display: block; font-size: 12px; color: #9a96b4; }
.kt-empty { color: var(--kt-muted); }
.kt-minimap { position: relative; display: block; margin-bottom: 12px; border-radius: 12px; overflow: hidden; }
.kt-minimap svg { display: block; width: 100%; }
.kt-minimap-pin { position: absolute; left: 50%; top: 18%; width: 44px; height: 44px; margin-left: -22px; animation: kt-drop 2.6s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.kt-minimap-pin .kt-ic { width: 100%; height: 100%; fill: var(--kt-red); stroke: #fff; stroke-width: 1.2; }
.kt-travel { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.kt-travel li { display: flex; gap: 10px; align-items: flex-start; }
.kt-travel .kt-ic { width: 22px; height: 22px; color: var(--kt-red); margin-top: 1px; }
.kt-card .kt-pill-btn { margin: 0 auto; display: flex; width: max-content; }
.kt-faq { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.kt-faq details { border: 1.5px solid #e4def0; border-radius: 12px; background: #fff; overflow: hidden; }
.kt-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 14px; font-weight: 500; cursor: pointer; list-style: none; }
.kt-faq summary::-webkit-details-marker { display: none; }
.kt-faq summary .kt-ic { transition: transform .3s; }
.kt-faq details[open] summary .kt-ic { transform: rotate(180deg); }
.kt-faq details p { margin: 0; padding: 0 14px 12px; font-size: 14px; color: var(--kt-muted); line-height: 1.55; }

/* ---------- ท้ายเว็บ ---------- */
.kt-footer { background: #fff; border-top: 4px solid var(--kt-yellow); }
.kt-footer-in { max-width: 1280px; margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: center; }
.kt-footer-brand { display: flex; gap: 14px; align-items: center; }
.kt-footer-brand img { width: 120px; height: auto; }
.kt-footer-brand b { display: block; font-size: 16px; }
.kt-footer-brand span { font-size: 13px; color: var(--kt-muted); }
.kt-footer-col { display: flex; flex-direction: column; gap: 6px; padding-left: 24px; border-left: 2px solid #eee; font-size: 14px; }
.kt-footer-col a, .kt-footer-col span { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.kt-footer-col a:hover { color: var(--kt-red); }
.kt-footer-line { display: flex; gap: 14px; align-items: center; justify-content: flex-end; padding-left: 24px; border-left: 2px solid #eee; }
.kt-line { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; }
.kt-line i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #06c755; color: #fff; font-style: normal; font-weight: 700; font-size: 13px; }
.kt-line b { display: block; font-size: 16px; }
.kt-qr { display: block; width: 86px; height: 86px; padding: 4px; background: #fff; border: 1.5px solid #eee; border-radius: 8px; }
.kt-qr svg { width: 100%; height: 100%; display: block; }
.kt-qr svg path, .kt-qr svg rect { fill: #111; }
.kt-footer-copy { margin: 0; padding: 10px 20px; text-align: center; font-size: 12.5px; color: var(--kt-muted); }
.kt-footer-copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- ดูรูปใหญ่ ---------- */
.kt-lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 760px); max-height: 92vh; }
.kt-lightbox::backdrop { background: rgba(20, 10, 40, .82); backdrop-filter: blur(4px); }
.kt-lightbox img { display: block; max-width: 100%; max-height: 90vh; border-radius: 14px; }
.kt-lightbox-close { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; }
.kt-lightbox-close .kt-ic { width: 22px; height: 22px; }

/* ---------- เลื่อนถึงแล้วค่อยโผล่ ---------- */
.kt-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; transition-delay: var(--d, 0ms); }
.kt-reveal.is-in { opacity: 1; transform: none; }

/* ---------- แอนิเมชัน ---------- */
@keyframes kt-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes kt-drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
@keyframes kt-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg) translateY(-6px); } }
@keyframes kt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes kt-note { 0% { opacity: 0; transform: translate(0, 0) scale(.6) rotate(-10deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(30px, -130px) scale(1.2) rotate(20deg); } }
@keyframes kt-pop { 0% { opacity: 0; transform: scale(.3) rotate(-10deg); } 100% { opacity: 1; transform: scale(1); } }
@keyframes kt-rise { from { opacity: 0; transform: translateY(30px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes kt-wiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-3deg) scale(1.04); } 94% { transform: rotate(3deg) scale(1.04); } 97% { transform: rotate(-1deg); } }
@keyframes kt-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes kt-shine { 0%, 55% { transform: translateX(-130%); } 80%, 100% { transform: translateX(130%); } }
@keyframes kt-glow { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.18); opacity: 1; } }
@keyframes kt-stage { 0%, 100% { filter: drop-shadow(0 12px 16px rgba(40, 20, 60, .35)) brightness(1); } 50% { filter: drop-shadow(0 12px 22px rgba(255, 60, 200, .55)) brightness(1.12) saturate(1.15); } }
@keyframes kt-beam { 0%, 100% { transform: rotate(-24deg); opacity: .4; } 50% { transform: rotate(24deg); opacity: .9; } }
@keyframes kt-flip { 0% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
@keyframes kt-strum { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(-8deg) translateY(-3px); } }
@keyframes kt-blink { 50% { background: #fff; } }
@keyframes kt-drop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-14px); } 45% { transform: translateY(0) scaleY(.92); } }
@keyframes kt-spin { from { background-position: 0 60%; } to { background-position: -260% 60%; } }
@keyframes kt-draw { 0% { stroke-dashoffset: 340; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes kt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kt-birds { from { transform: translateX(0); } to { transform: translateX(-120vw); } }

/* ---------- จอเล็ก ---------- */
@media (max-width: 1100px) {
  .kt-nav a { padding: 8px 8px; font-size: 14px; }
  .kt-login span { display: none; }
  .kt-hero-in { grid-template-columns: 1fr 1.1fr; }
  .kt-hero-left { grid-column: 1; grid-row: 1; min-height: 440px; }
  .kt-hero-center { grid-column: 2; grid-row: 1; }
  .kt-hero-right { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 20px; flex-wrap: wrap; }
  .kt-stage-wrap { width: 46%; margin: 0; }
  .kt-tickets { grid-template-columns: 1fr; text-align: center; }
  .kt-tickets-label { align-items: center; transform: none; }
  .kt-venue-in { grid-template-columns: 1fr 1fr; }
  .kt-venue-info { grid-column: 1 / -1; align-items: center; text-align: center; }
  .kt-info { grid-template-columns: 1fr 1fr; }
  .kt-artists { grid-auto-columns: calc((100% - 4 * 12px) / 5); }
}
@media (max-width: 860px) {
  .kt-burger { display: block; }
  .kt-nav { position: fixed; inset: 64px 0 auto; flex-direction: column; padding: 10px 16px 18px; background: #fff; box-shadow: 0 16px 30px rgba(40, 20, 80, .2); transform: translateY(-130%); transition: transform .35s; }
  .kt-nav.is-open { transform: none; }
  .kt-nav a { padding: 12px; font-size: 16px; }
  .kt-nav-login { display: flex; align-items: center; gap: 8px; }
  .kt-header { background: rgba(255, 255, 255, .94); }
  .kt-brand img { height: 46px; }
  .kt-login { display: none; }
  .kt-hero { padding-top: 80px; min-height: 0; }
  .kt-hero-in { grid-template-columns: 1fr; }
  .kt-hero-center { grid-column: 1; grid-row: 1; }
  .kt-hero-left { grid-column: 1; grid-row: 2; min-height: 0; height: 330px; }
  .kt-rooster-wrap { width: 82%; left: 4%; }
  .kt-bridge { width: 76%; left: auto; right: -6%; }
  .kt-hero-right { grid-row: 3; flex-direction: column; }
  .kt-tagline { margin: 0 auto; width: 76%; }
  .kt-stage-wrap { width: 100%; }
  .kt-buy-lg { font-size: 23px; padding: 12px 30px; }
  .kt-count-cells span { min-width: 58px; }
  .kt-count-cells b { font-size: 24px; }
  .kt-cloud-5, .kt-cloud-6, .kt-balloon-2, .kt-beam { display: none; }
  .kt-lineup { margin-top: -30px; }
  .kt-ribbon { font-size: 26px; padding-left: 52px; }
  .kt-pill-btn { margin-left: 0; }
  .kt-artists { grid-auto-columns: 44%; }
  .kt-price-cards { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .kt-price-title { font-size: 15px; }
  .kt-price small { font-size: 11px; }
  .kt-price strong { font-size: 32px; }
  .kt-venue-in { grid-template-columns: 1fr; text-align: center; }
  .kt-venue-title { padding-left: 0; padding-top: 70px; }
  .kt-venue-title h2 { align-items: center; }
  .kt-venue-pin { left: 50%; margin-left: -32px; top: 0; }
  .kt-new { font-size: 42px; }
  .kt-info { grid-template-columns: 1fr; }
  .kt-shot { width: 190px; height: 120px; }
  .kt-footer-in { grid-template-columns: 1fr; }
  .kt-footer-col, .kt-footer-line { border-left: 0; padding-left: 0; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .kt-reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* สัดส่วนหน้าเดสก์ท็อปตามภาพอ้างอิง */
.kt-header { background: #fff; }
.kt-brand img { width: auto; height: 49px; filter: none; }
.kt-nav a.is-active::after { box-shadow: 0 2px 7px #e3b000; }
.kt a:focus-visible, .kt button:focus-visible, .kt summary:focus-visible { outline: 3px solid #2546c5; outline-offset: 3px; }
.kt-reveal { opacity: 1; transform: none; }
.kt-gallery-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; animation: none; scrollbar-width: thin; }
.kt-shot { scroll-snap-align: start; }

@media (min-width: 861px) {
  .kt {
    --kt-content-width: 1120px;
    --kt-unit: clamp(8.4px, .91vw, 10.6px);
  }
  .kt-header-in, .kt-hero-in, .kt-lineup, .kt-tickets, .kt-venue-in, .kt-gallery, .kt-info, .kt-footer-in {
    max-width: var(--kt-content-width);
  }
  .kt-header-in { height: calc(5.5 * var(--kt-unit)); padding: 2px 2.4%; gap: 10px; }
  .kt-brand { margin-left: 3%; }
  .kt-brand img { height: calc(5 * var(--kt-unit)); }
  .kt-nav { gap: 0; }
  .kt-nav a { padding: 7px clamp(6px, .8vw, 11px); font-size: clamp(12px, 1.3vw, 15px); white-space: nowrap; }
  .kt-login { padding: 4px 10px; font-size: clamp(10px, 1.2vw, 14px); white-space: nowrap; }
  .kt-login span { display: inline; }
  .kt-cart { width: 31px; height: 31px; }

  .kt-hero { min-height: 0; padding: calc(5.5 * var(--kt-unit)) 0 0; }
  .kt-hero::after { height: 46px; background: linear-gradient(transparent, #ffbbac); }
  .kt-hero-in { grid-template-columns: 35% 30% 35%; gap: 0; height: calc(43.5 * var(--kt-unit)); align-items: start; }
  .kt-hero-left, .kt-hero-center, .kt-hero-right { grid-column: auto; grid-row: auto; }
  .kt-hero-left { min-height: 0; height: 100%; }
  .kt-rooster-wrap { left: 8%; top: 11%; width: 115%; animation: none; }
  .kt-bridge { left: -4%; bottom: 9%; width: 117%; max-width: none; z-index: 3; animation: none; }
  .kt-mountains { bottom: 15px; }
  .kt-balloon-1 { top: 13%; width: 5%; }
  .kt-balloon-2 { top: 16%; width: 4.5%; }
  .kt-balloon-3 { top: 35%; width: 5%; }
  .kt-cloud-1 { top: 13%; }
  .kt-cloud-2 { top: 48%; }
  .kt-cloud-3, .kt-cloud-4 { bottom: -5%; }
  .kt-cloud-5, .kt-cloud-6, .kt-birds { display: none; }
  .kt-hero-center { display: flex; align-items: center; flex-direction: column; }
  .kt-logo { width: 92%; margin: -4% auto -6%; animation: none; }
  .kt-title { width: 84%; margin: 0 auto; animation: none; }
  .kt-date-text { margin: 1px 0; font-size: calc(3.15 * var(--kt-unit)); line-height: 1.22; color: #fff9df; -webkit-text-stroke: 1px #3c1a13; text-shadow: 0 2px 2px #3c1a13; }
  .kt-loc { max-width: 94%; margin: 2px 0 6px; padding: 2px 5px; font-size: calc(1.35 * var(--kt-unit)); line-height: 1.15; border-radius: 8px; animation: none; }
  .kt-buy { background: linear-gradient(#ff4b38, #df0615 60%, #910008); box-shadow: 0 2px 0 #8d0c13, 0 0 14px #ff873b; }
  .kt-buy-lg { width: min(90%, 270px); min-height: 48px; font-size: calc(2.5 * var(--kt-unit)); padding: .48em .3em; line-height: 1; animation: none; }
  .kt-buy::after { animation: none; }
  .kt-hero-right { height: 100%; flex-direction: column; justify-content: flex-start; gap: 0; flex-wrap: nowrap; padding: 3% 7% 0 0; }
  .kt-tagline { width: 68%; margin: 0 auto; animation: none; }
  .kt-stage-wrap { width: 110%; margin: -1% 0 0; }
  .kt-stage { animation: none; }
  .kt-count { width: 93%; padding: calc(2 * var(--kt-unit)) 5% 3%; margin: -2% 0 0; background: linear-gradient(#313971, #191537); border-radius: 18px; }
  .kt-count p { font-size: calc(1.65 * var(--kt-unit)); padding: 1px 11px; }
  .kt-count-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .kt-count-cells span { min-width: 0; padding: 4px 0; }
  .kt-count-cells b { font-size: calc(2.75 * var(--kt-unit)); }

  .kt main { background: linear-gradient(#ffa4c5 24%, #ffd8be 76%, #ffe2d1); }
  .kt-lineup { margin: calc(-2.1 * var(--kt-unit)) auto 0; padding: 0 2%; }
  .kt-lineup-head { padding: 0 3%; gap: 12px; margin-bottom: -10px; flex-wrap: nowrap; }
  .kt-ribbon { font-size: calc(3 * var(--kt-unit)); line-height: 1.2; }
  .kt-ribbon-sm { font-size: calc(2.4 * var(--kt-unit)); }
  .kt-brush { font-size: calc(1.5 * var(--kt-unit)); line-height: 1.1; }
  .kt-pill-btn { border-width: 1px; padding: 3px 13px; font-size: calc(1.35 * var(--kt-unit)); }
  .kt-paper { background: radial-gradient(ellipse at 50% 80%, #fffaf0, #ffe2d5); padding: 20px 2.5% 12px; }
  .kt-artists { grid-auto-columns: calc((100% - 6 * var(--kt-artist-gap)) / 7); gap: var(--kt-artist-gap); --kt-artist-gap: 4px; padding: 2px 0 5px; }
  .kt-artist { min-width: 0; border: 2px solid #fd72d2; box-shadow: none; }
  .kt-artist img { height: auto; }
  .kt-artist:hover { transform: none; }

  .kt-tickets { width: 96%; margin: 10px auto 0; padding: 5px 1.4% 9px; grid-template-columns: 17% 57% minmax(0, 1fr); gap: 8px; background: #fff0d8; text-align: initial; }
  .kt-tickets-label { align-items: center; transform: rotate(-4deg); }
  .kt-tickets-label b { font-size: calc(3.35 * var(--kt-unit)); text-align: center; }
  .kt-tickets-label small, .kt-tickets-label em { font-size: calc(1.6 * var(--kt-unit)); }
  .kt-price-cards { grid-template-columns: repeat(auto-fit, minmax(min(115px, 100%), 1fr)); gap: 5px; }
  .kt-price { padding: 6px 3px; text-align: center; }
  .kt-price-title { font-size: calc(2.05 * var(--kt-unit)); }
  .kt-price strong { font-size: calc(4.2 * var(--kt-unit)); color: #fff3bd; text-shadow: 0 2px 2px #24113f; }
  .kt-price-2 strong { color: #181326; text-shadow: 0 2px #fff4cd; }
  .kt-tickets-cta { gap: 4px; }
  .kt-tickets-cta .kt-buy { width: 100%; padding: 7px 5px; font-size: calc(2.1 * var(--kt-unit)); }

  .kt-venue { margin-top: 10px; padding: 8px 2.4% 6px; background: linear-gradient(0deg, #ffdfca, transparent 30%), var(--venue-bg, #f6a6b8) center 42% / cover no-repeat; }
  .kt-venue-in { grid-template-columns: 1.1fr .85fr 1.05fr; gap: 16px; }
  .kt-venue-title { padding-left: 12%; }
  .kt-venue-pin { width: 18%; }
  .kt-new { font-size: calc(4.25 * var(--kt-unit)); white-space: nowrap; }
  .kt-venue-name, .kt-venue-prov { font-size: calc(1.8 * var(--kt-unit)); line-height: 1.15; }
  .kt-globe { width: min(100%, calc(22 * var(--kt-unit))); }
  .kt-venue-info { grid-column: auto; align-items: flex-start; text-align: left; gap: 7px; }
  .kt-venue-info p, .kt-maps { font-size: calc(1.7 * var(--kt-unit)); }
  .kt-maps { padding: 4px 15px; }
  .kt-gallery { margin-top: -8px; }
  .kt-gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 5); gap: 6px; padding: 12px 4px 5px; }
  .kt-shot { width: 100%; height: calc(8.7 * var(--kt-unit)); transform: none; }
  .kt-shot:nth-child(even) { transform: none; }

  .kt-info { padding: 5px 2.4% 14px; grid-template-columns: 1.15fr .95fr 1fr; gap: 6px; }
  .kt-card { min-width: 0; padding: 9px 5%; background: #fffaf2; box-shadow: 0 1px 5px #b4633e40; }
  .kt-card h2 { margin-bottom: 7px; font-size: calc(1.8 * var(--kt-unit)); }
  .kt-card h2 .kt-ic { width: 24px; height: 24px; }
  .kt-news, .kt-travel, .kt-faq { gap: 4px; }
  .kt-news li { grid-template-columns: 37% 1fr; gap: 7px; padding-bottom: 3px; border-bottom: 1px solid #e9e0d5; }
  .kt-news img { width: 100%; height: auto; aspect-ratio: 2 / 1; }
  .kt-news b, .kt-travel, .kt-faq summary { font-size: calc(1.35 * var(--kt-unit)); }
  .kt-news span { font-size: calc(1.25 * var(--kt-unit)); }
  .kt-faq summary { padding: 3px 10px; }
  .kt-faq details { border-width: 1px; background: #f9f6f2; }
  .kt-minimap svg { height: calc(7 * var(--kt-unit)); }
  .kt-footer { border: 0; }
  .kt-footer-in { padding: 8px 2.4%; gap: 14px; }
}

@media (max-width: 860px) {
  .kt-hero { padding: 73px 14px 45px; }
  .kt-hero-left { height: clamp(175px, 49vw, 300px); }
  .kt-hero-center { display: flex; flex-direction: column; align-items: center; }
  .kt-logo { width: min(68%, 290px); }
  .kt-title { width: min(64%, 260px); }
  .kt-tagline { width: min(60%, 260px); }
  .kt-stage-wrap { width: min(100%, 390px); }
  .kt-lineup-head { gap: 8px; margin-bottom: 0; }
  .kt-tickets { width: calc(100% - 24px); padding: 12px; }
  .kt-venue { padding-inline: 12px; }
}

/* ใช้เฉพาะภาพประกอบแผนที่จากต้นฉบับ ลิงก์ทั้งสองเปิดพิกัดที่ตั้งค่าจริง */
.kt-globe { aspect-ratio: 240 / 216; border: 0; }
.kt-globe::after { display: none; }
.kt-globe-map { inset: 0; background: url("../uploads/events/katakk-3/venue-globe.webp") center / cover no-repeat; animation: none; }
.kt-minimap-art { display: block; aspect-ratio: 241 / 70; background: url("../uploads/events/katakk-3/venue-minimap.webp") center / cover no-repeat; }
.kt-balloon { animation: kt-balloon-drift 12s ease-in-out infinite alternate; }
@keyframes kt-balloon-drift { from { translate: 0 0; } to { translate: 3px -8px; } }

@media (min-width: 861px) {
  .kt-hero-in { position: relative; }
  .kt-logo { width: min(84%, 280px); margin: 0 auto -5%; }
  .kt-title { width: min(78%, 260px); }
  .kt-loc { font-weight: 700; background: #fff3cc; text-shadow: 0 1px #fff; }
  .kt-count-cells b.is-tick { animation-duration: .22s; }

  .kt-count { position: absolute; right: 8%; bottom: 8%; width: 87%; }
}

.kt-count-cells b.is-tick { animation-name: kt-count-tick; animation-duration: .25s; }
@keyframes kt-count-tick { from { color: #ffe28d; } to { color: #fff; } }

@media (min-width: 861px) {
  .kt-loc { width: max-content; max-width: 100%; font-size: calc(1.28 * var(--kt-unit)); }
  .kt-loc .kt-ic { width: calc(2.45 * var(--kt-unit)); height: calc(2.45 * var(--kt-unit)); }
}

/* ภาพแต่ละชั้นขยับแยกกัน โดยตำแหน่งข้อความและปุ่มยังคงที่ */
.kt-lineup-sticker { width: clamp(175px, 27vw, 290px); margin: 0; line-height: 0; }
.kt-lineup-sticker img { width: 100%; }
.kt-rooster-wrap { animation: kt-rocker-groove 3.6s ease-in-out infinite; }
.kt-balloon { animation: kt-float 7s ease-in-out infinite; }
.kt-balloon-2 { animation-duration: 9s; animation-delay: -3s; }
.kt-balloon-3 { animation-duration: 8s; animation-delay: -5s; }
.kt-stage-wrap .kt-stage { animation: kt-stage 4s ease-in-out infinite; }
.kt-motion-toggle {
  position: absolute;
  right: max(12px, 2vw);
  top: calc(var(--kt-unit, 12px) * 5.5 + 10px);
  z-index: 6;
  border: 1px solid #7472a2;
  border-radius: 99px;
  padding: 4px 10px;
  background: #fffdf3;
  color: var(--kt-ink);
  font: 500 12px 'Kanit', sans-serif;
  cursor: pointer;
}
.kt-motion-toggle[aria-pressed="true"] { background: var(--kt-navy); color: #fff; }
.kt-motion-paused main *, .kt-motion-paused main *::before, .kt-motion-paused main *::after { animation-play-state: paused !important; }

@keyframes kt-rocker-groove {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}

@media (min-width: 861px) {
  .kt-cloud-1 { width: 23%; left: -10%; top: 16%; }
  .kt-cloud-2 { width: 25%; right: -12%; top: 35%; }
  .kt-cloud-3, .kt-cloud-4 { width: 30%; z-index: 1; bottom: -12%; }
  .kt-balloon-1 { top: 14%; }
  .kt-balloon-2 { top: 17%; left: 29%; }
  .kt-balloon-3 { top: 30%; right: 4%; }
  .kt-hero-right .kt-tagline { width: 58%; margin-bottom: 2%; }
  .kt-stage-wrap { width: 104%; }
}

@media (max-width: 860px) {
  .kt-motion-toggle { top: 68px; }
  .kt-cloud-3, .kt-cloud-4 { width: 64%; bottom: 4%; }
}

/* ศิลปินและบัตร Early Bird ตามภาพอ้างอิง */
.kt-lineup-note { width: clamp(145px, 21vw, 235px); margin: 0; line-height: 0; }
.kt-lineup-note img { display: block; width: 100%; }
.kt-paper {
  background: radial-gradient(ellipse at 50% 76%, #fffbef 45%, #ffe6d5 90%);
  border: 4px solid #fffaf2;
  border-radius: 32px 26px 35px 30px;
  clip-path: polygon(0 19%, 2% 6%, 6% 2%, 13% 3%, 20% 1%, 27% 3%, 34% 1%, 41% 3%, 49% 1%, 56% 3%, 64% 1%, 71% 3%, 78% 1%, 85% 3%, 93% 1%, 98% 7%, 100% 21%, 99.5% 78%, 98% 92%, 94% 98%, 86% 97%, 79% 100%, 72% 98%, 64% 100%, 57% 98%, 50% 100%, 42% 98%, 35% 100%, 28% 98%, 20% 100%, 13% 98%, 7% 100%, 2% 93%, 0 82%);
}
.kt-lineup { filter: drop-shadow(0 3px 3px #b44a6b3d); }
.kt-artist { border-color: #fb71d9; }
.kt-tickets { background: linear-gradient(108deg, #ffe4c8, #fff3dd 60%, #ffdcd2); }
.kt-early-bird-art { position: relative; align-self: stretch; min-height: 104px; transform: none; }
.kt-early-bird-art::before {
  content: "";
  position: absolute;
  inset: 0;
  width: min(100%, 210px);
  height: auto;
  aspect-ratio: 3 / 2;
  margin: auto;
  background: url("../uploads/events/katakk-3/early-bird-label-2.webp") center / contain no-repeat;
  border-radius: 10px;
}
.kt-early-bird-art > * { clip-path: inset(50%); position: absolute; white-space: nowrap; }
.kt-price { line-height: 1.05; box-shadow: 0 4px 0 #3521436b, inset 0 0 8px #fff9; }
.kt-price-0 { background: linear-gradient(155deg, #8d55bf, #4f1b81 65%, #34204d); }
.kt-price-1 { background: linear-gradient(155deg, #03bbec, #0078c0 65%, #064578); }
.kt-price-2 { background: linear-gradient(155deg, #ffe875, #ffca0a 65%, #eea500); }
.kt-price strong { paint-order: stroke fill; -webkit-text-stroke: 2px #291d2a; }
.kt-price-2 strong { -webkit-text-stroke-color: #fff9df; }
.kt-buy .kt-ic:first-child { rotate: -43deg; }
.kt-tickets-cta .kt-link { text-decoration-color: #c33d49; }

@media (min-width: 861px) {
  .kt-lineup { padding-inline: 1.5%; }
  .kt-lineup-head { margin-bottom: -18px; padding-inline: 4%; gap: 15px; }
  .kt-paper { padding: 25px 2.4% 10px; }
  .kt-tickets { grid-template-columns: 18% 56% minmax(0, 1fr); gap: 7px; }
  .kt-price { justify-content: center; min-height: 108px; gap: 1px; }
}

@media (max-width: 860px) {
  .kt-lineup-note { width: min(42%, 195px); }
  .kt-early-bird-art { min-height: 112px; }
}

@media (min-width: 861px) {
  .kt main {
    background:
      url("../uploads/events/katakk-3/scene-cloud-layer.webp") left -155px top 440px / 340px auto no-repeat,
      url("../uploads/events/katakk-3/scene-cloud-layer.webp") right -136px top 630px / 315px auto no-repeat,
      linear-gradient(#ffa4c5 24%, #ffd8be 76%, #ffe2d1);
  }
  .kt-price-cards:has(> :nth-child(3)):not(:has(> :nth-child(4))) {
    grid-template-columns: .87fr 1.06fr 1fr;
  }
  .kt-price + .kt-price::before {
    content: "";
    position: absolute;
    inset: 16px auto 16px -1px;
    width: 6px;
    background: radial-gradient(circle at 0 50%, #fff1da 0 4px, transparent 4.5px) 0 0 / 6px 15px repeat-y;
    pointer-events: none;
  }
  .kt-tickets-cta .kt-buy { width: min(100%, 245px); }
}

/* ฉากประกอบช่วงศิลปินและบัตร */
/* ใช้พื้นหลังชุดเดียวใต้ฉากภาพทั้งสามช่วง */
.kt main {
  overflow-x: clip;
  background: linear-gradient(
    180deg,
    #e5a767 0%,
    #fbc78d 24%,
    #f6b1af 41%,
    #c182aa 57%,
    #ffcdb9 75%,
    #ffe2d1 100%
  );
}
.kt-hero .kt-sky {
  mask-image: linear-gradient(#000 0 calc(100% - 105px), transparent);
}
.kt-hero:has(+ .kt-festival-strip) {
  mask-image: linear-gradient(#000 0 calc(100% - 18px), transparent);
}
.kt-hero::after { content: none; }
.kt-festival-strip {
  position: relative;
  isolation: isolate;
  z-index: 1;
  padding: 12px 0 20px;
  background: transparent;
}
.kt-festival-scenery {
  position: absolute;
  inset: -36px 0 -42px;
  z-index: -2;
  background:
    radial-gradient(ellipse at center, #fffdf7 12%, #fffaf3ed 43%, #fff1e79c 76%, #fff0e740 100%),
    url("../uploads/events/katakk-3/lineup-sunset-art.webp") center 57% / cover no-repeat;
  mask-image: linear-gradient(transparent, #000 26%, #000 72%, transparent);
  opacity: .95;
  pointer-events: none;
}
.kt-festival-strip::before, .kt-festival-strip::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(180px, 30vw, 500px);
  aspect-ratio: 2 / 1;
  background: url("../uploads/events/katakk-3/lineup-cloud-art.webp") center / contain no-repeat;
  pointer-events: none;
}
.kt-festival-strip::before { left: -11vw; bottom: -44px; rotate: -8deg; }
.kt-festival-strip::after { right: -10vw; top: -58px; scale: -1 1; rotate: 7deg; }
.kt-festival-strip .kt-lineup { margin-top: 0; filter: none; }
.kt-festival-strip .kt-paper, .kt-festival-strip .kt-tickets {
  position: relative;
  isolation: isolate;
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}
.kt-festival-strip .kt-paper::before, .kt-festival-strip .kt-tickets::before {
  content: "";
  position: absolute;
  inset: -8px -10px;
  z-index: -1;
  background: url("../uploads/events/katakk-3/lineup-paper-art.webp") center / 100% 100% no-repeat;
  filter: saturate(.48) brightness(1.12);
  pointer-events: none;
}
.kt-festival-strip .kt-paper { padding-bottom: 10px; }
.kt-festival-strip .kt-tickets { margin-top: 12px; }
.kt-festival-strip + .kt-venue { margin-top: 0; }

.kt-venue {
  isolation: isolate;
  background: transparent;
}
.kt-venue::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(110deg, transparent 35%, #3f24564d 76%), var(--venue-bg, none) center 53% / cover no-repeat;
  mask-image: linear-gradient(transparent, #000 95px, #000 calc(100% - 85px), transparent);
  pointer-events: none;
}
.kt-venue::before {
  z-index: -1;
  mask-image: linear-gradient(transparent, #000 55px, #000 70%, transparent);
}

@media (min-width: 861px) {
  .kt-festival-strip { padding-top: 0; }
  .kt-festival-strip .kt-paper { padding-top: 20px; }
  .kt-festival-strip .kt-paper::before { inset: -6px -6px -4px; }
}
@media (min-width: 1200px) {
  .kt-festival-strip .kt-lineup,
  .kt-festival-strip .kt-tickets {
    width: 94%;
    max-width: 1280px;
  }
  .kt-festival-strip .kt-lineup { padding-inline: 16px; }
  .kt-festival-strip .kt-price { min-height: 118px; }
}
@media (max-width: 860px) {
  .kt-festival-scenery { opacity: .86; }
  .kt-festival-strip .kt-paper::before, .kt-festival-strip .kt-tickets::before { inset-inline: -3px; }
  .kt-festival-strip::before { left: -100px; bottom: -30px; }
  .kt-festival-strip::after { right: -100px; top: -34px; }
}

/* หน้าเทศกาลสำหรับจอสัมผัส */
@media (max-width: 860px) {
  .kt-header-in { min-height: 60px; justify-content: space-between; padding: 6px 14px; }
  .kt-header-cta { gap: 8px; }
  .kt-burger { width: 44px; height: 44px; }
  .kt-nav {
    inset: 60px 0 auto;
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    visibility: hidden;
    transition: transform .25s, visibility .25s;
  }
  .kt-nav.is-open { visibility: visible; }
  .kt-nav a { min-height: 44px; }
  .kt-hero { padding: 78px 12px 42px; }
  .kt-hero-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 0; max-width: 580px; }
  .kt-hero-center { grid-column: 1 / -1; grid-row: 1; }
  .kt-logo { width: clamp(154px, 51vw, 246px); margin-bottom: -10px; }
  .kt-title { width: clamp(152px, 46vw, 221px); }
  .kt-date-text { font-size: clamp(24px, 6vw, 32px); line-height: 1.2; }
  .kt-loc { max-width: 100%; margin-bottom: 8px; padding-block: 5px; font-size: 13px; }
  .kt-buy-lg { width: min(100%, 275px); min-height: 48px; padding: 8px 16px; font-size: 22px; }
  .kt-hero-left { grid-row: 2; grid-column: 1; height: clamp(112px, 37vw, 204px); }
  .kt-rooster-wrap { width: 112%; left: -10%; top: 4px; }
  .kt-bridge { width: 103%; max-width: none; left: -9%; right: auto; bottom: -4px; }
  .kt-hero-right { display: contents; }
  .kt-hero-right .kt-tagline, .kt-tagline-text { grid-row: 2; grid-column: 2; align-self: start; justify-self: center; width: 66%; margin: 2px 0 0; z-index: 2; }
  .kt-tagline-text { font-size: clamp(12px, 3vw, 21px); }
  .kt-stage-wrap { grid-row: 2; grid-column: 2; align-self: end; justify-self: center; width: 108%; margin: 0; }
  .kt-count { grid-row: 3; grid-column: 1 / -1; justify-self: center; width: min(100%, 345px); margin: 9px 0 0; padding: 15px 10px 8px; border-radius: 16px; }
  .kt-count p { top: -11px; padding: 1px 10px; font-size: 13px; }
  .kt-count-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .kt-count-cells span { min-width: 0; padding: 4px 2px; font-size: 11px; }
  .kt-motion-toggle { right: 8px; top: 65px; font-size: 11px; }
  .kt-balloon-1 { top: 85px; left: 9%; width: 45px; }
  .kt-balloon-3 { top: 130px; right: 8%; width: 40px; }
  .kt-festival-strip .kt-lineup { padding-inline: 12px; }
  .kt-lineup-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 4px 8px; padding-inline: 5px; }
  .kt-lineup-sticker, .kt-lineup-note { width: 100%; max-width: 230px; }
  .kt-lineup-head .kt-pill-btn { grid-column: 1 / -1; justify-self: end; min-height: 38px; padding: 4px 12px; }
  .kt-festival-strip .kt-paper { padding: 14px 12px 12px; }
  .kt-artists { grid-auto-columns: clamp(104px, 38%, 172px); gap: 8px; padding-bottom: 4px; }
  .kt-festival-strip .kt-tickets { padding: 14px 12px; gap: 7px; }
  .kt-tickets-label { align-items: center; }
  .kt-early-bird-art { min-height: 90px; }
  .kt-early-bird-art::before { width: min(100%, 150px); }
  .kt-price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .kt-price { justify-content: center; padding-inline: 2px; min-height: 96px; }
  .kt-price-title { font-size: clamp(12px, 3.6vw, 17px); }
  .kt-price strong { font-size: clamp(23px, 7vw, 36px); }
  .kt-price small { font-size: 11px; }
  .kt-tickets-cta .kt-buy { width: min(100%, 290px); min-height: 48px; padding-block: 6px; }
  .kt-tickets-cta .kt-link { min-height: 36px; }
  .kt-venue { padding: 16px 14px 10px; }
  .kt-venue-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 6px; }
  .kt-venue-title { padding-top: 0; }
  .kt-venue-pin { display: none; }
  .kt-new { font-size: clamp(21px, 6.2vw, 37px); white-space: nowrap; }
  .kt-venue-name, .kt-venue-prov { padding: 4px 6px; font-size: clamp(12px, 3.3vw, 17px); }
  .kt-globe { width: min(100%, 200px); }
  .kt-venue-info { gap: 6px; }
  .kt-venue-info p { font-size: 15px; }
  .kt-venue-info p .kt-ic { width: 22px; height: 22px; }
  .kt-gallery { margin-top: 12px; }
  .kt-gallery-track { gap: 8px; padding-top: 17px; }
  .kt-shot { width: clamp(140px, 56vw, 210px); height: 98px; border-width: 3px; }
  .kt-info { padding: 12px 14px 20px; gap: 10px; }
  .kt-card { padding: 14px; }
  .kt-card summary { min-height: 44px; }
  .kt-footer-in { padding: 14px; gap: 12px; }
  .kt-footer-brand img { width: 83px; }
  .kt-footer-brand { gap: 9px; }
}

/* ป้ายและกรอบตามแบบหน้าเทศกาลล่าสุด */
.kt-hero .kt-date-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  max-width: 100%;
  margin: 3px 0 5px;
  padding: .18em .58em .22em;
  border-radius: 999px;
  background: linear-gradient(#fff686, #ffd02b);
  color: #221603;
  font-weight: 800;
  -webkit-text-stroke: 0;
  text-shadow: none;
  box-shadow: 0 2px 0 #b97c20, 0 3px 14px #ffdf64a6;
}
.kt-date-text .kt-ic { width: .88em; height: .88em; }
.kt-hero .kt-loc { background: #fffdf8; }
.kt-hero .kt-buy-lg { border-color: #fff8e8; box-shadow: 0 2px 0 #940a15, 0 0 15px #ffd6a2; }
.kt-festival-strip .kt-tickets::before {
  border: 2px solid #fff7ea;
  border-radius: 24px;
  background-color: #fff2e4;
}
.kt-venue-name { text-wrap: balance; }
.kt-venue-prov { border: 1px solid #fff6e7; }
.kt-gallery .kt-ribbon { clip-path: none; border-radius: 10px 16px 6px 12px; padding-inline: 13px; }
.kt-card { border: 1px solid #f2d5c2; }

@media (min-width: 861px) {
  .kt-hero .kt-date-text { font-size: calc(2.7 * var(--kt-unit)); }
  .kt-hero .kt-loc { border-radius: 18px; max-width: 92%; }
  .kt-hero .kt-buy-lg { width: min(96%, 330px); }
  .kt-count { bottom: 6%; }
  .kt-venue-in { grid-template-columns: 1.05fr .85fr 1fr; }
  .kt-venue-title { padding-left: 7%; }
  .kt-venue-title h2 { align-items: center; }
  .kt-venue-pin { width: 12%; top: 4px; left: 2%; }
  .kt-new { font-size: calc(3.95 * var(--kt-unit)); padding-left: 14%; align-self: start; }
  .kt-venue-name { text-align: center; }
  .kt-venue-info { gap: 5px; }
  .kt-venue-info .kt-ic { width: 23px; height: 23px; }
  .kt-venue .kt-gallery { margin-top: 2px; }
  .kt-gallery .kt-ribbon { font-size: calc(2.05 * var(--kt-unit)); }
  .kt-card { border-radius: 16px; }
}

@media (max-width: 860px) {
  .kt-hero .kt-date-text { font-size: clamp(20px, 5.5vw, 30px); }
}

/* ---------- แอนิเมชันเปิดหน้า + เลื่อนถึงแล้วค่อยโผล่ (ควบคุมด้วย katakk.js) ---------- */
/* ระหว่างรอเปิดฉาก: ซ่อนชิ้นส่วนหัว (สคริปต์ใน <head> ใส่ .kt-intro ให้ แล้ว katakk.js เล่นแอนิเมชันและเอาออก) */
.kt-intro :is(.kt-header, .kt-mountains, .kt-cloud, .kt-balloon, .kt-birds, .kt-rooster-wrap, .kt-bridge, .kt-logo, .kt-title, .kt-date-text, .kt-loc, .kt-buy-lg, .kt-tagline, .kt-tagline-text, .kt-stage-wrap, .kt-count, .kt-motion-toggle) { opacity: 0; }
/* ชิ้นที่ยังไม่เลื่อนถึง */
.kt-wait { opacity: 0; }
/* ท่าเข้าเดิมที่ฝังใน CSS ให้ JS เป็นคนเล่นแทน (กันเล่นซ้ำ 2 รอบ) — ท่าขยับวนหลังเข้าแล้วยังอยู่ */
.kt-price { animation: none; }
@media (max-width: 860px) {
  .kt-logo { animation: kt-float 5s ease-in-out 1.8s infinite; }
  .kt-title { animation: kt-wiggle 4.5s ease-in-out 2.2s infinite; }
  .kt-loc { animation: none; }
  .kt-buy-lg { animation: kt-pulse 2.4s ease-in-out 2.6s infinite; }
  .kt-tagline { animation: kt-float 6s ease-in-out 2s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .kt-intro *, .kt-wait { opacity: 1 !important; }
}

/* เมนูเทศกาล */
.kt-header { border-bottom: 1px solid #f3e4d7; box-shadow: 0 2px 12px #43194a17; }
.kt-header-in { justify-content: space-between; }
.kt-nav a { font-weight: 700; }
.kt-header-cta .kt-login { border-color: #a4a0b6; }
.kt-header-cta .kt-cart { border-color: #c0bacc; }
.kt-nav a:focus-visible, .kt-header-cta a:focus-visible { outline-offset: 1px; }

@media (min-width: 861px) {
  .kt-header-in { max-width: min(94%, 1280px); padding-inline: 0; }
  .kt-brand { margin-left: 0; }
  .kt-nav { margin-inline: auto; }
}
@media (max-width: 860px) {
  .kt-nav.is-open { padding-inline: max(16px, calc((100vw - 580px) / 2)); }
  .kt-nav a + a { border-top: 1px solid #f3e9df; }
  .kt-burger { background: #261856; }
}

/* ===== แถบเมนูบน (สีขาวเดิม): โลโก้ห้อยเป็นสติกเกอร์ + ปุ่มซื้อบัตร ===== */
.kt-header-in { position: relative; gap: 14px; }
.kt-brand { position: relative; z-index: 2; flex: none; align-self: flex-start; }
.kt-brand img { filter: drop-shadow(0 3px 5px #43194a40); }
.kt-header-cta { flex: none; }
.kt-head-buy {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 99px;
  border: 2px solid #fff3c4; background: linear-gradient(#ff4b38, #d40d1d 60%, #9c0710); color: #fff;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 0 #6e0610, 0 0 14px #ff6a3d66; transition: transform .2s, box-shadow .2s;
}
.kt-head-buy:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 3px 0 #6e0610, 0 0 20px #ff8a3d99; }
.kt-head-buy .kt-ic { width: 20px; height: 20px; rotate: -20deg; }
.kt-burger span { transform-origin: center; }
.kt-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kt-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kt-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 861px) {
  .kt-header-in { height: 58px; padding-block: 0; }
  /* โลโก้ใหญ่ห้อยลงล้นแถบ เหมือนสติกเกอร์ */
  .kt-brand img { height: 74px; margin-top: 2px; margin-bottom: -18px; }
  .kt-brand:hover img { transform: rotate(-4deg) scale(1.06); }
  .kt-nav { gap: 2px; }
  .kt-nav a { padding: 6px clamp(8px, .95vw, 14px); font-size: clamp(13px, 1.15vw, 15px); }
  .kt-header-cta { gap: 8px; }
  .kt-header-cta .kt-login { padding: 6px 12px; font-size: 13px; }
  .kt-hero { padding-top: 58px; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .kt-header-cta .kt-login span { display: none; }
  .kt-header-cta .kt-login { padding: 7px; }
}
@media (max-width: 860px) {
  .kt-header-in { min-height: 60px; }
  .kt-brand img { height: 52px; margin-bottom: -10px; }
  .kt-head-buy { padding: 7px 12px; font-size: 14px; }
}
/* ===== ลื่นตอนเลื่อน: ตัดของที่ต้องวาดหน้าจอใหม่ทุกเฟรม ===== */
/* เวที: เดิมไล่ filter (เงา+ความสว่าง) = วาดรูปใหญ่ใหม่ทุกเฟรม → เงาคงที่ แล้วกะพริบแสงด้วยชั้นแสงที่เปลี่ยนแค่ opacity */
.kt-stage, .kt-stage-wrap .kt-stage { animation: none; }
.kt-stage-wrap { position: relative; }
.kt-stage-wrap::after {
  content: ""; position: absolute; inset: 10% 8% 25%; z-index: 1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse, #ff5ad280, transparent 70%);
  opacity: 0; animation: kt-stage-glow 4s ease-in-out infinite;
}
@keyframes kt-stage-glow { 50% { opacity: 1; } }
/* ลำแสงเวที: ตัด blur + blend mode (หนักมากเมื่อขยับ) */
.kt-beam { filter: none; mix-blend-mode: normal; background: linear-gradient(to top, #ff8ae670, transparent); will-change: transform, opacity; }
/* ส่วนหัวทั้งก้อนไม่ต้องมี mask (ครอบแอนิเมชันทั้งหมด ต้องคำนวณใหม่ทุกเฟรม) */
.kt-hero:has(+ .kt-festival-strip) { mask-image: none; }
/* หัวเว็บไม่ต้องเบลอพื้นหลังตอนเลื่อน */
.kt-header, .kt-header.is-scrolled, .kt-header:hover { backdrop-filter: none; }
.kt-sky { will-change: auto; }
/* ชิ้นที่ลอย/โยกตลอด: แยกเป็นเลเยอร์ให้การ์ดจอขยับเอง */
.kt-cloud, .kt-balloon, .kt-rooster-wrap, .kt-bridge, .kt-logo, .kt-title, .kt-tagline, .kt-buy::after, .kt-price-shine { will-change: transform; }
/* ส่วนที่เลื่อนพ้นจอไปแล้ว: หยุดแอนิเมชันวน (katakk.js ใส่ .kt-off ให้) */
.kt-off *, .kt-off *::before, .kt-off *::after, .kt-off::before, .kt-off::after { animation-play-state: paused !important; }

/* เวทีรูปใหม่ (มีไฟ/ลำแสงในรูปแล้ว) — ไม่ต้องมีลำแสงซ้อน */
.kt-beam { display: none; }

/* มือถือใช้รูปท้องฟ้ารุ่นเล็ก (-m.webp) */
@media (max-width: 860px) {
  .kt-sky { background-image: var(--sky-m, var(--sky)); }
  .kt-venue { --venue-bg: var(--venue-bg-m) !important; --venue-mt: var(--venue-mt-m) !important; }
}
@media (max-width: 380px) {
  .kt-head-buy span { display: none; }
  .kt-head-buy { padding: 8px 10px; }
}

/* มือถือ: ไม่แสดงนกบินผ่าน */
@media (max-width: 860px) { .kt-birds { display: none !important; } }

/* ===== แถบเลื่อนด้านขวา ธีม KATAKK (เฉพาะจอคอมที่ใช้เมาส์) ===== */
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: #fbe3ef; }
  ::-webkit-scrollbar-thumb { border: 3px solid #fbe3ef; border-radius: 999px; background: linear-gradient(180deg, #ff4b38, #d40d1d 60%, #9c0710); }
  ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #2f2fa8, #22217a); }
  ::-webkit-scrollbar-corner { background: #fbe3ef; }
  @supports not selector(::-webkit-scrollbar) { html { scrollbar-color: #d40d1d #fbe3ef; scrollbar-width: thin; } }
}

/* ===== มือถือ: เมนูล่างแทนเมนูบน ===== */
.kt-bottom-nav { display: none; }
@media (max-width: 860px) {
  /* ไม่มีแถบหัวเว็บ — ใช้เมนูล่างแทน (แผ่นเมนูยังอยู่ใน header จึงซ่อนแค่แถบ) */
  .kt-header, .kt-header.is-scrolled, .kt-header:hover { background: none; box-shadow: none; border: 0; pointer-events: none; }
  .kt-header-in { min-height: 0; padding: 0; }
  .kt-brand, .kt-header-cta { display: none; }
  .kt-nav { pointer-events: auto; }

  .kt-bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: #fff; border-top: 3px solid var(--kt-yellow);
    box-shadow: 0 -6px 20px rgba(40, 20, 80, .16);
  }
  .kt-bottom-nav a, .kt-bottom-nav button {
    display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; justify-content: flex-end;
    padding: 0; border: 0; background: none; color: var(--kt-muted); font: 600 11.5px/1.2 'Kanit', sans-serif;
    text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .kt-bottom-nav .kt-ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .kt-bottom-nav a.is-active, .kt-bottom-nav button[aria-expanded="true"] { color: var(--kt-navy); }
  .kt-bottom-nav a.is-active .kt-ic { stroke-width: 2.3; }
  /* ปุ่มซื้อบัตรตรงกลาง: วงกลมแดงยกขึ้น */
  .kt-bottom-nav .kt-bn-buy { color: var(--kt-red); font-weight: 700; }
  .kt-bn-buy i {
    display: grid; place-items: center; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%;
    background: linear-gradient(#ff4b38, #d40d1d 60%, #9c0710); border: 3px solid #fff;
    box-shadow: 0 4px 0 #6e0610, 0 6px 16px rgba(160, 10, 30, .4); animation: kt-bn-pulse 2.4s ease-in-out infinite;
  }
  .kt-bottom-nav .kt-bn-buy .kt-ic { width: 28px; height: 28px; stroke: #fff; rotate: -20deg; }
  .kt-bn-buy:active i { transform: scale(.94); }

  /* เมนูทั้งหมด: แผ่นเลื่อนขึ้นเหนือแถบล่าง */
  .kt-nav {
    inset: auto 0 calc(64px + env(safe-area-inset-bottom)) 0; max-height: calc(100dvh - 140px);
    border-radius: 20px 20px 0 0; padding: 10px 16px 14px; transform: translateY(115%); z-index: 55;
    box-shadow: 0 -12px 30px rgba(40, 20, 80, .22);
  }
  .kt-nav.is-open { transform: none; }
  .kt-nav::before { content: ""; display: block; width: 44px; height: 4px; margin: 0 auto 6px; border-radius: 4px; background: #ddd5e6; }
  .kt-nav.is-open { padding-inline: 16px; }

  /* เว้นที่ท้ายหน้าไม่ให้แถบล่างบังเนื้อหา */
  body.kt { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .kt-hero { padding-top: 22px; }
  .kt-bn-buy i { margin-bottom: 6px; }
}
@keyframes kt-bn-pulse { 50% { box-shadow: 0 4px 0 #6e0610, 0 6px 22px rgba(255, 70, 50, .65); } }
@media (prefers-reduced-motion: reduce) { .kt-bn-buy i { animation: none; } }
