/* ============ RESET & TOKENS ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #063019;
  --green-800: #0a3d24;
  --green-700: #0f5230;
  --green-600: #14663c;
  --gold: #d9b866;
  --gold-2: #c4a04a;
  --gold-light: #f0dda2;
  --cream: #f7efdb;
  --cream-2: #efe4c8;
  --ink: #123c26;
  --radius: 18px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--cream);
  background: var(--green-900);
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin-inline: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: none; cursor: pointer; font-family: inherit; font-weight: 700;
  padding: .8rem 1.7rem; border-radius: 999px; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase; transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 1rem 2.4rem; font-size: 1.02rem; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-2));
  color: #4a340a; box-shadow: 0 10px 24px rgba(180, 140, 40, .35);
}
.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 14px 30px rgba(180, 140, 40, .5); }
.btn-green {
  background: linear-gradient(180deg, var(--green-600), var(--green-800));
  color: var(--gold-light); box-shadow: 0 8px 18px rgba(0,0,0,.3);
}
.btn-green:hover { filter: brightness(1.12); }
.btn-outline {
  background: transparent; border: 2px solid var(--gold); color: var(--gold-light);
  padding: .6rem 1.4rem;
}
.btn-outline:hover { background: rgba(217,184,102,.15); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.3); }

/* ============ HEADER (trong suốt trên nền hero) ============ */
.site-header {
  position: relative;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid rgba(217,184,102,.2);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 50%; font-size: 1.4rem; color: var(--green-800);
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold-2));
  box-shadow: 0 0 0 2px rgba(217,184,102,.4);
}
.brand-logo-img {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  object-fit: cover; box-shadow: 0 0 0 2px rgba(217,184,102,.45);
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1rem; color: var(--gold-light); letter-spacing: .05em; }
.brand-text em { font-size: .74rem; font-style: normal; color: rgba(247,239,219,.75); letter-spacing: .08em; }
.main-nav { margin-left: auto; display: flex; gap: 1.7rem; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.main-nav a { color: rgba(247,239,219,.82); padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-color: var(--gold); }
.header-cta {
  padding: .6rem 1.45rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #3b2a08;
  background:
    linear-gradient(180deg, #fff6d0 0%, #f0d78a 22%, #d4af37 55%, #b8860b 78%, #8b6914 100%);
  border: 1.5px solid #f5e6a8;
  box-shadow:
    0 0 0 1px rgba(139, 105, 20, .35),
    0 4px 0 #7a5a12,
    0 8px 22px rgba(184, 134, 11, .45),
    inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 0 -1px 0 rgba(100, 70, 0, .25);
  text-shadow: 0 1px 0 rgba(255, 245, 200, .55);
}
.header-cta:hover {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(139, 105, 20, .4),
    0 4px 0 #7a5a12,
    0 10px 28px rgba(212, 175, 55, .6),
    0 0 18px rgba(240, 215, 138, .45),
    inset 0 1px 0 rgba(255, 255, 255, .75);
}
.nav-toggle { display: none; background: none; border: none; color: var(--gold-light); font-size: 1.6rem; cursor: pointer; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    url("../Image/creator-bg.png?v=2") center bottom / cover no-repeat,
    #063019;
}
/* Full-bleed background image */
.hero-bgimg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bgimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  display: block;
  /* Giữ nhân vật phía trên; phần dưới (hoa giữa) nhạt dần vào nền thống nhất */
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 92%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 92%
  );
}
/* Soft shade so left text stays readable + countdown không bị cánh hoa đè */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 38, 22, 0.72) 0%, rgba(4, 38, 22, 0.45) 32%, rgba(4, 38, 22, 0.12) 55%, transparent 72%),
    linear-gradient(0deg, rgba(4, 38, 22, 0.88) 0%, rgba(4, 38, 22, 0.55) 18%, transparent 42%),
    linear-gradient(180deg, rgba(4, 38, 22, 0.35) 0%, transparent 18%);
}
.hero-top {
  position: relative;
  z-index: 2;
  padding: 3rem 0 1.5rem;
  flex: 1;
  display: flex;
  align-items: center;
}
.hero-text {
  position: relative;
  z-index: 3;
  max-width: 560px;
  text-align: center;
}
.hero-kicker {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.6rem, 5.2vw, 3.6rem);
  color: #f0d78a;
  line-height: 1;
  margin-bottom: .2rem;
  text-shadow:
    0 0 18px rgba(240, 215, 138, .45),
    0 2px 8px rgba(0,0,0,.3);
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: .85rem;
  /* ruột xanh lá + viền vàng như hình */
  color: #063d22;
  -webkit-text-fill-color: #063d22;
  -webkit-text-stroke: 1.5px #d4af37;
  paint-order: stroke fill;
  text-shadow:
    0 0 1px #f0d78a,
    1px 1px 0 #b8860b,
    -1px -1px 0 #e8c84a,
    0 3px 12px rgba(0,0,0,.4);
}
.hero-mung {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #f0d78a;
  margin-bottom: .35rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-mung .orn-l,
.hero-mung .orn-r {
  color: #d4af37;
  font-size: .85em;
  letter-spacing: 0;
}
.hero-maria {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: .03em;
  margin-bottom: 1rem;
  /* vàng kim loại luxury */
  background: linear-gradient(180deg, #fff4c4 0%, #f0d78a 28%, #d4af37 62%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 2px 10px rgba(0,0,0,.35))
    drop-shadow(0 0 18px rgba(240, 215, 138, .35));
}
.hero-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-bottom: .9rem;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #063019, #0f5230 50%, #063019);
  border: 1.5px solid #d4af37;
  box-shadow:
    0 6px 18px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.08);
  color: #f0d78a;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  max-width: 100%;
}
.hero-ribbon .ribbon-leaf {
  color: #d4af37;
  font-size: .85rem;
  line-height: 1;
  flex: none;
}
.hero-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(230, 245, 232, .95);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.hero-quote span { color: #f0d78a; font-size: .85em; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}
.btn-hero-green {
  background: linear-gradient(180deg, #1a6b42 0%, #0d4a2c 45%, #083820 100%);
  color: #f0d78a;
  border: 2px solid #d4af37;
  box-shadow:
    0 8px 22px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.12);
  padding: .95rem 1.7rem;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.btn-hero-green:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 26px rgba(0,0,0,.4), 0 0 14px rgba(212,175,55,.25);
}
.btn-hero-green svg { color: #f0d78a; }
.btn-hero-gold {
  background:
    linear-gradient(180deg, #fff4c4 0%, #f0d78a 28%, #d4af37 58%, #b8860b 82%, #9a7209 100%);
  color: #1a3d28;
  border: 2px solid #e8c84a;
  box-shadow:
    0 8px 22px rgba(184, 134, 11, .4),
    0 3px 0 #8b6914,
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(100,70,0,.2);
  padding: .95rem 1.7rem;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-shadow: 0 1px 0 rgba(255,245,200,.5);
}
.btn-hero-gold:hover {
  filter: brightness(1.06);
  box-shadow:
    0 10px 28px rgba(212, 175, 55, .55),
    0 3px 0 #8b6914,
    0 0 16px rgba(240, 215, 138, .4),
    inset 0 1px 0 rgba(255,255,255,.8);
}
.btn-hero-gold svg { color: #1a3d28; }

/* Countdown sits over background — lớp nền riêng để không bị hoa đè */
.countdown {
  position: relative;
  z-index: 4;
  padding: 0.6rem 0 2rem;
  text-align: center;
}
.countdown .container {
  position: relative;
  z-index: 4;
  max-width: 720px;
  padding: 1rem 1.2rem 1.2rem;
  border-radius: 18px;
  background: rgba(4, 38, 22, 0.72);
  border: 1px solid rgba(217, 184, 102, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.countdown-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.countdown-label span {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cd-box {
  min-width: 78px;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, rgba(15, 82, 48, 0.95), rgba(6, 48, 25, 0.98));
  border: 1.5px solid rgba(217, 184, 102, 0.5);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}
.cd-num {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cd-unit {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* ============ SECTION TITLE ============ */
.section-title {
  text-align: center; font-family: "Cormorant Garamond", serif; font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--gold);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1.8rem;
}
.section-title .orn { color: var(--gold-2); font-size: .8em; margin: 0 .4rem; }

/* ============ MAIN BAND — creator + chương trình + đăng ký chung 1 nền ============ */
.main-band {
  position: relative;
  overflow-x: clip;
  background:
    url("../Image/creator-bg.png?v=2") center / cover no-repeat,
    linear-gradient(180deg, #0b4529 0%, #063019 50%, #042616 100%);
  background-color: #063019;
}
.creator {
  position: relative;
  overflow: hidden;
  padding: 2.8rem 0 2rem;
  background: transparent;
}

.creator::before {
  content: none;
}

.creator-stage {
  position: relative;
  z-index: 5;
  isolation: isolate;
}

/* Hoa hiện ở 2 mép ngoài — dưới thẻ kem nên không đè chữ */
.deco-lily {
  position: absolute;
  width: clamp(150px, 15vw, 210px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32));
  object-fit: contain;
  opacity: 0.95;
}

.deco-lily-l {
  left: 0;
  bottom: 4%;
  top: auto;
  transform: translateX(-12%) scaleX(-1) rotate(-10deg);
}

.deco-lily-r {
  right: 0;
  bottom: 3%;
  top: auto;
  transform: translateX(12%) rotate(-4deg);
}

.creator-shell,
.info-strip {
  position: relative;
  z-index: 2;
}

.creator-shell {
  background: #f7f3e8;
  border-radius: 24px;
  padding: 2.2rem 2rem 2.4rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
}

.creator-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: #0d4a2a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin: 0 0 1.6rem;
  text-align: left;
}

.creator-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(280px, 1.45fr) minmax(200px, 0.85fr);
  gap: 1.2rem 1.6rem;
  align-items: center;
}

/* Bước: icon trái — chữ phải */
.steps-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 0.4rem;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
}

.steps li {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.85rem;
}

.step-ico {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #176b3c, #0a4d2c);
  color: #fff;
  border: 2px solid #d4af37;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.step-copy {
  min-width: 0;
  flex: 1;
}

.steps strong {
  display: block;
  color: #0d4a2a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.steps p {
  font-size: 0.78rem;
  color: #5a675c;
  line-height: 1.4;
  margin: 0;
}

/* Preview khung — không “hộp xám” nổi */
.canvas-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  border: none;
  cursor: grab;
  touch-action: none;
  box-shadow: none;
}

.canvas-wrap.dragover {
  outline: 2px dashed #d4af37;
  outline-offset: 4px;
}

.canvas-wrap.grabbing {
  cursor: grabbing;
}

#avatarCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.upload-panel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.4rem 0.2rem;
  box-shadow: none;
  max-width: 260px;
  margin-inline: auto;
  width: 100%;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #1a7a45, #0c5530);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: filter 0.15s;
}

.upload-btn:hover,
.upload-btn.dragover {
  filter: brightness(1.08);
}

.ctrl-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ctrl-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0d4a2a;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
}

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ctrl-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.ctrl-divider {
  width: 1px;
  height: 28px;
  background: rgba(160, 150, 120, 0.55);
}

.ctrl-round {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(150, 140, 110, 0.5);
  color: #0d4a2a;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.15s, box-shadow 0.15s;
}

.ctrl-round:hover {
  background: #f5e6b8;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#zoomSlider {
  flex: 1;
  accent-color: #147a42;
  height: 4px;
}

.btn-download {
  margin-top: 0.2rem;
  width: 100%;
  background: linear-gradient(180deg, #f3d98a, #d4af37 50%, #b8922a);
  color: #3a2808;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 22px rgba(180, 140, 40, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
}

.btn-download:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-download:hover:not(:disabled) {
  filter: brightness(1.05);
}

.download-note {
  font-size: 0.7rem;
  color: #8a917f;
  text-align: center;
  margin: 0;
}

/* Info bar kem + kẻ vàng */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 1.35rem;
  background: #f7f3e8;
  border-radius: 18px;
  padding: 1.4rem 1.8rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  position: relative;
  z-index: 2;
}

.info-card {
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}

.info-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, #c9a227, transparent);
}

.info-ico {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0d4a2a;
  background: radial-gradient(circle at 40% 30%, #f5e6b8, #d4af37);
}

.info-card h4 {
  color: #0d4a2a;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  font-weight: 800;
}

.info-card p {
  color: #4b5b4f;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
}

.info-card strong {
  color: #063019;
}

/* ============ PROGRAM / GALLERY / VIDEO + REGISTER ============ */
.pgv {
  padding: 1.2rem 0 1.1rem;
  background: transparent;
}
.rch {
  padding: 1.1rem 0 2.6rem;
  background: transparent;
}
.pgv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.pgv-card {
  background: linear-gradient(165deg, #fbf7ec 0%, #f3ead4 100%);
  border-radius: 16px;
  padding: 0.85rem 0.9rem 0.9rem;
  border: 1.5px solid rgba(201, 168, 90, 0.55);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.pgv-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  background: linear-gradient(90deg, #0a3d24, #14663c 50%, #0a3d24);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  flex: none;
  border: 1px solid rgba(217, 184, 102, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}
.program-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
  flex: 1;
}
.program-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink);
  align-items: center;
  padding: 0.38rem 0.5rem;
  border-radius: 10px;
  background: rgba(15, 82, 48, 0.06);
  border: 1px solid rgba(15, 82, 48, 0.08);
}
.pg-time {
  flex: none;
  min-width: 5.8rem;
  font-weight: 700;
  font-size: 0.68rem;
  color: #0a3d24;
  font-variant-numeric: tabular-nums;
  background: rgba(217, 184, 102, 0.28);
  border: 1px solid rgba(196, 160, 74, 0.4);
  border-radius: 999px;
  padding: 0.18rem 0.4rem;
  text-align: center;
  line-height: 1.3;
}
.pg-act { color: #3d4f42; line-height: 1.3; }
.pgv-foot {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 0.2rem;
  min-height: 0;
  align-items: center;
}
.pgv-btn {
  align-self: center;
  margin-top: 0;
  font-size: 0.68rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Gallery — lưới 2x3 đều */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 78px);
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  flex: none;
  min-height: 0;
  border-radius: 12px;
}
.g-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  background: #1a3d2a;
  box-shadow: inset 0 0 0 1px rgba(217, 184, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 38, 22, 0.35));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.g-tile:hover,
.g-tile:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1.5px rgba(217, 184, 102, 0.7);
  outline: none;
  z-index: 1;
}
.g-tile:hover::after,
.g-tile:focus-visible::after { opacity: 1; }
.g-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.g-tile:hover img { transform: scale(1.05); }

/* Lightbox xem ảnh */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: none;
  place-items: center;
  padding: 1.5rem;
  background: rgba(4, 38, 22, 0.92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox.is-open { display: grid; }
.lightbox-img {
  max-width: min(960px, 94vw);
  max-height: 88vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(217, 184, 102, 0.55);
  cursor: default;
  background: #0a1f14;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.2rem;
  width: 44px; height: 44px;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #063019; font-size: 1.65rem; line-height: 1;
  cursor: pointer; z-index: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.lightbox-close:hover { background: #fff; transform: scale(1.05); }

.video-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(217, 184, 102, 0.45);
  margin-bottom: 0.4rem;
  flex: none;
  height: 160px;
  min-height: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.video-thumb:hover img { transform: scale(1.04); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(180deg, #f0dda2, #d9b866 55%, #c4a04a);
  color: var(--green-900);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.video-thumb:hover .play-btn { transform: scale(1.08); }
.video-cap {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  color: var(--green-700);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

/* ============ SPONSORS ============ */
.sponsors {
  padding: 0.4rem 0 1.2rem;
  background: transparent;
}
.sponsors-card {
  background: linear-gradient(165deg, #fbf7ec 0%, #f3ead4 100%);
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.3rem;
  border: 1.5px solid rgba(201, 168, 90, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.sponsors-title {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: #0a3d24;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.sp-orn {
  color: #c4a04a;
  font-size: 0.75em;
  opacity: 0.9;
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.1rem;
  align-items: start;
}
.sponsor-col h3 {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0a3d24;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}
.sponsor-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.sponsor-logo {
  display: grid;
  place-items: center;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 120px;
  height: 54px;
  padding: 0.35rem 0.45rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(15, 82, 48, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sponsor-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.sponsor-logo img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.sponsors-foot {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  font-size: 0.86rem;
  color: #5a6b5e;
  font-style: italic;
}
.sponsors-foot span {
  display: block;
  width: min(90px, 12vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 160, 74, 0.75), transparent);
}

/* ============ REGISTER / CONNECT / HIGHLIGHTS ============ */
.rch-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
  align-items: stretch;
}
.rch-card {
  border-radius: 18px;
  padding: 1.5rem 1.55rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  min-height: 220px;
}
.register-card {
  background: linear-gradient(165deg, #fbf7ec 0%, #f3ead4 100%);
  border: 1.5px solid rgba(201, 168, 90, 0.55);
}
.rch-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: #0a3d24;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.register-inner {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.register-copy { flex: 1; min-width: 0; }
.register-copy p {
  color: #4b5b4f;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}
.qr-link {
  display: block;
  flex: none;
  border-radius: 12px;
  transition: transform 0.15s ease;
}
.qr-link:hover { transform: translateY(-2px); }
.qr-img {
  width: 132px;
  height: 132px;
  flex: none;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  background: #fff;
  object-fit: cover;
}
.reg-btn { font-size: 0.82rem; padding: 0.72rem 1.7rem; }
.reg-note {
  font-size: 0.78rem;
  color: #8a917f;
  margin-top: 0.65rem;
  margin-bottom: 0;
}

/* Connect card — nền xanh + ánh vàng như mockup 2 */
.connect-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(105deg, rgba(4, 38, 22, 0.92) 0%, rgba(4, 38, 22, 0.55) 42%, rgba(4, 38, 22, 0.2) 70%, transparent 100%),
    url("../Image/connect-bg.png?v=1") right center / cover no-repeat,
    linear-gradient(135deg, #042616, #0a3d24 55%, #14663c);
  border: 1.5px solid rgba(217, 184, 102, 0.4);
  color: #f7efdb;
  padding: 1.4rem 1.5rem;
}
.connect-visual { display: none; }
.highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
  max-width: 58%;
}
.highlights li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.88rem;
  color: #f7efdb;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hl-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f0dda2, #d9b866 55%, #c4a04a);
  color: #063019;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  font-size: 0;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--green-900); padding: 2rem 0;
  border-top: 2px solid rgba(217,184,102,.35);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
.footer-brand .brand-text strong { font-size: .9rem; }
.copyright { font-size: .8rem; color: rgba(247,239,219,.65); text-align: right; }

/* ============ RESPONSIVE ============ */
.mob-br { display: none; }
@media (max-width: 960px) {
  .creator {
    padding: 2rem 0 1.8rem;
  }
  .creator-shell {
    padding: 1.5rem 1.1rem 1.6rem;
    border-radius: 18px;
  }
  .creator-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .canvas-panel {
    order: -1;
  }
  .creator-heading {
    text-align: center;
  }
  .steps {
    gap: 1rem;
  }
  .steps li {
    flex-direction: row;
    text-align: left;
    max-width: 320px;
    margin-inline: auto;
  }
  .deco-lily {
    width: min(120px, 18vw);
    opacity: 0.9;
  }
  .deco-lily-l {
    left: 0;
    bottom: 1%;
    top: auto;
    transform: translateX(-8%) scaleX(-1) rotate(-8deg);
  }
  .deco-lily-r {
    right: 0;
    bottom: 0;
    top: auto;
    transform: translateX(8%) rotate(-4deg);
  }
  .info-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 0;
    padding: 1rem 0.3rem;
  }
  .info-card:nth-child(2n)::after {
    display: none;
  }
  .pgv-grid { grid-template-columns: 1fr; }
  .pgv-card { min-height: 0; }
  .gallery-grid { grid-template-rows: repeat(2, 70px); }
  .video-thumb { height: 150px; }
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .rch-grid { grid-template-columns: 1fr; }
  .highlights { max-width: 100%; }
  .connect-card {
    background:
      linear-gradient(180deg, rgba(4, 38, 22, 0.88) 0%, rgba(4, 38, 22, 0.5) 60%, rgba(4, 38, 22, 0.35) 100%),
      url("../Image/connect-bg.png?v=1") center / cover no-repeat,
      #042616;
    min-height: 260px;
  }
  .hero-top {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0 1rem;
  }
  .hero-text {
    max-width: 100%;
    margin-inline: auto;
  }
  .hero-actions { justify-content: center; }
  .hero-ribbon { margin-inline: auto; }
  .hero-bgimg img { object-position: 70% center; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4,38,22,.55) 0%, rgba(4,38,22,.35) 45%, rgba(4,38,22,.65) 100%);
  }
}
@media (max-width: 720px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--green-800); padding: .5rem 5%; border-bottom: 1px solid rgba(217,184,102,.3); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .sponsors-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .register-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .copyright { text-align: center; }
  .mob-br { display: inline; }
}
