/* -------------------------------------------------------
   FONT
------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

* {
  font-family: 'Quicksand', system-ui, sans-serif;
  box-sizing: border-box;
}

/* Ảnh / media tự co cho mobile */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* -------------------------------------------------------
   ROOT COLOR
------------------------------------------------------- */
:root {
  --pink: #ffb7eb;
  --purple: #c3b5ff;
  --blue: #b8e7ff;

  --glass-bg-light: rgba(255, 255, 255, 0.22);
  --glass-bg-dark: rgba(15, 23, 42, 0.68);

  --glass-border-light: rgba(255, 255, 255, 0.55);
  --glass-border-dark: rgba(148, 163, 184, 0.4);
}

/* -------------------------------------------------------
   THEME BACKGROUND
------------------------------------------------------- */
body {
  min-height: 100vh;
  padding: 40px 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  color: #e5e7eb;
  background: #020617;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.5;
}

/* Mobile: cho đỡ chật */
@media (max-width: 768px) {
  body {
    align-items: stretch;
    padding-top: 24px;
    padding-bottom: 40px;
  }
}

/* MOBILE NHỎ HƠN: TINH CHỈNH THÊM */
@media (max-width: 480px) {
  body {
    padding-top: 18px;
    padding-bottom: 30px;
    font-size: 14px;
  }
}

/* DARK THEME */
body[data-theme="dark"] {
  color: #e5e7eb;
}

/* LIGHT THEME */
body[data-theme="light"] {
  color: #0f172a;
  background: #f4f4ff;
}

/* Glow mềm phía sau toàn màn – TĨNH, không xoay */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(circle at 0% 0%,   rgba(15, 23, 42, 1), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(88, 28, 135, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 1), transparent 60%);

  filter: blur(40px);
  opacity: 0.95;
}

/* Light mode: glow pastel hơn, cũng tĩnh */
body[data-theme="light"]::before {
  background:
    radial-gradient(circle at 0% 0%,   rgba(244, 244, 255, 1), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(252, 231, 243, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(219, 234, 254, 1), transparent 60%);
  filter: blur(35px);
  opacity: 0.9;
}

/* -------------------------------------------------------
   LIQUID GLASS FRAME
------------------------------------------------------- */
.yuna-shell {
  position: relative;
  backdrop-filter: blur(26px);
  border-radius: 28px;
  border: 1.5px solid var(--glass-border-light);
  background: var(--glass-bg-light);
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.75),
    0 0 40px rgba(129, 140, 248, 0.55);
  overflow: hidden;
}

/* Mobile giảm bớt blur & shadow cho nhẹ */
@media (max-width: 768px) {
  .yuna-shell {
    backdrop-filter: blur(18px);
    box-shadow:
      0 14px 38px rgba(15, 23, 42, 0.55),
      0 0 20px rgba(129, 140, 248, 0.35);
    margin-inline: 16px;
  }
}

/* Mobile rất nhỏ: bo góc + margin gọn hơn */
@media (max-width: 480px) {
  .yuna-shell {
    border-radius: 24px;
    margin-inline: 12px;
  }
}

body[data-theme="dark"] .yuna-shell {
  background: var(--glass-bg-dark);
  border-color: var(--glass-border-dark);
}

/* Glow border static */
.yuna-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  filter: blur(18px);
  opacity: 0.55;
  z-index: -2;
}

/* Aura chạy màu bên trong khung Yuna — pastel rainbow */
.yuna-shell::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: inherit;
  z-index: -3;

  background:
    radial-gradient(circle at 15% 5%, rgba(244, 114, 182, 0.52), transparent 60%),
    radial-gradient(circle at 90% 0%, rgba(167, 139, 250, 0.55), transparent 60%),
    radial-gradient(circle at 5% 100%, rgba(56, 189, 248, 0.50), transparent 60%),
    radial-gradient(circle at 95% 100%, rgba(251, 191, 36, 0.45), transparent 60%),
    radial-gradient(circle at 50% 15%, rgba(45, 212, 191, 0.45), transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(74, 222, 128, 0.45), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(196, 181, 253, 0.5), transparent 65%);

  filter: blur(55px);
  opacity: 0.9;

  animation: yunaShellAura 26s linear infinite alternate;
  pointer-events: none;
}

/* Mobile: giảm màu nhẹ để không lag */
@media (max-width: 768px) {
  .yuna-shell::after {
    filter: blur(40px);
    opacity: 0.7;
    animation-duration: 18s;
  }
}

@keyframes yunaShellAura {
  0%   { transform: rotate(0deg)   scale(1); }
  50%  { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */
.yuna-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.yuna-header img {
  width: 78px;
  height: 78px;
  border-radius: 9999px;
  border: 4px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.95);
  box-shadow:
    0 10px 22px rgba(15,23,42,0.5),
    0 0 22px rgba(244, 114, 182, 0.9);
}

/* Header mobile: xếp cột + nhỏ lại */
@media (max-width: 640px) {
  .yuna-header {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .yuna-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .yuna-header img {
    width: 64px;
    height: 64px;
  }
}

/* Tag */
.header-tag {
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 9999px;
  font-weight: 600;

  background: rgba(255, 192, 203, 0.25);
  border: 1px solid rgba(255, 192, 203, 0.45);
  color: #be185d;

  transition: background .25s ease, color .25s ease, border .25s ease;
}

/* Dark mode */
[data-theme="dark"] .header-tag {
  background: rgba(255, 200, 230, 0.18);
  border-color: rgba(255, 200, 230, 0.4);
  color: #ffe4f7;
  text-shadow: 0 0 7px rgba(255, 180, 230, 0.9);
}

.yuna-header h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f9fafb;
  text-shadow: 0 0 12px rgba(15,23,42,0.8);
}

@media (max-width: 480px) {
  .yuna-header h1 {
    font-size: 22px;
  }
}

body[data-theme="light"] .yuna-header h1 {
  color: #111827;
  text-shadow: none;
}

.yuna-header p {
  font-size: 13px;
  opacity: 0.8;
}

/* -------------------------------------------------------
   BOXES – LIQUID ANIME SOFT
------------------------------------------------------- */
.box {
  position: relative;
  padding: 16px;
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* Dark */
body[data-theme="dark"] .box {
  background:
    linear-gradient(145deg,
      rgba(15, 23, 42, 0.95),
      rgba(30, 41, 59, 0.92)),
    radial-gradient(circle at 80% 20%,
      rgba(120, 90, 255, 0.24),
      transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.65),
    inset 0 0 0 0 rgba(255, 255, 255, 0.03);
}

/* Glow pastel trong dark */
body[data-theme="dark"] .box::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 20%, rgba(170, 120, 255, 0.18), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(110, 200, 255, 0.14), transparent 60%);
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Light */
body[data-theme="light"] .box {
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.96),
      rgba(250, 250, 255, 0.98)),
    radial-gradient(circle at 10% 10%,
      rgba(255, 200, 245, 0.22),
      transparent 60%);
  border: 1px solid rgba(200, 210, 230, 0.8);
  box-shadow:
    0 12px 34px rgba(160, 170, 200, 0.35),
    inset 0 0 0 0 rgba(255,255,255,0.06);
}

body[data-theme="light"] .box::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,180,255,0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(180,205,255,0.18), transparent 60%);
  opacity: .45;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Hover / active */
@media (hover: hover) {
  body[data-theme="dark"] .box:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 45px rgba(0,0,0,0.75),
      0 0 16px rgba(140,130,255,0.55);
    border-color: rgba(196,181,253,0.75);
  }

  body[data-theme="light"] .box:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 45px rgba(160,170,200,0.55),
      0 0 10px rgba(255,255,255,0.9);
  }
}

@media (hover:none) and (pointer:coarse) {
  .box:active {
    transform: scale(1.01);
    box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  }
}

.box h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pink-box h2 { color: #f9a8d4; }
.indigo-box h2 { color: #a5b4fc; }

.order-label { font-size: 12px; opacity: .8; }

/* -------------------------------------------------------
   INPUT STYLE
------------------------------------------------------- */
.yuna-input {
  width: 100%;
  padding: 11px 15px;
  font-size: 14px;
  border-radius: 9999px;
  border: 1px solid rgba(148,163,184,0.7);
  margin-bottom: 12px;

  background:
    radial-gradient(circle at 0% 0%, rgba(15,23,42,0.95), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  color: #e5e7eb;

  box-shadow:
    0 0 0 1px rgba(15,23,42,0.9),
    0 12px 28px rgba(15,23,42,0.85);

  transition:
    background .25s,
    color .25s,
    border-color .2s,
    box-shadow .2s,
    transform .1s;
}

.yuna-input::placeholder {
  color: rgba(148,163,184,0.8);
}

/* Light */
body[data-theme="light"] .yuna-input {
  background: linear-gradient(135deg, #f9fafb, #e5edff);
  color: #0f172a;
  border-color: rgba(148,163,184,0.65);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.9),
    0 10px 24px rgba(148,163,184,0.55);
}

/* Focus */
.yuna-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow:
    0 0 0 1px rgba(56,189,248,0.8),
    0 0 18px rgba(56,189,248,0.55);
  transform: translateY(-1px);
}

/* -------------------------------------------------------
   BUTTONS
------------------------------------------------------- */
.btn-pink,
.btn-indigo {
  width: 100%;
  padding: 11px;
  color: white;
  border-radius: 9999px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: .18s ease;
}

.btn-pink {
  background: linear-gradient(to right, #f973c9, #a855f7);
  box-shadow: 0 12px 26px rgba(236,72,153,0.75);
}

.btn-indigo {
  background: linear-gradient(to right, #4f46e5, #0ea5e9);
  box-shadow: 0 12px 26px rgba(59,130,246,0.8);
}

.btn-pink:hover,
.btn-indigo:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-pink:active,
.btn-indigo:active {
  transform: translateY(0);
  box-shadow: 0 7px 16px rgba(15,23,42,0.7);
}

/* Chip buttons (Copy TK/MK/OTP) */
.btn-chip {
  padding: 5px 12px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  background: rgba(30,64,175,0.85);
  color: #e5e7eb;
  transition: .15s;
}

.btn-chip:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-chip-green {
  background: linear-gradient(90deg,#22c55e,#10b981);
}

/* -------------------------------------------------------
   RESULT BOX
------------------------------------------------------- */
.error-box {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
}

body[data-theme="light"] .error-box {
  color: #b91c1c;
}

.otp-line {
  color: #10b981;
  font-size: 16px;
}

.countdown {
  margin-top: 6px;
  color: #f97373;
  font-size: 12px;
}

.expired-msg {
  color: #f97373;
  font-size: 12px;
}

/* -------------------------------------------------------
   COPY POPUP
------------------------------------------------------- */
.copy-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  z-index: 40;
}

.copy-popup-box {
  padding: 14px 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(148,163,184,0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Light */
body[data-theme="light"] .copy-popup-box {
  background: #ffffffee;
  color: #065f46;
}

/* Dark */
body[data-theme="dark"] .copy-popup-box {
  background: rgba(6, 78, 59, 0.92);
  color: #ecfdf5;
}

.copy-popup-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}

.copy-popup-text {
  font-size: 12px;
  opacity: 0.9;
}

/* -------------------------------------------------------
   THEME TOGGLE BUTTON
------------------------------------------------------- */
.theme-toggle-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148,163,184,0.4);
  transition: .2s;
}

body[data-theme="light"] .theme-toggle-btn {
  background: rgba(255,255,255,0.9);
  color: #374151;
}

body[data-theme="dark"] .theme-toggle-btn {
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
}

/* -------------------------------------------------------
   CHIBI YUNA (nếu muốn thêm sau)
------------------------------------------------------- */
.yuna-chibi {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 85px;
  height: 85px;
  border-radius: 9999px;
  overflow: hidden;
  z-index: 40;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.9), rgba(255,192,203,0.35));
  box-shadow:
    0 6px 16px rgba(0,0,0,0.25),
    0 0 12px rgba(255, 182, 217, 0.9);
  transition: .25s;
}

.yuna-chibi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yuna-chibi:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Ẩn trên mobile */
@media (max-width: 640px) {
  .yuna-chibi { display: none; }
}

/* -------------------------------------------------------
   SNOW (CSS cũ vẫn giữ, đang comment)
------------------------------------------------------- */
/*.snowflake {
  position: fixed;
  top: -10px;
  color: white;
  font-size: 1rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px white);
  pointer-events: none;
  animation: snowFall linear infinite;
  z-index: 20;
}

@keyframes snowFall {
  0%   { transform: translate3d(0, -10px, 0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translate3d(var(--x), 110vh, 0); opacity: 0; }
}

.sparkle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: sparkleAnim 3s infinite ease-in-out;
  opacity: 0.75;
  pointer-events: none;
  z-index: 15;
}

@keyframes sparkleAnim {
  0% { transform: scale(0.4) translateY(0); opacity: 0.6; }
  50% { transform: scale(1.2) translateY(-10px); opacity: 1; }
  100% { transform: scale(0.4) translateY(0); opacity: 0.6; }
}*/

/* -------------------------------------------------------
   VERSION WATERMARK
------------------------------------------------------- */
.yuna-version {
  position: fixed;
  bottom: 8px;
  right: 12px;

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35px;

  padding: 3px 8px;
  border-radius: 9999px;

  background: rgba(15, 23, 42, 0.78);
  color: #e5e7eb;

  border: 1px solid rgba(148, 163, 184, 0.55);
  backdrop-filter: blur(10px);

  text-shadow: 0 0 4px rgba(15, 23, 42, 0.9);

  z-index: 50;
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

body[data-theme="light"] .yuna-version {
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  border-color: rgba(148, 163, 184, 0.65);
  text-shadow: none;
}

.yuna-version:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  opacity: 0.95;
}

/* -------------------------------------------------------
   TABS – SECRET / ORDER
------------------------------------------------------- */
.yuna-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.yuna-tabs-inner {
  position: relative;
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148,163,184,0.45);
  overflow: hidden;
}

/* Light */
body[data-theme="light"] .yuna-tabs-inner {
  background: rgba(255,255,255,0.9);
}

/* Dark */
body[data-theme="dark"] .yuna-tabs-inner {
  background: rgba(15,23,42,0.9);
}

/* highlight trượt dưới tab active */
.yuna-tab-highlight {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 4px;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(120deg,#6366f1,#ec4899,#f97316);
  box-shadow:
    0 0 16px rgba(129,140,248,0.8),
    0 0 24px rgba(236,72,153,0.9);
  opacity: 0.95;
  pointer-events: none;
  transition:
    transform .32s cubic-bezier(.22,.61,.36,1),
    width .32s cubic-bezier(.22,.61,.36,1);
}

/* nút tab */
.yuna-tab-btn {
  position: relative;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 1;
  transition:
    transform .15s ease,
    color .2s ease,
    text-shadow .2s ease;
}

/* inactive */
body[data-theme="light"] .yuna-tab-btn {
  color: #6b7280;
}

body[data-theme="dark"] .yuna-tab-btn {
  color: #9ca3af;
}

/* active */
.yuna-tab-btn.active {
  transform: translateY(-1px);
}

/* màu chữ khi active (trên nền highlight) */
body[data-theme="light"] .yuna-tab-btn.active {
  color: #f9fafb;
  text-shadow: 0 0 6px rgba(15,23,42,0.6);
}

body[data-theme="dark"] .yuna-tab-btn.active {
  color: #fefce8;
  text-shadow: 0 0 8px rgba(15,23,42,0.8);
}

/* Panel wrapper */
.tab-panels {
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: height .3s ease;
}

/* Glow quét ngang khi đổi tab */
.tab-panels.swipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(236,72,153,0.0), transparent 55%),
    linear-gradient(120deg,
      transparent 0%,
      rgba(236,72,153,0.35) 35%,
      rgba(129,140,248,0.5) 50%,
      rgba(45,212,191,0.3) 65%,
      transparent 100%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  animation: tabSwipeGlow .45s ease-out forwards;
}

@keyframes tabSwipeGlow {
  0% {
    opacity: 0;
    transform: translateX(-40%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(40%);
  }
}

/* Panel animation (ẩn) */
.tab-panel {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  filter: blur(10px);
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition:
    opacity .32s ease,
    transform .32s ease,
    filter .32s ease;
}

/* Panel active (hiện) */
.tab-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
  position: relative;
}

/* -------------------------------------------------------
   CONTACT
------------------------------------------------------- */
.contact-area {
  margin-top: 10px;
}

.contact-btn {
  padding: 6px 14px;
  border-radius: 9999px;
  color: white;
  font-weight: 600;
  font-size: 12px;
  backdrop-filter: blur(8px);
  transition: transform .15s ease, opacity .2s ease;
  text-decoration: none;
}

.contact-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.fb { background: linear-gradient(90deg,#1877f2,#3b82f6); }
.tg { background: linear-gradient(90deg,#0ea5e9,#38bdf8); }
.zl { background: linear-gradient(90deg,#10b981,#34d399); }

body[data-theme="light"] .contact-btn {
  color: white !important;
}

/* -------------------------------------------------------
   SECRET OTP ROW + COPY BUTTON
------------------------------------------------------- */
.otp-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148,163,184,0.7);
  margin-top: 8px;
}

body[data-theme="light"] .otp-row {
  background: rgba(255,255,255,0.98);
  border-color: rgba(148,163,184,0.7);
}

.otp-label {
  font-size: 13px;
  opacity: 0.85;
}

.otp-code {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #22c55e;
}

/* nút copy riêng cho dòng OTP */
.copy-btn {
  padding: 4px 11px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;

  background: linear-gradient(90deg,#6366f1,#ec4899);
  color: #f9fafb;
  box-shadow:
    0 0 10px rgba(129,140,248,0.6),
    0 0 16px rgba(236,72,153,0.6);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.copy-btn:active {
  transform: translateY(0);
  box-shadow:
    0 0 6px rgba(129,140,248,0.5),
    0 0 10px rgba(236,72,153,0.5);
}

/* mobile: cho hàng OTP full width dễ bấm */
@media (max-width: 640px) {
  .otp-row {
    width: 100%;
    justify-content: space-between;
  }
}

/* ================================
   UTILITY CLASSES THAY TAILWIND
================================ */

/* Layout / width / radius */
.max-w-3xl {
  max-width: 768px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-6 {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .sm\:p-8 {
    padding: 2rem;
  }
}

.rounded-3xl {
  border-radius: 1.5rem;
}

/* Display / flex / gap / justify */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

/* Text / font / opacity */
.text-center {
  text-align: center;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.opacity-80 {
  opacity: 0.8;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* Margin / padding helper */
.mt-4 { margin-top: 1rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }

.pt-3 { padding-top: 0.75rem; }

/* Border */
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

/* class với dấu "/" phải escape */
.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hidden */
.hidden {
  display: none !important;
}

/* space-y-3: các con sau cách 0.75rem */
.space-y-3 > * + * {
  margin-top: 0.75rem;
}

/* space-y-1: các con sau cách 0.25rem */
.space-y-1 > * + * {
  margin-top: 0.25rem;
}

/* mini-box (JS tạo order item) */
.mini-box {
  margin-top: 0.5rem;
}

/* ======= FIX TRÀN NGANG MOBILE NHƯNG MỀM HƠN ======= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

/* Chỉ giới hạn với khung lớn để không tràn */
.yuna-shell,
.tab-panels,
.tab-panel,
.box {
  max-width: 100%;
  overflow-x: hidden;
}
/* ================================
   YunsGRP CURSOR
================================ */

    html, body {
        cursor: url("https://mmo.yunagrp.com/cusor/Normal.gif"), auto;
    }

    /* Con trỏ cho liên kết */
    a:hover {
        cursor: url("https://mmo.yunagrp.com/cusor/Help.gif"), auto;
    }

    /* Con trỏ cho ô nhập liệu */
    input, span {
        cursor: url("https://mmo.yunagrp.com/cusor/Text.gif"), auto;
    }

    /* Con trỏ cho nút bấm */
    button, 
    .btn, 
    input[type="button"], 
    input[type="submit"] {
        cursor: url("https://mmo.yunagrp.com/cusor/Button.gif"), auto !important;
    }

    /* Con trỏ khi hover nút bấm */
    button:hover, 
    .btn:hover, 
    input[type="button"]:hover, 
    input[type="submit"]:hover {
        cursor: url("https://mmo.yunagrp.com/cusor/Button.gif"), auto !important;
    }
/* Mobile: 3 tab chia đều, không tràn */
@media (max-width: 480px) {
  .yuna-tabs-inner {
    display: flex;
  }

  .yuna-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding-inline: 8px;
    font-size: 12px;
    white-space: nowrap;
  }
}
