/* =========================================================
   The Ragnarok â€” 2nd Anniversary
   ========================================================= */

:root {
  --font-main: 'Mali', 'Segoe UI', sans-serif;

  /* à¸ªà¸µà¸”à¸¹à¸”à¸ˆà¸²à¸ asset à¸ˆà¸£à¸´à¸‡ */
  --c-lav:        #BFB5DD;   /* à¸žà¸·à¹‰à¸™à¸¡à¹ˆà¸§à¸‡à¸­à¹ˆà¸­à¸™ (bg-curtain à¸ªà¹ˆà¸§à¸™à¸šà¸™) */
  --c-lav-deep:   #B2A1D6;   /* à¸žà¸·à¹‰à¸™à¸¡à¹ˆà¸§à¸‡à¹€à¸‚à¹‰à¸¡ (bg-curtain à¸ªà¹ˆà¸§à¸™à¸¥à¹ˆà¸²à¸‡) */
  --c-cream:      #FAF5C1;   /* à¸›à¸¸à¹ˆà¸¡à¸„à¸£à¸µà¸¡ */
  --c-cream-deep: #D8CC9C;   /* à¸‚à¸­à¸šà¸¥à¹ˆà¸²à¸‡à¸›à¸¸à¹ˆà¸¡ */
  --c-ink:        #3A2B2F;   /* à¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­à¸«à¸¥à¸±à¸ */
  --c-ink-soft:   #6B5E52;   /* à¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­à¸šà¸™à¸›à¸¸à¹ˆà¸¡ */

  --container-max: 1320px;
  --container-pad: 24px;

  /* à¸£à¸°à¸¢à¸°à¸—à¸µà¹ˆà¸›à¸£à¸±à¸šà¸ˆà¸¹à¸™à¹„à¸”à¹‰ */
  /* ---- à¸ªà¸±à¸”à¸ªà¹ˆà¸§à¸™à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡à¸ˆà¸²à¸ Figma (à¸«à¸™à¹‰à¸²à¸à¸§à¹‰à¸²à¸‡ 1920) ----
     section anniversary = à¸à¸£à¸­à¸šà¸‚à¸­à¸‡ b-sec1-2.png à¸žà¸­à¸”à¸µ (1920 x 738)
     à¸—à¸¸à¸à¸­à¸¢à¹ˆà¸²à¸‡à¸‚à¹‰à¸²à¸‡à¹ƒà¸™à¸§à¸²à¸‡à¹€à¸›à¹‡à¸™ % à¸‚à¸­à¸‡à¸à¸£à¸­à¸šà¸™à¸µà¹‰ à¹€à¸¥à¸¢à¸¢à¹ˆà¸­â€“à¸‚à¸¢à¸²à¸¢à¸•à¸²à¸¡à¸ˆà¸­à¹„à¸”à¹‰à¹€à¸›à¹Šà¸° */
  --wave-h:       38.4vw;    /* 738 / 1920 */
  --anniv-up:     min(29.9vw, 58svh);  /* à¸„à¸¥à¸·à¹ˆà¸™à¸—à¸±à¸šà¸§à¸´à¸”à¸µà¹‚à¸­ 575px @1920 à¸•à¸²à¸¡à¹à¸šà¸š */
  --curtain-lift: 10vw;      /* à¸¢à¸­à¸”à¸¡à¹ˆà¸²à¸™à¸­à¸¢à¸¹à¹ˆà¹€à¸«à¸™à¸·à¸­à¸‚à¸­à¸šà¸¥à¹ˆà¸²à¸‡à¸„à¸¥à¸·à¹ˆà¸™ 190px @1920 */

  /* à¸§à¸´à¸”à¸µà¹‚à¸­ 2560x1440 (16:9) â€” à¹ƒà¸«à¹‰à¹€à¸•à¹‡à¸¡à¸£à¸¹à¸›à¹„à¸¡à¹ˆà¹‚à¸”à¸™à¸•à¸±à¸”
     à¸ˆà¸°à¸•à¸±à¸”à¸à¹‡à¸•à¹ˆà¸­à¹€à¸¡à¸·à¹ˆà¸­à¸«à¸™à¹‰à¸²à¸•à¹ˆà¸²à¸‡à¹€à¸•à¸µà¹‰à¸¢à¸à¸§à¹ˆà¸² 16:9 à¹€à¸—à¹ˆà¸²à¸™à¸±à¹‰à¸™ */
  --video-h:      56.25vw;
  --hero-h:       min(var(--video-h), 100svh);
  --header-h:     92px;

  --band-curve:   3vw;       /* à¸„à¸§à¸²à¸¡à¹‚à¸„à¹‰à¸‡à¸‚à¸­à¸šà¸šà¸™â€“à¸¥à¹ˆà¸²à¸‡à¸‚à¸­à¸‡à¹à¸–à¸šà¸„à¸£à¸µà¸¡ section 3 */
}

html {
  scroll-behavior: smooth;
  /* à¸«à¸±à¸§à¹€à¸§à¹‡à¸šà¹€à¸›à¹‡à¸™ position: fixed â€” à¹€à¸œà¸·à¹ˆà¸­à¸—à¸µà¹ˆà¹„à¸§à¹‰à¹„à¸¡à¹ˆà¹ƒà¸«à¹‰à¸¥à¸´à¸‡à¸à¹Œ #anchor à¹€à¸¥à¸·à¹ˆà¸­à¸™à¹„à¸›à¸ˆà¸­à¸”à¹ƒà¸•à¹‰à¸«à¸±à¸§à¹€à¸§à¹‡à¸š */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

/* à¸‚à¸­à¸‡à¸•à¸à¹à¸•à¹ˆà¸‡à¸«à¸¥à¸²à¸¢à¸Šà¸´à¹‰à¸™ (à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡ à¸•à¸±à¸§à¸¥à¸°à¸„à¸£) à¸•à¸±à¹‰à¸‡à¹ƒà¸ˆà¹ƒà¸«à¹‰à¸¥à¹‰à¸™à¸­à¸­à¸à¸™à¸­à¸à¸ˆà¸­
   à¸•à¹‰à¸­à¸‡à¸à¸±à¸™à¸—à¸µà¹ˆ html à¸”à¹‰à¸§à¸¢ à¹„à¸¡à¹ˆà¸‡à¸±à¹‰à¸™à¸ˆà¸°à¹€à¸à¸´à¸”à¸ªà¸à¸£à¸­à¸¥à¹à¸™à¸§à¸™à¸­à¸™à¹à¸¥à¹‰à¸§à¹€à¸«à¹‡à¸™à¹à¸–à¸šà¸§à¹ˆà¸²à¸‡à¸‚à¹‰à¸²à¸‡à¸‚à¸§à¸²
   à¹ƒà¸Šà¹‰ clip à¹„à¸¡à¹ˆà¹ƒà¸Šà¹ˆ hidden à¹€à¸žà¸£à¸²à¸° clip à¹„à¸¡à¹ˆà¸ªà¸£à¹‰à¸²à¸‡ scroll container */
html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background-color: var(--c-lav-deep);
  color: var(--c-ink);
}

main { position: relative; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}


/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(16px, 2vw, 36px);
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.site-header__logo img {
  width: clamp(92px, 8vw, 132px);
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(40, 20, 45, .35));
  transition: transform .25s ease;
  padding-top: 30px;
}
.site-header__logo:hover img { transform: scale(1.05); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .78);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(60, 35, 55, .22);
  backdrop-filter: blur(4px);
}

.lang-switch__btn {
  min-width: 38px;
  padding: 3px 8px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: #9a8fa8;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.lang-switch__btn:hover { color: var(--c-ink); }
.lang-switch__btn.is-active {
  color: #fff;
  background: var(--c-ink);
}

.lang-switch__sep {
  width: 2px;
  height: 14px;
  background: #ded6e8;
  border-radius: 2px;
}

/* ---- à¸Šà¸·à¹ˆà¸­à¸œà¸¹à¹‰à¹€à¸¥à¹ˆà¸™ + à¸›à¸¸à¹ˆà¸¡à¸­à¸­à¸à¸ˆà¸²à¸à¸£à¸°à¸šà¸š ---- */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 44vw;
  padding: 5px 6px 5px 14px;
  background: rgba(255, 255, 255, .78);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(60, 35, 55, .22);
  backdrop-filter: blur(4px);
}
.user[hidden] { display: none; }

.user__name {
  overflow: hidden;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--c-ink);
}

.user__logout {
  flex: 0 0 auto;
  padding: 4px 12px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-cream);
  background: var(--c-ink);
  border-radius: 999px;
  transition: background-color .2s ease, transform .16s ease;
}
.user__logout:hover  { background: #55403f; transform: translateY(-1px); }
.user__logout:active { transform: translateY(1px); }


/* =========================================================
   à¸«à¸™à¹‰à¸²à¹‚à¸«à¸¥à¸”
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  /* à¹ƒà¸Šà¹‰à¸¥à¸²à¸¢à¸ˆà¸¸à¸”à¸ˆà¸²à¸ bg-pp.png à¸—à¸±à¸šà¸šà¸™à¹„à¸¥à¹ˆà¸ªà¸µà¸¡à¹ˆà¸§à¸‡
     à¸ªà¸¹à¸‡ 150% à¸‚à¸­à¸‡à¸ˆà¸­à¹€à¸›à¹‡à¸™à¸­à¸¢à¹ˆà¸²à¸‡à¸™à¹‰à¸­à¸¢ (à¹à¸¥à¸°à¹„à¸¡à¹ˆà¸™à¹‰à¸­à¸¢à¸à¸§à¹ˆà¸² 86.5vw à¹€à¸žà¸·à¹ˆà¸­à¹ƒà¸«à¹‰à¸à¸§à¹‰à¸²à¸‡à¸žà¸­à¸„à¸¥à¸¸à¸¡à¸ˆà¸­)
     à¸¢à¸¶à¸”à¸‚à¸­à¸šà¸šà¸™à¹„à¸§à¹‰ à¸‚à¸­à¸šà¸«à¸¢à¸±à¸à¸‚à¸²à¸§à¸—à¹‰à¸²à¸¢à¹„à¸Ÿà¸¥à¹Œà¹€à¸¥à¸¢à¸•à¸à¸™à¸­à¸à¸ˆà¸­à¹€à¸ªà¸¡à¸­ à¹„à¸¡à¹ˆà¸§à¹ˆà¸²à¸ˆà¸­à¸ªà¸±à¸”à¸ªà¹ˆà¸§à¸™à¹„à¸«à¸™ */
  background:
    url('../assets/images/bg-pp.png') no-repeat center top / auto max(150%, 86.5vw),
    linear-gradient(#CFC3E6 0%, #BFB5DD 55%, #B2A1D6 100%);
  transition: opacity .55s ease, visibility .55s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }

.loader__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡à¸¥à¸­à¸¢à¸‚à¸¶à¹‰à¸™à¸ˆà¸²à¸à¹ƒà¸•à¹‰à¸ˆà¸­à¹„à¸›à¸«à¸²à¸¢à¸”à¹‰à¸²à¸™à¸šà¸™ à¸‚à¸™à¸²à¸”/à¸ˆà¸±à¸‡à¸«à¸§à¸°à¸ªà¸¸à¹ˆà¸¡à¸ˆà¸²à¸ JS */
.loader__balloon {
  position: absolute;
  bottom: -30%;
  height: auto;
  animation: loaderRise linear infinite;
  will-change: transform;
}

@keyframes loaderRise {
  0%   { transform: translate3d(0, 0, 0)         rotate(-3deg); }
  50%  { transform: translate3d(2.5vw, -75vh, 0) rotate(3deg);  }
  100% { transform: translate3d(0, -150vh, 0)    rotate(-3deg); }
}

.loader__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-inline: 24px;
}

.loader__logo {
  width: clamp(120px, 14vw, 190px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(60, 35, 60, .32));
  animation: loaderPulse 2.4s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: translate3d(0, 0, 0)    scale(1);    }
  50%      { transform: translate3d(0, -6px, 0) scale(1.03); }
}

.loader__bar {
  width: min(280px, 64vw);
  height: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(60, 35, 55, .2);
}

.loader__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #FAF5C1, #F6D08A);
  border-radius: 999px;
  transition: width .25s ease;
}

.loader__text {
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-ink);
  opacity: .78;
}


/* ===================== SECTION 1 : HERO ===================== */
/* section à¸™à¸µà¹‰à¸¡à¸µà¹à¸„à¹ˆà¸§à¸´à¸”à¸µà¹‚à¸­ */
.hero {
  position: relative;
  height: var(--hero-h);
  min-height: 340px;
  overflow: hidden;
  background: #cbbcdf;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* à¸–à¹‰à¸²à¸•à¹‰à¸­à¸‡à¸•à¸±à¸” à¹ƒà¸«à¹‰à¸•à¸±à¸”à¸ˆà¸²à¸à¸¥à¹ˆà¸²à¸‡ (à¸ªà¹ˆà¸§à¸™à¸¥à¹ˆà¸²à¸‡à¸¡à¸µà¸„à¸¥à¸·à¹ˆà¸™à¸—à¸±à¸šà¸­à¸¢à¸¹à¹ˆà¹à¸¥à¹‰à¸§) à¹„à¸¡à¹ˆà¸•à¸±à¸”à¸«à¸±à¸§à¸•à¸±à¸§à¸¥à¸°à¸„à¸£ */
  object-position: center 30%;
}


/* ============== SECTION à¸„à¸±à¹ˆà¸™ : ANNIVERSARY ==============
   à¸ªà¸¹à¸‡à¹€à¸—à¹ˆà¸²à¸à¸£à¸­à¸š b-sec1-2.png à¹€à¸›à¹Šà¸° à¹à¸¥à¹‰à¸§à¸”à¸¶à¸‡à¸‚à¸¶à¹‰à¸™à¹„à¸›à¸—à¸±à¸š hero à¹€à¸—à¹ˆà¸²à¸ªà¹ˆà¸§à¸™à¹ƒà¸ªà¸”à¹‰à¸²à¸™à¸šà¸™
   à¸‚à¸­à¸‡à¹€à¸«à¸¥à¸·à¸­à¸—à¸µà¹ˆà¸”à¸±à¸™à¸„à¸§à¸²à¸¡à¸ªà¸¹à¸‡à¸«à¸™à¹‰à¸²à¹€à¸§à¹‡à¸šà¸ˆà¸£à¸´à¸‡ à¹† = --wave-h à¸¥à¸š --anniv-up          */
.anniversary {
  position: relative;
  z-index: 2;                 /* à¹ƒà¸«à¹‰à¸„à¸¥à¸·à¹ˆà¸™à¸¥à¹‰à¸™à¸‚à¸¶à¹‰à¸™à¹„à¸›à¸—à¸±à¸šà¸§à¸´à¸”à¸µà¹‚à¸­à¹„à¸”à¹‰ */
  height: var(--wave-h);
  margin-top: calc(-1 * var(--anniv-up));
}

/* à¸„à¸¥à¸·à¹ˆà¸™à¸Šà¸¡à¸žà¸¹â€“à¸¡à¹ˆà¸§à¸‡ = à¸žà¸·à¹‰à¸™à¸«à¸¥à¸±à¸‡à¸‚à¸­à¸‡ section à¸™à¸µà¹‰ à¹€à¸•à¹‡à¸¡à¸à¸£à¸­à¸šà¸žà¸­à¸”à¸µ */
.anniversary__wave {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : à¸šà¸™ 22.8% à¸‚à¸­à¸‡à¸à¸£à¸­à¸š / à¸à¸§à¹‰à¸²à¸‡ 826px @1920 */
.anniversary__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 22.8%;
  width: 43vw;
  max-width: 826px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 6px 16px rgba(70, 40, 70, .28));
  animation: annivFloat 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes annivFloat {
  0%, 100% { transform: translate3d(0, 0, 0);      }
  50%      { transform: translate3d(0, -.55vw, 0); }
}

/* à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : à¸šà¸™ 61.9% à¸‚à¸­à¸‡à¸à¸£à¸­à¸š */
.anniversary__actions {
  position: absolute;
  left: 0;
  right: 0;
  top: 68%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.56vw;
  padding-inline: var(--container-pad);
}


/* ===================== à¸›à¸¸à¹ˆà¸¡ ===================== */
.btn {
  position: relative;      /* à¹ƒà¸«à¹‰à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡à¸‚à¹‰à¸²à¸‡à¹ƒà¸™à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡à¸•à¸±à¸§à¸›à¸¸à¹ˆà¸¡ */
  overflow: hidden;        /* à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡à¸ˆà¸°à¹‚à¸œà¸¥à¹ˆà¹à¸„à¹ˆà¹ƒà¸™à¸à¸£à¸­à¸šà¸›à¸¸à¹ˆà¸¡ */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* à¸‚à¸™à¸²à¸”à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : 259 x 48 px @1920 */
  width: max(150px, 13.5vw);
  min-height: max(38px, 2.5vw);
  padding: 6px 14px;
  font-family: inherit;
  font-size: clamp(12px, .92vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--c-ink-soft);
  background: var(--c-cream);
  border: 2px solid #fff;
  border-radius: max(8px, .5vw);
  box-shadow: 0 4px 0 var(--c-cream-deep), 0 9px 16px rgba(70, 45, 60, .2);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn:hover {
  background: #fffbd4;
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--c-cream-deep), 0 13px 20px rgba(70, 45, 60, .24);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--c-cream-deep), 0 4px 8px rgba(70, 45, 60, .2);
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---- à¸›à¸¸à¹ˆà¸¡à¸«à¸¥à¸±à¸ (à¸¥à¸‡à¸—à¸°à¹€à¸šà¸µà¸¢à¸™à¸¥à¹ˆà¸§à¸‡à¸«à¸™à¹‰à¸²) ----
   à¹ƒà¸«à¹‰à¹€à¸”à¹ˆà¸™à¸à¸§à¹ˆà¸²à¸›à¸¸à¹ˆà¸¡à¸£à¸­à¸‡ : à¸•à¸±à¸§à¹ƒà¸«à¸à¹ˆà¸‚à¸¶à¹‰à¸™ à¸‚à¸­à¸šà¸«à¸™à¸²à¸‚à¸¶à¹‰à¸™ à¸ªà¸µà¸­à¸¸à¹ˆà¸™à¸‚à¸¶à¹‰à¸™ + à¸¡à¸µà¸§à¸‡à¹à¸ªà¸‡à¹€à¸•à¹‰à¸™à¹€à¸šà¸² à¹† à¸£à¸­à¸šà¸›à¸¸à¹ˆà¸¡ */
.btn--primary {
  width: max(168px, 15.2vw);
  min-height: max(42px, 2.85vw);
  font-size: clamp(13px, 1.02vw, 20px);
  font-weight: 700;
  color: #5B4326;
  background: linear-gradient(#FFF7C8, #FBE49A);
  border-width: 3px;
  box-shadow:
    0 5px 0 #C9A85E,
    0 12px 20px rgba(70, 45, 60, .26),
    0 0 0 0 rgba(255, 233, 150, .75);
  /* à¸§à¸‡à¹à¸ªà¸‡à¹ƒà¸Šà¹‰ box-shadow à¸•à¸±à¸§à¸ªà¸¸à¸”à¸—à¹‰à¸²à¸¢ à¸ˆà¸¶à¸‡à¹„à¸¡à¹ˆà¸¡à¸µà¸à¸²à¸£ re-raster à¹€à¸«à¸¡à¸·à¸­à¸™ filter */
  animation: btnGlow 2.6s ease-in-out infinite;
}

.btn--primary:hover {
  background: linear-gradient(#FFFDE4, #FFEEB2);
  box-shadow:
    0 8px 0 #C9A85E,
    0 16px 26px rgba(70, 45, 60, .3),
    0 0 0 6px rgba(255, 233, 150, .38);
  animation: none;          /* à¸Šà¸µà¹‰à¸­à¸¢à¸¹à¹ˆà¹à¸¥à¹‰à¸§à¹„à¸¡à¹ˆà¸•à¹‰à¸­à¸‡à¹€à¸£à¸µà¸¢à¸à¸ªà¸²à¸¢à¸•à¸²à¸‹à¹‰à¸³ */
}

.btn--primary:active {
  box-shadow: 0 2px 0 #C9A85E, 0 4px 8px rgba(70, 45, 60, .2);
  animation: none;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 5px 0 #C9A85E, 0 12px 20px rgba(70, 45, 60, .26), 0 0 0 0   rgba(255, 233, 150, .75); }
  55%      { box-shadow: 0 5px 0 #C9A85E, 0 12px 20px rgba(70, 45, 60, .26), 0 0 0 9px rgba(255, 233, 150, 0);    }
}

.btn__label { position: relative; z-index: 2; }

/* ---- à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡à¸¥à¸­à¸¢à¹ƒà¸™à¸›à¸¸à¹ˆà¸¡ (à¹‚à¸œà¸¥à¹ˆà¸•à¸­à¸™à¸Šà¸µà¹‰/à¹‚à¸Ÿà¸à¸±à¸ªà¹€à¸—à¹ˆà¸²à¸™à¸±à¹‰à¸™) ----
   <i> à¹à¸•à¹ˆà¸¥à¸°à¸•à¸±à¸§à¸¡à¸µ --i à¹€à¸›à¹‡à¸™à¸¥à¸³à¸”à¸±à¸š à¹ƒà¸Šà¹‰à¸„à¸¸à¸¡à¸—à¸±à¹‰à¸‡à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¹à¸™à¸§à¸™à¸­à¸™à¹à¸¥à¸° delay
   à¹ƒà¸«à¹‰à¸¥à¸­à¸¢à¸‚à¸¶à¹‰à¸™à¹„à¸¡à¹ˆà¸žà¸£à¹‰à¸­à¸¡à¸à¸±à¸™ */
.btn__balloons {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.btn__balloons i {
  position: absolute;
  bottom: -26%;
  left: calc(7% + var(--i) * 20%);
  width: .62em;
  height: .82em;
  border-radius: 50% 50% 48% 48%;
  opacity: 0;
  will-change: transform, opacity;
}

/* à¹€à¸Šà¸·à¸­à¸à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡ */
.btn__balloons i::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: .42em;
  background: rgba(120, 95, 70, .45);
}

.btn__balloons i:nth-child(1) { background: #F7A8B8; }
.btn__balloons i:nth-child(2) { background: #9FD3F0; }
.btn__balloons i:nth-child(3) { background: #FBD46D; }
.btn__balloons i:nth-child(4) { background: #B7E2B0; }
.btn__balloons i:nth-child(5) { background: #D3B4EC; }

/* à¸¥à¸­à¸¢à¸•à¸¥à¸­à¸”à¹€à¸§à¸¥à¸² à¹„à¸¡à¹ˆà¸•à¹‰à¸­à¸‡à¸£à¸­ hover
   à¸„à¸²à¸šà¹„à¸¡à¹ˆà¹€à¸—à¹ˆà¸²à¸à¸±à¸™ + delay à¸•à¸´à¸”à¸¥à¸šà¸•à¹ˆà¸²à¸‡à¸à¸±à¸™ à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¸¥à¸­à¸¢à¹€à¸›à¹‡à¸™à¹à¸–à¸§à¹€à¸”à¸µà¸¢à¸§à¸à¸±à¸™ */
.btn__balloons i {
  animation: btnBalloon 2.6s ease-in-out infinite;
  animation-duration: calc(2.3s + var(--i) * .29s);
  animation-delay: calc(var(--i) * -.62s);
}

/* à¸Šà¸µà¹‰à¹€à¸¡à¸²à¸ªà¹Œà¹à¸¥à¹‰à¸§à¸¥à¸­à¸¢à¸–à¸µà¹ˆà¸‚à¸¶à¹‰à¸™à¸™à¸´à¸”à¸™à¸¶à¸‡ à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹à¸„à¹ˆà¸„à¸§à¸²à¸¡à¹€à¸£à¹‡à¸§ à¹„à¸¡à¹ˆà¸ªà¸¥à¸±à¸š animation à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¸à¸£à¸°à¸•à¸¸à¸ */
.btn:hover .btn__balloons i,
.btn:focus-visible .btn__balloons i {
  animation-duration: calc(1.55s + var(--i) * .17s);
}

@keyframes btnBalloon {
  0%   { transform: translate(0, 0)          scale(.7); opacity: 0; }
  18%  { opacity: .9; }
  50%  { transform: translate(.22em, -110%)  scale(1);  }
  78%  { opacity: .85; }
  100% { transform: translate(-.1em, -215%)  scale(.92); opacity: 0; }
}


/* ===================== à¸›à¸¸à¹ˆà¸¡à¹€à¸›à¸´à¸”/à¸›à¸´à¸”à¹€à¸ªà¸µà¸¢à¸‡à¸§à¸´à¸”à¸µà¹‚à¸­ ===================== */
.audio-btn {
  position: absolute;
  z-index: 3;                                   /* à¹€à¸«à¸™à¸·à¸­à¸§à¸´à¸”à¸µà¹‚à¸­ (z-index 1) */
  left: clamp(14px, 2vw, 40px);
  /* --anniv-up à¸„à¸·à¸­à¸£à¸°à¸¢à¸°à¸—à¸µà¹ˆà¸„à¸¥à¸·à¹ˆà¸™à¸‚à¸­à¸‡ section à¸–à¸±à¸”à¹„à¸›à¸¥à¹‰à¸™à¸‚à¸¶à¹‰à¸™à¸¡à¸²à¸—à¸±à¸š hero
     à¸¢à¸à¸›à¸¸à¹ˆà¸¡à¹ƒà¸«à¹‰à¸žà¹‰à¸™à¸„à¸¥à¸·à¹ˆà¸™ à¹„à¸¡à¹ˆà¸‡à¸±à¹‰à¸™à¸ˆà¸°à¹‚à¸”à¸™à¸šà¸±à¸‡ */
  bottom: calc(var(--anniv-up) + 1.5vw);
  display: grid;
  place-items: center;
  width: clamp(40px, 3vw, 52px);
  aspect-ratio: 1;
  color: #fff;
  background: rgba(58, 43, 47, .42);
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background-color .18s ease, transform .18s ease;
}

.audio-btn:hover  { background: rgba(58, 43, 47, .62); transform: translateY(-2px); }
.audio-btn:active { transform: translateY(1px); }
.audio-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.audio-btn__icon { display: block; width: 58%; }

.audio-btn svg { display: block; width: 100%; height: auto; fill: currentColor; }

/* à¸ªà¸¥à¸±à¸šà¹„à¸­à¸„à¸­à¸™à¸•à¸²à¸¡à¸ªà¸–à¸²à¸™à¸° â€” .is-muted à¹ƒà¸ªà¹ˆ/à¸–à¸­à¸”à¹‚à¸”à¸¢ initHeroAudio() */
.audio-btn .audio-btn__off,
.audio-btn.is-muted .audio-btn__on { display: none; }
.audio-btn.is-muted .audio-btn__off { display: block; }


/* ===================== à¸›à¸¸à¹ˆà¸¡à¸à¸¥à¸±à¸šà¸‚à¸¶à¹‰à¸™à¸šà¸™à¸ªà¸¸à¸” ===================== */
.to-top {
  position: fixed;
  z-index: 60;
  right: clamp(14px, 1.8vw, 32px);
  bottom: clamp(14px, 1.8vw, 32px);
  display: grid;
  place-items: center;
  width: clamp(42px, 3.4vw, 58px);
  aspect-ratio: 1;
  color: var(--c-ink-soft);
  background: linear-gradient(#FFFBE0, #F6EDB4);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--c-cream-deep), 0 8px 18px rgba(70, 45, 60, .28);
  cursor: pointer;
  /* à¸‹à¹ˆà¸­à¸™à¹„à¸§à¹‰à¸à¹ˆà¸­à¸™ â€” JS à¸ˆà¸°à¹€à¸•à¸´à¸¡ .is-on à¹ƒà¸«à¹‰à¹€à¸¡à¸·à¹ˆà¸­à¹€à¸¥à¸·à¹ˆà¸­à¸™à¸žà¹‰à¸™à¸«à¸™à¹‰à¸²à¹à¸£à¸ */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s,
              box-shadow .18s ease, background-color .18s ease;
}

.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }

.to-top:hover {
  background: linear-gradient(#fff, #FFF6C8);
  box-shadow: 0 7px 0 var(--c-cream-deep), 0 12px 22px rgba(70, 45, 60, .32);
  transform: translateY(-3px);
}

.to-top:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-cream-deep); }

.to-top:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.to-top svg { width: 54%; height: 54%; fill: currentColor; }


/* ===================== SECTION 2 : REWARDS ===================== */
.rewards {
  position: relative;
  /* à¸•à¹ˆà¸³à¸à¸§à¹ˆà¸² .anniversary (z-index 2) â€” à¸¢à¸­à¸”à¸¡à¹ˆà¸²à¸™à¸•à¹‰à¸­à¸‡à¸­à¸¢à¸¹à¹ˆà¹ƒà¸•à¹‰à¸„à¸¥à¸·à¹ˆà¸™
     à¸‚à¸­à¸šà¸¥à¹ˆà¸²à¸‡à¹‚à¸„à¹‰à¸‡ à¹† à¸‚à¸­à¸‡à¸„à¸¥à¸·à¹ˆà¸™à¸ˆà¸°à¹„à¸”à¹‰à¹€à¸›à¹‡à¸™à¸•à¸±à¸§à¸à¸³à¸«à¸™à¸”à¸§à¹ˆà¸²à¸¡à¹ˆà¸²à¸™à¹€à¸£à¸´à¹ˆà¸¡à¹‚à¸œà¸¥à¹ˆà¸•à¸£à¸‡à¹„à¸«à¸™ */
  z-index: 1;
  background-color: var(--c-lav-deep);
  background-image: url('../assets/images/bg-curtain.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  padding-top: clamp(50px, 0vw, 300px);
  padding-bottom: clamp(86px, 5vw, 143px);
}

/* à¸¡à¹ˆà¸²à¸™à¹€à¸§à¸—à¸µ â€” à¸‚à¸¢à¸±à¸šà¹€à¸šà¸² à¹† */
.rewards__curtain {
  position: absolute;
  z-index: 3;
  top: calc(-1 * var(--curtain-lift));
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  transform-origin: 50% 0;
  animation: curtainSway 9s ease-in-out infinite;
  will-change: transform;
}

/* à¹„à¸¡à¹ˆà¹ƒà¸Šà¹‰ scale à¸à¸±à¸šà¸£à¸¹à¸›à¸¡à¹ˆà¸²à¸™ (1920x1080) à¹€à¸žà¸£à¸²à¸°à¹€à¸šà¸£à¸²à¸§à¹Œà¹€à¸‹à¸­à¸£à¹Œà¸•à¹‰à¸­à¸‡ re-raster à¸—à¸¸à¸à¹€à¸Ÿà¸£à¸¡
   à¹€à¸¥à¸·à¹ˆà¸­à¸™ + à¹€à¸­à¸µà¸¢à¸‡à¹€à¸¥à¹‡à¸à¸™à¹‰à¸­à¸¢à¸žà¸­ à¹„à¸”à¹‰à¸„à¸§à¸²à¸¡à¸£à¸¹à¹‰à¸ªà¸¶à¸à¹€à¸”à¸µà¸¢à¸§à¸à¸±à¸™à¹à¸•à¹ˆà¸¥à¸·à¹ˆà¸™à¸à¸§à¹ˆà¸²à¸¡à¸²à¸ */
@keyframes curtainSway {
  0%, 100% { transform: translate3d(0, 0, 0)     rotate(0deg);    }
  35%      { transform: translate3d(-7px, 0, 0)  rotate(.14deg);  }
  70%      { transform: translate3d(6px, 0, 0)   rotate(-.1deg);  }
}

.rewards__inner {
  position: relative;
  z-index: 5;
}

.rewards__kicker {
  margin-bottom: .35em;
  font-size: clamp(.9rem, 1.05vw, 1.05rem);
  font-weight: 600;
  text-align: center;
  color: var(--c-ink);
  opacity: .78;
}

.rewards__title {
  margin-bottom: clamp(32px, 4vw, 62px);
  font-size: clamp(1.55rem, 2.7vw, 2.9rem);
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  color: var(--c-ink);
}
.rewards__title span { display: block; }


/* ---- à¹à¸–à¸š 4 à¸‚à¸±à¹‰à¸™à¸•à¸­à¸™à¸£à¸±à¸šà¸£à¸²à¸‡à¸§à¸±à¸¥ ---- */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 28px);
  margin-bottom: clamp(30px, 3.6vw, 58px);
}

.step {
  position: relative;
  flex: 1 1 0;
  min-width: 132px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55em;
  text-align: center;
}

/* à¹€à¸ªà¹‰à¸™à¹€à¸Šà¸·à¹ˆà¸­à¸¡à¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡à¸‚à¸±à¹‰à¸™ à¸§à¸²à¸”à¹„à¸›à¸—à¸²à¸‡à¸‹à¹‰à¸²à¸¢à¸‚à¸­à¸‡à¸§à¸‡à¸à¸¥à¸¡ */
.step:not(:first-child)::before {
  content: '';
  position: absolute;
  left: calc(-50% - clamp(4px, .7vw, 14px));
  top: 1.35em;
  width: 100%;
  height: 3px;
  background: rgba(58, 43, 47, .22);
  border-radius: 2px;
}
.step.is-done::before,
.step.is-active::before { background: var(--c-ink); }

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.7em;
  height: 2.7em;
  font-size: clamp(.78rem, .95vw, 1.05rem);
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-cream);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(70, 45, 60, .2);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.step__num svg { display: none; width: 1.1em; height: 1.1em; }

.step__label {
  font-size: clamp(.68rem, .88vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-ink);
  opacity: .62;
  transition: opacity .25s ease;
}

/* à¸‚à¸±à¹‰à¸™à¸—à¸µà¹ˆà¸à¸³à¸¥à¸±à¸‡à¸—à¸³ */
.step.is-active .step__num {
  color: var(--c-cream);
  background: var(--c-ink);
  transform: scale(1.1);
}
.step.is-active .step__label { opacity: 1; }

/* à¸‚à¸±à¹‰à¸™à¸—à¸µà¹ˆà¸œà¹ˆà¸²à¸™à¹„à¸›à¹à¸¥à¹‰à¸§ â€” à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹€à¸¥à¸‚à¹€à¸›à¹‡à¸™à¸•à¸´à¹Šà¸à¸–à¸¹à¸ */
.step.is-done .step__num b   { display: none; }
.step.is-done .step__num svg { display: block; }
.step.is-done .step__label   { opacity: .9; }


/* ---- à¸Ÿà¸­à¸£à¹Œà¸¡à¹€à¸¥à¸·à¸­à¸à¹€à¸‹à¸´à¸£à¹Œà¸Ÿà¹€à¸§à¸­à¸£à¹Œ / à¸•à¸±à¸§à¸¥à¸°à¸„à¸£ ---- */
.rform {
  width: min(680px, 100%);
  margin: 0 auto clamp(32px, 4vw, 62px);
  padding: clamp(18px, 2vw, 30px) clamp(16px, 2.2vw, 34px) clamp(20px, 2.2vw, 32px);
  background: rgba(255, 253, 240, .92);
  border: 3px solid #fff;
  border-radius: max(14px, 1vw);
  box-shadow: 0 8px 22px rgba(70, 45, 60, .18);
}
.rform[hidden] { display: none; }

.rform__title {
  margin-bottom: 1em;
  font-size: clamp(.86rem, 1.1vw, 1.15rem);
  font-weight: 700;
  text-align: center;
  color: var(--c-ink);
}

.rform__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.rform__field {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: .4em;
  font-size: clamp(.72rem, .88vw, .92rem);
  font-weight: 700;
  color: var(--c-ink);
}

.rform__field select {
  width: 100%;
  padding: .7em 2.2em .7em .9em;
  font-family: inherit;
  font-size: clamp(.78rem, .92vw, 1rem);
  font-weight: 600;
  color: var(--c-ink);
  background: #fff;
  border: 2px solid var(--c-ink);
  border-radius: 10px;
  cursor: pointer;
  /* à¸¥à¸¹à¸à¸¨à¸£à¸§à¸²à¸”à¹€à¸­à¸‡ à¸ˆà¸°à¹„à¸”à¹‰à¸«à¸™à¹‰à¸²à¸•à¸²à¹€à¸«à¸¡à¸·à¸­à¸™à¸à¸±à¸™à¸—à¸¸à¸à¹€à¸šà¸£à¸²à¸§à¹Œà¹€à¸‹à¸­à¸£à¹Œ */
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-ink) 50%),
    linear-gradient(135deg, var(--c-ink) 50%, transparent 50%);
  background-position: right 1.1em top 52%, right .75em top 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  transition: box-shadow .18s ease;
}
.rform__field select:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--c-cream); }
.rform__field select:disabled { opacity: .5; cursor: not-allowed; }

.rform__submit {
  display: flex;
  width: min(280px, 100%);
  margin: clamp(16px, 1.8vw, 26px) auto 0;
}
.rform__submit:disabled { opacity: .6; cursor: wait; transform: none; }

.rform__msg {
  margin-top: .9em;
  font-size: clamp(.72rem, .86vw, .92rem);
  font-weight: 700;
  text-align: center;
}
.rform__msg[hidden] { display: none; }
.rform__msg.is-error { color: #B3453F; }
.rform__msg.is-ok    { color: #3E7A3A; }


/* ===================== à¸›à¹‰à¸²à¸¢à¸£à¸²à¸‡à¸§à¸±à¸¥ ===================== */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.tag {
  flex: 0 0 auto;
  width: clamp(150px, 13.5vw, 212px);
  /* à¹„à¸Ÿà¸¥à¹Œà¸›à¹‰à¸²à¸¢à¸¡à¸µà¸‚à¸­à¸šà¹ƒà¸ªà¸‹à¹‰à¸²à¸¢â€“à¸‚à¸§à¸²à¸­à¸¢à¸¹à¹ˆà¹à¸¥à¹‰à¸§ à¸”à¸¶à¸‡à¹€à¸‚à¹‰à¸²à¸«à¸²à¸à¸±à¸™à¹ƒà¸«à¹‰à¸Šà¸´à¸”à¹€à¸«à¸¡à¸·à¸­à¸™à¹à¸šà¸š */
  margin-inline: -5px;
  opacity: 0;
}

/* à¸ªà¸¥à¸±à¸šà¸ªà¸¹à¸‡â€“à¸•à¹ˆà¸³ à¹ƒà¸«à¹‰à¸”à¸¹à¹€à¸«à¸¡à¸·à¸­à¸™à¸›à¹‰à¸²à¸¢à¹à¸‚à¸§à¸™ */
.tag:nth-child(even) { margin-top: clamp(38px, 4.2vw, 76px); }

/* à¹à¸¢à¸à¸à¸±à¸™à¸„à¸™à¸¥à¸°à¸Šà¸±à¹‰à¸™ à¸Šà¸±à¹‰à¸™à¸¥à¸°à¸«à¸™à¹‰à¸²à¸—à¸µà¹ˆ à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¸¡à¸µà¸­à¸°à¹„à¸£à¹à¸¢à¹ˆà¸‡ transform à¸à¸±à¸™
   .tag       = à¹€à¸Ÿà¸” (transition)
   .tag__drop = à¸•à¸ + à¹€à¸”à¹‰à¸‡ (animation à¸„à¸£à¸±à¹‰à¸‡à¹€à¸”à¸µà¸¢à¸§)
   .tag__sway = à¹à¸à¸§à¹ˆà¸‡à¸•à¸¥à¸­à¸”à¹€à¸§à¸¥à¸² (animation à¸§à¸™à¹„à¸›)
   .tag__lift = à¸¢à¸à¸‚à¸¶à¹‰à¸™à¸•à¸­à¸™ hover (transition)                      */
.tag {
  transition: opacity .5s ease;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.tag.is-in { opacity: 1; }

.tag__drop { will-change: transform; }

.tag.is-in .tag__drop {
  animation: tagDrop 1s linear both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

/* à¸•à¸à¸¥à¸‡à¸¡à¸²à¹à¸¥à¹‰à¸§à¹€à¸”à¹‰à¸‡ â€” à¹ƒà¸ªà¹ˆ easing à¹à¸¢à¸à¸—à¸µà¸¥à¸°à¸Šà¹ˆà¸§à¸‡
   à¸Šà¹ˆà¸§à¸‡à¸¥à¸‡ = à¹€à¸£à¹ˆà¸‡à¸„à¸§à¸²à¸¡à¹€à¸£à¹‡à¸§ / à¸Šà¹ˆà¸§à¸‡à¸‚à¸¶à¹‰à¸™ = à¸«à¸™à¹ˆà¸§à¸‡ à¹€à¸«à¸¡à¸·à¸­à¸™à¸‚à¸­à¸‡à¸•à¸à¸ˆà¸£à¸´à¸‡
   (à¸–à¹‰à¸²à¹ƒà¸Šà¹‰ easing à¸•à¸±à¸§à¹€à¸”à¸µà¸¢à¸§à¸„à¸¥à¸¸à¸¡à¸—à¸±à¹‰à¸‡à¹€à¸ªà¹‰à¸™ à¸¡à¸±à¸™à¸ˆà¸°à¸à¸£à¸°à¸•à¸¸à¸à¸—à¸¸à¸à¸ˆà¸¸à¸”à¸žà¸±à¸)      */
@keyframes tagDrop {
  0% {
    transform: translate3d(0, -76px, 0) rotate(-3.6deg);
    animation-timing-function: cubic-bezier(.36, 0, .7, .38);
  }
  50% {
    transform: translate3d(0, 14px, 0) rotate(2deg);
    animation-timing-function: cubic-bezier(.3, .6, .45, 1);
  }
  70% {
    transform: translate3d(0, -6px, 0) rotate(-1deg);
    animation-timing-function: cubic-bezier(.55, 0, .75, .4);
  }
  85% {
    transform: translate3d(0, 2.5px, 0) rotate(.4deg);
    animation-timing-function: cubic-bezier(.3, .6, .45, 1);
  }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.tag__sway {
  transform-origin: 50% 7%;   /* à¸ˆà¸¸à¸”à¸«à¸¡à¸¸à¸™ = à¸£à¸¹à¹à¸‚à¸§à¸™à¸”à¹‰à¸²à¸™à¸šà¸™ */
  will-change: transform;
}

.tag__lift {
  position: relative;
  transition: transform .3s cubic-bezier(.25, .8, .35, 1);
  /* à¸¢à¸à¸‚à¸¶à¹‰à¸™à¹€à¸›à¹‡à¸™ layer à¸‚à¸­à¸‡à¸•à¸±à¸§à¹€à¸­à¸‡ à¹€à¸‡à¸² drop-shadow à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¸•à¹‰à¸­à¸‡à¸§à¸²à¸”à¹ƒà¸«à¸¡à¹ˆà¸—à¸¸à¸à¹€à¸Ÿà¸£à¸¡ */
  will-change: transform;
}

.tag__bg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(55, 30, 50, .28));
}

.tag__item {
  position: absolute;
  left: 50%;
  top: 41.5%;
  width: 54%;
  height: auto;
  /* ต้องมี -50% แกน X ด้วย (เหตุผลเดียวกับ .craft-card__item) */
  transform: translate(-50%, -50%);
  transition: transform .3s cubic-bezier(.25, .8, .35, 1);
}

.tag__qty {
  position: absolute;
  left: 64%;
  top: 49%;
  width: 17%;
  aspect-ratio: 48 / 50;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}
.tag__qty img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tag__qty b {
  position: relative;
  font-size: clamp(.6rem, .72vw, .78rem);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.02em;
}

.tag__name {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 81%;
  transform: translateY(-50%);
  font-size: clamp(.78rem, .92vw, 1rem);
  font-weight: 700;
  line-height: 1.24;
  text-align: center;
  color: var(--c-ink);
}

/* à¹à¸à¸§à¹ˆà¸‡à¹€à¸šà¸² à¹† à¸•à¸¥à¸­à¸”à¹€à¸§à¸¥à¸² à¹€à¸«à¸¡à¸·à¸­à¸™à¸›à¹‰à¸²à¸¢à¸«à¹‰à¸­à¸¢à¹‚à¸”à¸™à¸¥à¸¡
   à¹€à¸£à¸´à¹ˆà¸¡â€“à¸ˆà¸šà¸—à¸µà¹ˆ 0 à¸­à¸‡à¸¨à¸² à¸ˆà¸°à¹„à¸”à¹‰à¸•à¹ˆà¸­à¸ˆà¸²à¸à¸•à¸­à¸™à¸•à¸à¸¥à¸‡à¸¡à¸²à¸žà¸­à¸”à¸µ à¹„à¸¡à¹ˆà¸à¸£à¸°à¸•à¸¸à¸à¸•à¸­à¸™à¸ªà¸¥à¸±à¸š */
.tag.is-in .tag__sway {
  animation: tagSway 4.4s ease-in-out infinite;
  animation-delay: calc(1s + var(--i, 0) * 110ms);
}

/* à¹ƒà¸«à¹‰à¹à¸•à¹ˆà¸¥à¸°à¹ƒà¸šà¸„à¸²à¸šà¹„à¸¡à¹ˆà¹€à¸—à¹ˆà¸²à¸à¸±à¸™ à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¹à¸à¸§à¹ˆà¸‡à¸žà¸£à¹‰à¸­à¸¡à¸à¸±à¸™à¹€à¸›à¹‡à¸™à¹à¸–à¸§ */
.tag:nth-child(3n) .tag__sway { animation-duration: 4.8s; }
.tag:nth-child(2n) .tag__sway { animation-duration: 5.3s; }

@keyframes tagSway {
  0%, 100% { transform: rotate(0deg);    }
  25%      { transform: rotate(-1.2deg); }
  75%      { transform: rotate(1.2deg);  }
}

/* hover â€” à¸¢à¸à¸‚à¸¶à¹‰à¸™à¸à¸±à¸šà¸‹à¸¹à¸¡à¹„à¸­à¹€à¸—à¸¡ à¹ƒà¸Šà¹‰ transition à¸¥à¹‰à¸§à¸™ à¹„à¸¡à¹ˆà¸ªà¸¥à¸±à¸š animation
   (à¹€à¸‡à¸²à¹„à¸¡à¹ˆà¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¸•à¸­à¸™ hover à¹€à¸žà¸£à¸²à¸° transition filter à¸à¸´à¸™à¹à¸£à¸‡à¹€à¸„à¸£à¸·à¹ˆà¸­à¸‡à¸¡à¸²à¸) */
.tag:hover .tag__lift { transform: translate3d(0, -9px, 0); }
.tag:hover .tag__item { transform: translate(-50%, -50%) scale(1.09); }


/* =========================================================
   SECTION 3 : FESTIVAL  (à¹à¸–à¸šà¸„à¸£à¸µà¸¡)
   ========================================================= */
.festival {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--band-curve));
  padding: calc(var(--band-curve) + 5vw) 0 calc(var(--band-curve) + 6vw);
  background: var(--c-cream);
  /* à¸‚à¸­à¸šà¸šà¸™â€“à¸¥à¹ˆà¸²à¸‡à¹‚à¸„à¹‰à¸‡à¹€à¸›à¹‡à¸™à¸§à¸‡à¸£à¸µà¸à¸§à¹‰à¸²à¸‡ à¹† à¹€à¸«à¸¡à¸·à¸­à¸™à¹à¸šà¸š */
  border-radius: 50% 50% 50% 50% /
                 var(--band-curve) var(--band-curve) var(--band-curve) var(--band-curve);
}

.festival__inner {
  position: relative;
  z-index: 3;
}

/* ---- à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡à¹„à¸à¸¥ à¹† : à¸‚à¸¢à¸±à¸šà¹€à¸šà¸²à¸¡à¸²à¸ ---- */
.festival__balloons {
  position: absolute;
  z-index: 1;
  top: -2vw;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  animation: balloonsDrift 13s ease-in-out infinite;
  will-change: transform;
}

@keyframes balloonsDrift {
  /* ต้องคง -50% ไว้ "ทุกเฟรม" ไม่งั้นพอ 0% ไม่มี ชั้นลูกโป่งจะเลื่อนไปมาทั้งจอ */
  0%, 100% { transform: translate(-50%, 0);     }
  50%      { transform: translate(-50%, -.5vw); }
}

/* ---- à¹‚à¸žà¸£à¸´à¹ˆà¸‡à¸šà¸­à¸¥à¸¥à¸¹à¸™ : à¸‚à¸¢à¸±à¸šà¸Šà¸±à¸” ---- */
.balloon {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
  will-change: transform;
}

.balloon--l {
  left: 1vw;
  top: 24%;
  width: 23vw;
  max-width: 524px;
  transform-origin: 50% 20%;          /* à¸«à¸¡à¸¸à¸™à¸£à¸­à¸šà¸«à¸±à¸§à¸šà¸­à¸¥à¸¥à¸¹à¸™ */
  animation: balloonDriftL 7s ease-in-out infinite;
}

.balloon--r {
  right: -4vw;
  top: -6vw;
  width: 19.6vw;
  max-width: 365px;
  transform-origin: 70% 30%;
  animation: balloonDriftR 6s ease-in-out infinite;
}

@keyframes balloonDriftL {
  0%, 100% { transform: translate(0, 0)             rotate(-2.4deg); }
  35%      { transform: translate(.6vw, -1.5vw)     rotate(1.8deg);  }
  70%      { transform: translate(-.35vw, -.55vw)   rotate(2.6deg);  }
}

@keyframes balloonDriftR {
  0%, 100% { transform: translate(0, 0)             rotate(2.2deg);  }
  40%      { transform: translate(-.7vw, 1.3vw)     rotate(-2.8deg); }
  75%      { transform: translate(.3vw, .45vw)      rotate(-1.4deg); }
}


/* ---- à¸«à¸±à¸§à¸‚à¹‰à¸­à¸à¸¥à¸²à¸‡à¸—à¸µà¹ˆà¹ƒà¸Šà¹‰à¸‹à¹‰à¸³à¹„à¸”à¹‰ ---- */
.sec-title {
  font-size: clamp(1.55rem, 2.7vw, 2.9rem);
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  color: var(--c-ink);
}

.sec-sub {
  margin-top: .6em;
  font-size: clamp(.82rem, 1.05vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  color: var(--c-ink);
  opacity: .82;
}
.sec-sub span { display: block; }


/* ---- à¸à¸²à¸£à¹Œà¸”à¸à¸´à¸ˆà¸à¸£à¸£à¸¡ 2 à¸˜à¸µà¸¡ ---- */
.event-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vw;
  margin-top: clamp(24px, 3vw, 58px);
}

.event {
  flex: 0 0 auto;
  width: min(544px, 28.3vw);
}

.event__card {
  position: relative;
  aspect-ratio: 524 / 273;
  background-size: cover;
  background-position: center;
  border-radius: max(8px, .7vw);
  box-shadow: 0 6px 16px rgba(70, 45, 60, .18);
}

/* à¹à¸œà¹ˆà¸™à¸™à¹‰à¸³à¸•à¸²à¸¥à¸‹à¹‰à¸­à¸™à¸­à¸¢à¸¹à¹ˆà¸‚à¹‰à¸²à¸‡à¸«à¸¥à¸±à¸‡ à¹ƒà¸«à¹‰à¸”à¸¹à¹€à¸«à¸¡à¸·à¸­à¸™à¸à¸²à¸£à¹Œà¸”à¸§à¸²à¸‡à¸‹à¹‰à¸­à¸™à¸à¸±à¸™ */
.event__card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -.5%;
  background: var(--c-ink);
  border-radius: inherit;
  transform: rotate(-1.4deg);
}


.event__label {
  position: absolute;
  left: -1.5%;
  top: 13%;
  width: 63%;
  padding: .5em 1em .6em;
  background: var(--c-ink);
  border-radius: max(6px, .45vw);
}

.event__name {
  font-size: clamp(.95rem, 1.78vw, 2.1rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
  color: var(--c-cream);
}

.event__tag {
  font-size: clamp(.55rem, .78vw, .92rem);
  font-weight: 500;
  line-height: 1.3;
  color: #E7DFC3;
}

.event__desc {
  position: absolute;
  left: 7%;
  right: 8%;
  top: 54%;
  font-size: clamp(.55rem, .8vw, .95rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-ink);
}

.event__date {
  position: absolute;
  left: 7%;
  bottom: 7%;
  padding: .3em 1.1em;
  font-size: clamp(.55rem, .78vw, .92rem);
  font-weight: 600;
  color: var(--c-ink);
  background: var(--c-cream);
  border-radius: 999px;
}


/* =========================================================
   SECTION 4 : CRAFT  (à¹à¸–à¸šà¸¡à¹ˆà¸§à¸‡ + à¹à¸œà¸‡à¹‚à¸™à¹‰à¸•)
   ========================================================= */
/* à¹„à¸¡à¹ˆà¹ƒà¸ªà¹ˆ z-index à¸—à¸µà¹ˆ .craft à¹€à¸žà¸·à¹ˆà¸­à¹„à¸¡à¹ˆà¹ƒà¸«à¹‰à¸ªà¸£à¹‰à¸²à¸‡ stacking context
   à¸žà¸·à¹‰à¸™à¸¡à¹ˆà¸§à¸‡à¸ˆà¸°à¹„à¸”à¹‰à¸­à¸¢à¸¹à¹ˆà¹ƒà¸•à¹‰à¹à¸–à¸šà¸„à¸£à¸µà¸¡ à¹à¸•à¹ˆà¸•à¸±à¸§à¸¥à¸°à¸„à¸£à¸‚à¹‰à¸²à¸‡à¹ƒà¸™à¸¢à¸±à¸‡à¹‚à¸œà¸¥à¹ˆà¸‚à¸¶à¹‰à¸™à¹„à¸›à¸—à¸±à¸šà¹à¸–à¸šà¸„à¸£à¸µà¸¡à¹„à¸”à¹‰ */
.craft {
  position: relative;
  margin-top: calc(-1 * var(--band-curve));
  /* à¸¥à¹ˆà¸²à¸‡à¹€à¸œà¸·à¹ˆà¸­à¹„à¸§à¹‰à¹ƒà¸«à¹‰à¸•à¸±à¸§à¸¥à¸°à¸„à¸£ (top 12vw + à¸ªà¸¹à¸‡ ~41vw) à¸ˆà¸šà¹ƒà¸™à¸à¸£à¸­à¸š à¹„à¸¡à¹ˆà¸¥à¹‰à¸™à¹„à¸› section à¸–à¸±à¸”à¹„à¸› */
  padding: calc(var(--band-curve) + 2vw) 0 13vw;
  background: var(--c-lav);
}

.craft__inner {
  position: relative;
  z-index: 6;                 /* à¹à¸œà¸‡à¹‚à¸™à¹‰à¸•à¸­à¸¢à¸¹à¹ˆà¸«à¸™à¹‰à¸²à¸•à¸±à¸§à¸¥à¸°à¸„à¸£ */
  display: flex;
  justify-content: center;
  padding-inline: var(--container-pad);
}

/* à¸•à¸±à¸§à¸¥à¸°à¸„à¸£à¸ªà¸­à¸‡à¸‚à¹‰à¸²à¸‡ â€” à¸¥à¸­à¸¢à¸‚à¸¶à¹‰à¸™à¸¥à¸‡à¹€à¸šà¸² à¹† */
.craft__char {
  position: absolute;
  z-index: 7;                 /* à¸ªà¸¹à¸‡à¸à¸§à¹ˆà¸² .festival (1) à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¹‚à¸”à¸™à¹à¸–à¸šà¸„à¸£à¸µà¸¡à¸—à¸±à¸šà¸«à¸±à¸§ */
  top: 12vw;                   /* à¹ƒà¸«à¹‰à¸«à¸±à¸§à¸­à¸¢à¸¹à¹ˆà¸£à¸°à¸”à¸±à¸šà¹€à¸”à¸µà¸¢à¸§à¸à¸±à¸šà¸‚à¸­à¸šà¸šà¸™à¹à¸œà¸‡à¹‚à¸™à¹‰à¸• */
  width: 31vw;
  max-width: 600px;
  height: auto;
  pointer-events: none;
  animation: charBob 5.5s ease-in-out infinite;
  will-change: transform;
}

.craft__char--l {left: -3vw;}
.craft__char--r {right: -3vw;animation-duration: 6.4s;animation-delay: -1.8s;}

@keyframes charBob {
  0%, 100% { transform: translateY(0)     rotate(0deg);   }
  50%      { transform: translateY(-.8vw) rotate(-.8deg); }
}


/* ---- à¹à¸œà¸‡à¹‚à¸™à¹‰à¸• ---- */
.notes {
  position: relative;
  z-index: 3;
  width: min(1088px, 82vw);
  aspect-ratio: 1088 / 750;
  margin-top: -3vw;
  background: url('../assets/images/bg-notes.png') center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 24px rgba(60, 35, 60, .25));
}

.notes__head {
  position: absolute;
  left: 4.5%;
  right: 30%;
  top: 6%;
}

.notes__title {
  font-size: clamp(.95rem, 1.56vw, 1.85rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-cream);
}
.notes__title span { display: block; }

.notes__sub {
  margin-top: .3em;
  font-size: clamp(.52rem, .78vw, .92rem);
  font-weight: 400;
  line-height: 1.4;
  color: #D9D0C2;
}

.notes__body {
  position: absolute;
  left: 4.5%;
  right: 4%;
  top: 29%;
  bottom: 5%;
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 2%;
}


/* ---- à¸£à¸²à¸¢à¸à¸²à¸£à¸§à¸±à¸•à¸–à¸¸à¸”à¸´à¸š ---- */
.mats {
  position: relative;
  background: url('../assets/images/Frame.png') center / 100% 100% no-repeat;
  padding: 20% 13% 6%;
}

.mats__title {
  position: absolute;
  left: 0;
  right: 0;
  top: 5.4%;
  font-size: clamp(.5rem, 1.5vw, 1rem);
  font-weight: 700;
  text-align: center;
  color: var(--c-cream);
}

.mats__list {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mat {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8%;
  border-bottom: 1px solid rgba(120, 95, 70, .22);
}
.mat:last-child { border-bottom: 0; }

.mat__icon {
  width: 17%;
  height: auto;
}

.mat__name {
  font-size: clamp(.5rem, .86vw, 1.02rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
}


/* ---- à¸à¸²à¸£à¹Œà¸”à¸‚à¸­à¸‡à¸£à¸²à¸‡à¸§à¸±à¸¥ ---- */
.crafts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: min-content;
  gap: 3.5%;
  align-content: start;
}

.craft-card {
  position: relative;
  aspect-ratio: 211 / 233;
  background: url('../assets/images/Frame157.png') center / 100% 100% no-repeat;
}

/* à¹„à¸­à¹€à¸—à¸¡à¸¥à¸­à¸¢à¸‚à¸¶à¹‰à¸™à¸¥à¸‡à¹€à¸­à¸‡à¸•à¸¥à¸­à¸” à¹„à¸¡à¹ˆà¸•à¹‰à¸­à¸‡ hover */
.craft-card__item {
  position: absolute;
  left: 50%;
  top: 31%;
  width: 60%;
  height: auto;
  /* ต้องมี -50% แกน X ด้วย ไม่งั้น left:50% จะเป็นการวาง "ขอบซ้าย" ของรูปไว้กลางการ์ด
     รูปเลยเยื้องไปทางขวาครึ่งหนึ่งของความกว้างตัวเอง (30% ของการ์ด) */
  transform: translate(-50%, -50%);
  animation: craftFloat 3.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -620ms);
  will-change: transform;
}

/* à¹ƒà¸«à¹‰à¹à¸•à¹ˆà¸¥à¸°à¹ƒà¸šà¸„à¸²à¸šà¹„à¸¡à¹ˆà¹€à¸—à¹ˆà¸²à¸à¸±à¸™ à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¸¥à¸­à¸¢à¸žà¸£à¹‰à¸­à¸¡à¸à¸±à¸™à¸—à¸±à¹‰à¸‡à¹à¸–à¸§ */
.craft-card:nth-child(3n) .craft-card__item { animation-duration: 4.4s; }
.craft-card:nth-child(2n) .craft-card__item { animation-duration: 3.2s; }

@keyframes craftFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg);    }
  50%      { transform: translate(-50%, -57%) rotate(-2.6deg); }
}

/* à¸•à¸±à¸§à¸­à¸±à¸à¸©à¸£à¸‚à¸²à¸§à¸¡à¸µà¸‚à¸­à¸šà¹€à¸‚à¹‰à¸¡ à¸—à¸±à¸šà¹„à¸­à¹€à¸—à¸¡à¹„à¸”à¹‰à¸•à¸²à¸¡à¹à¸šà¸š */
.craft-card__name {
  position: absolute;
  z-index: 2;
  left: 4%;
  right: 4%;
  top: 57%;
  font-size: clamp(.6rem, 1.07vw, 1.26rem);
  font-weight: 700;
  line-height: 1.26;
  text-align: center;
  color: #fff;
  text-shadow:
    -.1em -.1em 0 var(--c-ink),   .1em -.1em 0 var(--c-ink),
    -.1em  .1em 0 var(--c-ink),   .1em  .1em 0 var(--c-ink),
      0   -.1em 0 var(--c-ink),     0    .1em 0 var(--c-ink),
    -.1em   0   0 var(--c-ink),   .1em    0   0 var(--c-ink);
}

.craft-card__cost {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 92%;
  height: auto;
  transform: translateX(-50%);
}


/* =========================================================
   SECTION 5 : TOPUP â€” à¸£à¸±à¸šà¸£à¸²à¸‡à¸§à¸±à¸¥à¸£à¸²à¸¢à¸§à¸±à¸™
   ========================================================= */
.topup {
  position: relative;
  /* à¸•à¹‰à¸­à¸‡à¸ªà¸¹à¸‡à¸à¸§à¹ˆà¸²à¸•à¸±à¸§à¸¥à¸°à¸„à¸£à¸‚à¸­à¸‡ .craft (z-index 7) à¹„à¸¡à¹ˆà¸‡à¸±à¹‰à¸™à¸‚à¸²à¸ˆà¸°à¸¥à¹‰à¸™à¸¥à¸‡à¸¡à¸²à¸—à¸±à¸š section à¸™à¸µà¹‰ */
  z-index: 8;
  /* à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : à¸‚à¸­à¸šà¸šà¸™à¸›à¹‰à¸²à¸¢à¸«à¸±à¸§à¸‚à¹‰à¸­à¸­à¸¢à¸¹à¹ˆà¸«à¹ˆà¸²à¸‡à¸ˆà¸²à¸à¸«à¸±à¸§ section à¹à¸„à¹ˆ ~33px @1920 */
  padding: .4vw 0 0vw;
  background: #fff;           /* à¸žà¸·à¹‰à¸™à¸‚à¸²à¸§à¹ƒà¸•à¹‰à¸‚à¸­à¸šà¸«à¸¢à¸±à¸à¸‚à¸­à¸‡ bg-pp */
  overflow: hidden;
}

/* à¹à¸–à¸šà¸¡à¹ˆà¸§à¸‡à¸£à¸­à¸‡à¹„à¸§à¹‰ à¹„à¸¡à¹ˆà¹ƒà¸«à¹‰à¸ªà¹ˆà¸§à¸™à¹ƒà¸ªà¹€à¸«à¸™à¸·à¸­à¹‚à¸”à¸¡à¸‚à¸­à¸‡ bg-pp à¹‚à¸Šà¸§à¹Œà¸žà¸·à¹‰à¸™à¸‚à¸²à¸§
   (à¸ªà¹ˆà¸§à¸™à¹ƒà¸ªà¸‚à¸­à¸‡ bg-pp à¸à¸´à¸™à¸žà¸·à¹‰à¸™à¸—à¸µà¹ˆà¸–à¸¶à¸‡ ~29% à¸‚à¸­à¸‡à¸£à¸¹à¸›) */
.topup::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0 0 auto 0;
  height: 32%;
  background: var(--c-lav);
}

.topup__bg {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* à¸˜à¸‡à¸£à¸²à¸§ â€” à¸”à¸£à¸­à¸›à¸¥à¸‡à¸¡à¸²à¸ˆà¸²à¸à¸”à¹‰à¸²à¸™à¸šà¸™à¹à¸¥à¹‰à¸§à¹à¸à¸§à¹ˆà¸‡à¹€à¸‚à¹‰à¸²à¸—à¸µà¹ˆ à¹€à¸«à¸¡à¸·à¸­à¸™à¹€à¸§à¸¥à¸²à¸œà¸¶à¹ˆà¸‡à¸˜à¸‡ */
/* สำคัญ : ชั้นที่ IntersectionObserver จับ (.topup__flags) ต้อง "ไม่ขยับ" เด็ดขาด
   ถ้าเอา flagDrop ไปใส่ชั้นนั้นตรง ๆ จะเกิดลูปจนธงหายไปเลย —
     เลื่อนถึง → ใส่ .is-in → เฟรมแรกดีดตัวขึ้น -100% จนหลุดจอ
     → observer เห็นว่าออกนอกจอ → ถอด .is-in → กลับเข้าที่ → ใส่ .is-in ใหม่ → วนไม่จบ
   (ตอนที่ reveal ยัง unobserve หลังเล่นครั้งเดียวปัญหานี้ไม่โผล่) */
.topup__flags.is-in .topup__flags-drop {
  animation: flagDrop 1.15s cubic-bezier(.22, .9, .3, 1.02) both;
}

.topup__flags-drop { will-change: transform; }

@keyframes flagDrop {
  0%   { transform: translateY(-100%) rotate(-2.2deg); opacity: 0; }
  55%  { transform: translateY(4%)    rotate(1.1deg);  opacity: 1; }
  78%  { transform: translateY(-1.5%) rotate(-.6deg);  }
  92%  { transform: translateY(.6%)   rotate(.25deg);  }
  100% { transform: translateY(0)     rotate(0deg);    opacity: 1; }
}

.topup__flags {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  /* à¸à¸§à¹‰à¸²à¸‡à¹€à¸à¸´à¸™à¸ˆà¸­à¹„à¸§à¹‰à¹ƒà¸«à¹‰à¸›à¸¥à¸²à¸¢à¸˜à¸‡à¸—à¸±à¹‰à¸‡à¸ªà¸­à¸‡à¸‚à¹‰à¸²à¸‡à¸«à¸¥à¸¸à¸”à¸­à¸­à¸à¸™à¸­à¸à¸‚à¸­à¸š
     à¹„à¸¡à¹ˆà¸‡à¸±à¹‰à¸™à¸ˆà¸°à¹€à¸«à¹‡à¸™à¹€à¸ªà¹‰à¸™à¹€à¸Šà¸·à¸­à¸à¸šà¸²à¸‡ à¹† à¸à¸±à¸šà¸Šà¹ˆà¸­à¸‡à¸§à¹ˆà¸²à¸‡à¸—à¸µà¹ˆà¸¡à¸¸à¸¡à¸‹à¹‰à¸²à¸¢-à¸‚à¸§à¸²
     max-width: none à¸ˆà¸³à¹€à¸›à¹‡à¸™ à¹€à¸žà¸£à¸²à¸° reset.css à¸•à¸±à¹‰à¸‡ img { max-width: 100% } à¹„à¸§à¹‰
     à¸–à¹‰à¸²à¹„à¸¡à¹ˆà¸›à¸¥à¸” à¸„à¹ˆà¸²à¸—à¸µà¹ˆà¹€à¸à¸´à¸™ 100% à¸ˆà¸°à¹„à¸¡à¹ˆà¸¡à¸µà¸œà¸¥à¹€à¸¥à¸¢ */
  width: 120%;
  transform: translateX(-50%);
  pointer-events: none;
}

.topup__flags img {
  display: block;
  width: 100%;
  /* à¸ˆà¸³à¹€à¸›à¹‡à¸™ à¹€à¸žà¸£à¸²à¸° reset.css à¸•à¸±à¹‰à¸‡ img { max-width: 100% } à¹„à¸§à¹‰ */
  max-width: none;
  height: auto;
  /* à¸«à¹‰à¸­à¸¢à¸ˆà¸²à¸à¹€à¸Šà¸·à¸­à¸à¸”à¹‰à¸²à¸™à¸šà¸™ à¹€à¸¥à¸¢à¸«à¸¡à¸¸à¸™à¸£à¸­à¸šà¸‚à¸­à¸šà¸šà¸™ */
  transform-origin: center top;
  will-change: transform;
}

/* à¸›à¸¥à¸´à¸§à¹€à¸šà¸² à¹† à¸•à¸¥à¸­à¸”à¹€à¸§à¸¥à¸² à¹€à¸£à¸´à¹ˆà¸¡à¸«à¸¥à¸±à¸‡à¸ˆà¸±à¸‡à¸«à¸§à¸°à¸”à¸£à¸­à¸›à¸ˆà¸šà¸žà¸­à¸”à¸µ */
.topup__flags.is-in img { animation: flagWave 7.2s ease-in-out 1.15s infinite; }

@keyframes flagWave {
  0%   { transform: translateY(0)     rotate(0deg)    skewY(0deg);    }
  25%  { transform: translateY(.35%)  rotate(.26deg)  skewY(.2deg);   }
  50%  { transform: translateY(-.25%) rotate(0deg)    skewY(0deg);    }
  75%  { transform: translateY(.3%)   rotate(-.24deg) skewY(-.18deg); }
  100% { transform: translateY(0)     rotate(0deg)    skewY(0deg);    }
}

.topup__inner {
  position: relative;
  z-index: 4;
}

/* ---- à¸›à¹‰à¸²à¸¢à¸«à¸±à¸§à¸‚à¹‰à¸­ ---- */
/* à¸‚à¸™à¸²à¸”à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : à¸à¸§à¹‰à¸²à¸‡ 812px @1920 */
.topup__badge {
  width: min(851px, 42.3vw);
  aspect-ratio: 851 / 227;
  margin-inline: auto;
  padding: 4.5% 6% 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('../assets/images/badge-topup.png') center / 100% 100% no-repeat;
}

/* à¸›à¹‰à¸²à¸¢à¹ƒà¸™à¹„à¸Ÿà¸¥à¹Œà¸¥à¸²à¸”à¸¥à¸‡à¸—à¸²à¸‡à¸‚à¸§à¸² ~2Â° (à¸§à¸±à¸”à¸ˆà¸²à¸ badge-topup.png)
   à¹€à¸­à¸µà¸¢à¸‡à¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­à¸•à¸²à¸¡à¹ƒà¸«à¹‰à¸‚à¸™à¸²à¸™à¸à¸±à¸šà¸›à¹‰à¸²à¸¢ */
.topup__badge-text {
  width: 100%;
  transform: rotate(2deg);
}

/* à¸•à¸±à¸§à¸­à¸±à¸à¸©à¸£à¸ªà¸µà¸™à¹‰à¸³à¸•à¸²à¸¥à¹€à¸”à¸µà¸¢à¸§à¸à¸±à¸šà¸žà¸·à¹‰à¸™à¸›à¹‰à¸²à¸¢ + à¸‚à¸­à¸šà¸‚à¸²à¸§à¸«à¸™à¸² (à¸­à¹ˆà¸²à¸™à¸­à¸­à¸à¹„à¸”à¹‰à¸”à¹‰à¸§à¸¢à¸‚à¸­à¸šà¸‚à¸²à¸§) */
.topup__title {
  font-size: clamp(1rem, 2.05vw, 2.7rem);
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
  color: #432F32;
  text-shadow:
    -.06em -.06em 0 #fff,   .06em -.06em 0 #fff,
    -.06em  .06em 0 #fff,   .06em  .06em 0 #fff,
       0   -.06em 0 #fff,      0   .06em 0 #fff,
    -.06em    0   0 #fff,   .06em    0   0 #fff;
}
.topup__title span { display: block; }

.topup__note {
  margin-top: .2em;
  font-size: clamp(.6rem, 1.04vw, 1.25rem);
  font-weight: 500;
  text-align: center;
  color: #fff;
}

/* ---- à¹à¸–à¸§à¸šà¸™ : à¸§à¸´à¸˜à¸µà¸£à¸±à¸šà¸£à¸²à¸‡à¸§à¸±à¸¥ + à¸•à¸±à¸§à¸¥à¸°à¸„à¸£ ---- */
/* à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : à¸«à¹ˆà¸²à¸‡à¸ˆà¸²à¸à¸‚à¸­à¸šà¸¥à¹ˆà¸²à¸‡à¸›à¹‰à¸²à¸¢à¸«à¸±à¸§à¸‚à¹‰à¸­ ~71px @1920 */
.topup__head {
  display: flex;
  justify-content: center;
  margin-top: 4vw;
}

.howto {
  position: relative;
  /* à¹€à¸¢à¸·à¹‰à¸­à¸‡à¸‹à¹‰à¸²à¸¢à¹ƒà¸«à¹‰à¹€à¸§à¹‰à¸™à¸—à¸µà¹ˆà¸à¸±à¹ˆà¸‡à¸‚à¸§à¸²à¹„à¸§à¹‰à¹ƒà¸«à¹‰à¸•à¸±à¸§à¸¥à¸°à¸„à¸£ à¸•à¸²à¸¡à¹à¸šà¸š */
  margin-right: 20vw;
  /* à¸‚à¸™à¸²à¸”à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : à¸à¸§à¹‰à¸²à¸‡ 498px @1920 */
  width: min(720px, 41vw);
  aspect-ratio: 498 / 246;   /* à¹à¸šà¸šà¸¢à¸·à¸”à¸£à¸¹à¸›à¹ƒà¸«à¹‰à¹€à¸•à¸µà¹‰à¸¢à¸¥à¸‡à¸à¸§à¹ˆà¸²à¹„à¸Ÿà¸¥à¹Œà¸•à¹‰à¸™à¸‰à¸šà¸±à¸š */
  padding: 6% 6% 8%;
  background: url('../assets/images/bg-detail-topup.png') center / 100% 100% no-repeat;
}

.howto__title {
  font-size: clamp(.9rem, 1.67vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--c-ink);
}

.howto__period {
  margin-bottom: .8em;
  font-size: clamp(.5rem, .73vw, .88rem);
  text-align: center;
  color: var(--c-ink);
  opacity: .8;
}

.howto__steps {
  display: flex;
  flex-direction: column;
  gap: .7em;
}

.howto__step {
  display: flex;
  align-items: center;
  gap: .55em;
  /* à¸•à¸²à¸¡à¹à¸šà¸š à¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡à¸à¸§à¹‰à¸²à¸‡à¹€à¸à¸·à¸­à¸šà¹€à¸•à¹‡à¸¡à¹à¸œà¸‡à¹à¸¥à¸°à¸¥à¹‰à¸™à¸‚à¸­à¸šà¸™à¸´à¸”à¸«à¸™à¹ˆà¸­à¸¢ */
  font-size: clamp(.5rem, .9vw, 1rem);
  line-height: 1.3;
  white-space: nowrap;
  color: var(--c-ink);
}

.howto__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  font-weight: 700;
  color: var(--c-cream);
  background: var(--c-ink);
  border-radius: .22em;
}

/* à¸•à¸±à¸§à¸¥à¸°à¸„à¸£à¸–à¸·à¸­à¸žà¸¸à¸”à¸”à¸´à¹‰à¸‡ â€” à¸¥à¸­à¸¢à¸‚à¸¶à¹‰à¸™à¸¥à¸‡à¹€à¸šà¸² à¹† */
.topup__char {
  position: absolute;
  z-index: 5;
  /* à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : à¸•à¸±à¸§à¸¥à¸°à¸„à¸£à¸à¸§à¹‰à¸²à¸‡ ~459px à¸‚à¸­à¸šà¸‚à¸§à¸²à¸­à¸¢à¸¹à¹ˆà¸—à¸µà¹ˆ 1546px @1920 */
  right: 19vw;
  top: 6vw;
  width: 38vw;
  max-width: 700px;
  height: auto;
  pointer-events: none;
  animation: charBob 6s ease-in-out infinite;
  will-change: transform;
}


/* ---- à¸à¸²à¸£à¹Œà¸”à¸£à¸±à¸šà¸£à¸²à¸‡à¸§à¸±à¸¥à¸£à¸²à¸¢à¸§à¸±à¸™ ---- */
.claims {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(11px, 8.45vw, 70px);
  margin-top: 1.2vw;
  z-index: 5;
  position: relative;
}

/* à¸‚à¸™à¸²à¸”à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡ Figma : 315 x 204 px @1920 */
.claim {
  position: relative;
  flex: 0 0 auto;
  width: min(315px, 16.4vw);
  aspect-ratio: 315 / 204;
  /* à¸¥à¸²à¸¢à¸—à¸²à¸‡à¹à¸™à¸§à¸•à¸±à¹‰à¸‡à¸ªà¸µà¸„à¸£à¸µà¸¡ */
  background:
    repeating-linear-gradient(90deg,
      #FBEEBC 0 .9%, #FDF7DC .9% 1.8%);
  border: .18em solid #FFFDF0;
  border-radius: max(9px, .7vw);
  box-shadow: 0 5px 12px rgba(70, 45, 60, .2);
}

/* à¸£à¸´à¸šà¸šà¸´à¹‰à¸™à¸¡à¸¸à¸¡à¸‚à¸§à¸²à¸šà¸™ â€” à¸£à¸¹à¸›à¸ªà¸²à¸¡à¹€à¸«à¸¥à¸µà¹ˆà¸¢à¸¡à¸­à¸¢à¸¹à¹ˆà¸—à¸µà¹ˆ ::before
   à¸–à¹‰à¸²à¹ƒà¸ªà¹ˆ clip-path à¸—à¸µà¹ˆà¸•à¸±à¸§à¹à¸¡à¹ˆ à¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­à¸ˆà¸°à¹‚à¸”à¸™à¸•à¸±à¸”à¹„à¸›à¸”à¹‰à¸§à¸¢ */
.claim__ribbon {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto auto;
  width: 30%;
  aspect-ratio: 1;
  pointer-events: none;
}

.claim__ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #F9D3DB;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  border-top-right-radius: max(7px, .55vw);
}

.claim__ribbon b {
  position: absolute;
  left: 66.667%;
  top: 33.333%;
  font-size: clamp(.45rem, 0.85vw, .9rem);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--c-ink);
  transform: translate(-50%, -50%) rotate(45deg);
}

.claim__info {
  position: absolute;
  z-index: 4;
  right: 25%;
  top: 12%;
  width: 32px;
  height: 32px;
  border: 2px solid #9b6479;
  border-radius: 50%;
  background: #fffdf0;
  color: #704355;
  font: 700 18px/1 sans-serif;
  cursor: pointer;
}

.claim__info:hover { background: #f9d3db; }
.claim__info:focus-visible { outline: 3px solid #704355; outline-offset: 3px; }
.claim-reward-list { margin: 0; padding-left: 1.2em; list-style: disc; text-align: left; }
.claim-reward-list li + li { margin-top: .5em; }

.claim__items {
  position: absolute;
  z-index: 1;
  left: 2.6%;
  top: 4.5%;
  width: 60%;
  height: auto;
}

/* ---- à¸›à¸¸à¹ˆà¸¡ CLAIM ----
   claim-btn.png à¸¡à¸µà¸—à¸±à¹‰à¸‡à¹‚à¸žà¸£à¸´à¹ˆà¸‡à¹à¸¥à¸°à¹à¸œà¹ˆà¸™à¸›à¹‰à¸²à¸¢à¹ƒà¸™à¸£à¸¹à¸›à¹€à¸”à¸µà¸¢à¸§
   à¸§à¸²à¸‡à¹„à¸§à¹‰à¹ƒà¸•à¹‰à¸›à¸¸à¹ˆà¸¡ (z-index à¸•à¹ˆà¸³à¸à¸§à¹ˆà¸²) à¹à¸œà¹ˆà¸™à¸›à¹‰à¸²à¸¢à¹ƒà¸™à¸£à¸¹à¸›à¹€à¸¥à¸¢à¸–à¸¹à¸à¸›à¸¸à¹ˆà¸¡à¸šà¸±à¸‡à¸«à¸¡à¸” à¹€à¸«à¸¥à¸·à¸­à¹à¸•à¹ˆà¸«à¸±à¸§à¹‚à¸žà¸£à¸´à¹ˆà¸‡à¹‚à¸œà¸¥à¹ˆ */
/* à¸›à¸¸à¹ˆà¸¡ = à¸£à¸¹à¸› claim-btn.png à¸—à¸±à¹‰à¸‡à¹ƒà¸š (à¹‚à¸žà¸£à¸´à¹ˆà¸‡ + à¹à¸œà¹ˆà¸™à¸›à¹‰à¸²à¸¢à¸™à¹‰à¸³à¸•à¸²à¸¥à¸£à¸§à¸¡à¸­à¸¢à¸¹à¹ˆà¹ƒà¸™à¹„à¸Ÿà¸¥à¹Œà¹à¸¥à¹‰à¸§)
   à¹„à¸¡à¹ˆà¸•à¹‰à¸­à¸‡à¸¡à¸µ background/border à¸‚à¸­à¸‡à¸•à¸±à¸§à¹€à¸­à¸‡ à¹à¸„à¹ˆà¸§à¸²à¸‡à¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­à¸—à¸±à¸šà¸šà¸™à¹à¸œà¹ˆà¸™à¸›à¹‰à¸²à¸¢ */
.claim__btn {
  position: absolute;
  z-index: 3;
  left: 66%;
  bottom: 4%;
  width: 45%;
  aspect-ratio: 128 / 122;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}

.claim__btn-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* à¹à¸œà¹ˆà¸™à¸›à¹‰à¸²à¸¢à¹ƒà¸™à¸£à¸¹à¸›à¸­à¸¢à¸¹à¹ˆà¸Šà¹ˆà¸§à¸‡ 56%â€“91% à¸‚à¸­à¸‡à¸„à¸§à¸²à¸¡à¸ªà¸¹à¸‡ â€” à¸ˆà¸±à¸”à¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­à¹ƒà¸«à¹‰à¸­à¸¢à¸¹à¹ˆà¸à¸¥à¸²à¸‡à¹à¸–à¸šà¸™à¸±à¹‰à¸™ */
.claim__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 74%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
  font-size: clamp(.42rem, .8vw, 1rem);
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
}

.claim__icon { display: inline-flex; }
.claim__icon svg {
  display: none;
  width: 1.1em;
  height: 1.1em;
}

/* à¸£à¸±à¸šà¹à¸¥à¹‰à¸§à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¸„à¸³à¹€à¸›à¹‡à¸™ CLAIMED */
.claim__label--done { display: none; }
.claim.is-claimed .claim__label--do   { display: none; }
.claim.is-claimed .claim__label--done { display: inline; }

/* ---- à¸ªà¸–à¸²à¸™à¸° 3 à¹à¸šà¸š ---- */
/* à¸žà¸£à¹‰à¸­à¸¡à¸£à¸±à¸š â€” à¹‚à¸žà¸£à¸´à¹ˆà¸‡à¹€à¸”à¹‰à¸‡ à¹† à¸žà¸£à¹‰à¸­à¸¡à¹€à¸‡à¸²à¹€à¸«à¸¥à¸·à¸­à¸‡à¸£à¸­à¸šà¸•à¸±à¸§ à¹ƒà¸«à¹‰à¸ªà¸°à¸”à¸¸à¸”à¸•à¸²à¸§à¹ˆà¸²à¸à¸”à¹„à¸”à¹‰ */
.claim.is-available .claim__btn {
  cursor: pointer;
  animation: claimBounce 1.15s ease-in-out infinite;
  will-change: transform;
}

/* à¹€à¸‡à¸²à¹€à¸«à¸¥à¸·à¸­à¸‡à¸„à¸‡à¸—à¸µà¹ˆ à¹„à¸¡à¹ˆà¸«à¸£à¸µà¹ˆâ€“à¸ªà¸§à¹ˆà¸²à¸‡à¸ªà¸¥à¸±à¸š (à¹‚à¸žà¸£à¸´à¹ˆà¸‡à¹€à¸”à¹‰à¸‡à¸­à¸¢à¸¹à¹ˆà¹à¸¥à¹‰à¸§ à¹„à¸¡à¹ˆà¸•à¹‰à¸­à¸‡à¹€à¸¥à¹ˆà¸™ opacity à¸‹à¹‰à¸³) */
.claim.is-available .claim__btn-bg {
  filter:
    drop-shadow(0 0 6px rgba(255, 226, 120, 1))
    drop-shadow(0 0 16px rgba(255, 205, 60, .85))
    drop-shadow(0 0 30px rgba(255, 190, 30, .45));
}

.claim.is-available .claim__btn:hover { filter: brightness(1.06); }

@keyframes claimBounce {
  0%, 100% { transform: translate3d(0, 0, 0);     }
  42%      { transform: translate3d(0, -7%, 0);   }
  70%      { transform: translate3d(0, 1.5%, 0);  }
}


.claim.is-locked  .claim__btn { cursor: not-allowed; }
.claim.is-locked  .i-lock  { display: block; }

.claim.is-claimed { filter: grayscale(1) brightness(.99); }
.claim.is-claimed .claim__btn { cursor: default; }
.claim.is-claimed .i-check { display: block; }


/* ---- à¸à¸´à¸ˆà¸à¸£à¸£à¸¡à¸„à¸­à¸¡à¸¡à¸¹à¸™à¸´à¸•à¸µà¹‰ ---- */
.community {
  position: relative;         /* à¹€à¸›à¹‡à¸™à¸ˆà¸¸à¸”à¸­à¹‰à¸²à¸‡à¸­à¸´à¸‡à¹ƒà¸«à¹‰à¹‚à¸žà¸£à¸´à¹ˆà¸‡à¸œà¸µà¹€à¸«à¸¥à¸·à¸­à¸‡ */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0vw;
  margin-top: 10vw;
}

/* ---- à¸ à¸²à¸žà¸„à¸­à¸¡à¸¡à¸¹à¸™à¸´à¸•à¸µà¹‰ : à¸›à¸£à¸°à¸à¸­à¸šà¸ˆà¸²à¸à¸Šà¸´à¹‰à¸™à¸ªà¹ˆà¸§à¸™à¹à¸¢à¸ à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¹€à¸›à¹‡à¸™ % à¸‚à¸­à¸‡à¸à¸£à¸­à¸š ---- */
.commu-art {
  position: relative;
  flex: 0 0 auto;
  width: min(677px, 34vw);
  aspect-ratio: 677 / 707;
}

.ca {
  position: absolute;
  height: auto;
  will-change: transform;
}

/* à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡ â€” à¸‚à¸¢à¸±à¸šà¹€à¸šà¸² à¹† à¸«à¸¡à¸¸à¸™à¸£à¸­à¸šà¸›à¸¥à¸²à¸¢à¹€à¸Šà¸·à¸­à¸à¸”à¹‰à¸²à¸™à¸¥à¹ˆà¸²à¸‡
   à¸‚à¸™à¸²à¸”/à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¸§à¸±à¸”à¸ˆà¸²à¸à¸ à¸²à¸žà¸•à¸±à¸§à¸­à¸¢à¹ˆà¸²à¸‡ (à¹€à¸—à¸µà¸¢à¸š bbox à¸•à¸±à¸§à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡ à¹„à¸¡à¹ˆà¸£à¸§à¸¡à¸‚à¸­à¸šà¹ƒà¸ªà¸‚à¸­à¸‡à¹„à¸Ÿà¸¥à¹Œ) */
.ca--b1, .ca--b2, .ca--b3, .ca--b4 {
  transform-origin: 50% 100%;
  animation: caFloat 5.4s ease-in-out infinite;
}

.ca--b1 { left: 3.2%;  top: -0.4%; width: 29.5%; animation-duration: 6.2s; }
.ca--b2 { left: 38%;   top: 6.3%;  width: 20.1%; animation-duration: 5s;   animation-delay: -1.6s; }
.ca--b3 { left: 31.3%; top: 18.2%; width: 17.7%; animation-duration: 5.8s; animation-delay: -3.1s; }
.ca--b4 { left: 56.6%; top: 15.4%; width: 11.1%; animation-duration: 4.6s; animation-delay: -2.4s; }

@keyframes caFloat {
  0%, 100% { transform: translate3d(0, 0, 0)        rotate(0deg);   }
  35%      { transform: translate3d(.3%, -1.6%, 0)  rotate(.7deg);  }
  70%      { transform: translate3d(-.25%, -.6%, 0) rotate(-.6deg); }
}

/* à¸„à¹‰à¸²à¸‡à¸„à¸²à¸§ â€” à¸šà¸´à¸™à¸ªà¹ˆà¸²à¸¢à¹„à¸›à¸¡à¸² */
.ca--bats {
  left: 75%;
  top: 19%;
  width: 19%;
  animation: caBats 3.6s ease-in-out infinite;
}

@keyframes caBats {
  0%, 100% { transform: translate3d(0, 0, 0)       rotate(0deg);   }
  30%      { transform: translate3d(-1.8%, -3%, 0) rotate(-2.4deg); }
  65%      { transform: translate3d(1.4%, 1.4%, 0) rotate(1.8deg);  }
}

/* dorum = à¸•à¸±à¸§à¹€à¸­à¸à¸‚à¸­à¸‡à¸ à¸²à¸ž à¸‚à¸¢à¸±à¸šà¸Šà¸±à¸”à¸à¸§à¹ˆà¸²à¸•à¸±à¸§à¸­à¸·à¹ˆà¸™ (à¹‚à¸¢à¸à¸•à¸±à¸§ + à¹€à¸”à¹‰à¸‡à¸™à¸´à¸”à¸™à¸¶à¸‡) */
.ca--girl {
  left: 32%;
  top: 20%;
  width: 52%;
  transform-origin: 50% 96%;   /* à¸«à¸¡à¸¸à¸™à¸£à¸­à¸šà¹€à¸—à¹‰à¸² */
  animation: caStar 4.4s ease-in-out infinite;
}

/* à¸¥à¸­à¸¢à¸‚à¸¶à¹‰à¸™à¸¥à¸‡à¹€à¸‰à¸¢ à¹† à¹„à¸¡à¹ˆà¹‚à¸¢à¸à¸•à¸±à¸§ */
@keyframes caStar {
  0%, 100% { transform: translate3d(0, 0, 0);     }
  50%      { transform: translate3d(0, -1.8%, 0); }
}

.ca--cat {
  left: 13%;
  top: 31%;
  width: 35%;
  transform-origin: 50% 100%;
  animation: caBob 3.4s ease-in-out infinite;
  animation-delay: -1.2s;
}

@keyframes caBob {
  0%, 100% { transform: translate3d(0, 0, 0)      rotate(0deg);   }
  50%      { transform: translate3d(0, -.9%, 0)   rotate(-.45deg); }
}

/* ---- à¸›à¹‰à¸²à¸¢à¸Šà¸·à¹ˆà¸­ : à¸£à¸¹à¸›à¹„à¸¡à¹ˆà¸¡à¸µà¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­ à¹ƒà¸ªà¹ˆà¹€à¸›à¹‡à¸™ text à¸ˆà¸£à¸´à¸‡à¹€à¸žà¸·à¹ˆà¸­à¹ƒà¸«à¹‰à¹à¸›à¸¥à¸ à¸²à¸©à¸²à¹„à¸”à¹‰ ---- */
.commu-tag {
  left: 14%;
  top: 52%;
  width: 72%;
  animation: caBob 5s ease-in-out infinite;
  animation-delay: -2.6s;
}
.commu-tag > img { width: 100%; height: auto; display: block; }

.commu-tag__text {
  position: absolute;
  left: 6%;
  right: 10%;
  top: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-2.5deg);   /* à¹€à¸­à¸µà¸¢à¸‡à¸•à¸²à¸¡à¹à¸œà¹ˆà¸™à¸›à¹‰à¸²à¸¢à¹ƒà¸™à¸£à¸¹à¸› */
  color: #4A3A32;
  text-shadow:
    -.055em -.055em 0 #fff,   .055em -.055em 0 #fff,
    -.055em  .055em 0 #fff,   .055em  .055em 0 #fff,
       0    -.055em 0 #fff,      0    .055em 0 #fff,
    -.055em    0    0 #fff,   .055em    0    0 #fff;
}

.commu-tag__sub {
  font-size: clamp(.55rem, 1.3vw, 1.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.commu-tag__main {
  font-size: clamp(1rem, 2.1vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.community__cards {
  flex: 1 1 0;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1.8vw;
}

/* à¹ƒà¸Šà¹‰ Frame172.png à¸—à¸±à¹‰à¸‡à¹ƒà¸š (à¹à¸—à¹‡à¸šà¸¡à¸¸à¸¡à¸‹à¹‰à¸²à¸¢à¸šà¸™à¸£à¸§à¸¡à¸­à¸¢à¸¹à¹ˆà¹ƒà¸™à¹„à¸Ÿà¸¥à¹Œà¹à¸¥à¹‰à¸§)
   à¹à¸—à¹‡à¸šà¸à¸´à¸™à¸žà¸·à¹‰à¸™à¸—à¸µà¹ˆ x 0â€“34.8% / y 0â€“16.7% à¸‚à¸­à¸‡à¸£à¸¹à¸› */
/* à¹„à¸¡à¹ˆà¸¥à¹‡à¸­à¸ aspect-ratio â€” à¹€à¸™à¸·à¹‰à¸­à¸«à¸²à¹à¸•à¹ˆà¸¥à¸°à¹ƒà¸šà¸¢à¸²à¸§à¹„à¸¡à¹ˆà¹€à¸—à¹ˆà¸²à¸à¸±à¸™ à¸–à¹‰à¸²à¸¥à¹‡à¸­à¸à¸›à¸¸à¹ˆà¸¡à¸ˆà¸°à¸«à¸¥à¸¸à¸”à¸™à¸­à¸à¸à¸£à¸­à¸š
   à¸£à¸¹à¸›à¸žà¸·à¹‰à¸™à¸«à¸¥à¸±à¸‡à¸¢à¸·à¸”à¸•à¸²à¸¡à¸„à¸§à¸²à¸¡à¸ªà¸¹à¸‡à¸ˆà¸£à¸´à¸‡ (à¹à¸—à¹‡à¸šà¸­à¸¢à¸¹à¹ˆ 16.7% à¸šà¸™à¸ªà¸¸à¸”à¹€à¸ªà¸¡à¸­) */
.act {
  position: relative;
  min-height: 11em;
  padding: 4em 5% 6%;
  background: url('../assets/images/Frame172.png') center / 100% 100% no-repeat;
}

.act__tab {
  position: absolute;
  left: 0;
  top: 28px;
  width: 34.8%;
  height: 16.7%;
  display: grid;
  place-items: center;
  padding-bottom: 3.15em;
  font-size: clamp(.55rem, 7.92vw, 1.5rem);
  font-weight: 700;
  color: var(--c-cream);
}

.act__body {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.act__desc {
  font-size: clamp(.42rem, 2.76vw, 1.15rem);
  line-height: 1.5;
  color: #E2DACD;
  margin-top: 16px;
}

.act__btns {
  display: flex;
  flex-wrap: wrap;
  gap: .9em;
}

.act__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  font-family: inherit;
  font-size: clamp(.48rem, 1vw, .92rem);
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-cream);
  border-radius: max(5px, .35vw);
  box-shadow: 0 3px 0 var(--c-cream-deep);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.act__btn:hover  { transform: translateY(-2px); box-shadow: 0 5px 0 var(--c-cream-deep); }
.act__btn:active { transform: translateY(2px);  box-shadow: 0 1px 0 var(--c-cream-deep); }


/* ---- à¹‚à¸žà¸£à¸´à¹ˆà¸‡à¸›à¸£à¸°à¸”à¸±à¸š ---- */
.poring-deco {
  position: absolute;
  z-index: 5;                 /* à¸­à¸¢à¸¹à¹ˆà¸«à¸™à¹‰à¸²à¸à¸²à¸£à¹Œà¸” à¸•à¸²à¸¡à¹à¸šà¸š */
  height: auto;
  pointer-events: none;
  will-change: transform;
  animation: poringDrift 6.5s ease-in-out infinite;
}

/* à¸•à¸³à¹à¸«à¸™à¹ˆà¸‡à¸„à¸´à¸”à¹€à¸›à¹‡à¸™ % à¸‚à¸­à¸‡à¸šà¸¥à¹‡à¸­à¸ community â€” à¸‚à¸¢à¸±à¸šà¸•à¸²à¸¡à¸šà¸¥à¹‡à¸­à¸à¹€à¸ªà¸¡à¸­ */
/* 2 à¸•à¸±à¸§à¸™à¸µà¹‰à¸¢à¸¶à¸”à¸‚à¸­à¸šà¸ˆà¸­ à¹„à¸¡à¹ˆà¹ƒà¸Šà¹ˆà¸‚à¸­à¸š .community
   calc(50% - 50vw) = à¸‚à¸­à¸š viewport à¸žà¸­à¸”à¸µ (à¹€à¸žà¸£à¸²à¸° .community à¸­à¸¢à¸¹à¹ˆà¸à¸¶à¹ˆà¸‡à¸à¸¥à¸²à¸‡à¸ˆà¸­)
   à¸¥à¸šà¹€à¸žà¸´à¹ˆà¸¡à¸­à¸µà¸à¸™à¸´à¸”à¹ƒà¸«à¹‰à¹‚à¸œà¸¥à¹ˆà¸žà¹‰à¸™à¸‚à¸­à¸šà¹„à¸›à¸«à¸™à¹ˆà¸­à¸¢ */
.poring-deco--fly  {right: calc(50% - 50vw - 1vw);top: -16%;width: 38%;}
.poring-deco--peek {left: calc(50% - 50vw - 3vw);top: 16%;width: 16%;animation-duration: 7.4s;animation-delay: -2s;}
.poring-deco--hang {right: -5%;top: 30%;width: 12%;animation-duration: 5.8s;animation-delay: -3.4s;}

@keyframes poringDrift {
  0%, 100% { transform: translate3d(0, 0, 0)          rotate(0deg);    }
  50%      { transform: translate3d(.4vw, -1.1vw, 0)  rotate(-2.4deg); }
}


/* =========================================================
   SECTION 6 : à¸ªà¸‡à¸„à¸£à¸²à¸¡à¸‚à¹‰à¸²à¸¡à¹€à¸‹à¸´à¸£à¹Œà¸Ÿà¹€à¸§à¸­à¸£à¹Œ
   ========================================================= */
.crosswar {
  position: relative;
  z-index: 9;
  /* Frame155.png = à¸‚à¸­à¸šà¹€à¸‰à¸µà¸¢à¸‡à¸”à¹‰à¸²à¸™à¸šà¸™ à¸§à¸²à¸‡à¹„à¸§à¹‰à¸šà¸™à¸ªà¸¸à¸”à¹‚à¸”à¸¢à¸„à¸‡à¸ªà¸±à¸”à¸ªà¹ˆà¸§à¸™ (à¹„à¸¡à¹ˆà¸¢à¸·à¸”à¸•à¸²à¸¡à¸„à¸§à¸²à¸¡à¸ªà¸¹à¸‡ section
     à¹„à¸¡à¹ˆà¸‡à¸±à¹‰à¸™à¸žà¸­ section à¸ªà¸¹à¸‡à¸¡à¸²à¸ à¸ªà¹ˆà¸§à¸™à¹ƒà¸ªà¹€à¸«à¸™à¸·à¸­à¹€à¸ªà¹‰à¸™à¹€à¸‰à¸µà¸¢à¸‡à¸ˆà¸°à¸à¸¥à¸²à¸¢à¹€à¸›à¹‡à¸™à¹à¸–à¸šà¸‚à¸²à¸§à¹ƒà¸«à¸à¹ˆ)
     à¹ƒà¸•à¹‰à¸£à¸¹à¸›à¹ƒà¸Šà¹‰à¸ªà¸µà¸™à¹‰à¸³à¸•à¸²à¸¥à¹€à¸”à¸µà¸¢à¸§à¸à¸±à¸šà¸£à¸¹à¸›à¹„à¸¥à¹ˆà¸•à¹ˆà¸­ + à¹à¸–à¸šà¸‚à¸²à¸§à¸šà¸²à¸‡à¸£à¸­à¸‡à¹„à¸§à¹‰à¹€à¸‰à¸žà¸²à¸°à¸”à¹‰à¸²à¸™à¸šà¸™
     à¹ƒà¸«à¹‰à¸ªà¹ˆà¸§à¸™à¹ƒà¸ªà¸‚à¸­à¸‡à¸£à¸¹à¸›à¹€à¸«à¹‡à¸™à¹€à¸›à¹‡à¸™à¸ªà¸µà¸‚à¸²à¸§à¸•à¹ˆà¸­à¸à¸±à¸š section à¸à¹ˆà¸­à¸™à¸«à¸™à¹‰à¸² */
  background-color: #432F32;
  background-image:
    url('../assets/images/Frame155.png'),
    linear-gradient(#fff, #fff);
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: 100% auto, 100% 12vw;
  padding: 14.2vw 0 7vw;
  overflow: hidden;
}

/* angle.png à¸ªà¸¹à¸‡à¹€à¸—à¹ˆà¸² Frame155 à¸žà¸­à¸”à¸µ (886px) à¹€à¸¥à¸¢à¹ƒà¸«à¹‰à¸ªà¸¹à¸‡à¹€à¸•à¹‡à¸¡ section */
.crosswar__char {
  position: absolute;
  z-index: 1;
  right: -1vw;
  bottom: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  animation: crosswarFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes crosswarFloat {
  0%, 100% { transform: translate3d(0, 0, 0);    }
  50%      { transform: translate3d(0, -1%, 0);  }
}

.crosswar__inner {
  position: relative;
  z-index: 2;
  /* à¸•à¹‰à¸­à¸‡à¸à¸§à¹‰à¸²à¸‡à¸žà¸­à¹ƒà¸«à¹‰à¸à¸²à¸£à¹Œà¸” 4 à¹ƒà¸šà¸­à¸¢à¸¹à¹ˆà¹à¸–à¸§à¹€à¸”à¸µà¸¢à¸§ (4 x 13vw + 3 x 1.7vw) */
  width: min(1180px, 94vw);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.crosswar__title {
  font-size: clamp(1.2rem, 2.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.crosswar__sub {
  margin-top: .5em;
  font-size: clamp(.62rem, .83vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}
.crosswar__sub span { display: block; }


/* ---- à¸à¸²à¸£à¹Œà¸”à¸£à¸²à¸‡à¸§à¸±à¸¥à¸•à¸²à¸¡à¸­à¸±à¸™à¸”à¸±à¸š ---- */
.ranks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.7vw;
  margin-top: clamp(28px, 3.4vw, 66px);
}

.rank {
  position: relative;
  flex: 0 0 auto;
  width: min(250px, 13vw);
  aspect-ratio: 250 / 314;
}

.rank__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rank__item {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 66%;
  height: auto;
  /* ต้องมี -50% แกน X ด้วย (เหตุผลเดียวกับ .craft-card__item) */
  transform: translate(-50%, -50%);
  animation: rankFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -700ms);
  will-change: transform;
}

@keyframes rankFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, -54%); }
}

.rank__name {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 7%;
  font-size: clamp(.45rem, .68vw, .82rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  color: var(--c-ink);
}

/* à¸›à¹‰à¸²à¸¢à¸­à¸±à¸™à¸”à¸±à¸šà¸„à¸£à¹ˆà¸­à¸¡à¸‚à¸­à¸šà¸šà¸™à¸à¸²à¸£à¹Œà¸” â€” Frame142.png à¹„à¸¡à¹ˆà¸¡à¸µà¸•à¸±à¸§à¸«à¸™à¸±à¸‡à¸ªà¸·à¸­ à¹ƒà¸ªà¹ˆà¸—à¸±à¸šà¹€à¸­à¸² */
.rank__label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -6%;
  width: 60%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}
.rank__label img { width: 100%; height: auto; display: block; }

.rank__label b {
  position: absolute;
  font-size: clamp(.45rem, .7vw, .85rem);
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}


/* =========================================================
   POPUP
   ========================================================= */
.modal {
  /* reset.css à¸•à¸±à¹‰à¸‡ margin:0 à¹„à¸§à¹‰ à¸‹à¸¶à¹ˆà¸‡à¸—à¸±à¸š margin:auto à¸‚à¸­à¸‡ <dialog> à¸ˆà¸™à¹„à¸¡à¹ˆà¸­à¸¢à¸¹à¹ˆà¸à¸¥à¸²à¸‡à¸ˆà¸­ */
  margin: auto;
  width: min(560px, 92vw);
  padding: 0;
  color: var(--c-ink);
  background: transparent;
  border: 0;
}
.modal::backdrop { background: rgba(45, 28, 48, .58); }

.modal__box {
  position: relative;
  padding: 26px 26px 28px;
  background: #FFFDF2;
  border: 3px solid var(--c-ink);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(50, 28, 50, .35);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--c-ink);
  border-radius: 50%;
  transition: background-color .18s ease;
}
.modal__close:hover { background: rgba(58, 43, 47, .1); }

.modal__title {
  margin-bottom: .5em;
  padding-right: 32px;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  font-weight: 700;
}

.modal__body {
  font-size: clamp(.85rem, 1vw, 1rem);
  line-height: 1.6;
}
.modal__body img { border-radius: 10px; margin-block: .6em; }
.modal__body p + p { margin-top: .7em; }


/* ---- POPUP : à¸„à¸³à¹ƒà¸šà¹‰ ----
   à¹„à¸¡à¹ˆà¸¡à¸µà¹„à¸Ÿà¸¥à¹Œà¸žà¸·à¹‰à¸™à¸«à¸¥à¸±à¸‡à¸¡à¸² à¸à¹ˆà¸­à¸”à¹‰à¸§à¸¢ CSS : à¸¥à¸²à¸¢à¸—à¸²à¸‡à¸Šà¸¡à¸žà¸¹ + à¸žà¸·à¹‰à¸™à¸„à¸£à¸µà¸¡ + à¹€à¸ªà¹‰à¸™à¸›à¸£à¸° + à¸¥à¸²à¸¢à¸ˆà¸¸à¸” */
.modal--hint {
  width: min(340px, 86vw);
  overflow: visible;          /* à¹ƒà¸«à¹‰à¸›à¸¸à¹ˆà¸¡à¸à¸²à¸à¸šà¸²à¸—à¹‚à¸œà¸¥à¹ˆà¸™à¸­à¸à¸à¸£à¸­à¸šà¹„à¸”à¹‰ */
}

.hint {
  position: relative;
  aspect-ratio: 241 / 314;
  padding: 11% 6% 6%;
  background: repeating-linear-gradient(90deg,
    #F9B6B6 0 3.2%, #FFD7D7 3.2% 6.4%);
  border: 4px solid #FFFDF0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(50, 28, 50, .38);
}

.hint__label {
  position: absolute;
  left: 50%;
  top: 3.5%;
  transform: translateX(-50%);
  padding: .35em 1.6em;
  font-size: clamp(.72rem, 1.6vw, .92rem);
  font-weight: 700;
  white-space: nowrap;
  color: var(--c-cream);
  background: #453134;
  border-radius: 6px;
}

.hint__body {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 8%;
  font-size: clamp(.85rem, 2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  color: var(--c-ink);
  background:
    radial-gradient(rgba(214, 190, 150, .38) 1.4px, transparent 1.4px) 0 100% / 12px 12px,
    linear-gradient(#FFF8D5 0 55%, #FDF0C4 100%);
  border: 2px dashed #CBB79C;
  border-radius: 8px;
}
.hint__body img { max-width: 100%; height: auto; border-radius: 4px; }

.hint__close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--c-cream);
  background: #453134;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(40, 22, 40, .4);
  transition: transform .18s ease, background-color .18s ease;
}
.hint__close:hover { background: #5b4245; transform: scale(1.08); }


/* ---- POPUP : à¸£à¸²à¸¢à¸¥à¸°à¹€à¸­à¸µà¸¢à¸”à¸£à¸²à¸‡à¸§à¸±à¸¥ (à¸à¸§à¹‰à¸²à¸‡à¸à¸§à¹ˆà¸² à¸ªà¸¹à¸‡à¸•à¸²à¸¡à¹€à¸™à¸·à¹‰à¸­à¸«à¸²) ---- */
.modal--wide { width: min(430px, 90vw); }
.modal--wide .hint { aspect-ratio: auto; padding: 13% 6% 7%; }
.modal--wide .hint__body { height: auto; padding: 22px 18px; }

.reward {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

/* à¸£à¸¹à¸›à¹„à¸­à¹€à¸—à¸¡à¸§à¸²à¸‡à¸¥à¸­à¸¢à¸šà¸™à¸žà¸·à¹‰à¸™à¸„à¸£à¸µà¸¡ à¹„à¸¡à¹ˆà¸¡à¸µà¸à¸£à¸­à¸š (à¸Šà¸·à¹ˆà¸­à¸£à¸²à¸‡à¸§à¸±à¸¥à¸­à¸¢à¸¹à¹ˆà¸šà¸™à¸›à¹‰à¸²à¸¢à¸«à¸±à¸§à¸­à¸¢à¸¹à¹ˆà¹à¸¥à¹‰à¸§) */
.reward__pic {
  align-self: center;
  display: grid;
  place-items: center;
  padding: 6px 0 2px;
}
.reward__pic img { width: min(132px, 42%); height: auto; }
.reward__pic span { display: none; }

.mrows {
  display: flex;
  flex-direction: column;
}

.mrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px;
  font-size: .86rem;
  font-weight: 700;
  text-align: left;
  color: var(--c-ink);
  border-bottom: 1px solid rgba(120, 95, 70, .22);
}
.mrow:last-child { border-bottom: 0; }
.mrow img { width: 26px; height: auto; flex: 0 0 auto; }

/* à¸à¸²à¸£à¹Œà¸”à¸£à¸²à¸‡à¸§à¸±à¸¥à¸à¸”à¹„à¸”à¹‰ â€” à¸šà¸­à¸à¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¸”à¹‰à¸§à¸¢à¹€à¸„à¸­à¸£à¹Œà¹€à¸‹à¸­à¸£à¹Œ */
.craft-card { cursor: pointer; }
.craft-card:focus-visible { outline: 3px solid var(--c-cream); outline-offset: 3px; }


/* ---- POPUP : Item Code ---- */
.modal--code { width: min(440px, 92vw); }
.modal--code .modal__box { text-align: center; }
.modal--code .modal__title { padding-right: 0; }

.code__day {
  margin-bottom: 1em;
  font-size: .9rem;
  opacity: .72;
}

.code__box {
  padding: 16px 14px;
  background: #F6EFCF;
  border: 2px dashed var(--c-ink);
  border-radius: 12px;
}

.code__value {
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .12em;
  word-break: break-all;
  color: var(--c-ink);
}
.code__value.is-pending {
  font-family: inherit;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  opacity: .65;
}

.code__copy {
  width: 100%;
  margin-top: 14px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-cream);
  border: 2px solid var(--c-ink);
  border-radius: 10px;
  box-shadow: 0 4px 0 var(--c-cream-deep);
  transition: transform .16s ease, box-shadow .16s ease, background-color .2s ease;
}
.code__copy:hover:not(:disabled)  { transform: translateY(-2px); box-shadow: 0 6px 0 var(--c-cream-deep); }
.code__copy:active:not(:disabled) { transform: translateY(2px);  box-shadow: 0 1px 0 var(--c-cream-deep); }
.code__copy:disabled { opacity: .45; cursor: not-allowed; }
.code__copy.is-done  { background: #CFEAC3; box-shadow: 0 4px 0 #A9CE99; }
.code__copy.is-warn  { background: #F7DDC0; box-shadow: 0 4px 0 #D9B991; font-size: .88rem; }

.code__value { cursor: text; user-select: all; }
.code__value::selection { background: #F6D08A; }

.code__hint {
  margin-top: 12px;
  font-size: .78rem;
  line-height: 1.45;
  opacity: .68;
}


/* =========================================================
   à¹€à¸‚à¹‰à¸²à¸‰à¸²à¸à¸•à¸­à¸™à¹€à¸¥à¸·à¹ˆà¸­à¸™à¸–à¸¶à¸‡ (à¹ƒà¸Šà¹‰à¸£à¹ˆà¸§à¸¡à¸à¸±à¸™à¸—à¸¸à¸ section)
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .68, .36, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* à¸›à¹‰à¸²à¸¢à¸£à¸²à¸‡à¸§à¸±à¸¥à¸¡à¸µà¸—à¹ˆà¸²à¹€à¸‚à¹‰à¸²à¸‰à¸²à¸à¸‚à¸­à¸‡à¸•à¸±à¸§à¹€à¸­à¸‡ (à¸•à¸ + à¹€à¸”à¹‰à¸‡) à¹„à¸¡à¹ˆà¹€à¸¥à¸·à¹ˆà¸­à¸™à¸‚à¸¶à¹‰à¸™à¹à¸šà¸šà¸•à¸±à¸§à¸à¸¥à¸²à¸‡
   à¹à¸•à¹ˆà¸¢à¸±à¸‡à¹ƒà¸Šà¹‰à¸à¸²à¸£à¹€à¸Ÿà¸”à¸£à¹ˆà¸§à¸¡à¸à¸±à¸™ */
.tag[data-reveal] { transform: none; }

/* à¸˜à¸‡à¸£à¸²à¸§à¸¡à¸µà¸—à¹ˆà¸²à¸”à¸£à¸­à¸›à¸‚à¸­à¸‡à¸•à¸±à¸§à¹€à¸­à¸‡ â€” à¸à¸±à¸™à¹„à¸¡à¹ˆà¹ƒà¸«à¹‰à¸—à¹ˆà¸²à¸à¸¥à¸²à¸‡à¸¡à¸²à¸—à¸±à¸š transform à¸—à¸µà¹ˆà¹ƒà¸Šà¹‰à¸ˆà¸±à¸”à¸à¸¶à¹ˆà¸‡à¸à¸¥à¸²à¸‡ */
.topup__flags[data-reveal] { transform: translateX(-50%); transition: none; }


/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
}

/* à¸•à¹ˆà¸³à¸à¸§à¹ˆà¸² 900px à¸ªà¸±à¸”à¸ªà¹ˆà¸§à¸™à¸•à¸²à¸¡ Figma à¸ˆà¸°à¸šà¸µà¸šà¸ˆà¸™à¸­à¹ˆà¸²à¸™à¹„à¸¡à¹ˆà¸­à¸­à¸
   à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¸¡à¸²à¸§à¸²à¸‡ section anniversary à¹à¸šà¸šà¹„à¸«à¸¥à¸›à¸à¸•à¸´à¹à¸—à¸™ */
@media (max-width: 900px) {
  :root {
    --container-pad: 18px;
    --anniv-up: 210px;
    --curtain-lift: 4vw;
    --hero-h: 62svh;
  }

  .hero { min-height: 300px; }

  .anniversary {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    padding: 4vw var(--container-pad) 7vw;
  }

  /* à¸ˆà¸­à¹à¸„à¸š à¸„à¸¥à¸·à¹ˆà¸™à¸ˆà¸°à¹€à¸•à¸µà¹‰à¸¢à¸¡à¸²à¸ à¸•à¹‰à¸­à¸‡à¸‚à¸¢à¸²à¸¢à¸£à¸¹à¸›à¹ƒà¸«à¹‰à¸à¸§à¹‰à¸²à¸‡à¹€à¸à¸´à¸™à¸ˆà¸­à¹€à¸žà¸·à¹ˆà¸­à¹ƒà¸«à¹‰à¹à¸–à¸šà¸ªà¸¹à¸‡à¸žà¸­ */
  .anniversary__wave {
    inset: auto auto 0 50%;
    width: 150%;
    height: auto;
    transform: translateX(-50%);
  }

  .anniversary__text  { position: static; width: 72vw; }
  .anniversary__actions { position: static; gap: 12px; padding-inline: 0; }

  .btn { width: max(132px, 30vw); font-size: 14px; min-height: 44px; }
  .btn--primary { width: max(148px, 34vw); font-size: 15px; min-height: 48px; }

  .rewards { padding-top: clamp(96px, 26vw, 180px); }

  .tag { width: calc(50% - 10px); max-width: 190px; margin-inline: 0; }
  .tag:nth-child(even) { margin-top: 34px; }

  /* 4 à¸‚à¸±à¹‰à¸™à¸•à¸­à¸™ : à¸ˆà¸­à¹à¸„à¸šà¹€à¸£à¸µà¸¢à¸‡à¹€à¸›à¹‡à¸™ 2 à¹à¸–à¸§ à¹„à¸¡à¹ˆà¸¡à¸µà¹€à¸ªà¹‰à¸™à¹€à¸Šà¸·à¹ˆà¸­à¸¡ */
  .steps { gap: 16px 10px; }
  .step  { flex: 0 0 calc(50% - 5px); min-width: 0; }
  .step:not(:first-child)::before { display: none; }

  /* ---- section 3 ---- */
  :root { --band-curve: 5vw; }

  .festival__balloons { width: 150%; }
  .balloon--l { left: -6vw; top: auto; bottom: -10vw; width: 38vw; }
  .balloon--r { right: -9vw; top: -9vw; width: 30vw; }

  .event { width: min(100%, 480px); }
  .event__name { font-size: 1.5rem; }
  .event__tag,
  .event__date  { font-size: .7rem; }
  .event__desc  { font-size: .72rem; }

  /* ---- section 4 ----
     à¸ˆà¸­à¹à¸„à¸šà¹ƒà¸Šà¹‰ bg-notes.png à¹„à¸¡à¹ˆà¹„à¸”à¹‰ (à¸£à¸¹à¸›à¸ˆà¸°à¸¢à¸·à¸”à¸ˆà¸™à¹€à¸ªà¸µà¸¢) à¸à¹ˆà¸­à¹à¸œà¸‡à¸”à¹‰à¸§à¸¢ CSS à¹à¸—à¸™ */
  .craft { padding-bottom: 10vw; }
  .craft__char { display: none; }

  .notes {
    width: 100%;
    aspect-ratio: auto;
    margin-top: -2vw;
    padding: 10px;
    background: var(--c-ink);
    border-radius: 18px;
  }

  .notes__head { position: static; padding: 12px 10px 16px; }
  .notes__title { font-size: 1.08rem; }
  .notes__sub   { font-size: .74rem; }

  .notes__body {
    position: static;
    display: block;
    padding: 16px 14px;
    background: #FBF4D8;
    border-radius: 12px;
  }

  .mats { margin-bottom: 18px; padding: 13% 8% 6%; }
  .mats__title { font-size: .78rem; }
  .mat { padding-block: .55em; }
  .mat__name { font-size: .88rem; }

  .crafts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .craft-card__name { font-size: .68rem; }

  /* ---- section 5 ---- */
  /* à¸ˆà¸­à¹à¸„à¸š section à¸ªà¸¹à¸‡à¸à¸§à¹ˆà¸²à¸ªà¸±à¸”à¸ªà¹ˆà¸§à¸™à¸£à¸¹à¸›à¸¡à¸²à¸ à¸–à¹‰à¸²à¸¢à¸·à¸”à¸£à¸¹à¸›à¹€à¸•à¹‡à¸¡à¸„à¸§à¸²à¸¡à¸ªà¸¹à¸‡
     à¸‚à¸­à¸šà¸«à¸¢à¸±à¸à¸‚à¸²à¸§à¸—à¹‰à¸²à¸¢à¹„à¸Ÿà¸¥à¹Œà¸ˆà¸°à¹„à¸›à¹‚à¸œà¸¥à¹ˆà¸à¸¥à¸²à¸‡ section â€” à¸„à¸£à¸­à¸›à¸ˆà¸²à¸à¸‚à¸­à¸šà¸šà¸™à¹à¸—à¸™ */
  .topup {
    padding: 16vw 0 14vw;
    background: var(--c-lav);
  }
  .topup__bg { object-fit: cover; object-position: center top; }
  .topup::before { height: 26%; }

  .topup__badge {width: 88vw;padding-inline: 6%;top: -65px;position: relative;}
  .topup__title { font-size: 1.05rem; }
  .topup__note  { font-size: .72rem; }

  /* à¸ˆà¸­à¹à¸„à¸šà¹„à¸¡à¹ˆà¸¡à¸µà¸—à¸µà¹ˆà¹ƒà¸«à¹‰à¸•à¸±à¸§à¸¥à¸°à¸„à¸£à¸¢à¸·à¸™à¸‚à¹‰à¸²à¸‡à¸à¸¥à¹ˆà¸­à¸‡ à¸‹à¹ˆà¸­à¸™à¹„à¸§à¹‰ */
  .topup__char,
  .poring-deco--fly  { display: none; }
  .poring-deco--peek { width: 22%; left: -6%; top: 2%; }
  .poring-deco--hang { width: 20%; right: -4%; top: 34%; }

  .howto {
    margin-inline: auto;
    width: min(460px, 92vw);
    padding: 8% 9% 10%;
  }
  .howto__title  { font-size: 1rem; }
  .howto__period { font-size: .68rem; }
  .howto__step   { font-size: .68rem; white-space: normal; }

  .claims { gap: 18px; margin-top: 10vw; }
  .claim { width: min(300px, 84vw); }
  .claim__ribbon b { font-size: 1rem; }
  .claim__btn { font-size: .68rem;         width: 35%;}

  .community { flex-direction: column; gap: 6vw; margin-top: 12vw; }
  .commu-art { width: min(420px, 78vw); }
  .community__cards { width: 100%; max-width: none; gap: 12vw; }
  .act__tab  { font-size: .88rem; }
  .act__desc { font-size: .8rem; }
  .act__btn  { font-size: .78rem; }

  /* ---- section 6 ---- */
  .crosswar { padding: 22vw 0 14vw; }
  .crosswar__char { right: -14vw; height: 62%; opacity: .5; }
  .crosswar__inner { width: 100%; }
  .crosswar__title { font-size: 1.15rem; }
  .crosswar__sub   { font-size: .76rem; }

  .ranks { gap: 12px; justify-content: center; }
  .rank  {width: calc(50% - 8px);max-width: 220px;margin-bottom: 10px;}
  .rank__name  { font-size: .62rem; }
  .rank__label b {font-size: 1rem;margin-top: -10px;}

  /* ---- à¸«à¸±à¸§à¹€à¸§à¹‡à¸š / à¸«à¸™à¹‰à¸²à¹‚à¸«à¸¥à¸” ---- */
  .user { max-width: 52vw; padding-left: 10px; gap: 6px; }
  .user__name   { font-size: .74rem; }
  .user__logout { font-size: .68rem; padding: 4px 9px; }

  .loader__balloon { transform: scale(.75); }
  .loader__logo    { width: min(150px, 42vw); }

  /* ---- popup ---- */
  .modal--wide .hint__body { padding: 16px 12px; }
  .mrow { font-size: .76rem; gap: 9px; padding: 7px 2px; }
  .mrow img { width: 22px; }
}

@media (max-width: 600px) {
  :root { --anniv-up: 190px; }

  .anniversary__wave  { width: 210%; }
  .anniversary__text  { width: 84vw; }
  .anniversary__actions { flex-direction: column; width: 100%; max-width: 320px; margin-inline: auto; }

  .btn { width: 100%; font-size: 15px; min-height: 48px; }
  .btn--primary { width: 100%; font-size: 16px; min-height: 52px; }

  /* à¸à¸²à¸£à¹Œà¸”à¸à¸´à¸ˆà¸à¸£à¸£à¸¡ : à¹€à¸¥à¸´à¸à¸¥à¹‡à¸­à¸à¸ªà¸±à¸”à¸ªà¹ˆà¸§à¸™ à¹ƒà¸«à¹‰à¸ªà¸¹à¸‡à¸•à¸²à¸¡à¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡ à¸à¸±à¸™à¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡à¸¥à¹‰à¸™ */
  .event__card {
    aspect-ratio: auto;
    padding: 16px 16px 18px;
    background-size: cover;
  }
  .event__label {
    position: static;
    width: auto;
    margin: 0 0 12px -6px;
    display: inline-block;
  }
  .event__desc { position: static; margin-bottom: 14px; }
  .event__date { position: static; display: inline-block; }
}

@media (max-width: 420px) {
  .tag { width: calc(50% - 6px); }
  .tag__name { font-size: .72rem; }
}


/* ===================== à¸¥à¸”à¸à¸²à¸£à¹€à¸„à¸¥à¸·à¹ˆà¸­à¸™à¹„à¸«à¸§ ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anniversary__text,
  .rewards__curtain,
  .festival__balloons,
  .balloon,
  .craft__char,
  .ca,
  .commu-tag,
  .crosswar__char,
  .rank__item,
  .loader__balloon,
  .loader__logo,
  .topup__flags.is-in,
  .craft-card__item,
  .topup__char,
  .poring-deco,
  .btn--primary,
  .topup__flags.is-in img,
  .topup__flags.is-in .topup__flags-drop,
  .claim.is-available .claim__btn { animation: none; }

  html { scroll-behavior: auto; }

  /* à¸›à¸´à¸”à¸¥à¸¹à¸à¹‚à¸›à¹ˆà¸‡à¹ƒà¸™à¸›à¸¸à¹ˆà¸¡à¹„à¸›à¹€à¸¥à¸¢ à¹„à¸¡à¹ˆà¸‡à¸±à¹‰à¸™à¹€à¸«à¸¥à¸·à¸­à¸ˆà¸¸à¸”à¸ªà¸µà¸„à¹‰à¸²à¸‡à¸­à¸¢à¸¹à¹ˆ */
  .btn__balloons { display: none; }
  .to-top { transition: opacity .01s linear; }

  [data-reveal] { opacity: 1; transform: none; transition: none; }

  .tag { opacity: 1; }
  .tag.is-in .tag__drop,
  .tag.is-in .tag__sway { animation: none; }
}


/* ===================== FOOTER ===================== */
.footer {
  position: relative;
  z-index: 10;
  background: #363A40;
  color: #fff;
  padding: clamp(20px, 2.2vw, 38px) var(--container-pad) clamp(17px, 1.8vw, 30px);
}

.footer__inner {
  display: grid;
  justify-items: center;
  gap: clamp(9px, .9vw, 15px);
  text-align: center;
}

/* ---- à¹„à¸­à¸„à¸­à¸™à¹‚à¸‹à¹€à¸Šà¸µà¸¢à¸¥ ---- */
.footer__social {
  display: flex;
  gap: clamp(8px, .65vw, 13px);
}

.footer__social a {
  display: grid;
  place-items: center;
  width: clamp(28px, 1.7vw, 33px);
  aspect-ratio: 1;
  color: #fff;
  border-radius: 50%;
  transition: transform .18s ease, filter .18s ease;
}

.footer__social a:hover { transform: translateY(-3px); filter: brightness(1.15); }
.footer__social a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.footer__social svg { width: 62%; height: 62%; fill: currentColor; }

/* à¸ªà¸µà¸•à¸²à¸¡à¹à¸šà¸£à¸™à¸”à¹Œ (à¸”à¸¹à¸”à¸„à¹ˆà¸²à¸ˆà¸²à¸à¸ à¸²à¸žà¸•à¸±à¸§à¸­à¸¢à¹ˆà¸²à¸‡) */
.footer__social .is-fb { background: #4A5494; }
.footer__social .is-yt { background: #B52F32; }
.footer__social .is-dc { background: #6652EC; }

.footer__logo {
  width: clamp(106px, 7vw, 132px);
  height: auto;
}

/* ---- à¸¥à¸´à¸‡à¸à¹Œà¸‚à¹‰à¸­à¸à¸³à¸«à¸™à¸” : à¸„à¸±à¹ˆà¸™à¸”à¹‰à¸§à¸¢à¹€à¸ªà¹‰à¸™à¸•à¸±à¹‰à¸‡à¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡à¸£à¸²à¸¢à¸à¸²à¸£ ---- */
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, .75vw, 15px);
  font-size: clamp(11px, .68vw, 13px);
}

.footer__links li { display: flex; align-items: center; gap: clamp(8px, .75vw, 15px); }

/* à¹€à¸ªà¹‰à¸™à¸„à¸±à¹ˆà¸™ â€” à¹ƒà¸ªà¹ˆ "à¸«à¸™à¹‰à¸²" à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¹„à¸¡à¹ˆà¹ƒà¸Šà¹ˆà¸•à¸±à¸§à¹à¸£à¸ à¸ˆà¸°à¹„à¸”à¹‰à¹„à¸¡à¹ˆà¸¡à¸µà¹€à¸ªà¹‰à¸™à¸«à¹‰à¸­à¸¢à¸—à¹‰à¸²à¸¢ */
.footer__links li + li::before {
  content: '';
  width: 1px;
  height: 1em;
  background: rgba(255, 255, 255, .45);
}

.footer__links a {
  color: #fff;
  text-decoration: none;
  transition: opacity .18s ease;
}

.footer__links a:hover { opacity: .68; text-decoration: underline; }
.footer__links a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.footer__copy {
  font-size: clamp(11px, .68vw, 13px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
}

@media (max-width: 600px) {
  .footer__links { gap: 8px; }
  .footer__links li { gap: 8px; }
}


/* ---- à¸›à¸¸à¹ˆà¸¡à¹„à¸›à¸«à¸™à¹‰à¸²à¸”à¸¹à¸„à¸°à¹à¸™à¸™à¸—à¸±à¸§à¸£à¹Œà¸™à¸²à¹€à¸¡à¸™à¸•à¹Œ ---- */
.crosswar__score {
  /* .btn à¹€à¸›à¹‡à¸™ inline-flex à¸ˆà¸±à¸”à¸à¸¥à¸²à¸‡à¸”à¹‰à¸§à¸¢ margin auto à¹„à¸¡à¹ˆà¹„à¸”à¹‰ à¸•à¹‰à¸­à¸‡à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹€à¸›à¹‡à¸™ block-level à¸à¹ˆà¸­à¸™ */
  display: flex;
  width: max(190px, 16vw);
  margin: clamp(20px, 2.4vw, 42px) auto 0;
  text-decoration: none;
}

/* ---- popup à¹à¸ˆà¹‰à¸‡à¸§à¹ˆà¸²à¸£à¸²à¸‡à¸§à¸±à¸¥à¸–à¸¹à¸à¸ªà¹ˆà¸‡à¹„à¸›à¸•à¸±à¸§à¸¥à¸°à¸„à¸£à¹„à¸«à¸™ ----
   à¹ƒà¸Šà¹‰à¸à¸¥à¹ˆà¸­à¸‡à¹€à¸”à¸µà¸¢à¸§à¸à¸±à¸š popup à¸„à¸³à¹ƒà¸šà¹‰ à¹à¸•à¹ˆà¸›à¸¥à¸”à¸ªà¸±à¸”à¸ªà¹ˆà¸§à¸™à¸„à¸‡à¸—à¸µà¹ˆà¸­à¸­à¸ à¹ƒà¸«à¹‰à¸ªà¸¹à¸‡à¸•à¸²à¸¡à¹€à¸™à¸·à¹‰à¸­à¸«à¸² */
.modal--sent { width: min(440px, 92vw); }
.modal--sent .hint { aspect-ratio: auto; padding: 13% 6% 7%; }
.modal--sent .hint__body { height: auto; padding: 22px 18px; }

.sent__lead {
  font-size: clamp(14px, .95vw, 15px);
  line-height: 1.7;
}

/* à¸Šà¸·à¹ˆà¸­à¸•à¸±à¸§à¸¥à¸°à¸„à¸£ + à¹€à¸‹à¸´à¸£à¹Œà¸Ÿà¹€à¸§à¸­à¸£à¹Œ à¹€à¸™à¹‰à¸™à¹€à¸›à¹‡à¸™à¸à¸¥à¹ˆà¸­à¸‡à¹€à¸”à¸µà¸¢à¸§à¸à¸¥à¸²à¸‡à¸›à¹Šà¸­à¸›à¸­à¸±à¸› */
.sent__who {
  display: grid;
  gap: 2px;
  margin: clamp(12px, 1.2vw, 20px) auto;
  padding: clamp(10px, 1vw, 16px) clamp(16px, 1.6vw, 26px);
  background: rgba(191, 181, 221, .28);
  border: 2px dashed rgba(107, 94, 82, .38);
  border-radius: max(10px, .7vw);
}

.sent__who b {
  font-size: clamp(16px, 1.2vw, 23px);
  color: var(--c-ink);
}

.sent__who span {
  font-size: clamp(12px, .82vw, 16px);
  color: var(--c-ink-soft);
}

.sent__note {
  font-size: clamp(11px, 0.1vw, 16px);
  line-height: 1.6;
  color: var(--c-ink-soft);
}


/* ---- à¹„à¸­à¸„à¸­à¸™à¹ƒà¸™à¸›à¸¸à¹ˆà¸¡ (à¸–à¸¸à¸‡à¹€à¸‡à¸´à¸™ à¸¯à¸¥à¸¯) ---- */
/* .btn__label à¹€à¸›à¹‡à¸™ span à¸˜à¸£à¸£à¸¡à¸”à¸² à¸•à¹‰à¸­à¸‡à¸—à¸³à¹€à¸›à¹‡à¸™ flex à¹€à¸­à¸‡à¸–à¸¶à¸‡à¸ˆà¸°à¸§à¸²à¸‡à¹„à¸­à¸„à¸­à¸™à¸„à¸¹à¹ˆà¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡à¹„à¸”à¹‰ */
.btn__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
}

.btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

/* ---- à¸›à¸¸à¹ˆà¸¡à¹„à¸›à¹€à¸•à¸´à¸¡à¹€à¸‡à¸´à¸™ ---- */
.topup__cta {
  /* .btn à¹€à¸›à¹‡à¸™ inline-flex à¸ˆà¸±à¸”à¸à¸¥à¸²à¸‡à¸”à¹‰à¸§à¸¢ margin auto à¹„à¸¡à¹ˆà¹„à¸”à¹‰ à¸•à¹‰à¸­à¸‡à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹€à¸›à¹‡à¸™ block-level à¸à¹ˆà¸­à¸™ */
  display: flex;
  width: max(200px, 17vw);
  margin: clamp(18px, 2vw, 36px) auto 0;
  text-decoration: none;
}
