/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ===== Scroll Animations ===== */
.animate-in {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-in.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ===== Mobile Header ===== */
.mobile-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 72px;
  background: #000;
}
.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.48px;
  text-transform: uppercase;
  color: #fff;
}
.hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 25px; height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Floating Hamburger (tablet/desktop) --- */
.floating-hamburger {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.floating-hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

@media (min-width: 440px) {
  .mobile-header { display: none; }
  .floating-hamburger { display: flex; }
}

/* ===== Menu Overlay ===== */
.menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #f4f2e3;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 100dvh;
  overflow-y: auto;
}
.menu-overlay.open { transform: translateY(0); }

@media (min-width: 1280px) {
  .menu-overlay {
    left: auto;
    width: 480px;
  }
}
.menu-content {
  padding: 8px 16px 16px;
  display: flex; flex-direction: column;
  gap: 24px;
}
.menu-top {
  display: flex;
  justify-content: flex-end;
  height: 32px;
  align-items: center;
}
.menu-close {
  width: 40px; height: 40px;
  font-size: 32px;
  color: #000;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.menu-nav {
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 20px 16px;
}
.menu-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 27px;
  color: #000;
  letter-spacing: 0.27px;
}
.menu-actions {
  display: flex; flex-direction: column;
  gap: 8px;
}
.menu-btn-recording {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 24px;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 8px;
}
.menu-btn-recording--disabled {
  background: #e1e0d8;
  pointer-events: none;
  cursor: default;
}
.menu-btn-recording--disabled .menu-btn-recording-title,
.menu-btn-recording--disabled .menu-btn-recording-sub {
  color: #7a7a78;
  opacity: 1;
}
.menu-btn-recording-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 0.27px;
  text-transform: uppercase;
  opacity: 0.5;
}
.menu-btn-recording-sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  opacity: 0.5;
}
.menu-btn-tickets {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  padding: 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 0.27px;
  text-transform: uppercase;
  height: 97px;
}
.menu-btn-support {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffdf34;
  color: #000;
  padding: 24px;
  gap: 4px;
  height: 97px;
}
.menu-btn-support-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 0.27px;
  text-transform: uppercase;
}
.menu-btn-support-sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #725e41;
}
.menu-btn-thai {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffdf34;
  color: #000;
  padding: 24px;
  width: 100%;
  height: 97px;
  gap: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.menu-btn-thai-title {
  font-family: 'Noto Sans Thai', 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 0.27px;
}
.menu-btn-thai-sub {
  font-family: 'Noto Sans Thai', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.45px;
  color: #725e41;
}

/* ===== HERO ===== */
.hero { width: 100%; }

/* --- Mobile Hero --- */
.hero-mobile {
  position: relative;
  width: 100%;
  height: 831px;
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 0 16px;
  overflow: hidden;
}
.hero-mobile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.hero-mobile-top {
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.hero-mobile-title-wrap {
  width: 342px;
  height: 147px;
  position: relative;
  overflow: hidden;
}
.hero-mobile-title-img {
  position: absolute;
  width: 104.4%;
  height: 113.98%;
  left: -4.46%;
  top: -1.69%;
  max-width: none;
}
.hero-mobile-bottom {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 17px;
  line-height: 1.41;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 4px 9.7px rgba(0,0,0,0.21);
}
.hero-mobile-bottom p { margin-bottom: 0; }

.hero-sig { color: #ffdf34; }

/* --- Tablet Hero --- */
.hero-tablet { display: none; }
.hero-desktop { display: none; }

@media (min-width: 440px) {
  .hero-mobile { display: none; }

  .hero-tablet {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(134.28deg, rgb(132,126,106) 20%, rgb(18,16,11) 100%);
    padding: 32px 48px 0;
    overflow: hidden;
  }
  .hero-tablet-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .hero-tablet-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hero-tablet-title-wrap {
    width: 100%;
    position: relative;
  }
  /* Shared title inner box for tablet + desktop */
  .hero-title-inner {
    position: absolute;
    left: 31px;
    top: 0;
    width: 695px;
    height: 299px;
    overflow: visible;
  }
  .hero-tablet .hero-title-inner {
    position: relative;
    left: 0;
    width: auto;
    height: auto;
  }
  .hero-title-img {
    position: absolute;
    width: 104.4%;
    height: 113.98%;
    left: -4.46%;
    top: -1.69%;
    max-width: none;
  }
  .hero-tablet .hero-title-img {
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    left: 0;
    top: 0;
  }
  .hero-tablet-subtitle-row {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }
  .hero-tablet-subtitle {
    width: 100%;
    max-width: 528px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 13.323px;
    line-height: 1.41;
    letter-spacing: 0.2665px;
    color: #f5f3e6;
    text-transform: uppercase;
  }
  .hero-tablet-girl-wrap {
    width: 100%;
    aspect-ratio: 2680 / 1983;
    overflow: hidden;
    position: relative;
  }
  .hero-tablet-girl-img {
    position: absolute;
    width: 113.28%;
    height: 166.36%;
    left: -6.18%;
    top: 0;
    max-width: none;
    object-fit: cover;
  }
}

/* --- Desktop Hero --- */
@media (min-width: 1280px) {
  .hero-tablet { display: none; }

  .hero-desktop {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(155.82deg, rgb(132,126,106) 20%, rgb(18,16,11) 100%);
    height: 760px;
    padding: 0 68px;
    overflow: hidden;
  }
  .hero-desktop-inner {
    width: 1312px;
    height: 653px;
    position: relative;
    flex-shrink: 0;
  }
  .hero-desktop-girl {
    position: absolute;
    left: -17.5px;
    top: 0;
    width: 881.87px;
    height: 652.52px;
    overflow: hidden;
  }
  .hero-desktop-girl-img {
    position: absolute;
    width: 113.28%;
    height: 166.36%;
    left: -6.18%;
    top: 0;
    max-width: none;
    object-fit: cover;
    object-position: top center;
  }
  .hero-desktop-content {
    position: absolute;
    left: 453px;
    top: 0;
    width: 864px;
    display: flex;
    flex-direction: column;
    gap: 10.66px;
    z-index: 2;
  }
  .hero-desktop-title-wrap {
    width: 864px;
    height: 298.615px;
    position: relative;
    overflow: visible;
  }
  .hero-desktop-subtitle-row {
    display: flex;
    justify-content: flex-end;
    width: 864px;
  }
  .hero-desktop-subtitle {
    width: 528px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 13.323px;
    line-height: 1.41;
    letter-spacing: 0.2665px;
    color: #f5f3e6;
    text-transform: uppercase;
    filter: none;
  }
}

/* ===== PROGRAM LIST ===== */
.program {
  background: #000;
  padding: 56px 32px;
}
.program-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: 0.48px;
  line-height: 0.991;
  color: #f4f2e3;
}
.program-columns {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.program-col {
  display: flex;
  flex-direction: column;
}
.program-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  text-transform: uppercase;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.program-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 21px;
  color: #747474;
  width: 30px;
  flex-shrink: 0;
  letter-spacing: 0.21px;
  line-height: 0.991;
  padding-top: 3px;
}
.program-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.program-song {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #ededed;
  letter-spacing: 0.66px;
  line-height: 1.2;
}
.program-artist {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #949494;
  letter-spacing: 0.15px;
  line-height: 1.22;
}

@media (min-width: 440px) {
  .program {
    padding: 96px 64px;
    display: flex;
    justify-content: center;
  }
  .program-inner {
    flex-direction: column;
    gap: 48px;
    width: 734px;
  }
  .program-header {
    width: 100%;
  }
  .program-columns {
    flex-direction: row;
    gap: 32px;
  }
  .program-col {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .program {
    padding: 96px 68px;
  }
  .program-inner {
    flex-direction: row;
    gap: 32px;
    width: 1312px;
    max-width: 1312px;
  }
  .program-header {
    width: 416px;
    flex-shrink: 0;
  }
  .program-columns {
    flex: 1;
    gap: 32px;
    padding-top: 8px;
  }
  .program-col {
    flex: 1;
    max-width: 416px;
  }
}

/* ===== ABOUT US ===== */
.about {
  background: #f4d843;
  padding: 56px 0 64px;
  overflow: hidden;
}
.about-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.48px;
  line-height: 0.991;
  margin-bottom: 32px;
  padding: 0 24px;
}
.about-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 16px 8px;
  scroll-padding-left: 16px;
  scroll-padding-right: 16px;
}
.about-cards::-webkit-scrollbar { display: none; }
.about-card {
  background: #f4f2e3;
  flex-shrink: 0;
  width: 332px;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 16px;
  gap: 22px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.about-card-img {
  width: 100%;
  height: 307px;
  overflow: hidden;
  flex-shrink: 0;
}
.about-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 15px;
  padding: 0 8px;
}
.about-card-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.about-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 35.577px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: -0.7115px;
  line-height: 0.991;
}
.about-card-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #707070;
  line-height: 1.31;
  letter-spacing: -0.34px;
}
.about-card-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}
.btn-read-more {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15.863px;
  color: #000;
  letter-spacing: -0.3173px;
  line-height: 1.22;
  height: 51.867px;
  width: 209.32px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 3.405px;
}
.btn-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #000;
  color: #f4f2e3;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15.863px;
  letter-spacing: -0.3173px;
  line-height: 1.22;
  height: 51.867px;
  width: 209.32px;
  padding: 0 3.405px;
}
.btn-arrow { font-size: 16px; }

/* Desktop/tablet: hide TTF card */
@media (min-width: 440px) {
  .about {
    padding: 72px 0 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  .about-title {
    font-size: 56px;
    letter-spacing: 0.56px;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    max-width: 1312px;
    text-align: center;
  }
  .about-cards {
    gap: 32px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
    width: 100%;
  }
  .about-card {
    width: 416px;
    flex-shrink: 0;
  }
  .about-card-img {
    height: 407px;
  }
  .about-card--ttf {
    display: none;
  }
}

@media (min-width: 1280px) {
  .about-title {
    padding: 0 68px;
  }
  .about-cards {
    overflow-x: visible;
    scroll-snap-type: none;
    max-width: 1312px;
    padding: 0;
    width: 1312px;
    box-shadow: 0 3.332px 22.326px rgba(0,0,0,0.05);
  }
}

/* ===== TTF FOUNDATION SECTION ===== */
.ttf-section {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ttf-main {
  width: 100%;
  max-width: 640px;
  padding: 120px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ttf-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.ttf-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ttf-presented-by {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #f4f2e3;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  line-height: 1.1;
}
.ttf-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: #f4f2e3;
  text-transform: uppercase;
  letter-spacing: 0.48px;
  line-height: 1.1;
}
.ttf-logo-wrap {
  width: 73.866px;
  height: 80px;
  flex-shrink: 0;
}
.ttf-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ttf-note {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #949494;
  line-height: 1.5;
  letter-spacing: -0.17px;
}
.ttf-note a {
  color: #949494;
  text-decoration: underline;
}

.ttf-staff-wrap {
  width: 100%;
  max-width: 640px;
  padding: 32px 32px;
}
.ttf-staff-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.ttf-staff-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #d7d7d7;
  line-height: 1.5;
  letter-spacing: -0.19px;
}
.ttf-staff-list {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.ttf-staff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.22;
  letter-spacing: 0.15px;
}
.ttf-staff-role {
  color: #949494;
  text-transform: uppercase;
}
.ttf-staff-name {
  color: #f4f2e3;
}

.ttf-sponsors {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 56px 0;
}
.ttf-sponsors-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #949494;
  text-transform: uppercase;
  letter-spacing: 0.15px;
  line-height: 1.22;
}
.ttf-sponsors-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.ttf-sponsors-track {
  display: flex;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sponsor-cell {
  width: 181.125px;
  height: 114.563px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 440px) {
  .ttf-main {
    padding: 120px 0 0;
  }
  .ttf-staff-wrap {
    padding: 32px 0;
  }
}

/* ===== NOTE OF GRATITUDE ===== */
.gratitude {
  background: #000;
  padding: 92px 32px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
}
.gratitude-inner {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.gratitude-note {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.gratitude-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: #f4f2e3;
  text-transform: uppercase;
  letter-spacing: 0.48px;
  line-height: 1.1;
}
.gratitude-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #949494;
  line-height: 1.5;
  letter-spacing: -0.17px;
}
.donation-box {
  width: 100%;
  max-width: 640px;
  background: #25221e;
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
.donation-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  color: #f4f2e3;
  line-height: 1.5;
  letter-spacing: -0.19px;
  width: 100%;
}
.btn-support {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffdf34;
  color: #000;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 0.27px;
  text-transform: uppercase;
  line-height: 0.991;
  width: 100%;
  max-width: 484px;
  height: 75px;
  flex-shrink: 0;
}
.footer-credit {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  opacity: 0.44;
  text-transform: uppercase;
  letter-spacing: 0.27px;
  text-align: center;
  line-height: 1.4;
}
.footer-credit a {
  color: inherit;
  text-decoration: none;
}
.footer-credit a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== MODAL ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 310;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.96);
  padding: 32px 16px;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}
.modal-inner {
  background: #f4f2e3;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  width: 40px; height: 40px;
  font-size: 32px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244,242,227,0.9);
  border-radius: 50%;
}
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 56px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal-img {
  width: 100%;
  max-width: 335px;
  aspect-ratio: 335 / 438;
  overflow: hidden;
  flex-shrink: 0;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.modal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal-content-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 39.732px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: -0.7946px;
  line-height: 0.826;
}
.modal-bio {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #707070;
  line-height: 1.5;
  letter-spacing: -0.34px;
}
.modal-action {
  display: flex;
  justify-content: flex-end;
}
.modal-ig {
  width: auto;
  min-width: 209px;
  padding: 0 18px;
}

@media (min-width: 440px) {
  .modal {
    inset: auto;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 1033px;
    max-width: 95vw;
    height: auto;
    max-height: 90vh;
    padding: 0;
  }
  .modal.active {
    transform: translate(-50%, -50%) scale(1);
  }
  .modal-inner {
    height: auto;
    max-height: 90vh;
  }
  .modal-close {
    top: 20px; right: 20px;
  }
  .modal-body {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 87px 32px 32px;
    overflow-y: auto;
  }
  .modal-img {
    width: 335px;
    aspect-ratio: 335 / 438;
    flex-shrink: 0;
  }
  .modal-content {
    flex: 1;
    min-height: 438px;
    justify-content: space-between;
  }
  .modal-action {
    justify-content: flex-end;
  }
}

/* ===== Scroll lock ===== */
body.modal-open { overflow: hidden; }
body.menu-open { overflow: hidden; }
body.menu-open .floating-hamburger { display: none; }
body.modal-open .mobile-header { z-index: 1; }

/* ===== Logo link ===== */
a.logo {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

/* ===== Thai Support Modal ===== */
.thai-modal-inner {
  background: #f4f2e3;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.thai-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.thai-modal-content {
  padding: 72px 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.thai-modal-title {
  font-family: 'Noto Sans Thai', 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 30.796px;
  color: #000;
  line-height: 1.1;
}
.thai-modal-sub {
  font-family: 'Noto Sans Thai', 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #707070;
  line-height: 1.71;
  letter-spacing: -0.38px;
}
.thai-modal-qr {
  width: 167px;
  height: 167px;
  display: block;
  object-fit: contain;
}
.thai-modal-bank {
  font-family: 'Noto Sans Thai', 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #707070;
  line-height: 1.71;
  letter-spacing: -0.38px;
}
.thai-modal-footer {
  background: #4b2d82;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 25px;
}
.thai-modal-scb {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 439px) {
  .thai-modal-content {
    padding: 60px 40px 24px;
    gap: 24px;
  }
  .thai-modal-sub {
    font-size: 17px;
    line-height: 1.5;
    margin-top: -12px;
  }
  .thai-modal-qr {
    width: 147px;
    height: 147px;
  }
  .thai-modal-bank {
    font-size: 17px;
    line-height: 1.5;
  }
  .thai-modal-footer {
    height: 76px;
    padding: 8px 25px;
  }
  .thai-modal-scb {
    height: 59px;
  }
}

@media (min-width: 440px) {
  .thai-modal {
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 478px;
    height: 719px;
    padding: 0;
  }
  .thai-modal.active {
    transform: translate(-50%, -50%) scale(1);
  }
  .thai-modal-inner {
    height: 100%;
  }
}
