/* ============================================================
   hero.css — Panel 4 (hero + login card) + countdown/stats
   floating panels + contact section
   prefix: l432a-hero__
   ============================================================ */

/* ---- ลำตัวหน้า: ระยะห่างพาเนลหลัง header ---- */
.l432a-stack{display:flex;flex-direction:column;gap:12px;margin-top:12px}

/* ============ banner panel (banner.jpg เต็มแผ่น คลิกได้) ============ */
.l432a-banner{
  display:block;overflow:hidden;position:relative;
  border-radius:var(--radius-panel);
  border:1px solid var(--panel-border);
  box-shadow:var(--panel-shadow);
  transition:filter .2s ease,transform .2s ease;
}
.l432a-banner img{display:block;width:100%;height:auto}
.l432a-banner:hover{filter:brightness(1.05)}
.l432a-banner:focus-visible{outline:2px solid var(--gold-300);outline-offset:3px}
/* light saber — ลำแสงทองวิ่งวนรอบขอบแบนเนอร์ */
@property --saber-ang{syntax:'<angle>';initial-value:0deg;inherits:false}
.l432a-banner::before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  border-radius:var(--radius-panel);
  padding:3px;                                   /* ความหนาของลำแสง */
  background:conic-gradient(from var(--saber-ang),
    transparent 0deg 290deg,
    rgba(255,226,150,.25) 315deg,
    #ffe9a8 335deg,
    #fffef2 348deg,
    #ffe9a8 356deg,
    transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  filter:drop-shadow(0 0 6px rgba(255,220,140,.85));
  animation:banner-saber 3.2s linear infinite;
}
@keyframes banner-saber{to{--saber-ang:360deg}}
@media (prefers-reduced-motion:reduce){
  .l432a-banner::before{display:none}
}
/* ป้าย HOT กระพริบ — ทับป้ายที่วาดในแบนเนอร์ (ของแบนเนอร์รูปเดิม — ไม่ได้ใช้แล้ว) */
.l432a-banner__hot{
  position:absolute;left:90.1%;top:76%;width:4.4%;height:8.2%;
  display:grid;place-items:center;pointer-events:none;z-index:2;
  border-radius:999px;
  background:linear-gradient(160deg,#F7E7A8,#E8C46A 55%,#C79A3C);
  color:#7a0e18;font-family:var(--f-head);font-weight:600;
  font-size:clamp(8px,1.05vw,13px);letter-spacing:.04em;line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.4);
  animation:promo-hot-blink .85s ease-in-out infinite;
}
@media (prefers-reduced-motion:reduce){
  .l432a-banner__hot{animation:none}
}
/* มือถือใช้แบนเนอร์จัตุรัส (banner-mobile.jpg) ซึ่งมีป้าย HOT ในรูปแล้ว — ตำแหน่งป้ายนี้คำนวณไว้สำหรับแบนเนอร์ desktop
   ถ้าแสดงบนรูปมือถือจะไปอยู่ขอบขวาและโดนตัด → ซ่อนเฉพาะมือถือ (24 ก.ย. 69) */
@media (max-width:767.98px){
  .l432a-banner__hot{display:none}
}
/* แฮชแท็กหมวด (.l432a-tags) ย้ายไป header.css แล้ว (29 ก.ย. 69 — แสดงทุกหน้า รวมหน้า SSR ที่ไม่โหลด hero.css) */
/* ============ ปุ่ม LINE @hongtelotto ใต้แฮชแท็ก (28 ก.ย. 69 เจ้าของสั่ง) ============
   เขียวเข้มกว่าเขียว LINE เพื่อให้ตัวขาวผ่าน 4.5:1 (#00893F 4.52 · #007A3A 5.46 — เขียว LINE #06C755 ได้แค่ 2.26)
   effect: แสงวิ่งผ่านปุ่ม (transform อย่างเดียว) · hover ยกขึ้น + เรืองแสงเขียว · กดแล้วยุบ · reduce motion = ไม่มีการเคลื่อนไหว */
.l432a-line{display:flex;justify-content:center;padding:12px 8px 4px}
.l432a-line__btn{
  position:relative;overflow:hidden;isolation:isolate;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:10px 26px;border-radius:999px;
  background:linear-gradient(180deg,#00893F 0%,#007A3A 100%);
  border:1px solid #2fd67a;
  color:#fff;font-family:var(--f-head);font-weight:700;font-size:17px;line-height:1;letter-spacing:.2px;
  text-decoration:none;white-space:nowrap;
  box-shadow:0 4px 14px rgba(0,137,63,.45),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .18s ease,box-shadow .18s ease;
}
.l432a-line__btn::before{                                  /* แสงวิ่ง: อยู่ใต้ตัวหนังสือ (z-index -1 ใน isolation) */
  content:"";position:absolute;top:0;left:0;width:40%;height:100%;z-index:-1;pointer-events:none;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.30) 50%,transparent 100%);
  transform:translateX(-120%) skewX(-20deg);
  animation:l432a-line-shine 3.2s ease-in-out infinite;
}
@keyframes l432a-line-shine{
  0%{transform:translateX(-120%) skewX(-20deg)}
  55%,100%{transform:translateX(300%) skewX(-20deg)}
}
.l432a-line__btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(0,201,90,.5),0 0 0 3px rgba(47,214,122,.25),inset 0 1px 0 rgba(255,255,255,.22);
}
.l432a-line__btn:active{transform:translateY(0) scale(.97);box-shadow:0 2px 8px rgba(0,137,63,.45)}
.l432a-line__btn:focus-visible{border-radius:999px}      /* ขอบโฟกัสทองจาก main.css — คงทรงแคปซูล */
.l432a-line__ico{flex:none}
@media (max-width:767.98px){
  .l432a-line{padding-top:10px}
  .l432a-line__btn{font-size:16px;min-height:44px;padding:9px 22px}
}
@media (prefers-reduced-motion:reduce){
  .l432a-line__btn::before{display:none}
  .l432a-line__btn:hover,.l432a-line__btn:active{transform:none}
}

/* ============ PANEL 4 — hero ============ */
.l432a-hero{
  position:relative;border-radius:22px;min-height:460px;overflow:hidden;
  padding:40px;
  /* แดงเลือดหมู gradient + ลายคลื่นมงคล Seigaiha ทอง */
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='30'><g fill='none' stroke='%23d4af37' stroke-opacity='.13' stroke-width='1.5'><path d='M-15 30a15 15 0 0 1 30 0M15 30a15 15 0 0 1 30 0M45 30a15 15 0 0 1 30 0'/><path d='M0 30a15 15 0 0 1 30 0M30 30a15 15 0 0 1 30 0' transform='translate(0,-15)'/></g></svg>") left top / 60px 30px repeat,
    linear-gradient(135deg,#8e1418 0%,#6d0e13 50%,#520a0e 100%);
}
.l432a-hero::before{ /* gold bokeh */
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:
    radial-gradient(60px 60px at 12% 24%,rgba(232,196,106,.10),transparent 70%),
    radial-gradient(90px 90px at 82% 12%,rgba(232,196,106,.08),transparent 70%),
    radial-gradient(46px 46px at 30% 82%,rgba(232,196,106,.09),transparent 70%),
    radial-gradient(70px 70px at 68% 86%,rgba(232,196,106,.07),transparent 70%),
    radial-gradient(36px 36px at 48% 18%,rgba(232,196,106,.08),transparent 70%);
  filter:blur(2px);
}
.l432a-hero::after{ /* edge vignette */
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:22px;
  background:radial-gradient(95% 120% at 50% 45%,transparent 55%,rgba(0,0,0,.38) 100%);
}
/* มุมกรอบลายจีนสีทอง 4 มุม (สไตล์เดียวกับมุมตกแต่งในแบนเนอร์) */
.l432a-hero__frame{
  position:absolute;inset:12px;pointer-events:none;z-index:1;opacity:.8;
  background-image:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g fill='none' stroke='%23dfb867' stroke-width='5' stroke-linecap='square'><path d='M5 118V22Q5 5 22 5H118'/><path d='M24 118V40Q24 24 40 24H118'/><path d='M46 70V46H70'/></g><circle cx='33' cy='33' r='5.5' fill='%23dfb867'/></svg>"),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g transform='rotate(90 60 60)'><g fill='none' stroke='%23dfb867' stroke-width='5' stroke-linecap='square'><path d='M5 118V22Q5 5 22 5H118'/><path d='M24 118V40Q24 24 40 24H118'/><path d='M46 70V46H70'/></g><circle cx='33' cy='33' r='5.5' fill='%23dfb867'/></g></svg>"),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g transform='rotate(180 60 60)'><g fill='none' stroke='%23dfb867' stroke-width='5' stroke-linecap='square'><path d='M5 118V22Q5 5 22 5H118'/><path d='M24 118V40Q24 24 40 24H118'/><path d='M46 70V46H70'/></g><circle cx='33' cy='33' r='5.5' fill='%23dfb867'/></g></svg>"),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g transform='rotate(270 60 60)'><g fill='none' stroke='%23dfb867' stroke-width='5' stroke-linecap='square'><path d='M5 118V22Q5 5 22 5H118'/><path d='M24 118V40Q24 24 40 24H118'/><path d='M46 70V46H70'/></g><circle cx='33' cy='33' r='5.5' fill='%23dfb867'/></g></svg>");
  background-repeat:no-repeat;
  background-position:left top,right top,right bottom,left bottom;
  background-size:110px 110px;
}
@media (max-width:767.98px){
  .l432a-hero__frame{inset:8px;background-size:62px 62px;opacity:.65}
}

.l432a-hero__inner{
  position:relative;z-index:2;
  display:grid;grid-template-columns:56% 44%;align-items:center;gap:24px;
  min-height:380px;
}
.l432a-hero__inner > *{min-width:0}

/* ---- copy block ---- */
.l432a-hero__eyebrow{
  font-family:var(--f-body);font-weight:600;font-size:14px;color:var(--gold-300);
  letter-spacing:.02em;margin:0 0 10px;
}
.l432a-hero__title{
  font-family:var(--f-head);font-weight:600;
  font-size:clamp(28px,5vw,52px);line-height:1.3;   /* ไทยมีวรรณยุกต์ ห้ามต่ำกว่านี้ */
  color:var(--text);margin:0 0 14px;overflow:visible;
  /* ขอบทองรอบตัวอักษร (paint-order ให้เส้นอยู่นอกเนื้อตัวอักษร ไม่กินสีขาว) */
  -webkit-text-stroke:2.5px var(--gold-500);
  paint-order:stroke fill;
  text-shadow:0 2px 4px rgba(60,8,4,.45),0 2px 22px rgba(232,196,106,.3);
}
.l432a-hero__sub{
  font-family:var(--f-body);font-weight:400;
  font-size:clamp(14px,1.6vw,17px);line-height:1.7;color:var(--text-muted);
  max-width:46ch;margin:0 0 20px;
}
.l432a-hero__chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.l432a-hero__chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 15px;border-radius:999px;
  background:rgba(50,7,4,.5);border:1px solid var(--panel-border);
  font-family:var(--f-body);font-weight:600;font-size:13px;color:var(--text);
}
.l432a-hero__chip b{color:var(--gold-300);font-weight:700}

/* ---- ball cluster (CSS placeholder — TODO: แทนด้วย assets/img/hero-balls.webp) ---- */
.l432a-hero__balls{
  position:absolute;z-index:1;right:37%;top:50%;
  width:min(400px,34vw);aspect-ratio:1/0.82;
  transform:translate(50%,-50%);
  pointer-events:none;
  animation:l432a-float 6.5s ease-in-out infinite alternate;
}
.l432a-hero__balls::before{ /* glow ทองอุ่นรอบ cluster (ธีมแดง) */
  content:"";position:absolute;inset:-18%;border-radius:50%;
  background:radial-gradient(circle,rgba(255,170,80,.45),transparent 68%);
  filter:blur(30px);
}
.l432a-hero__ball{
  position:absolute;border-radius:50%;aspect-ratio:1/1;
  display:grid;place-items:center;
  background:radial-gradient(circle at 32% 26%,#FFF6D8,var(--gold-300) 46%,var(--gold-500) 82%,#8A671F);
  box-shadow:
    inset 0 0 0 2px rgba(122,88,24,.55),
    0 18px 30px -12px rgba(0,0,0,.6),
    0 0 34px rgba(232,196,106,.35);
  font-family:var(--f-head);font-weight:600;color:#0A2A17;
}
.l432a-hero__ball::before{ /* highlight บนซ้าย */
  content:"";position:absolute;left:16%;top:9%;width:46%;height:32%;border-radius:50%;
  background:radial-gradient(ellipse at 50% 0,rgba(255,255,255,.9),transparent 70%);
}
.l432a-hero__ball::after{ /* เงาใต้ลูก */
  content:"";position:absolute;left:12%;right:12%;bottom:-14%;height:16%;border-radius:50%;
  background:radial-gradient(ellipse,rgba(0,0,0,.45),transparent 70%);
  filter:blur(4px);z-index:-1;
}
/* เลขมงคล 8 · 9 · 9 — ห้ามใช้ 4·3·2 (แบรนด์คู่แข่ง) */
.l432a-hero__ball:nth-child(2){width:44%;left:0;top:22%;font-size:clamp(28px,3.4vw,52px)}
.l432a-hero__ball:nth-child(3){width:52%;left:30%;top:6%; font-size:clamp(34px,4vw,64px);z-index:2}
.l432a-hero__ball:nth-child(4){width:42%;left:60%;top:34%;font-size:clamp(26px,3.2vw,50px)}
.l432a-hero__wm{ /* ลายน้ำ wordmark ขอบล่าง cluster */
  position:absolute;left:50%;bottom:-6%;transform:translateX(-50%);
  font-family:'Chonburi',var(--f-head);font-size:clamp(18px,2.4vw,30px);
  color:var(--gold-100);opacity:.12;white-space:nowrap;letter-spacing:.14em;
}
@keyframes l432a-float{from{transform:translate(50%,-50%) translateY(-8px)}to{transform:translate(50%,-50%) translateY(8px)}}

/* ---- login card (PHASE 1: ไม่มี input — ปุ่ม action 3 ชั้น) ---- */
.l432a-hero__cardwrap{position:relative;z-index:3;justify-self:end;width:100%;max-width:420px}
.l432a-hero__card{
  background:#670c11;
  -webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%);
  border:1px solid rgba(232,196,106,.26);border-radius:16px;padding:24px;
  box-shadow:0 24px 60px -20px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.06);
}
.l432a-hero__cardhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:18px}
.l432a-hero__cardhead h2{font-family:var(--f-head);font-weight:600;font-size:18px;color:var(--text);margin:0}
.l432a-hero__cardhead span{font-family:var(--f-body);font-size:12px;color:var(--text-muted)}
.l432a-hero__cardbtns{display:grid;gap:12px}
.l432a-hero__btn{
  height:48px;border-radius:var(--radius-ctl);width:100%;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--f-head);font-weight:600;font-size:15.5px;
  transition:transform .15s ease,filter .15s ease;
}
.l432a-hero__btn:active{transform:translateY(1px)}
.l432a-hero__btn--gold{
  background:var(--gold-fill);color:#1A1207;
  box-shadow:0 6px 20px rgba(199,154,60,.35),inset 0 1px 0 rgba(255,255,255,.45);
}
.l432a-hero__btn--gold:hover{filter:brightness(1.05);transform:translateY(-1px)}
.l432a-hero__btn--outline{
  border:1px solid rgba(232,196,106,.4);color:var(--gold-100);background:rgba(232,196,106,.06);
}
.l432a-hero__btn--outline:hover{background:rgba(232,196,106,.12);border-color:var(--gold-300)}
.l432a-hero__btn--line{background:var(--line-green);color:#fff}
.l432a-hero__btn--line:hover{filter:brightness(1.06)}
.l432a-hero__btn--line svg{width:22px;height:22px;flex-shrink:0}
.l432a-hero__cardnote{
  margin:14px 0 0;font-family:var(--f-body);font-size:13px;line-height:1.6;
  color:var(--text-muted);text-align:center;
}
.l432a-hero__cardnote a{color:var(--gold-300);text-decoration:underline dotted}
.l432a-hero__undercard{
  margin:12px 4px 0;text-align:center;
  font-family:var(--f-body);font-size:13px;color:var(--text-muted);
}

/* ============ countdown panel (ห้ามแตะ JS/DOM ภายใน draw-card) ============ */
.l432a-countdown{border:0;box-shadow:none;padding:0;border-radius:22px}
.l432a-countdown .draw-card{
  border-radius:var(--radius-panel);
  /* พื้นหลังรูป: วางไฟล์ที่ assets/img/countdown-bg.webp (สเปกขนาดดู universal.md)
     ระหว่างยังไม่มีรูป จะเห็นแค่ gradient เขียวเดิม — ไม่พัง */
  background:
    linear-gradient(90deg,rgba(6,43,33,.05) 0%,rgba(5,36,27,.72) 44%,rgba(4,29,22,.99) 66%),
    url("../img/countdown-bg.jpg") left center / cover no-repeat,
    linear-gradient(165deg,#0A3B2B,var(--green-800) 70%);
  border:1px solid var(--panel-border);
  box-shadow:var(--panel-shadow);
}
.l432a-countdown .draw-card::before{border-color:rgba(232,196,106,.10)}
/* เนื้อหาชิดขวา — เว้นฝั่งซ้ายไว้โชว์รูป */
.l432a-countdown .draw-card-head{max-width:640px;margin:0 0 1.4rem auto}
.l432a-countdown .draw-card-head h2{color:var(--gold-300);font-family:var(--f-head);font-weight:600}
.l432a-countdown .draw-card-head span{color:var(--text-muted)}
.l432a-countdown .countdown{max-width:640px;margin-left:auto;margin-right:0;margin-bottom:1.5rem}
.l432a-countdown .count-cell{background:rgba(4,18,14,.6);border-color:var(--panel-border)}
.l432a-countdown .count-cell b{color:var(--gold-100)}
.l432a-countdown .count-cell small{color:var(--text-muted)}
.l432a-countdown .draw-card .btn-red{max-width:400px;margin-left:auto;margin-right:120px;display:flex}
/* CTA แดงคงเดิม — ปุ่มที่ convert ที่สุดในหน้า ห้ามเปลี่ยนเป็นทอง */
.l432a-countdown .draw-meta{color:var(--text-muted);text-align:right;max-width:640px;margin-left:auto;margin-right:0}
@media (max-width:767.98px){
  /* มือถือ: กลับมากลางเหมือนเดิม (จอแคบ ไม่มีที่ให้รูปฝั่งซ้าย) */
  .l432a-countdown .draw-card-head,
  .l432a-countdown .countdown,
  .l432a-countdown .draw-meta{margin-inline:auto;text-align:center}
  .l432a-countdown .draw-card .btn-red{margin-inline:auto}
  .l432a-countdown .draw-card{
    background:
      linear-gradient(180deg,rgba(5,36,27,.85),rgba(4,29,22,.96)),
      url("../img/countdown-bg.jpg") center / cover no-repeat,
      linear-gradient(165deg,#0A3B2B,var(--green-800) 70%);
  }
}

/* ============ contact section (#contact) ============ */
.l432a-contact{padding:4rem 0}
.l432a-contact__card{
  max-width:1320px;margin-inline:auto;
  border:1px solid var(--panel-border);border-radius:var(--radius-panel);
  box-shadow:var(--panel-shadow);
  background:linear-gradient(165deg,#4a0a08,#1d0605);
  padding:2.4rem;display:grid;grid-template-columns:1.2fr 1fr;gap:2rem;align-items:center;
}
.l432a-contact__card h2{font-family:var(--f-head);font-weight:600;font-size:1.5rem;color:var(--text);margin:0 0 .5rem}
.l432a-contact__card p{font-family:var(--f-body);color:var(--text-muted);font-size:.92rem;margin:0 0 .4rem}
.l432a-contact__hours{list-style:none;margin:.8rem 0 0;padding:0;display:grid;gap:.35rem;font-size:.9rem;color:var(--text)}
.l432a-contact__hours b{color:var(--gold-300);font-weight:600}
.l432a-contact__cta{display:grid;gap:12px;max-width:340px;justify-self:end;width:100%}

/* ============ promo popup (rate.jpg) ============ */
.promo-modal{position:fixed;inset:0;z-index:160;display:none;align-items:center;justify-content:center;padding:16px}
.promo-modal.is-open{display:flex}
.promo-modal__backdrop{
  position:absolute;inset:0;width:100%;border:0;cursor:pointer;
  background:rgba(2,10,7,.8);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.promo-modal__dialog{
  position:relative;width:min(440px,92vw);
  border-radius:18px;overflow:hidden;
  border:1px solid rgba(232,196,106,.4);
  box-shadow:0 30px 80px rgba(0,0,0,.65);
}
.promo-modal__dialog a{display:block}
.promo-modal__dialog img{display:block;width:100%;height:auto;max-height:86vh;object-fit:contain;background:var(--green-900)}
.promo-modal__close{
  position:absolute;top:10px;right:10px;z-index:2;
  width:38px;height:38px;border-radius:50%;
  background:rgba(4,18,14,.82);border:1px solid rgba(232,196,106,.4);
  color:#fff;font-size:1rem;display:grid;place-items:center;
  transition:color .15s,border-color .15s;
}
.promo-modal__close:hover{color:var(--gold-300);border-color:var(--gold-300)}
/* โซนคลิกทับปุ่มที่วาดในรูป: ของป๊อปอัปเดิม — ไม่ได้ใช้แล้ว */
.promo-modal__hit{position:absolute;background:transparent;border:0;cursor:pointer;border-radius:12px}
.promo-modal__hit:focus-visible{outline:2px solid var(--gold-300);outline-offset:0}
.promo-modal__hit--join{left:10%;width:48%;top:87.5%;height:9.5%}
.promo-modal__hit--close{left:60%;width:26%;top:87.5%;height:9.5%}
/* ป้าย HOT กระพริบ — ซ้อนทับป้ายที่วาดในรูป */
.promo-modal__hot{
  position:absolute;left:51%;top:87.4%;width:9.6%;height:4.6%;
  display:grid;place-items:center;pointer-events:none;
  border-radius:999px;
  background:linear-gradient(160deg,#F7E7A8,#E8C46A 55%,#C79A3C);
  color:#7a0e18;font-family:var(--f-head);font-weight:600;
  font-size:clamp(8px,1.55vw,11.5px);letter-spacing:.04em;line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.4);
  animation:promo-hot-blink .85s ease-in-out infinite;
}
@keyframes promo-hot-blink{
  0%,100%{transform:scale(1);filter:brightness(1);box-shadow:0 2px 6px rgba(0,0,0,.4)}
  50%{transform:scale(1.18);filter:brightness(1.25);box-shadow:0 0 16px rgba(255,140,60,.9),0 2px 6px rgba(0,0,0,.4)}
}
/* เอฟเฟกต์โลโก้ HONGTE LOTTO ในรูป: glow กระพริบ + แสงวูบกวาดผ่าน */
.promo-modal__logofx{
  position:absolute;left:28%;top:11.5%;width:44%;height:11%;
  pointer-events:none;overflow:hidden;border-radius:14px;
}
.promo-modal__logofx::before{ /* glow ทองหายใจ */
  content:"";position:absolute;inset:-25%;
  background:radial-gradient(ellipse at 50% 55%,rgba(255,228,150,.6),transparent 65%);
  mix-blend-mode:screen;
  animation:promo-logo-glow 1.6s ease-in-out infinite;
}
.promo-modal__logofx::after{ /* แสงวูบกวาดซ้าย→ขวา */
  content:"";position:absolute;top:-45%;bottom:-45%;width:26%;left:0;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.85),transparent);
  mix-blend-mode:screen;
  transform:translateX(-230%);
  animation:promo-logo-sweep 2.4s ease-in-out .4s infinite;
}
@keyframes promo-logo-glow{0%,100%{opacity:.06}50%{opacity:.8}}
@keyframes promo-logo-sweep{0%{transform:translateX(-230%)}55%,100%{transform:translateX(500%)}}

@media (prefers-reduced-motion:reduce){
  .promo-modal__hot{animation:none}
  .promo-modal__logofx{display:none}
}

/* ============ responsive ============ */
@media (max-width:1023.98px){
  .l432a-hero{padding:32px 24px}
  .l432a-hero__inner{grid-template-columns:1fr 1fr;gap:20px}
  .l432a-hero__balls{width:min(300px,38vw);right:26%;transform:translate(50%,-50%) scale(.7)}
  .l432a-contact__card{grid-template-columns:1fr;padding:1.8rem}
  .l432a-contact__cta{justify-self:start}
}
@media (max-width:767.98px){
  .l432a-hero{padding:24px 18px;min-height:0}
  .l432a-hero__inner{grid-template-columns:1fr;gap:22px;min-height:0}
  .l432a-hero__cardwrap{justify-self:stretch;max-width:none}
  /* cluster → เหลือแค่ glow ปกป้อง LCP */
  .l432a-hero__balls{right:0;top:20%;width:70vw;animation:none}
  .l432a-hero__ball,.l432a-hero__wm{display:none}
  .l432a-countdown .draw-card{padding:1.5rem 1.2rem}
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion:reduce){
  .l432a-hero__balls{animation:none}
  .l432a-hero__btn,.l432a-hero__btn--gold{transition:none}
}

/* ============ แบนเนอร์แบรนด์ (24 ก.ย. 69 — แทนแบนเนอร์รูปเดิม: โลโก้ + ข้อความจริง ไม่เป็นลิงก์) ============ */
.l432a-banner--brand{
  display:flex;align-items:center;justify-content:center;gap:clamp(16px,3vw,40px);
  padding:clamp(18px,3vw,36px) clamp(18px,4vw,56px);min-height:clamp(170px,22vw,280px);
  /* พื้นหลังรูป bg-banner.jpg (1600×350 · ลาย "ฮ่องเต้ ล็อตโต้" เอียง · 29 ก.ย. 69 เจ้าของสั่ง) + แสงทองหลังโลโก้เดิม
     สีพื้นสำรอง #6e0f18 = ตอนรูปยังโหลดไม่เสร็จ · เปลี่ยนไฟล์รูปเมื่อไหร่ต้องเปลี่ยน ?v= ของรูป (แคช 1 วัน) + ?v= ของ hero.css
     (รุ่นแรกลายเทาเด่น 00:04 → รุ่นลายจางที่เจ้าของส่งใหม่ 00:11 = ?v=20260929b) */
  background:
    radial-gradient(ellipse at 24% 50%,rgba(255,190,90,.26),transparent 55%),
    url("../img/bg-banner.jpg?v=20260929b") center/cover no-repeat,
    #6e0f18;
}
.l432a-banner--brand:hover{filter:none}
/* แบนเนอร์รูปเหนือแบนเนอร์แบรนด์ (3 ต.ค. 69) — ไม่เป็นลิงก์ จึงไม่สว่างขึ้นตอนชี้ · รูปใช้ .l432a-banner img{width:100%} เดิม */
.l432a-banner--art:hover{filter:none}
.l432a-banner .l432a-banner__logo{width:clamp(96px,14vw,200px);height:auto;flex:0 0 auto;   /* ต้องชนะ .l432a-banner img{width:100%} ของแบนเนอร์รูปเดิม */
  
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.5)) drop-shadow(0 0 18px rgba(255,200,110,.35))}
.l432a-banner__text{min-width:0}
.l432a-banner__brand{margin:0 0 4px;font-family:'Chonburi',var(--f-head);font-size:clamp(18px,2.4vw,30px);color:var(--gold-100);letter-spacing:.02em}
.l432a-banner__brand span{display:inline-block;margin-left:.5em;font-family:var(--f-head);font-weight:600;font-size:.55em;
  letter-spacing:.2em;color:var(--gold-300);opacity:.85;vertical-align:middle}
.l432a-banner__title{margin:0 0 8px;font-family:var(--f-head);font-weight:600;font-size:clamp(28px,4.6vw,58px);line-height:1.3;
  background:linear-gradient(180deg,#FFF3C4,#F0C75E 55%,#C99A3A);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 3px rgba(60,8,4,.5))}
.l432a-banner__sub{margin:0;font-family:var(--f-body);font-size:clamp(13px,1.5vw,17px);color:var(--text-muted)}@media (max-width:767.98px){
  .l432a-banner--brand{flex-direction:column;text-align:center;gap:8px;min-height:0}
  .l432a-banner__brand span{display:block;margin:2px 0 0}
}
/* ============ บล็อกผลหวยล่าสุดหน้าแรก (การ์ดชุดเดียวกับ results.html แต่เป็นลิงก์ไปหน้าตลาด) ============ */
.l432a-homeres{padding:clamp(18px,3vw,32px);background:rgba(29,11,9,.55)}
.l432a-homeres .l432a-homeres__head{margin:0 auto 1.6rem}
.l432a-homeres .results-foot{margin-top:1.4rem}
.result-card--link{display:block;color:inherit;text-decoration:none}
.result-card--link:focus-visible{outline:2px solid var(--gold-300);outline-offset:3px}
/* hero ไม่มีกล่องสมาชิกแล้ว — ขยับลูกบอลไปฝั่งขวาให้สมดุล */
.l432a-hero--nocard .l432a-hero__balls{right:22%}
/* มือถือ: การ์ดหวยรัฐบาลกว้างขั้นต่ำ ~320px — กรอบ panel + padding ทำให้ล้นกรอบ → ถอดกรอบ ให้ grid กว้างเท่าหน้า results.html */
@media (max-width:767.98px){
  .l432a-homeres{padding:12px 0 8px;border:0;box-shadow:none;background:none}
}
