/* ============================================================
   RESPONSIVE TEMPLATE (Bootstrap Style - Fractional Pixels)
   เรียงจากจอใหญ่สุด -> แท็บเล็ต (ต่ำสุด 768px)
   แก้ปัญหาหน้าจอตกหลุมดำเวลาผู้ใช้กด Zoom (Ctrl +)
   ============================================================ */

/* ============================================================
   1. DESKTOP XL — 1921px ขึ้นไป
   ============================================================ */
@media (min-width: 1921px) {
  /* Law Section — ป้องกัน 26px ขยายบน 4K */
  .law-body,
  .law-list {
    font-size: clamp(1.1rem, 1.1vw, 1.4rem);
  }
  .law-col {
    flex: 0 0 32vw;
    width: 32vw;
    padding: 8vh 4vw;
  }

  /* Awareness */
  .awareness-video-center {
    width: 55vw;
    max-width: 1100px;
  }

  /* VA Cards */
  .va-cards-wrapper.dark-card-grid {
    height: 640px;
    --va-carousel-width: min(90vw, 1380px);
  }
  .va-card-item.card {
    width: clamp(220px, 16vw, 320px);
  }

  /* Documentary */
  #documentaryContainer {
    width: min(78vw, 1350px);
  }

  /* Credit image */
  .credit-image {
    width: min(80vw, 1300px);
  }
}

/* ============================================================
   2. DESKTOP LARGE — 1440px ถึง 1920px
   ============================================================ */
@media (max-width: 1920.98px) and (min-width: 1440px) {
  /* Law Section — ลด font-size ที่ hard-coded 26px */
  .law-body,
  .law-list {
    font-size: clamp(1rem, 1.35vw, 1.5rem);
    line-height: 1.85;
  }
  .law-list li {
    margin-bottom: 16px;
  }
  .law-heading {
    font-size: clamp(1.6rem, 2.25vw, 2.5rem) !important;
  }
  .law-cite {
    font-size: clamp(0.85rem, 0.9vw, 1rem);
  }
  .law-cite-title {
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  }

  /* TV Section */
  .tv-container {
    width: 55vw;
    max-width: 860px;
  }

  /* Awareness / Interview video */
  .awareness-video-center {
    width: 60vw;
    max-width: 980px;
  }
  .nop-interview-section .media-placeholder-frame {
    max-width: 980px;
  }

  /* VA Cards */
  .va-cards-wrapper.dark-card-grid {
    height: 580px;
  }
  .va-card-item.card {
    width: clamp(200px, 18vw, 280px);
  }

  /* Documentary */
  #documentaryContainer {
    width: min(82vw, 1100px);
  }

  /* Hero desc */
  .hero-description {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.35rem, 1vw, 1.2rem);
  }

  .credit-section .video-bg {
    position: absolute;
    inset: 0;
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.9);
  }
}

/* ============================================================
   3. LAPTOP / SMALL DESKTOP — 1024px ถึง 1439px
   ============================================================ */
@media (max-width: 1439.98px) and (min-width: 1024px) {
  .section-title {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.8rem, 3vw, 4rem);
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: normal;
    margin-bottom: 20px;
  }

  .hero-title-img {
    width: 90%;
  }
  .hero-description {
    font-size: clamp(1.3rem, 1.1vw, 1.2rem);
  }
  .tv-container {
    width: 82vw;
    bottom: -1vh;
  }
  .char-reborn {
    width: 18%;
    max-width: 200px;
  }
  .char-kinniku {
    width: 50%;
    max-width: 400px;
    top: -26%;
  }
  .char-poke {
    width: 15%;
    max-width: 100px;
  }
  .caption {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.7rem, 1.1vw, 1.2rem) !important;
    color: #bbb;
    margin-bottom: 6vh;
  }

  .mobile-heading-wrap {
    margin-bottom: -1vh;
  }
  .mobile-pin-spacer .mobile-audio-capsule {
    --mobile-audio-parallax-y: 0px;
    --mobile-audio-parallax-opacity: 0;
    position: relative;
    margin-top: -13vh;
    margin-bottom: 3vh;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    transform: translateY(var(--mobile-audio-parallax-y));
    z-index: 21;
    width: 280px;
    min-height: 54px;
    height: 54px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: rgba(20, 20, 20, 0.88);
    border: 1.8px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: var(--mobile-audio-parallax-opacity);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease;
    will-change: opacity, transform;
  }
  .mobile-pin-spacer .mobile-audio-capsule:hover {
    transform: translateY(var(--mobile-audio-parallax-y)) scale(1.05);
  }
  .mobile-pin-spacer .mobile-audio-capsule.is-visible,
  .mobile-pin-spacer .mobile-audio-capsule:hover,
  .mobile-pin-spacer .mobile-audio-capsule:focus-within {
    pointer-events: auto;
    transform: translateY(var(--mobile-audio-parallax-y));
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-group {
    width: 100% !important;
    height: 100%;
    border-radius: inherit;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    transition: none;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-group:hover,
  .mobile-pin-spacer .mobile-audio-capsule .volume-group:focus-within {
    width: 100% !important;
    height: 100% !important;
  }

  .mobile-pin-spacer .mobile-audio-capsule .control-btn {
    position: static;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    font-size: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.96);
    transition:
      transform 0.18s ease,
      opacity 0.18s ease,
      background 0.18s ease;
  }
  .mobile-pin-spacer .mobile-audio-capsule .control-btn:hover,
  .mobile-pin-spacer .mobile-audio-capsule .control-btn:active {
    transform: none;
  }
  .mobile-pin-spacer .mobile-audio-capsule .control-btn svg {
    width: 18px;
    height: 18px;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-slider-container {
    width: auto;
    flex: 1;
    padding: 0 2px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range {
    width: 100%;
    height: 4px;
    min-height: 0;
    max-height: none;
    background: rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    accent-color: #fff;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #fff;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range::-moz-range-track {
    background: transparent;
    border: none;
  }
  .mobile-pin-spacer .share-container {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    position: relative;
    bottom: auto;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }
  .mobile-pin-spacer .mobile-section {
    background-color: #000;
    position: relative;
  }
  .mobile-pin-spacer .mobile-section h2 {
    position: relative;
    top: 0;
    margin-bottom: 30px;
    transition:
      opacity 0.05s linear,
      transform 0.05s linear;
    will-change: opacity, transform;
  }

  .awareness-section {
    position: relative;
    z-index: 10;
    background-color: #000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .awareness-section.fade-in {
    opacity: 1;
  }
  .sec5-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .sec5-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    opacity: 0.5;
    filter: brightness(1.2);
  }
  .sec5-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }
  .awareness-section .content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    top: -5vh;
  }
  .sec5-header {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition:
      opacity 0.6s ease-out,
      transform 0.6s ease-out;
  }
  .sec5-title-box {
    position: relative;
    display: inline-block;
    overflow: visible;
  }
  .sec5-title-img {
    height: auto;
    width: 100%;
    max-width: 500px;
    margin-top: 12vh;
  }
  .sec5-beyblade {
    position: absolute;
    top: 120px;
    right: -100px;
    width: 90px;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    animation: spinBey 8s linear infinite;
  }
  @keyframes spinBey {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .awareness-video-center {
    width: min(82vw, 720px) !important;
    max-width: 900px !important;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    top: -1vh;
    margin-bottom: -2vh;
    transform: scale(0.97);
    transition:
      opacity 0.6s ease-out 0.1s,
      transform 0.6s ease-out 0.1s;
  }
  .awareness-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .sec5-footer-text {
    font-family: "Kanit", sans-serif;
    margin-top: 40px;
    text-align: center;
    max-width: 800px;
    opacity: 0;
    transform: translateY(15px);
    transition:
      opacity 0.6s ease-out 0.2s,
      transform 0.6s ease-out 0.2s;
  }
  .sec5-footer-text p {
    font-size: clamp(1.5rem, 1.5vw, 2.25rem);
    color: #ccc;
    line-height: 1.6;
    font-weight: 300;
  }
  .awareness-section.active .sec5-header {
    opacity: 1;
    transform: translateY(0);
  }
  .awareness-section.active .awareness-video-center {
    opacity: 1;
    transform: scale(1);
  }
  .awareness-section.active .sec5-footer-text {
    opacity: 1;
    transform: translateY(0);
  }

  .parallax-line {
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    color: #fff;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(80px);
    transition: none;
    will-change: opacity, transform;
    display: block;
  }

  .tx-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-size: clamp(2.9rem, 4.5vw, 4.8rem);
    letter-spacing: 6px;
    color: transparent;
    background: linear-gradient(180deg, #ff4d4d 0%, #740000 70.19%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .tx-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-size: inherit;
  }
  .tx-italic {
    font-family: "Kanit", sans-serif;
    font-style: italic;
  }
  .nop-content {
    position: relative;
    width: 100%;
    height: 100%;
    top: 2vh;
  }
  .nop-title {
    font-family: "Kanit", sans-serif;
    font-size: 5.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 12% !important;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 5;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
  }
  .nop-name {
    font-family: "Kanit", sans-serif;
    font-size: 22vw;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 32% !important;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .prelaw-quote-spacer {
    height: 250vh;
    position: relative;
    z-index: 1;
  }
  .prelaw-quote-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 75% 50%, #360606 0%, #000000 55%);
    filter: brightness(1.1);
  }
  .prelaw-quote-hero::before {
    content: "“";
    position: absolute;
    top: 3%;
    left: 5%;
    font-family: serif;
    font-size: 40vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    z-index: -100;
    pointer-events: none;
  }
  .prelaw-quote-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
  }
  .prelaw-quote-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 85%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px 50px 0px 10px;
    gap: 150px;
    margin-left: 10vw;
  }
  .prelaw-quote-text {
    color: #fff;
    font-family: "Kanit", sans-serif;
    font-size: clamp(2rem, 2.7vw, 2.5rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    flex: 1 1 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2.2em;
  }
  .prelaw-quote-text p {
    margin: 0 0 0.5em 0;
    font-size: inherit;
    font-weight: inherit;
  }
  .prelaw-quote-red {
    color: #cb0e07;
  }
  .prelaw-quote-img {
    flex: 1 1 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 200px;
    width: 100%;
    position: relative;
    right: 1vw;
    z-index: -20;
    filter: brightness(0.95);
  }
  .prelaw-quote-img img {
    width: 120%;
    height: auto;
    display: block;
  }

  .law-spacer {
    position: relative;
    width: 100%;
    height: 250vh;
    background: transparent;
    z-index: 10;
    margin-top: -100vh;
  }
  .law-hero {
    position: sticky !important;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    background-color: #ffffff;
    background-size: cover;
    margin: 0;
    padding: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.1s linear;
  }
  .law-col {
    flex: 0 0 35vw;
    width: 35vw;
  }
  .law-left {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 10%;
    padding: 17vh 4% 30vh 0 !important;
    z-index: 10;
  }
  .law-right {
    flex: 2 !important;
    height: auto;
    margin-left: 5vw;
    padding: 15vh 5vw 30vh 0 !important;
    z-index: 5;
  }
  .content-block {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20vh;
  }

  .law-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(23px, 1.8vw, 25px) !important;
    font-weight: 500 !important;
    line-height: 70%;
    font-style: normal;
  }
  .law-title-law {
    color: #424242;
  }
  .law-title-punishment {
    color: #1a1a1aa9;
  }
  .law-heading em {
    font-style: normal;
    font-weight: 600;
  }
  .law-body {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(23px, 1.8vw, 25px) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
  }
  .law-list {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(23px, 1.8vw, 25px) !important;
    font-style: normal;
    font-weight: 300;
    line-height: 150% !important;
    list-style: none;
    margin-top: -13vh;
  }
  .law-list strong {
    font-size: clamp(23px, 1.8vw, 25px) !important;
    font-weight: 600;
  }
  .law-list li {
    font-size: clamp(23px, 1.8vw, 25px) !important;
    margin-bottom: 18px;
    position: relative;
  }
  .law-list li::before {
    content: "\2022";
    position: absolute;
    left: -1em;
    color: #424242;
  }
  .law-cite {
    font-family: "Kanit", sans-serif;
    text-align: left;
    margin: 100px 0 0;
    font-size: clamp(1.6rem, 2vw, 1.7rem) !important;
    font-weight: 300;
    line-height: 1.5;
    background: transparent;
    color: #424242;
  }
  .law-cite-title {
    font-family: "Kanit", sans-serif;
    display: block;
    font-size: clamp(1.6rem, 2vw, 2.7rem) !important;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2px;
    color: #424242;
  }

  .pc-fine {
    padding: 0;
    font-family: "Kanit", sans-serif;
    font-size: 0.9rem;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
  }

  .pc-desc {
    font-family: "Kanit", sans-serif;
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 400;
  }

  /* =========================================
   13. VOICE ACTOR SECTION
   ========================================= */

  .va-title-img {
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.6));
  }
  .va-desc-img {
    width: 100%;
    max-width: 860px;
    height: auto;
    margin: 0 auto;
    display: block;
    opacity: 0.9;
  }

  /* VA Cards */
  .va-cards-section {
    --va-carousel-width: min(95vw, 1020px);
  }
  .va-cards-wrapper.dark-card-grid {
    height: 500px;
  }
  .va-card-item.card {
    width: clamp(150px, 21vw, 240px);
  }

  .video-controls-v2 {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    background: rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    box-sizing: border-box;
    z-index: 100;
  }
  .video-container-v2.show-controls .video-controls-v2,
  .video-container-v2:not(.is-playing) .video-controls-v2 {
    opacity: 1;
  }
  .video-container-v2.show-controls {
    cursor: default;
  }
  .video-container-v2.is-playing:not(.show-controls) {
    cursor: none;
  }
  .progress-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0 15px;
    cursor: pointer;
    position: static;
  }
  .progress-bar {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    transition: height 0.1s ease;
  }
  .progress-container:hover .progress-bar {
    height: 9px;
  }
  .progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #000;
    cursor: pointer;
    opacity: 1;
    transition: transform 0.1s ease;
    margin-top: -5px;
    transform: translateY(2px);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.65);
  }
  .progress-container:hover .progress-bar::-webkit-slider-thumb {
    transform: scale(1.3);
  }
  .progress-bar:active::-webkit-slider-thumb {
    transform: scale(1.5);
  }
  .progress-bar::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid #000;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.65);
  }
  .progress-bar::-webkit-slider-runnable-track {
    border-radius: 999px;
  }
  .bottom-controls-row {
    display: contents;
  }
  .left-controls-group {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .right-controls-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .video-controls-v2 .volume-group {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
  }
  .video-controls-v2 .volume-slider-container {
    width: 80px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
    transition: none !important;
    position: static !important;
  }

  .center-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 102px;
    height: 102px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 50;
    transition:
      transform 0.15s ease,
      background 0.15s ease;
  }
  .center-play-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
  }

  /* VA Popup overlay */
  .va-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
  }
  .va-popup-overlay.show {
    opacity: 1;
    pointer-events: all;
  }
  .va-popup-box {
    position: relative;
    width: min(80vw, 80vh, 1960px);
    max-width: 80vw;
    max-height: 190vh;
    overflow-y: auto;
    aspect-ratio: 1 / 1;
    background: #0a0a0a;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
    transform: scale(0.96) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .va-popup-overlay.show .va-popup-box {
    transform: scale(1) translateY(0);
  }
  .va-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 260;
    background: rgba(0, 0, 0, 0.84);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    width: 48px;
    height: 48px;
    border-radius: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      background 0.2s,
      transform 0.2s,
      border-color 0.2s;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  }
  .va-popup-close:hover {
    background: rgba(255, 255, 255, 0.96);
    color: #000;
    border-color: rgba(255, 255, 255, 0.96);
    transform: scale(1.04);
  }
  .va-popup-video-wrap {
    width: 100%;
    height: 100%;
    max-width: 70vw;
    max-height: 70vh;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto;
  }
  .va-popup-video-wrap video {
    border-radius: 0;
  }

  .va-info-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
  }
  .va-info-image {
    width: 50%;
    max-width: 460px;
    max-height: calc(88vh - 120px);
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  }
  .va-info-video-shell {
    width: 90%;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
    margin-bottom: 6%;
    margin-left: 5.7%;
  }
  .va-info-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: cover;
    border-radius: 0 !important;
  }

  /* VA Interview deco */

  .vai-title-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(240px, 30vw, 840px);
    object-fit: contain;
    margin: -14vh auto 0;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
  }
  .vai-subtitle-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(400px, 32vw, 580px);
    object-fit: contain;
    margin: 0 auto 1.8vh;
    flex-shrink: 0;
    top: 1%;
  }

  .vai-deco-tl {
    width: clamp(80px, 18vw, 150px);
  }
  .vai-deco-tr {
    width: clamp(70px, 16vw, 130px);
  }
  .vai-char {
    width: clamp(200px, 15vw, 130px);
  }
  .vai-video-wrap {
    width: clamp(320px, 78vw, 920px);
  }

  /* Recap VA */
  .recap-va-text-block {
    top: 7vh;
  }
  .recap-va-headline {
    margin-left: -8vw;
  }
  .recap-va-word-1,
  .recap-va-word-2,
  .recap-va-word-3 {
    height: clamp(70px, 17vw, 180px);
  }
  .recap-va-subtitle {
    height: clamp(28px, 10vw, 75px);
    margin-left: 14vw;
  }
  .recap-va-char-left {
    height: 70vh;
    left: -2vw;
  }
  .recap-va-char-right {
    height: 54vh;
    left: 35vw;
  }

  .recap-va2-text-block {
    margin-top: 28vh;
  }
  #recapVa2Img1 {
    width: 68vw;
  }
  #recapVa2Img2 {
    width: 78vw;
  }
  .sec14-elem-1 {
    width: clamp(56px, 18vw, 108px);
    top: 36vh;
    left: 3vw;
  }
  .sec14-elem-2 {
    width: clamp(68px, 10vw, 155px);
    top: 24vh;
    right: 4vw;
  }
  .sec14-elem-3 {
    width: clamp(190px, 24vw, 460px);
    bottom: -2vh;
  }

  #recapVa3Img2 {
    max-width: 380px !important;
  }
  #recapVa3Img1 {
    max-width: 800px !important;
  }

  /* Documentary */
  #documentaryContainer {
    width: min(88vw, 1200px);
    max-width: 1200px;
    aspect-ratio: 16/9;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(110px) scale(0.55);
    transform-origin: center center;
    will-change: opacity, transform;
    box-shadow: 0 0 250px -70px #fff;
    border-radius: 8px;
    overflow: hidden;
  }

  /* Feedback */
  .feedback-content {
    max-width: 88vw;
  }
  .feedback-title {
    font-size: clamp(1.4rem, 4.8vw, 2rem);
  }

  /* Credit */

  .credit-heading {
    font-size: clamp(4.5rem, 6.5vw, 3rem);
    margin-left: -5vw;
  }

  .credit-image {
    width: min(150vw, 1800px);
    max-width: 130vw;
  }

  .credit-section .video-bg {
    position: absolute;
    inset: 0;
    max-width: 160vw;
    width: 250vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.9);
    scale: 1;
  }
}

/* ============================================================
   4. TABLET LANDSCAPE — 900px ถึง 1023px
   ============================================================ */
@media (max-width: 1023.98px) and (min-width: 900px) {
  .section-title {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.8rem, 3vw, 4rem);
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: normal;
    margin-bottom: 20px;
  }

  .hero-title-img {
    width: 90%;
  }
  .hero-description {
    font-size: clamp(1.18rem, 1.1vw, 1.2rem);
  }
  .tv-container {
    width: 82vw;
  }
  .tv-title-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    position: relative;
    top: 50px;
  }
  .char-reborn {
    width: 20%;
    max-width: 200px;
  }
  .char-kinniku {
    width: 45%;
    max-width: 400vw;
  }
  .char-poke {
    width: 15%;
    max-width: 100px;
  }
  .caption {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.6rem, 1vw, 1rem) !important;
    color: #bbb;
    line-height: 1.6;
  }

  .mobile-heading-wrap {
    margin-bottom: 5vh;
  }
  .mobile-pin-spacer .mobile-audio-capsule {
    --mobile-audio-parallax-y: 0px;
    --mobile-audio-parallax-opacity: 0;
    position: relative;
    margin-top: -6vh;
    margin-bottom: 3vh;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    transform: translateY(var(--mobile-audio-parallax-y));
    z-index: 21;
    width: 280px;
    min-height: 54px;
    height: 54px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: rgba(20, 20, 20, 0.88);
    border: 1.8px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: var(--mobile-audio-parallax-opacity);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease;
    will-change: opacity, transform;
  }
  .mobile-pin-spacer .mobile-audio-capsule:hover {
    transform: translateY(var(--mobile-audio-parallax-y)) scale(1.05);
  }
  .mobile-pin-spacer .mobile-audio-capsule.is-visible,
  .mobile-pin-spacer .mobile-audio-capsule:hover,
  .mobile-pin-spacer .mobile-audio-capsule:focus-within {
    pointer-events: auto;
    transform: translateY(var(--mobile-audio-parallax-y));
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-group {
    width: 100% !important;
    height: 100%;
    border-radius: inherit;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    transition: none;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-group:hover,
  .mobile-pin-spacer .mobile-audio-capsule .volume-group:focus-within {
    width: 100% !important;
    height: 100% !important;
  }

  .mobile-pin-spacer .mobile-audio-capsule .control-btn {
    position: static;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    font-size: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.96);
    transition:
      transform 0.18s ease,
      opacity 0.18s ease,
      background 0.18s ease;
  }
  .mobile-pin-spacer .mobile-audio-capsule .control-btn:hover,
  .mobile-pin-spacer .mobile-audio-capsule .control-btn:active {
    transform: none;
  }
  .mobile-pin-spacer .mobile-audio-capsule .control-btn svg {
    width: 18px;
    height: 18px;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-slider-container {
    width: auto;
    flex: 1;
    padding: 0 2px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range {
    width: 100%;
    height: 4px;
    min-height: 0;
    max-height: none;
    background: rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    accent-color: #fff;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #fff;
  }
  .mobile-pin-spacer .mobile-audio-capsule .volume-range::-moz-range-track {
    background: transparent;
    border: none;
  }
  .mobile-pin-spacer .share-container {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    position: relative;
    bottom: auto;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }
  .mobile-pin-spacer .mobile-section {
    background-color: #000;
    position: relative;
  }
  .mobile-pin-spacer .mobile-section h2 {
    position: relative;
    top: 0;
    margin-bottom: 30px;
    transition:
      opacity 0.05s linear,
      transform 0.05s linear;
    will-change: opacity, transform;
  }

  .awareness-section {
    position: relative;
    z-index: 10;
    background-color: #000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .awareness-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .awareness-video-center {
    width: min(82vw, 860px) !important;
    max-width: 100% !important;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    top: -2vh;
    margin-bottom: -2vh;
    transform: scale(0.97);
    transition:
      opacity 0.6s ease-out 0.1s,
      transform 0.6s ease-out 0.1s;
  }

  .sec5-title-img {
    height: auto;
    width: 100%;
    max-width: 550px;
    margin-top: 14vh;
  }

  .sec5-beyblade {
    position: absolute;
    top: 17vh;
    right: -100px;
    width: 16%;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    animation: spinBey 8s linear infinite;
  }

  .sec5-footer-text {
    font-family: "Kanit", sans-serif;
    margin-top: 40px;
    text-align: center;
    max-width: 800px;
    opacity: 0;
    transform: translateY(15px);
    transition:
      opacity 0.6s ease-out 0.2s,
      transform 0.6s ease-out 0.2s;
  }
  .sec5-footer-text p {
    font-size: clamp(1.8rem, 1.5vw, 2.25rem);
    color: #ccc;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Text section */
  .text-parallax-spacer {
    height: 400vh;
    background-color: #000;
    z-index: 2;
  }
  .text-parallax-hero {
    background-color: #000;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8vw;
    gap: 0;
    overflow: hidden;
  }
  .parallax-line {
    font-family: "Kanit", sans-serif;
    font-size: clamp(3rem, 2.35vw, 2rem);
    color: #fff;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(80px);
    transition: none;
    will-change: opacity, transform;
    display: block;
  }
  .parallax-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
  }
  .parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .tx-bold {
    font-weight: 900;
    font-size: clamp(4rem, 3.1vw, 2.7rem);
    letter-spacing: 2px;
    color: transparent;
    background: linear-gradient(180deg, #ff4d4d 0%, #740000 70.19%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .tx-light {
    font-weight: 300;
    font-size: inherit;
  }
  .tx-italic {
    font-style: italic;
  }

  /* Intro P'Nop */
  .nop-intro-section {
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    z-index: 15;
  }
  .nop-content {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .nop-title {
    font-family: "Kanit", sans-serif;
    font-size: 5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 5;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
  }
  .nop-name {
    font-family: "Kanit", sans-serif;
    font-size: 23vw;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .nop-img-container {
    position: absolute;
    left: 50%;
    bottom: -15%;
    transform: translateX(-50%);
    opacity: 0;
    transition:
      bottom 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 2s ease;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
  }
  .nop-big-img {
    height: 80vh;
    margin-bottom: -1.5%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
  }
  .nop-intro-section.start-anim .nop-title {
    top: 20%;
    opacity: 1;
    transition-delay: 0.3s;
  }
  .nop-intro-section.start-anim .nop-name {
    top: 34%;
    opacity: 1;
    transition-delay: 0.8s;
  }
  .nop-intro-section.start-anim .nop-img-container {
    bottom: -1%;
    opacity: 1;
    transition-delay: 1.25s;
  }
  .nop-intro-section .video-bg {
    filter: brightness(1.1);
  }

  /* Interview section */
  .interview-layout {
    gap: 55px;
    max-width: 720px;
  }
  .interview-title-img {
    max-width: 100%;
    width: 60%;
  }
  .interview-subtitle-img {
    max-width: 100%;
    width: 80%;
  }
  .nop-interview-section .media-placeholder-frame {
    max-width: 100%;
    width: 90%;
  }

  .prelaw-quote-spacer {
    height: 250vh;
    position: relative;
    z-index: 1;
  }
  .prelaw-quote-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 75% 50%, #360606 0%, #000000 55%);
    filter: brightness(1.1);
  }
  .prelaw-quote-hero::before {
    content: "“";
    position: absolute;
    top: 3%;
    left: 5%;
    font-family: "Kanit", serif;
    font-size: 40vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    z-index: -100;
    pointer-events: none;
  }
  .prelaw-quote-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
  }
  .prelaw-quote-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 85%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px 70px 0px 10px;
    gap: 150px;
    margin-left: 10vw;
  }
  .prelaw-quote-text {
    color: #fff;
    font-family: "Kanit", sans-serif;
    font-size: clamp(2rem, 2.7vw, 2.5rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    flex: 1 1 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2.2em;
  }
  .prelaw-quote-text p {
    margin: 0 0 0.5em 0;
    font-size: inherit;
    font-weight: inherit;
  }
  .prelaw-quote-red {
    color: #cb0e07;
  }
  .prelaw-quote-img {
    flex: 1 1 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 200px;
    width: 100%;
    position: relative;
    right: 1vw;
    z-index: -20;
    filter: brightness(0.95);
  }
  .prelaw-quote-img img {
    width: 120%;
    height: auto;
    display: block;
  }

  .law-spacer {
    position: relative;
    width: 100%;
    height: 250vh;
    background: transparent;
    z-index: 10;
    margin-top: -100vh;
  }
  .law-hero {
    position: sticky !important;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    background-color: #ffffff;
    background-size: cover;
    margin: 0;
    padding: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.1s linear;
  }
  .law-col {
    flex: 0 0 35vw;
    width: 35vw;
  }
  .law-left {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 10%;
    padding: 17vh 4% 30vh 0 !important;
    z-index: 10;
  }
  .law-right {
    flex: 2 !important;
    height: auto;
    margin-left: 5vw;
    padding: 15vh 5vw 30vh 0 !important;
    z-index: 5;
  }
  .content-block {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20vh;
  }

  .law-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(22px, 1.9vw, 25px) !important;
    font-weight: 500 !important;
    line-height: 70%;
    font-style: normal;
  }
  .law-title-law {
    color: #424242;
  }
  .law-title-punishment {
    color: #1a1a1aa9;
  }
  .law-heading em {
    font-style: normal;
    font-weight: 600;
  }
  .law-body {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(21px, 1.8vw, 25px) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
  }
  .law-list {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(21px, 1.8vw, 25px) !important;
    font-style: normal;
    font-weight: 300;
    line-height: 150% !important;
    list-style: none;
    margin-top: -13vh;
  }
  .law-list strong {
    font-size: clamp(23px, 1.8vw, 25px) !important;
    font-weight: 600;
  }
  .law-list li {
    font-size: clamp(23px, 1.8vw, 25px) !important;
    margin-bottom: 18px;
    position: relative;
  }
  .law-list li::before {
    content: "\2022";
    position: absolute;
    left: -1em;
    color: #424242;
  }
  .law-cite {
    font-family: "Kanit", sans-serif;
    text-align: left;
    margin: 100px 0 0;
    font-size: clamp(26px, 1.9vw, 25px) !important;
    font-weight: 300;
    line-height: 1.5;
    background: transparent;
    color: #424242;
  }
  .law-cite-title {
    font-family: "Kanit", sans-serif;
    display: block;
    font-size: clamp(26px, 1.9vw, 25px) !important;
    font-weight: 600;
    color: #424242;
    margin-bottom: -3vh;
  }

  .pc-fine {
    padding: 0;
    font-family: "Kanit", sans-serif;
    font-size: 0.9rem;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
  }

  .pc-desc {
    font-family: "Kanit", sans-serif;
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 400;
  }

  /* =========================================
   13. VOICE ACTOR SECTION
   ========================================= */
  .va-title-img {
    width: 70%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 3% auto;
    display: block;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.6));
  }
  .va-desc-img {
    width: 80%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 10% auto;
    display: block;
    opacity: 0.9;
  }

  /* VA Cards */
  .va-cards-section {
    --va-carousel-width: min(95vw, 1020px);
  }
  .va-cards-wrapper.dark-card-grid {
    height: 500px;
  }
  .va-card-item.card {
    width: clamp(300px, 21vw, 240px);
  }

  /* VA Popup overlay */
  .va-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
  }
  .va-popup-overlay.show {
    opacity: 1;
    pointer-events: all;
  }
  .va-popup-box {
    position: relative;
    width: min(80vw, 80vh, 1960px);
    max-width: 80vw;
    max-height: 190vh;
    overflow-y: auto;
    aspect-ratio: 1 / 1;
    background: #0a0a0a;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
    transform: scale(0.96) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .va-popup-overlay.show .va-popup-box {
    transform: scale(1) translateY(0);
  }
  .va-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 260;
    background: rgba(0, 0, 0, 0.84);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    width: 48px;
    height: 48px;
    border-radius: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      background 0.2s,
      transform 0.2s,
      border-color 0.2s;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  }
  .va-popup-close:hover {
    background: rgba(255, 255, 255, 0.96);
    color: #000;
    border-color: rgba(255, 255, 255, 0.96);
    transform: scale(1.04);
  }
  .va-popup-video-wrap {
    width: 40%;
    height: 40%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto;
  }
  .va-popup-video-wrap video {
    border-radius: 0;
  }

  .va-info-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
  }
  .va-info-image {
    width: 50%;
    max-width: 460px;
    max-height: calc(88vh - 120px);
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  }
  .va-info-video-shell {
    width: 90%;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
    margin-bottom: 6%;
    margin-left: 5.7%;
  }
  .va-info-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: cover;
    border-radius: 0 !important;
  }

  /* VA Interview deco */

  .vai-title-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(240px, 54vw, 960px);
    object-fit: contain;
    margin: -10vh auto 0;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
  }
  .vai-subtitle-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(400px, 32vw, 580px);
    object-fit: contain;
    margin: 0 auto 1.8vh;
    flex-shrink: 0;
    top: 1%;
  }

  .vai-deco-tl {
    width: clamp(100px, 17vw, 200px);
    top: 18vh;
    left: 3vw;
  }
  .vai-deco-tr {
    width: clamp(90px, 15vw, 180px);
    top: 14vh;
    right: 4vw;
  }
  .vai-char {
    width: clamp(95px, 83vw, 275px);
  }
  .vai-video-wrap {
    width: clamp(320px, 78vw, 920px);
  }

  /* Recap VA */
  .recap-va-headline {
    margin-left: -12vw;
  }
  .recap-va-word-1,
  .recap-va-word-2,
  .recap-va-word-3 {
    height: clamp(120px, 12vw, 145px);
    margin-top: 17vh;
  }
  .recap-va-subtitle {
    height: clamp(60px, 3.2vw, 46px);
    margin-left: -2vw;
  }
  .recap-va-char-left {
    height: 58vh;
    left: -2vw;
  }
  .recap-va-char-right {
    height: 46vh;
    left: 36vw;
  }

  /* Recap VA2 */
  .recap-va2-img {
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
  }
  #recapVa2Img1 {
    width: clamp(270px, 60vw, 920px);
    height: auto;
    margin-top: 8vh;
  }
  #recapVa2Img2 {
    width: clamp(350px, 75vw, 1080px);
    height: auto;
  }
  .sec14-elem {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    will-change: opacity, transform;
  }
  .sec14-elem-1 {
    top: 34vh;
    left: 6vw;
    width: clamp(70px, 12vw, 175px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(-5deg);
  }
  .sec14-elem-2 {
    top: 28vh;
    right: 9vw;
    width: clamp(85px, 11.5vw, 185px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(5deg);
  }
  .sec14-elem-3 {
    bottom: -3vh;
    left: 40%;
    transform: translateX(-50%) translateY(40px);
    height: auto;
    z-index: 3;
  }

  /* Recap VA3 */
  #recapVa3Img2 {
    max-width: 400px !important;
  }
  #recapVa3Img1 {
    max-width: 620px !important;
  }

  /* Documentary */
  #documentaryContainer {
    width: min(82vw, 780px);
  }

  /* Feedback */
  .feedback-content {
    max-width: 88vw;
  }
  .feedback-title {
    font-size: clamp(1.4rem, 4.8vw, 2rem);
  }

  /* Credit */
  .credit-image {
    width: min(84vw, 900px);
  }

  .credit-pin-spacer .video-bg {
    width: 170%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transform: translateY(3vh);
    /* ปรับค่า -5vh ตามต้องการ ถ้ายังไม่พอให้ขยับมากขึ้นหรือน้อยลง */
    transform-origin: center center;
    will-change: auto;
  }

  /* Side nav */
  #side-nav {
    right: 10px;
    width: 42px;
  }
  .snav-audio-toggle {
    right: 10px;
    width: 42px;
    height: 42px;
  }

  /* Video Controls — Unified Single Row */

  .video-controls-v2 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 14px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    bottom: 16px !important;
  }

  .progress-container {
    flex-grow: 1 !important;
    margin: 0 12px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: static !important;
  }
  .bottom-controls-row {
    display: contents !important;
  }
  .right-controls-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .video-controls-v2 .volume-group {
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }
  .video-controls-v2 .volume-slider-container {
    width: 70px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
    transition: none !important;
    position: static !important;
  }
}

/* ============================================================
   5. TABLET PORTRAIT — 768px ถึง 899px
   ============================================================ */
@media (max-width: 899.98px) and (min-width: 768px) {
  .hero-content-wrapper {
    max-width: 95%;
    width: 100%;
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }
  .hero-title-img {
    width: 85%;
    max-width: 1000px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
  }
  .hero-desc-container {
    border-left: none !important;
    padding-left: 0 !important;
    margin: 0 auto;
    max-width: 1400px;
  }
  .hero-description {
    font-family: "Sarabun", sans-serif;
    font-size: clamp(0.96rem, 1.1vw, 1.3rem);
    font-weight: 300;
    line-height: 1.6;
    color: #f0f0f0;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
  }

  /* Match prelaw/law with 576-767 layout */
  .prelaw-quote-spacer {
    height: 350vh;
    position: relative;
    z-index: 100 !important;
  }
  .prelaw-quote-hero {
    z-index: 101 !important;
  }
  .prelaw-quote-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 85%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
    gap: 30px;
    z-index: 1000 !important;
  }
  .prelaw-quote-text {
    font-size: clamp(2.3rem, 2.8vw, 3rem);
    flex: none;
    text-align: center;
    gap: 1em;
  }
  .prelaw-quote-text p {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
  }
  .prelaw-quote-img {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    width: 60%;
    position: relative;
    z-index: 2;
    filter: brightness(0.95);
    scale: 1;
    margin-top: 20px;
    right: auto;
  }
  .prelaw-quote-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .law-spacer {
    height: 350vh;
  }
  .law-hero {
    flex-direction: column !important;
    align-items: center !important;
  }
  .law-col {
    width: 85vw;
    max-width: 1200px;
    flex: none;
    padding: 0 4vw 0 4vw;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: visible;
    overflow-y: visible;
    max-height: none;
  }
  .law-col:last-child {
    margin-bottom: 15px;
  }
  .law-left {
    flex: none;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    padding: 60px 20px 30px 20px !important;
    z-index: 10;
    text-align: center;
    background: #fff;
    opacity: 0;
    transition: opacity 0.1s ease-out;
  }
  .law-right {
    flex: 1 !important;
    height: auto;
    width: 100%;
    margin-left: 0;
    padding: 30px 40px 150px 40px !important;
    z-index: 5;
    overflow-y: visible;
    opacity: 0;
    transition: opacity 0.1s ease-out;
  }
  .content-block {
    margin-bottom: 60px;
  }
  .law-heading {
    font-size: clamp(25px, 4vw, 26px) !important;
    font-weight: 600 !important;
    line-height: 1.4;
  }
  .law-title-law {
    display: block;
  }
  .law-title-punishment {
    display: block;
    font-size: 0.9em;
  }
  .law-heading em {
    font-weight: 700;
  }
  .law-body,
  .law-list {
    font-size: clamp(1.1rem, 1.5vw, 2rem);
    line-height: 2;
  }
  .law-body {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(23px, 1.8vw, 25px) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
  }
  .law-list {
    font-size: clamp(23px, 1.8vw, 25px) !important;
    font-weight: 400;
    line-height: 1.7 !important;
    margin-top: -5vh;
    padding-left: 0;
  }
  .law-list strong {
    font-size: inherit !important;
    font-weight: 600;
  }
  .law-list li {
    font-size: inherit !important;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
  }
  .law-list li::before {
    left: 0;
    color: #cb0e07;
    font-weight: bold;
  }
  .law-cite-title {
    font-size: clamp(25px, 4vw, 26px) !important;
    margin-bottom: -2.2vh;
    color: #333;
  }
  .law-cite {
    margin: 40px 0 0;
    font-size: clamp(18px, 4vw, 21px) !important;
    font-weight: 400;
    line-height: 1.5;
    padding: 1px;
    border-radius: 8px;
  }

  /* TV */
  .tv-container {
    width: 88vw;
  }
  .tv-section .caption {
    font-size: clamp(1.2rem, 2vw, 2rem);
  }
  .char-reborn {
    width: 25%;
    max-width: 130px;
  }
  .char-kinniku {
    width: 35%;
    max-width: 250px;
    top: -21%;
    right: 0%;
  }
  .char-poke {
    width: 11%;
    max-width: 100px;
    bottom: 5%;
    left: 7%;
  }

  /* Mobile SECTION */

  .mobile-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.8rem, 3.6vw, 4.2rem);
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
    margin: 0;
    white-space: nowrap;
  }

  .mobile-pin-spacer .phone-container-landscape {
    opacity: 0;
    transform: translateY(80px);
    will-change: opacity, transform;
    height: auto !important;
    width: 115vw !important;
    aspect-ratio: 16/9;
    max-height: 90vh;
    max-width: 115vw !important;
    margin: 0 auto !important;
    position: relative;
    flex-shrink: 0;
    margin-top: -4vh !important;
    margin-bottom: 10vh !important;
    left: -8vw;
  }

  /* Popup (warning) */
  .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  .popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }
  .popup-box {
    background: #d7d0c8;
    color: #333;
    width: 80%;
    max-width: 870px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333;
    text-align: center;
  }
  .popup-header.warning-header {
    background: #000080;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
  }
  .close-popup {
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #888;
    background: #f2f2f2;
    color: #111;
    font: inherit;
    padding: 0;
    line-height: 1;
  }
  .close-popup::before {
    content: "\00d7";
    font-size: 18px;
    font-weight: 700;
    transform: translateY(-1px);
  }
  .close-popup:hover {
    background: #fff;
    border-color: #444;
  }
  .popup-body {
    padding: 20px 5px;
  }
  .warning-icon {
    font-size: 3.7rem;
    color: #d7d0c8;
    border: 6px solid #f00;
    background: #f00;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: bold;
  }
  .popup-body h3 {
    color: #000;
    font-size: 2rem;
    margin: 0;
  }
  .popup-footer {
    padding: 15px;
    background: #d7d0c8;
    border-top: 1px solid #ccc;
  }
  .ok-btn {
    padding: 8px 30px;
    border: 2px solid #333;
    background: #d7d0c8;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
  }
  .ok-btn:hover {
    background: #000;
    color: #fff;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* เพิ่มความแน่นอนให้ popup overlay และ popup box scroll ได้ */
  .va-popup-overlay {
    z-index: 9999 !important;
  }
  .va-popup-box {
    display: flex !important;
    flex-direction: column !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
    -webkit-overflow-scrolling: touch;
  }
  .va-popup-video-wrap {
    flex-shrink: 0;
    max-height: 80vh;
    overflow: hidden;
  }

  /* 11. Text Pallalax */
  .pin-spacer {
    position: relative;
    width: 100%;
    height: 300vh;
    overflow: visible;
    background-color: #000;
    z-index: 1;
    filter: brightness(1.05);
  }
  .sticky-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
  }
  #initialText {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 40px;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .big-question {
    color: #fff;
    text-align: center;
    font-size: clamp(2.5rem, 7vw, 100px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
    font-family: "Kanit", sans-serif;
  }
  .sub-caption {
    color: #fff;
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 35px);
    font-weight: 400;
    line-height: 1.6;
    font-family: "Kanit", sans-serif;
    margin: 0;
  }
  .animation-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
  }
  .reveal-img {
    position: absolute;
    bottom: -16vh;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
    transform-origin: bottom center;
    width: auto;
    max-height: 80vh;
    transition: opacity 0.05s linear;
  }
  .real-state {
    opacity: 0;
    z-index: 6;
  }
  .shadow-state {
    opacity: 1;
    z-index: 5;
    filter: brightness(0.8) blur(1px);
  }
  .fade-cover {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    z-index: 20;
    pointer-events: none;
    will-change: opacity;
  }

  /* =========================================
   6. TEXT PARALLAX & AWARENESS (SEC 5)
   ========================================= */
  .pin-spacer {
    position: relative;
    width: 100%;
    height: 300vh;
    overflow: visible;
    background-color: #000;
    z-index: 1;
  }
  .sticky-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
  }
  #initialText {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 40px;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .big-question {
    font-family: "Kanit", sans-serif;
    color: #fff;
    text-align: center;
    font-size: clamp(2.5rem, 7vw, 100px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
  }
  .sub-caption {
    font-family: "Kanit", sans-serif;
    color: #fff;
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 35px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
  }
  .animation-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
  }
  .reveal-img {
    position: absolute;
    bottom: -16vh;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
    transform-origin: bottom center;
    width: auto;
    max-height: 80vh;
    transition: opacity 0.05s linear;
  }
  .real-state {
    opacity: 0;
    z-index: 6;
  }
  .shadow-state {
    opacity: 1;
    z-index: 5;
    filter: brightness(0.8) blur(1px);
  }
  .fade-cover {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    z-index: 20;
    pointer-events: none;
    will-change: opacity;
  }

  .awareness-section {
    position: relative;
    z-index: 10;
    background-color: #000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .awareness-section.fade-in {
    opacity: 1;
  }
  .sec5-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .sec5-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    opacity: 0.5;
    filter: brightness(1.2);
  }
  .sec5-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }
  .awareness-section .content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    top: -5vh;
  }
  .sec5-header {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition:
      opacity 0.6s ease-out,
      transform 0.6s ease-out;
  }
  .sec5-title-box {
    position: relative;
    display: inline-block;
    overflow: visible;
  }
  .sec5-title-img {
    height: auto;
    width: 100%;
    max-width: 400px;
    margin-top: 14vh;
  }
  .sec5-beyblade {
    position: absolute;
    top: 16vh;
    right: -60px;
    width: 16%;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    animation: spinBey 8s linear infinite;
  }
  @keyframes spinBey {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .awareness-video-center {
    width: 60vw !important;
    max-width: 100% !important;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    top: -3vh;
    margin-bottom: -6vh;
    transform: scale(0.97);
    transition:
      opacity 0.6s ease-out 0.1s,
      transform 0.6s ease-out 0.1s;
  }
  .awareness-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .sec5-footer-text {
    font-family: "Kanit", sans-serif;
    margin-top: 60px;
    text-align: center;
    max-width: 800px;
    opacity: 0;
    transform: translateY(15px);
    transition:
      opacity 0.6s ease-out 0.2s,
      transform 0.6s ease-out 0.2s;
  }
  .sec5-footer-text p {
    font-size: clamp(1.5rem, 1.5vw, 2.25rem);
    color: #ccc;
    line-height: 1.6;
    font-weight: 300;
  }
  .awareness-section.active .sec5-header {
    opacity: 1;
    transform: translateY(0);
  }
  .awareness-section.active .awareness-video-center {
    opacity: 1;
    transform: scale(1);
  }
  .awareness-section.active .sec5-footer-text {
    opacity: 1;
    transform: translateY(0);
  }

  /* Text section */
  .text-parallax-spacer {
    height: 400vh;
    background-color: #000;
    z-index: 2;
  }
  .text-parallax-hero {
    background-color: #000;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8vw;
    gap: 0;
    overflow: hidden;
  }
  .parallax-line {
    font-family: "Kanit", sans-serif;
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    color: #fff;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(80px);
    transition: none;
    will-change: opacity, transform;
    display: block;
  }
  .parallax-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
  }
  .parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .tx-bold {
    font-weight: 900;
    font-size: clamp(3.5rem, 4vw, 4rem);
    letter-spacing: 6px;
    color: transparent;
    background: linear-gradient(180deg, #ff4d4d 0%, #740000 70.19%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .tx-light {
    font-weight: 300;
    font-size: inherit;
  }
  .tx-italic {
    font-style: italic;
  }

  /* Intro P'Nop */
  .nop-intro-section {
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    z-index: 15;
  }
  .nop-content {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .nop-title {
    font-family: "Kanit", sans-serif;
    font-size: 5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 5;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
  }
  .nop-name {
    font-family: "Kanit", sans-serif;
    font-size: 23vw;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .nop-img-container {
    position: absolute;
    left: 50%;
    bottom: -15%;
    transform: translateX(-50%);
    opacity: 0;
    transition:
      bottom 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 2s ease;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
  }
  .nop-big-img {
    height: 80vh;
    margin-bottom: -1.5%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
  }
  .nop-intro-section.start-anim .nop-title {
    top: 20%;
    opacity: 1;
    transition-delay: 0.3s;
  }
  .nop-intro-section.start-anim .nop-name {
    top: 34%;
    opacity: 1;
    transition-delay: 0.8s;
  }
  .nop-intro-section.start-anim .nop-img-container {
    bottom: -1%;
    opacity: 1;
    transition-delay: 1.25s;
  }
  .nop-intro-section .video-bg {
    filter: brightness(1.1);
  }

  /* Interview section */
  .interview-layout {
    gap: 55px;
    max-width: 720px;
  }
  .interview-title-img {
    max-width: 350px;
  }
  .interview-subtitle-img {
    max-width: 500px;
  }
  .nop-interview-section .media-placeholder-frame {
    max-width: 700px;
  }

  /* Law — สลับเป็น 1 col */
  .law-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .law-col {
    width: 85vw;
    max-width: 1200px;
    flex: none;
    padding: 0 4vw 0 4vw;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: visible;
    overflow-y: visible;
    max-height: none;
  }
  .law-col:last-child {
    margin-bottom: 15px;
  }

  .law-body,
  .law-list {
    font-size: clamp(1.1rem, 1.5vw, 2rem);
    line-height: 2.25;
  }

  .law-list li {
    line-height: 1.9;
    margin-bottom: -5px;
  }

  .law-heading {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: -10px;
  }

  .law-cite {
    font-size: clamp(1.15rem, 1.5vw, 1.5rem);
    margin-top: 30px;
    line-height: 1;
  }

  .law-cite-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin-bottom: -10px;
  }

  .va-card-item.card {
    width: clamp(200px, 21vw, 240px);
  }

  /* VA Popup overlay */
  .va-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
  }
  .va-popup-overlay.show {
    opacity: 1;
    pointer-events: all;
  }
  .va-popup-box {
    position: relative;
    width: min(80vw, 80vh, 1960px);
    max-width: 80vw;
    max-height: 190vh;
    overflow-y: auto;
    aspect-ratio: 1 / 1;
    background: #0a0a0a;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
    transform: scale(0.96) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .va-popup-overlay.show .va-popup-box {
    transform: scale(1) translateY(0);
  }
  .va-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 260;
    background: rgba(0, 0, 0, 0.84);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    width: 48px;
    height: 48px;
    border-radius: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      background 0.2s,
      transform 0.2s,
      border-color 0.2s;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  }
  .va-popup-close:hover {
    background: rgba(255, 255, 255, 0.96);
    color: #000;
    border-color: rgba(255, 255, 255, 0.96);
    transform: scale(1.04);
  }
  .va-popup-video-wrap {
    width: 100%;
    height: 100%;
    max-width: 70vw;
    max-height: 70vh;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto;
  }
  .va-popup-video-wrap video {
    border-radius: 0;
  }

  .va-info-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
  }
  .va-info-image {
    width: 50%;
    max-width: 460px;
    max-height: calc(88vh - 120px);
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  }
  .va-info-video-shell {
    width: 90%;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
    margin-bottom: 6%;
    margin-left: 5.7%;
  }
  .va-info-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: cover;
    border-radius: 0 !important;
  }

  /* VA Interview deco */

  .vai-title-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(240px, 54vw, 960px);
    object-fit: contain;
    margin: -10vh auto 0;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
  }
  .vai-subtitle-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(400px, 32vw, 580px);
    object-fit: contain;
    margin: 0 auto 1.8vh;
    flex-shrink: 0;
    top: 1%;
  }

  .vai-deco-tl {
    width: clamp(100px, 17vw, 200px);
    top: 8vh;
    left: 3vw;
  }
  .vai-deco-tr {
    width: clamp(90px, 15vw, 180px);
    top: 4vh;
    right: 4vw;
  }
  .vai-char {
    width: clamp(95px, 83vw, 175px);
  }
  .vai-video-wrap {
    width: clamp(320px, 78vw, 920px);
  }

  /* Recap VA */
  .recap-va-headline {
    margin-left: -12vw;
  }
  .recap-va-word-1,
  .recap-va-word-2,
  .recap-va-word-3 {
    height: clamp(120px, 12vw, 145px);
    margin-top: 13vh;
  }
  .recap-va-subtitle {
    height: clamp(60px, 3.2vw, 46px);
    margin-left: -2vw;
  }
  .recap-va-char-left {
    height: 58vh;
    left: -2vw;
  }
  .recap-va-char-right {
    height: 46vh;
    left: 34vw;
  }

  /* Recap VA2 */
  .recap-va2-img {
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
  }
  #recapVa2Img1 {
    width: clamp(270px, 60vw, 920px);
    height: auto;
    margin-top: 21vh;
  }
  #recapVa2Img2 {
    width: clamp(350px, 75vw, 1080px);
    height: auto;
  }
  .sec14-elem {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    will-change: opacity, transform;
  }
  .sec14-elem-1 {
    top: 34vh;
    left: 6vw;
    width: clamp(70px, 12vw, 175px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(-5deg);
  }
  .sec14-elem-2 {
    top: 28vh;
    right: 9vw;
    width: clamp(85px, 11.5vw, 185px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(5deg);
  }
  .sec14-elem-3 {
    bottom: -3vh;
    left: 40%;
    transform: translateX(-50%) translateY(40px);
    height: auto;
    z-index: 3;
  }

  /* Recap VA3 */
  #recapVa3Img2 {
    max-width: 400px !important;
  }
  #recapVa3Img1 {
    max-width: 620px !important;
  }

  /* Documentary */
  #documentaryContainer {
    width: min(82vw, 780px);
  }

  .documentary-section {
    position: relative;
    top: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    z-index: 2;
  }

  /* Feedback */

  .feedback-section {
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100vh;
    padding: 0 !important;
  }
  .feedback-content {
    max-width: 88vw;
  }
  .feedback-title {
    font-size: clamp(1.4rem, 4.8vw, 2rem);
  }

  /* Credit */
  .credit-image {
    max-width: 200%;
    width: 120% !important;
  }

  .credit-pin-spacer .video-bg {
    width: 170%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transform: translateY(3vh);
    /* ปรับค่า -5vh ตามต้องการ ถ้ายังไม่พอให้ขยับมากขึ้นหรือน้อยลง */
    transform-origin: center center;
    will-change: auto;
  }

  /* Side nav */
  #side-nav {
    right: 10px;
    width: 42px;
  }
  .snav-audio-toggle {
    right: 10px;
    width: 42px;
    height: 42px;
  }

  /* Video Controls — Unified Single Row */

  .video-controls-v2 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 14px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    bottom: 16px !important;
  }

  .progress-container {
    flex-grow: 1 !important;
    margin: 0 12px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: static !important;
  }
  .bottom-controls-row {
    display: contents !important;
  }
  .right-controls-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .video-controls-v2 .volume-group {
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }
  .video-controls-v2 .volume-slider-container {
    width: 70px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
    transition: none !important;
    position: static !important;
  }
}

/* ============================================================
   5. SMALL TABLET / LARGE MOBILE — 576px–767px
   (แก้ทศนิยม .98px เรียบร้อย)
   ============================================================ */
@media (max-width: 767.98px) and (min-width: 576px) {
  .entry-modal-title {
    margin: 0;
    color: #fff;
    font-family: "Zen Dots", serif;
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
  }
  .entry-modal-body {
    margin: 18px auto 0;
    max-width: 40ch;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.3rem, 2.25vw, 1.16rem);
    line-height: 1.72;
    font-weight: 400;
  }
  .en .hero-content-wrapper {
    max-width: 80%;
    width: 100%;
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }
  .hero-title-img {
    width: 90%;
    max-width: 100%;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
  }
  .hero-desc-container {
    border-left: none !important;
    padding-left: 0 !important;
    margin: 0 auto;
    max-width: 80%;
  }
  .hero-description {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.7;
    color: #f0f0f0;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
  }

  .tv-container {
    width: 82vw;
  }
  .char-reborn {
    width: 25%;
    max-width: 200px;
    top: -5vh;
  }
  .char-kinniku {
    width: 40%;
    max-width: 700px;
    top: -6vh;
  }
  .char-poke {
    width: 15%;
    max-width: 100px;
  }
  .caption {
    font-family: "Kanit", sans-serif;
    font-size: clamp(2rem, 1.1vw, 1.1rem) !important;
    color: #bbb;
    line-height: 1.6;
  }

  .mobile-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.6rem, 2.85vw, 3.8rem);
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    white-space: nowrap;
  }
  .mobile-pin-spacer .phone-container-landscape {
    opacity: 0;
    transform: translateY(80px);
    will-change: opacity, transform;
    height: auto !important;
    width: 165vw !important;
    aspect-ratio: 16/9;
    max-height: 95vh;
    max-width: 120vw !important;
    margin: 0 auto !important;
    position: relative;
    flex-shrink: 0;
    margin-top: -4vh !important;
    margin-bottom: 10vh !important;
    left: -14vw;
  }

  .awareness-section {
    position: relative;
    z-index: 10;
    background-color: #000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100vw;
  }
  .awareness-video-center {
    width: 75vw;
    max-width: 750px;
    margin-top: 1vh;
  }
  .sec5-title-img {
    transform: translate(20%, -10%);
    height: auto;
    width: 70%;
    max-width: 650px;
    margin-top: 12vh;
  }
  .sec5-beyblade {
    position: absolute;
    top: 130px;
    right: 3px;
    width: 70px;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    animation: spinBey 8s linear infinite;
  }
  .sec5-footer-text {
    font-family: "Kanit", sans-serif;
    margin-top: 6vh;
    text-align: center;
    max-width: 450px;
    opacity: 0;
    transform: translateY(15px);
    transition:
      opacity 0.6s ease-out 0.2s,
      transform 0.6s ease-out 0.2s;
  }
  .sec5-footer-text p {
    font-size: clamp(1.8rem, 1.5vw, 2.25rem);
    color: #ccc;
    line-height: 1.6;
    font-weight: 300;
  }

  .text-parallax-spacer {
    height: 400vh;
    background-color: #000;
    z-index: 2;
  }
  .text-parallax-hero {
    background-color: #000;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8vw;
    gap: 0;
    overflow: hidden;
  }
  .parallax-line {
    font-family: "Kanit", sans-serif;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    color: #fff;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(80px);
    transition: none;
    will-change: opacity, transform;
    display: block;
  }
  .parallax-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
  }
  .parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .tx-bold {
    font-weight: 900;
    font-size: clamp(3.3rem, 4vw, 3.2rem);
    letter-spacing: 6.5px;
    color: transparent;
    background: linear-gradient(180deg, #ff4d4d 0%, #740000 70.19%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .tx-light {
    font-weight: 300;
    font-size: inherit;
  }
  .tx-italic {
    justify-content: center;
    font-size: clamp(3rem, 4vw, 3.2rem);
    font-weight: 900;
    font-style: italic;
  }

  .nop-intro-section {
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    z-index: 15;
  }
  .nop-content {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .nop-title {
    font-family: "Kanit", sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 5;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
  }
  .nop-name {
    font-family: "Kanit", sans-serif;
    font-size: 25vw;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .nop-img-container {
    position: absolute;
    left: 50%;
    bottom: -15%;
    transform: translateX(-50%);
    opacity: 0;
    transition:
      bottom 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 2s ease;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
  }
  .nop-big-img {
    height: 80vh;
    margin-bottom: -1.5%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
  }
  .nop-intro-section.start-anim .nop-title {
    top: 17%;
    opacity: 1;
    transition-delay: 0.3s;
  }
  .nop-intro-section.start-anim .nop-name {
    top: 31%;
    opacity: 1;
    transition-delay: 0.8s;
  }
  .nop-intro-section.start-anim .nop-img-container {
    bottom: -1%;
    opacity: 1;
    transition-delay: 1.25s;
  }
  .nop-intro-section .video-bg {
    filter: brightness(1.1);
  }

  .nop-interview-section {
    background: linear-gradient(180deg, #000 0%, #100404 65.38%, #460606 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120vh;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    filter: brightness(1.1);
  }
  .interview-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
  }
  .interview-title-img {
    height: auto;
    width: 120%;
    max-width: 380px;
    object-fit: contain;
    margin-bottom: 5vh;
  }
  .interview-subtitle-img {
    height: auto;
    width: 100%;
    max-width: 650px;
    object-fit: contain;
    margin-top: 5vh;
  }
  .nop-interview-section .media-placeholder-frame {
    width: 100%;
    aspect-ratio: 16/9;
    margin: 0 auto;
    z-index: 5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  }
  #interviewContainer {
    transition: transform 0.15s ease-out;
  }

  .prelaw-quote-spacer {
    height: 350vh;
    position: relative;
    z-index: 100 !important;
  }
  .prelaw-quote-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 75% 50%, #360606 0%, #000000 55%);
    filter: brightness(1.1);
    z-index: 101 !important;
  }
  .prelaw-quote-hero::before {
    content: "“";
    position: absolute;
    top: 3%;
    left: 5%;
    font-family: serif;
    font-size: 40vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    z-index: -100;
    pointer-events: none;
  }
  .prelaw-quote-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
  }
  .prelaw-quote-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
    gap: 30px;
    z-index: 1000 !important;
  }
  .prelaw-quote-text {
    color: #fff;
    font-family: "Kanit", sans-serif;
    font-size: clamp(2.2rem, 4.7vw, 3rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    flex: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  .prelaw-quote-text p {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
  }
  .prelaw-quote-red {
    color: #cb0e07;
  }
  .prelaw-quote-img {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    width: 60%;
    position: relative;
    z-index: 2;
    filter: brightness(0.95);
    scale: 1;
    margin-top: 20px;
  }
  .prelaw-quote-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .law-spacer {
    position: relative;
    width: 100%;
    height: 350vh;
    background: transparent;
    z-index: 10;
    margin-top: -100vh;
  }
  .law-hero {
    position: sticky !important;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: hidden !important;
    background-color: #ffffff;
    background-size: cover;
    margin: 0;
    padding: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.1s linear;
  }
  .law-col {
    flex: 0 0 35vw;
    width: 35vw;
    width: 85vw;
    max-width: 1200px;
    flex: none;
    padding: 0 4vw 0 4vw;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: visible;
    overflow-y: visible;
    max-height: none;
  }
  .law-col:last-child {
    margin-bottom: 15px;
  }
  .law-left {
    flex: none;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    padding: 60px 20px 30px 20px !important;
    z-index: 10;
    text-align: center;
    background: #fff;
    opacity: 0;
    transition: opacity 0.1s ease-out;
  }
  .law-right {
    flex: 1 !important;
    height: auto;
    width: 100%;
    margin-left: 0;
    padding: 30px 40px 150px 40px !important;
    z-index: 5;
    overflow-y: visible;
    opacity: 0;
    transition: opacity 0.1s ease-out;
  }
  .content-block {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 60px;
  }
  .law-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(25px, 4vw, 26px) !important;
    font-weight: 600 !important;
    line-height: 1.4;
    font-style: normal;
  }
  .law-title-law {
    color: #424242;
    display: block;
  }
  .law-title-punishment {
    color: #1a1a1aa9;
    display: block;
    font-size: 0.9em;
  }
  .law-heading em {
    font-style: normal;
    font-weight: 700;
  }
  .law-body {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(18px, 4.05vw, 26px) !important;
    font-style: normal;
    font-weight: 400;
    text-align: justify;
    margin-top: -2vh;
  }
  .law-list {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(18px, 4.5vw, 26px) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7 !important;
    list-style: none;
    margin-top: -5vh;
    padding-left: 0;
  }
  .law-body,
  .law-list {
    font-size: clamp(1.1rem, 1.5vw, 2rem);
    line-height: 2;
  }
  .law-list strong {
    font-size: inherit !important;
    font-weight: 600;
  }
  .law-list li {
    font-size: inherit !important;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
  }
  .law-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #cb0e07;
    font-weight: bold;
  }
  .law-cite-title {
    font-family: "Kanit", sans-serif;
    display: block;
    font-size: clamp(25px, 4vw, 26px) !important;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: -2.2vh;
    color: #333;
  }
  .law-cite {
    font-family: "Kanit", sans-serif;
    text-align: left;
    margin: 40px 0 0;
    font-size: clamp(18px, 4vw, 21px) !important;
    font-weight: 400;
    line-height: 1.5;
    padding: 1px;
    border-radius: 8px;
    color: #424242;
  }
  .pc-fine {
    padding: 0;
    font-family: "Kanit", sans-serif;
    font-size: 1.5rem;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
  }
  .pc-desc {
    font-family: "Kanit", sans-serif;
    font-size: 1.25rem;
    color: #1d1d1f;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 400;
  }
  .content-container {
    max-width: 120%;
    top: -10vh;
  }

  .va-title-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.6));
  }
  .va-desc-img {
    width: 100%;
    max-width: 870px;
    height: auto;
    margin: 0 auto;
    display: block;
    opacity: 0.9;
  }
  .va-cards-section {
    --va-carousel-width: min(95vw, 1020px);
  }
  .va-cards-wrapper.dark-card-grid {
    height: 500px;
  }
  .va-card-item.card {
    width: clamp(350px, 21vw, 240px);
  }
  .va-carousel-hint {
    font-size: clamp(1.1rem, 1.25vw, 1.1rem);
  }

  .vai-title-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(240px, 54vw, 960px);
    object-fit: contain;
    margin: -10vh auto 0;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
  }
  .vai-subtitle-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(400px, 32vw, 580px);
    object-fit: contain;
    margin: 0 auto 1.8vh;
    flex-shrink: 0;
    top: 1%;
  }
  .vai-deco-tl {
    width: clamp(110px, 17vw, 200px);
    top: 20vh;
    left: 3vw;
  }
  .vai-deco-tr {
    width: clamp(100px, 15vw, 180px);
    top: 18vh;
    right: 4vw;
  }
  .vai-char {
    position: absolute;
    bottom: 5%;
    right: 3%;
    width: 40%;
    max-width: 50%;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.7));
  }
  .vai-video-wrap {
    margin-top: 5vh;
    max-width: 120%;
    width: clamp(320px, 78vw, 920px);
  }

  .recap-va-text-block {
    top: 15vh;
  }
  .recap-va-headline {
    margin-left: -12vw;
  }
  .recap-va-word-1,
  .recap-va-word-2,
  .recap-va-word-3 {
    height: clamp(90px, 12vw, 145px);
    margin-top: 7vh;
  }
  .recap-va-subtitle {
    height: clamp(50px, 3.2vw, 46px);
    margin-left: -4vw;
  }
  .recap-va-char-left {
    height: 55vh;
    left: -2vw;
  }
  .recap-va-char-right {
    height: 42vh;
    left: 40vw;
  }

  .recap-va2-img {
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
  }
  #recapVa2Img1 {
    width: clamp(270px, 60vw, 920px);
    height: auto;
    margin-top: 20vh;
  }
  #recapVa2Img2 {
    width: clamp(350px, 75vw, 1080px);
    height: auto;
  }
  .sec14-elem {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    will-change: opacity, transform;
  }
  .sec14-elem-1 {
    top: 30vh;
    left: 6vw;
    width: clamp(70px, 12vw, 175px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(-5deg);
  }
  .sec14-elem-2 {
    top: 23vh;
    right: 9vw;
    width: clamp(85px, 11.5vw, 185px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(5deg);
  }
  .sec14-elem-3 {
    bottom: -3vh;
    left: 40%;
    transform: translateX(-50%) translateY(40px);
    height: auto;
    width: 50%;
    z-index: 3;
  }
  #recapVa3Img2 {
    max-width: 400px !important;
  }
  #recapVa3Img1 {
    max-width: 500px !important;
  }

  .documentary-pin-spacer {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: solid(#000);
    z-index: 3;
    filter: none;
  }
  .documentary-section {
    position: relative;
    top: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    z-index: 2;
  }
  .documentary-pin-shell {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    z-index: 2;
  }
  .documentary-section .media-placeholder-frame {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    margin: 0 auto;
    z-index: 5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  }
  .title-doc-img {
    display: block;
    height: auto;
    max-height: clamp(60px, 10vh, 120px);
    width: auto;
    max-width: 100%;
    margin: 0 auto 20px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    object-fit: contain;
  }

  #documentaryContainer {
    width: min(88vw, 1200px);
    max-width: 1200px;
    aspect-ratio: 16/9;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(110px) scale(0.55);
    transform-origin: center center;
    will-change: opacity, transform;
    background: url(<path-to-image>) lightgray 50% / cover no-repeat;
    box-shadow: 0 0 250px -70px #fff;
    border-radius: 8px;
    overflow: hidden;
    width: min(82vw, 780px);
  }
  #documentaryContainer::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 10;
    border-radius: 4px;
  }
  #documentaryContainer::after {
    content: "REC ● FULL_DOCUMENTARY";
    position: absolute;
    top: 24px;
    left: 24px;
    font-family: "Kanit" serif;
    font-size: clamp(9px, 1vw, 12px);
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1.5px;
    z-index: 10;
    pointer-events: none;
  }

  .feedback-content {
    max-width: 88vw;
  }
  .feedback-title {
    font-size: clamp(1.4rem, 4.8vw, 2rem);
  }

  .credit-heading {
    font-size: clamp(4rem, 6.5vw, 3rem);
    margin-left: -5vw;
  }
  .credit-image {
    justify-content: center;
    width: min(150vw, 1800px);
    max-width: 235vw;
    width: min(180vw, 800px);
  }
  .credit-section .video-bg {
    position: absolute;
    inset: 0;
    max-width: 550vw;
    width: 250vw;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.9);
    overflow-x: hidden;
  }
  .credit-pin-spacer .video-bg {
    width: 250%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transform: translateY(3vh);
    transform-origin: center center;
    will-change: auto;
  }
} /* 👈👈👈 🚨 ปิดปีกกาของ @media ตรงนี้ครับ! 🚨 */

/* ============================================================
   6. MOBILE PORTRAIT (มือถือทั่วไป) — 375px ถึง 575px
   ============================================================ */
@media (max-width: 575.98px) and (min-width: 375px) {
  /* ปรับขนาดส่วนควบคุมระดับเสียง (Volume) ในมือถือแนวตั้ง */
  .entry-modal-title {
    margin: 0;
    color: #fff;
    font-family: "Zen Dots", serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
  }
  .entry-modal-body {
    margin: 18px auto 0;
    max-width: 50ch;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Kanit", sans-serif;
    font-size: clamp(0.8rem, 2.25vw, 1.16rem);
    line-height: 1.72;
    font-weight: 400;
  }
  .en .hero-content-wrapper {
    max-width: 80%;
    width: 100%;
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }
  .mobile-pin-spacer .mobile-audio-capsule {
    width: 200px !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    margin-top: -8vh !important;
  }

  .mobile-pin-spacer .mobile-audio-capsule .volume-range {
    width: 100px !important;
  }

  /* ปรับขนาดปุ่มรับชมต่อให้เล็กลงในมือถือแนวตั้ง */
  .mobile-pin-spacer .share-container {
    margin-top: -3vh !important;
  }

  .big-share-btn {
    width: 200px !important;
    padding: 10px 18px !important;
    font-size: 0.95rem !important;
    min-height: 44px !important;
    border-radius: 40px !important;
  }

  .hero-content-wrapper {
    max-width: 80%;
    width: 100%;
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }
  .hero-title-img {
    width: 110%;
    max-width: 120%;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
  }
  .hero-desc-container {
    border-left: none !important;
    padding-left: 0 !important;
    margin: 0 auto;
    max-width: 100%;
  }
  .hero-description {
    font-family: "Kanit", sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    color: #f0f0f0;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
  }

  .tv-container {
    width: 82vw;
  }
  .char-reborn {
    width: 25%;
    max-width: 200px;
    top: -5vh;
  }
  .char-kinniku {
    width: 40%;
    max-width: 700px;
    top: -6vh;
  }
  .char-poke {
    width: 15%;
    max-width: 100px;
  }
  .caption {
    font-family: "Kanit", sans-serif;
    max-width: 80%;
    font-size: clamp(1.2rem, 1vw, 1rem) !important;
    color: #bbb;
    line-height: 1.6;
  }

  .mobile-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1rem, 2.85vw, 3.8rem);
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    white-space: nowrap;
  }
  .mobile-pin-spacer .phone-container-landscape {
    opacity: 0;
    transform: translateY(80px);
    will-change: opacity, transform;
    height: auto !important;
    width: 165vw !important;
    aspect-ratio: 16/9;
    max-height: 95vh;
    max-width: 120vw !important;
    margin: 0 auto !important;
    position: relative;
    flex-shrink: 0;
    margin-top: -4vh !important;
    margin-bottom: 10vh !important;
    left: -14vw;
  }

  .awareness-section {
    position: relative;
    z-index: 10;
    background-color: #000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100vw;
  }

  .awareness-video-center {
    width: 75vw;
    max-width: 750px;
    margin-top: 1vh;
  }
  .sec5-title-img {
    transform: translate(20%, -10%);
    height: auto;
    width: 70%;
    max-width: 650px;
    margin-top: 12vh;
  }
  .sec5-beyblade {
    position: absolute;
    top: 70px;
    right: -1px;
    width: 45px;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    animation: spinBey 8s linear infinite;
  }
  .sec5-footer-text {
    font-family: "Kanit", sans-serif;
    margin-top: 6vh;
    text-align: center;
    max-width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition:
      opacity 0.6s ease-out 0.2s,
      transform 0.6s ease-out 0.2s;
  }
  .sec5-footer-text p {
    font-size: clamp(0.7rem, 1.5vw, 2.25rem);
    color: #ccc;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Text section */
  .text-parallax-spacer {
    height: 400vh;
    background-color: #000;
    z-index: 2;
  }
  .text-parallax-hero {
    background-color: #000;
    justify-content: center;
    padding: 0 5vw !important;
    align-items: flex-start !important;
    gap: 0;
    overflow: hidden;
  }
  .parallax-line {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.4rem, 5.5vw, 2rem) !important;
    color: #fff;
    line-height: 1.55 !important;
    opacity: 0;
    transform: translateY(80px);
    transition: none;
    will-change: opacity, transform;
    display: block;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .parallax-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
  }
  .parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .tx-bold {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem) !important;
    letter-spacing: 3px !important;
    font-size: clamp(3.5rem, 4vw, 4rem);
    color: transparent;
    background: linear-gradient(180deg, #ff4d4d 0%, #740000 70.19%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .tx-light {
    font-weight: 300;
    font-size: inherit;
  }
  .tx-italic {
    font-size: clamp(1.7rem, 6vw, 2.2rem) !important;
    font-style: italic;
  }

  .nop-intro-section {
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    z-index: 15;
  }
  .nop-title {
    font-family: "Kanit", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 5;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
  }
  .nop-name {
    font-family: "Kanit", sans-serif;
    font-size: 25vw;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition:
      top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 1s ease;
    z-index: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .nop-img-container {
    position: absolute;
    left: 50%;
    bottom: -15%;
    transform: translateX(-50%);
    opacity: 0;
    transition:
      bottom 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 2s ease;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
  }
  .nop-big-img {
    height: 80vh;
    margin-bottom: -14vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
  }
  .nop-intro-section.start-anim .nop-title {
    top: 17%;
    opacity: 1;
    transition-delay: 0.3s;
  }
  .nop-intro-section.start-anim .nop-name {
    top: 31%;
    opacity: 1;
    transition-delay: 0.8s;
  }
  .nop-intro-section.start-anim .nop-img-container {
    bottom: -1%;
    opacity: 1;
    transition-delay: 1.25s;
  }
  .nop-intro-section .video-bg {
    filter: brightness(1.1);
  }

  .nop-interview-section {
    background: linear-gradient(180deg, #000 0%, #100404 65.38%, #460606 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120vh;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    filter: brightness(1.1);
  }
  .interview-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
  }
  .interview-title-img {
    height: auto;
    width: 80%;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 5vh;
  }
  .interview-subtitle-img {
    height: auto;
    width: 80%;
    max-width: 100%;
    object-fit: contain;
    margin-top: 5vh;
  }
  .nop-interview-section .media-placeholder-frame {
    width: 100%;
    aspect-ratio: 16/9;
    margin: 0 auto;
    z-index: 5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  }
  #interviewContainer {
    transition: transform 0.15s ease-out;
  }

  .prelaw-quote-spacer {
    height: 350vh;
    position: relative;
    z-index: 100 !important;
  }
  .prelaw-quote-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 75% 50%, #360606 0%, #000000 55%);
    filter: brightness(1.1);
    z-index: 101 !important;
  }
  .prelaw-quote-hero::before {
    content: "“";
    position: absolute;
    top: 3%;
    left: 5%;
    font-family: serif;
    font-size: 40vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    z-index: -100;
    pointer-events: none;
  }
  .prelaw-quote-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
  }
  .prelaw-quote-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
    gap: 30px;
    z-index: 1000 !important;
  }
  .prelaw-quote-text {
    color: #fff;
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.3rem, 4.7vw, 3rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    flex: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  .prelaw-quote-text p {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
  }
  .prelaw-quote-red {
    color: #cb0e07;
  }
  .prelaw-quote-img {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    width: 60%;
    position: relative;
    z-index: 2;
    filter: brightness(0.95);
    scale: 1;
    margin-top: 20px;
  }
  .prelaw-quote-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .law-spacer {
    position: relative;
    width: 100%;
    height: 350vh;
    background: transparent;
    z-index: 10;
    margin-top: -100vh;
  }
  .law-hero {
    position: sticky !important;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: hidden !important;
    background-color: #ffffff;
    background-size: cover;
    margin: 0;
    padding: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.1s linear;
  }
  .law-col {
    flex: 0 0 35vw;
    width: 35vw;
    width: 85vw;
    max-width: 1200px;
    flex: none;
    padding: 0 4vw 0 4vw;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: visible;
    overflow-y: visible;
    max-height: none;
  }
  .law-col:last-child {
    margin-bottom: 15px;
  }
  .law-left {
    flex: none;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    padding: 60px 20px 30px 20px !important;
    z-index: 10;
    text-align: center;
    background: #fff;
    opacity: 0;
    transition: opacity 0.1s ease-out;
  }
  .law-right {
    flex: 1 !important;
    height: auto;
    width: 100%;
    margin-left: 0;
    padding: 30px 40px 150px 40px !important;
    z-index: 5;
    overflow-y: visible;
    opacity: 0;
    transition: opacity 0.1s ease-out;
  }
  .content-block {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 60px;
  }
  .law-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(25px, 4vw, 26px) !important;
    font-weight: 600 !important;
    line-height: 1.4;
    font-style: normal;
  }
  .law-title-law {
    color: #424242;
    display: block;
  }
  .law-title-punishment {
    color: #1a1a1aa9;
    display: block;
    font-size: 0.9em;
  }
  .law-heading em {
    font-style: normal;
    font-weight: 700;
  }
  .law-body {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(14px, 2.7vw, 24px) !important;
    font-style: normal;
    font-weight: 400;
    text-align: justify;
    margin-top: -2vh;
  }
  .law-list {
    color: #424242;
    font-family: "Kanit", sans-serif;
    font-size: clamp(14px, 2.7vw, 24px) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7 !important;
    list-style: none;
    margin-top: -5vh;
    padding-left: 0;
  }
  .law-body,
  .law-list {
    font-size: clamp(1.1rem, 1.5vw, 2rem);
    line-height: 2;
  }
  .law-list strong {
    font-size: inherit !important;
    font-weight: 600;
  }
  .law-list li {
    font-size: inherit !important;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
  }
  .law-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #cb0e07;
    font-weight: bold;
  }
  .law-cite-title {
    font-family: "Kanit", sans-serif;
    display: block;
    font-size: clamp(25px, 4vw, 26px) !important;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: -2.2vh;
    color: #333;
  }
  .law-cite {
    font-family: "Kanit", sans-serif;
    text-align: left;
    margin: 40px 0 0;
    font-size: clamp(18px, 4vw, 21px) !important;
    font-weight: 400;
    line-height: 1.5;
    padding: 1px;
    border-radius: 8px;
    color: #424242;
  }

  .penalty-cards-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
    padding: 72px 0 56px;
    opacity: 0;
    transform: translateY(60px);
    transition:
      opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .penalty-cards-section.pc-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .pc-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }
  .pc-title-wrap {
    text-align: center;
    margin-top: -6vh;
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  }
  .penalty-cards-section.pc-visible .pc-title-wrap {
    opacity: 1;
    transform: translateY(0);
  }
  .pc-heading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(2.1rem, 6vw, 3.2rem);
    font-weight: 650;
    color: #1d1d1f;
    margin: 0 0 8px;
    line-height: 1.15;
  }
  .pc-heading em {
    font-family: "Kanit", sans-serif;
    font-style: normal;
    color: #afafaf;
  }
  .pc-subheading {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.05rem, 3.4vw, 1.35rem);
    color: #1d1d1f91;
    font-weight: 400;
    margin: 0;
  }
  .pc-carousel-shell {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 10;
  }
  .pc-track-mask {
    flex: 0 1 300px;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    padding: 14px 0;
    margin: 0 auto;
    position: relative;
  }
  .pc-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
  }
  .pc-card {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 300px;
    display: flex;
  }
  .pc-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 24px -15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transform-origin: center center;
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.2s cubic-bezier(0.33, 1, 0.68, 1),
      border-color 0.2s cubic-bezier(0.33, 1, 0.68, 1),
      scale 0.2s cubic-bezier(0.33, 1, 0.68, 1);
  }
  .pc-card-inner1 {
    background: #e7830b;
    box-shadow: 0 0 180px 0 #fff inset;
  }
  .pc-card-inner2 {
    background: #cd1710;
    box-shadow: 0 0 180px 0 #fff inset;
  }
  .pc-card-inner3 {
    background: #7c3aed;
    box-shadow: 0 0 180px 0 #fff inset;
  }
  .pc-card-inner4 {
    background: #b65810;
    box-shadow: 0 0 180px 0 #fff inset;
  }

  .penalty-cards-section.pc-visible .pc-card:nth-child(1) .pc-card-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }
  .penalty-cards-section.pc-visible .pc-card:nth-child(2) .pc-card-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
  }
  .penalty-cards-section.pc-visible .pc-card:nth-child(3) .pc-card-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.26s;
  }
  .penalty-cards-section.pc-visible .pc-card:nth-child(4) .pc-card-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }
  .pc-card-inner:hover {
    scale: 1 !important;
    transition-delay: 0.1s;
  }
  .pc-card:hover .pc-card-inner {
    scale: 1.04 !important;
  }

  .pc-card-top {
    padding: 18px 18px 12px;
    text-align: center;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .pc-badge {
    display: inline-block;
    font-family: "Kanit", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 100px;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
  }
  .pc-badge-orange {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 7px 9px 11px 0 rgba(0, 0, 0, 0.1);
    color: #e67e00;
    border: 1px solid rgba(255, 140, 0, 0.2);
  }
  .pc-badge-red {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 7px 9px 11px 0 rgba(0, 0, 0, 0.1);
    color: #cb0e07;
    border: 1px solid rgba(203, 14, 7, 0.2);
  }
  .pc-badge-purple {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 7px 9px 11px 0 rgba(0, 0, 0, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
  }
  .pc-badge-gold {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 7px 9px 11px 0 rgba(0, 0, 0, 0.1);
    color: #b45309;
    border: 1px solid rgba(234, 179, 8, 0.2);
  }
  .pc-fine {
    padding: 0;
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.7rem, 5vw, 2rem);
    color: #1d1d1f;
    margin: 0;
    line-height: 1.35;
    font-weight: 400;
  }
  .pc-card-art {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
  }
  .pc-art-glow {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    filter: blur(30px);
    border-radius: 50%;
    transform: scale(0.7);
  }
  .pc-glow-orange {
    background: radial-gradient(circle, #ff8c00, transparent 70%);
  }
  .pc-glow-red {
    background: radial-gradient(circle, #ef4444, transparent 70%);
  }
  .pc-glow-purple {
    background: radial-gradient(circle, #a78bfa, transparent 70%);
  }
  .pc-glow-gold {
    background: radial-gradient(circle, #eab308, transparent 70%);
  }
  .pc-art-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 10px;
  }
  .pc-art-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
  }
  .pc-art-fallback svg {
    width: 40%;
    height: 40%;
  }
  .pc-art-img:not([src=""]) ~ .pc-art-fallback {
    display: none;
  }
  .pc-card-body {
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .pc-desc {
    font-family: "Kanit", sans-serif;
    font-size: clamp(1rem, 3.2vw, 1.2rem);
    color: #1d1d1f;
    line-height: 1.55;
    margin: 0;
    text-align: center;
    font-weight: 400;
  }
  .pc-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1f;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      background 0.2s,
      border-color 0.2s,
      transform 0.2s,
      box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 50;
  }
  .pc-arrow:hover {
    background: #f8f8fa;
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }
  .pc-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  .pc-dots {
    display: flex;
    gap: 8px;
  }
  .pc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition:
      background 0.3s,
      transform 0.3s,
      width 0.3s;
    padding: 0;
  }
  .pc-dot-active {
    background: #1d1d1f;
    width: 24px;
    border-radius: 4px;
  }

  .va-title-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.6));
  }
  .va-desc-img {
    width: 100%;
    max-width: 870px;
    height: auto;
    margin: 0 auto;
    display: block;
    opacity: 0.9;
  }
  .va-cards-section {
    --va-carousel-width: min(95vw, 1020px);
  }
  .va-cards-wrapper.dark-card-grid {
    height: 500px;
  }
  .va-card-item.card {
    width: clamp(250px, 21vw, 240px);
  }
  .va-carousel-hint {
    font-size: clamp(0.7rem, 1.25vw, 1.1rem);
  }

  .vai-title-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(240px, 54vw, 960px);
    object-fit: contain;
    margin: -10vh auto 0;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
  }
  .vai-subtitle-img {
    position: relative;
    z-index: 3;
    display: block;
    max-width: clamp(400px, 32vw, 580px);
    object-fit: contain;
    margin: 0 auto 1.8vh;
    flex-shrink: 0;
    top: 1%;
  }
  .vai-deco-tl {
    width: clamp(110px, 17vw, 200px);
    top: 20vh;
    left: 3vw;
  }
  .vai-deco-tr {
    width: clamp(100px, 15vw, 180px);
    top: 18vh;
    right: 4vw;
  }
  .vai-char {
    position: absolute;
    bottom: 5%;
    right: 3%;
    width: 40%;
    max-width: 50%;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.7));
  }
  .vai-video-wrap {
    margin-top: 5vh;
    max-width: 120%;
    width: clamp(320px, 78vw, 920px);
  }

  .recap-va-text-block {
    top: 15vh;
  }
  .recap-va-headline {
    margin-left: -12vw;
  }
  .recap-va-word-1,
  .recap-va-word-2,
  .recap-va-word-3 {
    height: clamp(90px, 12vw, 145px);
    margin-top: 7vh;
  }
  .recap-va-subtitle {
    height: clamp(50px, 3.2vw, 46px);
    margin-left: -4vw;
  }
  .recap-va-char-left {
    height: 55vh;
    left: -2vw;
  }
  .recap-va-char-right {
    height: 42vh;
    left: 40vw;
  }

  .recap-va2-img {
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
  }
  #recapVa2Img1 {
    width: clamp(270px, 60vw, 920px);
    height: auto;
    margin-top: 20vh;
  }
  #recapVa2Img2 {
    width: clamp(350px, 75vw, 1080px);
    height: auto;
  }
  .sec14-elem {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    will-change: opacity, transform;
  }
  .sec14-elem-1 {
    top: 30vh;
    left: 6vw;
    width: clamp(70px, 12vw, 175px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(-5deg);
  }
  .sec14-elem-2 {
    top: 23vh;
    right: 9vw;
    width: clamp(85px, 11.5vw, 185px);
    height: auto;
    z-index: 3;
    transform: translateY(-30px) rotate(5deg);
  }
  .sec14-elem-3 {
    bottom: -3vh;
    left: 40%;
    transform: translateX(-50%) translateY(40px);
    height: auto;
    width: 50%;
    z-index: 3;
  }
  #recapVa3Img2 {
    max-width: 400px !important;
  }
  #recapVa3Img1 {
    max-width: 500px !important;
  }

  .documentary-pin-spacer {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: solid(#000);
    z-index: 3;
    filter: none;
  }
  .documentary-section {
    position: relative;
    top: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    z-index: 2;
  }
  .documentary-pin-shell {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    z-index: 2;
  }
  .documentary-section .media-placeholder-frame {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    margin: 0 auto;
    z-index: 5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  }
  .title-doc-img {
    display: block;
    height: auto;
    max-height: clamp(60px, 10vh, 120px);
    width: auto;
    max-width: 100%;
    margin: 0 auto 20px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    object-fit: contain;
  }

  #documentaryContainer {
    width: min(88vw, 1200px);
    max-width: 1200px;
    aspect-ratio: 16/9;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(110px) scale(0.55);
    transform-origin: center center;
    will-change: opacity, transform;
    background: url(<path-to-image>) lightgray 50% / cover no-repeat;
    box-shadow: 0 0 250px -70px #fff;
    border-radius: 8px;
    overflow: hidden;
    width: min(82vw, 780px);
  }
  #documentaryContainer::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 10;
    border-radius: 4px;
  }
  #documentaryContainer::after {
    content: "REC ● FULL_DOCUMENTARY";
    position: absolute;
    top: 24px;
    left: 24px;
    font-family: "Kanit" serif;
    font-size: clamp(9px, 1vw, 12px);
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1.5px;
    z-index: 10;
    pointer-events: none;
  }

  .feedback-content {
    max-width: 88vw;
  }
  .feedback-title {
    font-size: clamp(1.4rem, 4.8vw, 2rem);
  }

  .credit-heading {
    font-size: clamp(4rem, 6.5vw, 3rem);
    margin-left: -5vw;
  }
  .credit-image {
    justify-content: center;
    width: min(150vw, 1800px);
    max-width: 235vw;
    width: min(180vw, 800px);
  }
  .credit-section .video-bg {
    position: absolute;
    inset: 0;
    max-width: 550vw;
    width: 250vw;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.9);
    overflow-x: hidden;
  }
  .credit-pin-spacer .video-bg {
    width: 250%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transform: translateY(3vh);
    transform-origin: center center;
    will-change: auto;
  }
  .video-controls-v2 .volume-slider-container {
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
    transition: none !important;
    position: static !important;
    display: none !important;
  }
}
a
/* ============================================================
   🚨 GLOBAL STYLES / UI COMPONENTS
   (ไม่ต้องมี @media ครอบ เพื่อให้ทำงานทุกหน้าจอ)
   ============================================================ */

/* Text Parallax Core */
.pin-spacer {
  position: relative;
  width: 100%;
  height: 300vh;
  overflow: visible;
  background-color: #000;
  z-index: 1;
  filter: brightness(1.05);
}
.sticky-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000;
}
#initialText {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 40px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.big-question {
  color: #fff;
  text-align: center;
  font-size: clamp(2.5rem, 7vw, 100px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  font-family: "Kanit", sans-serif;
}
.sub-caption {
  color: #fff;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 35px);
  font-weight: 400;
  line-height: 1.6;
  font-family: "Kanit", sans-serif;
  margin: 0;
}
.animation-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.reveal-img {
  position: absolute;
  bottom: -16vh;
  left: 50%;
  transform: translateX(-50%) scale(1.5);
  transform-origin: bottom center;
  width: auto;
  max-height: 80vh;
  transition: opacity 0.05s linear;
}
.real-state {
  opacity: 0;
  z-index: 6;
}
.shadow-state {
  opacity: 1;
  z-index: 5;
  filter: brightness(0.8) blur(1px);
}
.fade-cover {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  z-index: 20;
  pointer-events: none;
  will-change: opacity;
}

/* Popup (warning) */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.popup-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.popup-box {
  background: #d7d0c8;
  color: #333;
  width: 80%;
  max-width: 870px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #333;
  text-align: center;
}
.popup-header.warning-header {
  background: #000080;
  color: #fff;
  padding: 8px 15px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}
.close-popup {
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #888;
  background: #f2f2f2;
  color: #111;
  font: inherit;
  padding: 0;
  line-height: 1;
}
.close-popup::before {
  content: "\00d7";
  font-size: 18px;
  font-weight: 700;
  transform: translateY(-1px);
}
.close-popup:hover {
  background: #fff;
  border-color: #444;
}
.popup-body {
  padding: 20px 5px;
}
.warning-icon {
  font-size: 3.7rem;
  color: #d7d0c8;
  border: 6px solid #f00;
  background: #f00;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-weight: bold;
}
.popup-body h3 {
  color: #000;
  font-size: 2rem;
  margin: 0;
}
.popup-footer {
  padding: 15px;
  background: #d7d0c8;
  border-top: 1px solid #ccc;
}
.ok-btn {
  padding: 8px 30px;
  border: 2px solid #333;
  background: #d7d0c8;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}
.ok-btn:hover {
  background: #000;
  color: #fff;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* VA Popup Overlay */
.va-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}
.va-popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.va-popup-box {
  position: relative;
  width: min(80vw, 80vh, 1960px);
  max-width: 80vw;
  max-height: 90vh !important;
  overflow-y: auto !important;
  overflow-x: visible !important;
  aspect-ratio: 1 / 1;
  background: #0a0a0a;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  transform: scale(0.96) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex !important;
  flex-direction: column !important;
  -webkit-overflow-scrolling: touch;
}
.va-popup-overlay.show .va-popup-box {
  transform: scale(1) translateY(0);
}
.va-popup-video-wrap {
  width: 100%;
  height: 100%;
  max-width: 70vw;
  max-height: 80vh;
  aspect-ratio: 1 / 1;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  margin: 0 auto;
  flex-shrink: 0;
}
.va-popup-video-wrap video {
  border-radius: 0;
}
.va-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 260;
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  width: 48px;
  height: 48px;
  border-radius: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.va-popup-close:hover {
  background: rgba(255, 255, 255, 0.96);
  color: #000;
  border-color: rgba(255, 255, 255, 0.96);
  transform: scale(1.04);
}

.va-info-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}
.va-info-image {
  width: 50%;
  max-width: 460px;
  max-height: calc(88vh - 120px);
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.va-info-video-shell {
  width: 90%;
  aspect-ratio: 1 / 1;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
  margin-bottom: 6%;
  margin-left: 5.7%;
}
.va-info-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
  border-radius: 0 !important;
}

/* Side Nav */
#side-nav {
  top: 18px;
  right: 10px;
  width: 42px;
}
.snav-audio-toggle {
  position: fixed;
  right: 10px;
  top: 20px;
  z-index: 999;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.22s ease,
    opacity 0.32s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
  opacity: 1;
  pointer-events: auto;
}
.snav-audio-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}
.snav-audio-toggle:hover {
  transform: scale(1.07);
  background: rgba(35, 35, 35, 0.92);
}
.snav-audio-toggle.is-on {
  background: rgba(20, 20, 20, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.98);
}
.snav-audio-toggle.is-off,
.snav-audio-toggle.is-video-audio {
  background: linear-gradient(
    180deg,
    rgba(207, 47, 47, 0.6) 0%,
    rgba(20, 5, 5, 0.6) 100%
  );
  border-color: rgba(255, 135, 135, 0.72);
  color: #ffd9d9;
  box-shadow:
    0 0 0 2px rgba(255, 92, 92, 0.32),
    0 8px 24px rgba(0, 0, 0, 0.5);
}
.snav-audio-toggle.is-off:hover {
  background: rgba(118, 22, 30, 0.94);
}

.snav-list {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  height: 206px;
  width: 100%;
  margin: 2px 0;
  touch-action: none;
  overscroll-behavior: contain;
  cursor: grab;
}
.snav-list.snav-dragging {
  cursor: grabbing;
}
.snav-list::before,
.snav-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 54px;
  z-index: 2;
  pointer-events: none;
}
.snav-list::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.94),
    rgba(20, 20, 20, 0)
  );
}
.snav-list::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(20, 20, 20, 0.94),
    rgba(20, 20, 20, 0)
  );
}
.snav-track {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.snav-item {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-family: "Zen Dots", "Kanit", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  transition:
    color 0.24s ease,
    background 0.24s ease,
    opacity 0.24s ease;
  position: relative;
  user-select: none;
  padding: 0;
  line-height: 1;
  box-sizing: border-box;
  opacity: 0.35;
  z-index: 1;
}
.snav-item:hover:not(.snav-locked) {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.snav-item.snav-active {
  background: rgba(180, 180, 180, 0.38);
  color: #fff;
  font-weight: 700;
  opacity: 1 !important;
  z-index: 3;
}
.snav-item.snav-locked {
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}
.snav-item.snav-locked::after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14' fill='rgba(255,255,255,0.32)'%3E%3Crect x='2' y='6' width='8' height='7' rx='1.5'/%3E%3Cpath d='M4 6V4a2 2 0 014 0v2' stroke='rgba(255,255,255,0.32)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E")
    center/contain no-repeat;
  pointer-events: none;
}
.snav-arrow {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  width: 48px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  transition:
    color 0.24s ease,
    transform 0.24s ease;
  padding: 0;
  line-height: 1;
}
.snav-arrow:hover {
  color: rgba(255, 255, 255, 0.98);
  transform: scale(1.08);
}
.snav-arrow:disabled {
  color: rgba(255, 255, 255, 0.18);
  cursor: default;
  background: none;
}

/* Video Controls */
.video-controls-v2 {
  left: 8px !important;
  right: 8px !important;
  padding: 5px 8px !important;
  gap: 4px !important;
  border-radius: 78px;
}
.video-container-v2.show-controls .video-controls-v2,
.video-container-v2:not(.is-playing) .video-controls-v2 {
  opacity: 1;
}
.video-container-v2.show-controls {
  cursor: default;
}
.video-container-v2.is-playing:not(.show-controls) {
  cursor: none;
}
.progress-container {
  flex-grow: 1 !important;
  margin: 0 10px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  position: static !important;
  margin: 0 6px !important;
  cursor: pointer;
}
.progress-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: height 0.1s ease;
}
.progress-container:hover .progress-bar {
  height: 9px;
}
.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.1s ease;
  margin-top: -5px;
  transform: translateY(2px);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.65);
}
.progress-container:hover .progress-bar::-webkit-slider-thumb {
  transform: scale(1.3);
}
.progress-bar:active::-webkit-slider-thumb {
  transform: scale(1.5);
}
.bottom-controls-row {
  display: contents !important;
}
.left-controls-group {
  display: flex;
  align-items: center;
  gap: 2px;
}
.right-controls-group {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
}
.video-controls-v2 .volume-group {
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}
.video-controls-v2 .volume-slider-container {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
  transition: none !important;
  position: static !important;
  width: 60px !important;
}

.video-controls-v2 .time-display {
  font-size: 0.65rem !important;
  white-space: nowrap;
}

/* ให้ progress bar ยืดเต็มที่ */
.progress-container {
  margin: 0 4px !important;
  min-width: 0 !important;
}

.center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 50;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.center-play-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

/* <= 767.98px: keep only mute/unmute and compact controls for mobile */
@media (max-width: 767.98px) {
  .video-controls-v2 {
    left: 4px !important;
    right: 4px !important;
    bottom: 8px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 4px 8px !important;
    gap: 4px !important;
    border-radius: 18px !important;
  }

  .video-controls-v2 .volume-slider-container {
    display: none !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .video-controls-v2 .volume-group {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .progress-container {
    margin: 0 6px !important;
  }

  .center-play-btn {
    width: 56px !important;
    height: 56px !important;
    font-size: 24px !important;
  }
}

/* SECTION 6 left-align lock (scoped, permanent) */
#textParallaxSection > .sticky-hero.text-parallax-hero {
  align-items: flex-start !important;
}

#textParallaxSection .parallax-line {
  align-self: flex-start;
  text-align: left;
}

/* VA card popup: keep video aligned with copy block text */
#vaInfoOverlay .va-info-copy {
  align-items: stretch;
}

#vaInfoOverlay .va-info-copy .va-info-video-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

#vaInfoOverlay .va-info-video-shell .video-controls-v2 {
  border-radius: 999px !important;
  padding: 8px 12px !important;
}

/* <= 1023.98px: shrink VA popup video so it fits comfortably in modal */
@media (max-width: 1023.98px) {
  #vaInfoOverlay .va-info-box {
    padding-bottom: 28px !important;
  }

  #vaInfoOverlay .va-info-copy {
    padding-bottom: 20px !important;
  }

  .va-popup-overlay {
    padding: 14px !important;
  }

  .va-popup-box {
    width: min(64vw, 64vh) !important;
    max-width: 64vw !important;
    max-height: 86vh !important;
    padding-bottom: 14px !important;
    box-sizing: border-box !important;
  }

  .va-popup-video-wrap {
    max-width: 54vw !important;
    max-height: 54vh !important;
    margin: 0 auto 12px auto !important;
  }

  #vaInfoOverlay .va-info-video-shell {
    width: 76% !important;
    max-width: min(54vw, 54vh) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
  }

  .center-play-btn {
    width: 78px !important;
    height: 78px !important;
    font-size: 30px !important;
  }
}
