@charset "utf-8";
/* CSS Document */
/* ---------- ปุ่มแฮมเบอร์เกอร์ ---------- */
  .awd-burger{
    position:fixed; top:100px; right:30px; z-index:2147483646;
    width:56px; height:56px; border:0; border-radius:12px;
    background:#191919; cursor:pointer;
    display:flex; flex-direction:column; justify-content:center; align-items:center; gap:6px;
    box-shadow:0 6px 20px rgba(0,0,0,.25);
    transition:top .4s cubic-bezier(.4,0,.2,1), transform .3s, box-shadow .3s;
  }
  /* ขอบสี CMYK วิ่งรอบปุ่ม */
  .awd-burger{ overflow:hidden; isolation:isolate; }
  .awd-burger::before{
    content:""; position:absolute; z-index:-2;
    width:150%; height:150%; top:-25%; left:-25%;
    background:conic-gradient(#00AEEF, #EC008C, #FFF200, #999999, #00AEEF);
    animation:awdSpin 3s linear infinite;
  }
  .awd-burger::after{
    content:""; position:absolute; z-index:-1; inset:3px;
    border-radius:9px; background:#191919;
  }
  .awd-burger:hover::before{ animation-duration:1s; }
  @keyframes awdSpin{ to{ transform:rotate(360deg); } }
  .awd-burger.is-scrolled{ top:30px; }
  .awd-burger:hover{ transform:scale(1.07); box-shadow:0 8px 26px rgba(0,0,0,.35); }
  .awd-burger span{
    display:block; height:3px; border-radius:3px;
    transition:width .3s ease, transform .3s ease;
  }
  .awd-burger span:nth-child(1){ width:26px; background:#00AEEF; }
  .awd-burger span:nth-child(2){ width:20px; background:#EC008C; }
  .awd-burger span:nth-child(3){ width:14px; background:#FFF200; }
  .awd-burger:hover span{ width:26px; }
  .awd-burger:hover span:nth-child(2){ transform:translateX(-3px); }

  /* ---------- Popup เต็มจอ ---------- */
  .awd-menu{
    position:fixed; inset:0; z-index:2147483647;
    background:#191919; color:#999;
    display:flex; align-items:center; justify-content:center;
    overflow-y:auto; padding:90px 24px 40px;
    opacity:0; visibility:hidden;
    clip-path:circle(0% at calc(100% - 58px) 58px);
    transition:clip-path .7s cubic-bezier(.77,0,.18,1), opacity .3s, visibility 0s .7s;
  }
  .awd-menu.is-open{
    opacity:1; visibility:visible;
    clip-path:circle(150% at calc(100% - 58px) 58px);
    transition:clip-path .7s cubic-bezier(.77,0,.18,1), opacity .2s, visibility 0s;
  }

  /* แถบ CMYK ด้านบนของ popup */
  .awd-menu::before{
    content:""; position:fixed; top:0; left:0; right:0; height:6px;
    background:linear-gradient(90deg,
      #00AEEF 0 25%, #EC008C 25% 50%, #FFF200 50% 75%, #999999 75% 100%);
  }

  /* ---------- ปุ่มปิด ---------- */
  .awd-close{
    position:fixed; top:24px; right:24px;
    width:72px; height:72px; border-radius:50%;
    border:2px solid #444; background:transparent; cursor:pointer;
    transition:transform .4s, border-color .3s, background .3s;
  }
  .awd-close::before, .awd-close::after{
    content:""; position:absolute; top:50%; left:50%;
    width:36px; height:4px; border-radius:4px; background:#ddd;
    transition:background .3s;
  }
  .awd-close::before{ transform:translate(-50%,-50%) rotate(45deg); }
  .awd-close::after { transform:translate(-50%,-50%) rotate(-45deg); }
  .awd-close:hover{ transform:rotate(90deg); border-color:#EC008C; background:rgba(236,0,140,.12); }
  .awd-close:hover::before{ background:#00AEEF; }
  .awd-close:hover::after { background:#EC008C; }
  .awd-close-label{
    position:fixed; top:100px; right:24px; width:72px; text-align:center;
    font-family:'serithairegular', sans-serif; font-weight:700;
    font-size:12px; letter-spacing:3px; color:#666;
  }

  /* ---------- รายการเมนู ---------- */
  .awd-list{ list-style:none; margin:0 auto; padding:0; width:100%; max-width:720px; }
  .awd-list li{
    opacity:0; transform:translateY(30px);
    transition:opacity .5s ease, transform .5s ease;
  }
  .awd-menu.is-open .awd-list li{ opacity:1; transform:none; }
  .awd-menu.is-open .awd-list li:nth-child(1){ transition-delay:.25s }
  .awd-menu.is-open .awd-list li:nth-child(2){ transition-delay:.30s }
  .awd-menu.is-open .awd-list li:nth-child(3){ transition-delay:.35s }
  .awd-menu.is-open .awd-list li:nth-child(4){ transition-delay:.40s }
  .awd-menu.is-open .awd-list li:nth-child(5){ transition-delay:.45s }
  .awd-menu.is-open .awd-list li:nth-child(6){ transition-delay:.50s }
  .awd-menu.is-open .awd-list li:nth-child(7){ transition-delay:.55s }
  .awd-menu.is-open .awd-list li:nth-child(8){ transition-delay:.60s }
  .awd-menu.is-open .awd-list li:nth-child(9){ transition-delay:.65s }
  .awd-menu.is-open .awd-list li:nth-child(10){ transition-delay:.70s }

  .awd-list a{
    position:relative; display:flex; align-items:baseline; gap:18px;
    padding:14px 8px; text-decoration:none; color:#999;
    font-family:'serithairegular', sans-serif;
    font-size:clamp(20px, 3.2vw, 32px); font-weight:700; line-height:1.3;
    transition:color .3s, padding-left .35s cubic-bezier(.4,0,.2,1);
  }
  .awd-list a .awd-ico{
    flex:0 0 auto; width:1em; height:1em; align-self:center;
    color:#666; transition:color .3s, transform .4s cubic-bezier(.4,0,.2,1);
  }
  .awd-list a .awd-ico svg{
    width:100%; height:100%; display:block;
    fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
  }
  .awd-list a:hover .awd-ico{ transform:scale(1.15) rotate(-8deg); }
  .awd-list a .awd-arrow{
    margin-left:auto; font-size:.8em; opacity:0; transform:translateX(-14px);
    transition:opacity .3s, transform .35s;
  }
  .awd-list a:hover{ color:#fff; padding-left:24px; }
  .awd-list a:hover .awd-arrow{ opacity:1; transform:none; }

  /* ขีดคั่น CMYK: เส้นเทาเข้ม + เส้นสีวิ่งเต็มตอน hover */
  .awd-list li{ position:relative; }
  .awd-list li::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:#2e2e2e;
  }
  .awd-list a::after{
    content:""; position:absolute; left:0; bottom:0; height:2px; width:48px; z-index:1;
    background:#999999; transition:width .5s cubic-bezier(.4,0,.2,1);
  }
  .awd-list a:hover::after{ width:100%; }
  /* วนสี C M Y K ทีละเมนู */
  .awd-list li:nth-child(4n+1) a::after{ background:#00AEEF; }
  .awd-list li:nth-child(4n+2) a::after{ background:#EC008C; }
  .awd-list li:nth-child(4n+3) a::after{ background:#FFF200; }
  .awd-list li:nth-child(4n+4) a::after{ background:#999999; }
  .awd-list li:nth-child(4n+1) a:hover .awd-ico{ color:#00AEEF; }
  .awd-list li:nth-child(4n+2) a:hover .awd-ico{ color:#EC008C; }
  .awd-list li:nth-child(4n+3) a:hover .awd-ico{ color:#FFF200; }
  .awd-list li:nth-child(4n+4) a:hover .awd-ico{ color:#bbbbbb; }

  /* จุด CMYK ด้านล่าง */
  .awd-dots{ display:flex; gap:10px; justify-content:center; margin-top:36px; }
  .awd-dots i{ width:12px; height:12px; border-radius:50%; display:block; animation:awdPulse 2s infinite; }
  .awd-dots i:nth-child(1){ background:#00AEEF; }
  .awd-dots i:nth-child(2){ background:#EC008C; animation-delay:.2s }
  .awd-dots i:nth-child(3){ background:#FFF200; animation-delay:.4s }
  .awd-dots i:nth-child(4){ background:#999999; animation-delay:.6s }
  @keyframes awdPulse{ 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(.6);opacity:.5} }

  body.awd-lock{ overflow:hidden; }

  @media (max-width:600px){
    .awd-burger{ right:20px; }
    .awd-close{ width:60px; height:60px; top:18px; right:18px; }
    .awd-close-label{ display:none; }
  }