:root {
  --yt-green: #0f5132;
  --yt-green-2: #146b3a;
  --yt-wechat: #07c160;
  --yt-line: #00c300;
  --yt-whatsapp: #25d366;
  --yt-bg: #f5f6f7;
  --yt-text: #333;
  --yt-muted: #666;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.yt-page {
  margin: 0;
  color: var(--yt-text);
  background: var(--yt-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.yt-page img { display: block; max-width: 100%; }
.yt-page button,
.yt-page a { font: inherit; -webkit-tap-highlight-color: transparent; }
.yt-page :focus-visible { outline: 3px solid #f0ad4e; outline-offset: 3px; }
.yt-container { width: 100%; max-width: 720px; margin: auto; padding-top: 1px; }
.yt-section {
  padding: 12px;
  margin: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.06);
}
.yt-section h2 {
  margin: 0 0 12px;
  color: var(--yt-green);
  font-size: 22px;
  text-align: center;
}
.yt-hero-img {
  width: 120px;
  height: 120px;
  margin: 22px auto 15px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
}
.yt-hero h1 {
  margin: 10px 0;
  color: var(--yt-green);
  font-size: 30px;
  text-align: center;
}
.yt-sub { margin: 0; color: var(--yt-muted); font-size: 16px; text-align: center; }
.yt-price { margin: 12px 0 0; color: var(--yt-green); font-weight: 600; text-align: center; }
.yt-badge,
.yt-bonus {
  padding: 10px;
  margin-top: 10px;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
}
.yt-badge { border: 1px solid #ffe0a6; background: #fff6e5; }
.yt-bonus { border: 1px solid #ffbcbc; background: #ffecec; font-weight: 600; }
.yt-gift-video {
  display: block;
  width: 100%;
  margin-top: 10px;
  border-radius: 16px;
}
.yt-bonus small { font-size: 16px; font-weight: 400; }
.yt-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yt-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
.yt-card img { width: 100%; height: 180px; object-fit: cover; }
.yt-card > div { padding: 14px 15px 18px; }
.yt-card h3 { margin: 0 0 8px; color: var(--yt-green-2); font-size: 18px; line-height: 1.45; }
.yt-card p { margin: 0; color: var(--yt-muted); font-size: 16px; line-height: 1.7; }
.yt-full { grid-column: 1 / 3; }
.yt-full img { height: 230px; }
.yt-statement { margin: 18px 0; font-weight: 600; text-align: center; }
.yt-qa { margin: 12px 0; font-size: 18px; }
.yt-confirm,
.yt-btn {
  display: flex;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--yt-wechat);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.yt-confirm:active,
.yt-btn:active { transform: scale(.985); }
.yt-line { background: var(--yt-line); }
.yt-whatsapp { margin-bottom: 16px; background: var(--yt-whatsapp); }
.yt-gift-box { margin-bottom: 25px; text-align: center; }
.yt-gift-box h2 { margin-bottom: 6px; font-size: 22px; }
.yt-gift-subtitle { margin: 0 0 15px; color: var(--yt-text); font-size: 18px; font-weight: 600; }
.yt-gift-image { width: 100%; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,.12); }
.yt-gift-desc { margin: 12px 0 0; font-size: 18px; font-weight: 600; line-height: 1.8; }
.yt-gift-desc small { font-size: 18px; font-weight: 400; }
.yt-gift-note {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 10px;
  border: 1px solid #ffd98c;
  border-radius: 30px;
  color: #b36b00;
  background: #fff6e5;
  font-size: 16px;
  font-weight: 600;
}
.yt-contact-copy { color: var(--yt-muted); font-size: 16px; text-align: center; }
.yt-contact-copy p { margin: 8px 0; }
.yt-footer { padding: 10px 12px 20px; color: #555; font-size: 14px; text-align: center; }
.yt-footer a { color: inherit; text-decoration: none; }
.yt-modal {
  position: fixed;
  z-index: 99999;
  display: flex;
  visibility: hidden;
  opacity: 0;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  transition: opacity .25s, visibility .25s;
}
.yt-modal.show { visibility: visible; opacity: 1; }
.yt-modal-box {
  position: relative;
  width: 88%;
  max-width: 340px;
  padding: 24px 22px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
  text-align: center;
  transform: scale(.95);
  transition: transform .25s;
}
.yt-modal.show .yt-modal-box { transform: scale(1); }
.yt-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  color: #999;
  background: none;
  cursor: pointer;
  font-size: 22px;
}
.yt-modal-icon { margin-bottom: 8px; font-size: 40px; }
.yt-modal-box h2 { margin: 0 0 15px; color: var(--yt-wechat); font-size: 22px; }
.yt-wechat-id { margin: 0 0 15px; color: #555; font-size: 18px; }
.yt-wechat-id strong { display: block; margin-top: 6px; color: #d62828; font-size: 24px; letter-spacing: 1px; }
.yt-modal-box > p:not(.yt-wechat-id) { margin: 0 0 18px; color: var(--yt-muted); font-size: 16px; line-height: 1.7; }
.yt-open-wechat { text-decoration: none; }
.yt-later { margin-top: 12px; border: 0; color: #888; background: none; cursor: pointer; font-size: 14px; }

@media (max-width: 480px) {
  .yt-page { font-size: 18px; }
  .yt-section { padding: 12px; margin: 10px 8px; border-radius: 16px; }
  .yt-gallery { gap: 10px; }
  .yt-card img { height: 145px; }
  .yt-full img { height: 190px; }
  .yt-card > div { padding: 12px; }
  .yt-card h3 { font-size: 18px; }
  .yt-card p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
