:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --text: #111111;
  --muted: #4f4f4f;
  --accent: #111111;
  --accent-2: #3a3a3a;
  --accent-soft: #f5f5f5;
  --success: #136a3d;
  --warning: #886100;
  --danger: #b42318;
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.05);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --display-font: 'Quicksand', sans-serif;
  --body-font: 'Be Vietnam Pro', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--body-font);
  background: #ffffff;
}

/* Top banner marquee scrolling */
.top-banner {
  background: #ea3333;
  color: white;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.top-banner-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 8s linear infinite;
  animation-delay: 0s;
  will-change: transform;
}
.top-banner-text {
  flex-shrink: 0;
  padding-right: 0;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
}



.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-row,
.nav-row {
  display: flex;
  align-items: center;
}

.header-row {
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 12px;
}

.nav-row {
  padding: 0 0 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  overflow: hidden;
  background: #111111;
  box-shadow: var(--shadow-md);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 22px;
  font-family: var(--display-font);
}

.brand-copy small {
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.header-shortcut,
.account-trigger,
.hero-btn,
.nav-tab,
.mini-tab,
.select-package,
.primary-action,
.ghost-btn,
.profile-menu-item,
.zalo-logo-link,
.social-logo-link,
.floating-zalo {
  border: 0;
  border-radius: 999px;
  font-family: var(--display-font);
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-shortcut,
.hero-btn,
.primary-action,
.ghost-btn,
.zalo-logo-link,
.social-logo-link,
.floating-zalo {
  padding: 12px 18px;
}

.header-shortcut.primary,
.hero-btn.primary,
.primary-action,
.select-package,
.floating-zalo {
  color: white;
  background: #111111;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.header-shortcut.light,
.hero-btn.light,
.nav-tab,
.mini-tab,
.ghost-btn,
.profile-menu-item {
  color: var(--text);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.header-shortcut:hover,
.account-trigger:hover,
.hero-btn:hover,
.nav-tab:hover,
.mini-tab:hover,
.select-package:hover,
.primary-action:hover,
.ghost-btn:hover,
.profile-menu-item:hover,
.zalo-logo-link:hover,
.social-logo-link:hover,
.floating-zalo:hover {
  transform: translateY(-2px);
}

.zalo-logo-link,
.social-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.zalo-logo-link {
  width: 58px;
  height: 58px;
  padding: 8px;
}

.zalo-logo-link img,
.social-logo-link img,
.zalo-box img,
.floating-zalo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.social-logo-link.wide {
  justify-content: flex-start;
}

.account-menu-wrap {
  position: relative;
}

.account-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 16px 5px 5px;
  color: #111;
  background: #fff;
  border: 2px solid #111;
  box-shadow: none;
  cursor: pointer;
}

.account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.account-trigger-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  padding-right: 6px;
}

.account-trigger-copy strong {
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin-bottom: 2px;
}

.account-trigger-copy small {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.account-trigger b {
  color: #111;
  font-weight: 900;
  font-size: 15px;
  white-space: nowrap;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 220px;
  padding: 15px;
  border-radius: 12px;
  background: white;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.account-menu-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.account-menu-top strong {
  font-family: var(--display-font);
  font-size: 17px;
  color: #333;
}

.account-menu-top span {
  color: #ea3333;
  font-weight: 700;
  font-size: 13px;
}

.account-menu-label {
  margin: 12px 0 6px;
  color: #ea3333;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-menu-item {
  width: 100%;
  padding: 6px 0;
  text-align: left;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  transition: color 0.2s;
}
.account-menu-item::before {
  content: '›';
  font-size: 18px;
  color: #999;
  font-weight: 400;
}
.account-menu-item:hover {
  color: #ea3333;
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-tab {
  padding: 10px 16px;
}

.nav-tab.is-active {
  color: #111111;
  background: #ffffff;
  border: 1px solid #e11d48;
  box-shadow: 0 0 0 1px #e11d48;
}

.mini-tab.is-active {
  color: white;
  background: #111111;
}

.page-shell {
  padding: 18px 0 36px;
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

/* Thanh « Trở về » mỗi trang */
.page-back-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  padding: 6px 12px 10px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 60%, rgba(255, 255, 255, 0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  margin-bottom: 0;
}

.page-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.15s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.page-back-btn:hover {
  border-color: rgba(234, 51, 51, 0.35);
  color: #ea3333;
  box-shadow: 0 4px 14px rgba(234, 51, 51, 0.12);
}

.page-back-btn:active {
  transform: scale(0.98);
}

.page-back-arrow {
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.page-back-btn--sub {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.acc-panel-back {
  margin: -4px 0 14px;
}

.acc-panel-back + .notify-panel-header,
.acc-panel-back + .topup-history-title,
.acc-panel-back + .spin-history-header,
.acc-panel-back + .purchase-history-header,
.acc-panel-back + h3 {
  margin-top: 0;
}

.hero-section,
.page-section {
  padding: 18px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 15px;
}

@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .product-grid { grid-template-columns: 1fr; } }

.bdt-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid #ea3333;
  padding: 2px 8px;
  margin: 15px 0 10px;
}
.bdt-section-title h2 {
  margin: 0;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 800;
  color: #333;
}

.bdt-view-all {
  background: #ea3333;
  color: white;
  padding: 6px 15px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  transition: opacity 0.2s;
}
.bdt-view-all:hover { opacity: 0.9; }

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  border: 1px solid #eee;
}
.product-card:hover { transform: translateY(-5px); }
.card-image-wrap { position: relative; aspect-ratio: 1.4 / 1; overflow: hidden; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Túi mù trên shop: túi lơ lửng + nhân vật Blox Fruits lộ ra khi hover */
.mystery-shop-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(234, 51, 51, 0.12), transparent 55%);
}

.mystery-shop-card__bag {
  position: relative;
  z-index: 2;
  animation: mysteryBagFloatShop 2.8s ease-in-out infinite;
}

@keyframes mysteryBagFloatShop {
  0%,
  100% {
    transform: translateY(0) scale(1.08);
  }
  50% {
    transform: translateY(-6px) scale(1.08);
  }
}

.mystery-shop-card__character {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6%;
  opacity: 0.28;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mystery-shop-card__character img {
  width: 72%;
  max-height: 78%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.product-card--mystery:hover .mystery-shop-card__character {
  opacity: 1;
  transform: translateY(-8px);
}

@keyframes mysteryBagFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.card-badge { position: absolute; top: 10px; right: 10px; background: #ea3333; color: white; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.card-badge.blue { background: #2d68ed; }
.card-info { padding: 6px 10px; }
.card-info h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 40px; }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price-row strong { color: #ea3333; font-size: 12px; font-weight: 700; }

.hero-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.hero-card,
.hero-image-card,
.feature-card,
.profile-card,
.menu-card-group,
.content-card,
.account-card {
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(237, 199, 141, 0.62), transparent 36%),
    radial-gradient(circle at bottom left, rgba(168, 205, 220, 0.18), transparent 28%),
    linear-gradient(180deg, #fff9f3 0%, #f8f0e3 100%);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.05);
}

.hero-card h1,
.section-head h2,
.tool-head h2,
.service-page-head h2,
.content-card h3 {
  margin: 14px 0 12px;
  color: var(--text);
  font-family: var(--display-font);
  line-height: 1.08;
}

.hero-card h1 {
  font-size: clamp(42px, 5.6vw, 62px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-card p,
.card-body p,
.content-card p,
.side-note-card li,
.auth-note p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-image-card {
  position: relative;
  padding: 18px;
  display: grid;
  align-items: stretch;
  order: -1;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.74), transparent 30%),
    linear-gradient(160deg, #d9eef7 0%, #f7f5ef 46%, #e4d9f3 100%);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  border-radius: 24px;
  padding: 24px;
  filter: drop-shadow(0 22px 34px rgba(92, 104, 142, 0.16));
}

.hero-image-note {
  position: absolute;
  right: 30px;
  bottom: 28px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fffdf8;
  font-size: 12px;
  font-weight: 800;
  background: rgba(88, 85, 121, 0.45);
}

.section-head,
.tool-head,
.service-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2,
.tool-head h2,
.service-page-head h2 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  min-height: 210px;
  padding: 18px;
  color: white;
  text-align: left;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.feature-card::before,
.feature-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
}

.feature-card::before {
  top: -26px;
  right: -8px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), transparent 72%);
}

.feature-card::after {
  left: -28px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 216, 77, 0.92), transparent 72%);
}

.feature-card strong,
.content-card h3,
.profile-card strong,
.profile-menu-item,
.nav-tab,
.header-shortcut,
.hero-btn,
.mini-tab,
.select-package,
.primary-action,
.ghost-btn {
  font-family: var(--display-font);
}

.feature-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 18px 0 8px;
  font-size: 36px;
  line-height: 0.96;
}

.feature-card small {
  position: relative;
  z-index: 1;
  color: #fff3e7;
}

.feature-chip,
.feature-type {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.18);
}

.feature-chip {
  position: absolute;
  top: 12px;
}

.feature-chip.top {
  left: 12px;
}

.feature-chip.left {
  left: 12px;
  top: auto;
  bottom: 12px;
}

.feature-chip.right {
  right: 12px;
  top: auto;
  bottom: 12px;
}

.service-style {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)),
    url('vongquay-banner.png') center / cover no-repeat;
}
.wheel-style {
  background:
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 60%, transparent 100%),
    url('vong_quay_banner_new.jpg') center / cover no-repeat;
}
.support-style {
  background:
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 60%, transparent 100%),
    url('ho_tro_banner_new.jpg') center / cover no-repeat;
}
.fruit-style {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)),
    url('fruit-banner.png') center / cover no-repeat;
}
.topup-style {
  background:
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 60%, transparent 100%),
    url('nap_the_banner_new.jpg') center / cover no-repeat;
}
.account-style {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)),
    url('cat-money.jpg') center / cover no-repeat;
}

.feature-card-label {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  z-index: 2;
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: left;
}

.account-page-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.account-side,
.account-content {
  display: grid;
  gap: 18px;
}

.profile-card,
.menu-card-group,
.content-card {
  padding: 22px;
}

.profile-card {
  position: relative;
  display: grid;
  gap: 12px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-copy strong {
  font-size: 26px;
}

.profile-copy span {
  color: var(--muted);
}

.profile-card b {
  color: var(--accent);
  font-size: 22px;
}

.profile-wallets {
  display: grid;
  gap: 4px;
}

.profile-wallets span {
  color: var(--muted);
  font-weight: 800;
}

.role-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #111827, #3b82f6);
}

.menu-card-group {
  display: grid;
  gap: 10px;
}

.profile-menu-item {
  width: 100%;
  padding: 14px 16px;
  text-align: left;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.stats-row div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.stats-row span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.stats-row strong {
  font-size: 28px;
}

.history-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.history-list strong {
  font-size: 14px;
}

.history-list span {
  color: var(--muted);
}

.history-list b {
  color: var(--accent);
}

.history-empty {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(151, 95, 51, 0.22);
  color: var(--muted);
}

.account-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-card {
  overflow: hidden;
}

.account-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.card-body {
  padding: 16px 18px 18px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.price-row strong {
  color: #ff432f;
  font-size: 30px;
  font-weight: 800;
}

.price-row span {
  color: #a39ba1;
  font-size: 20px;
  font-weight: 600;
  text-decoration: line-through;
}

.service-page-grid,
.service-detail-grid,
.admin-grid,
.wheel-page-grid {
  grid-template-columns: 1fr;
}

.service-detail-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.service-head-actions,
.support-stack,
.wheel-action-row,
.wheel-side-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.support-stack > *,
.wheel-side-stack > * {
  flex: 1 1 220px;
}

.service-banner-preview {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.service-banner-preview img,
.wheel-promo {
  width: 100%;
  border-radius: inherit;
}

.service-scroll-list,
.admin-account-list {
  display: grid;
  gap: 10px;
}

.service-scroll-list {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
}

.service-order-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #fbf7f2;
  border: 1px solid rgba(107, 83, 66, 0.07);
}

.service-order-item input {
  width: 18px;
  height: 18px;
}

.service-order-item b {
  color: #ff3628;
  white-space: nowrap;
}

/* Compact service item */
.svc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid #eee;
  cursor: pointer;
  transition: background 0.13s;
  font-size: 13px;
}
.svc-item:hover { background: #fff5f5; border-color: #ea3333; }
.nav-tab {
  padding: 10px 15px;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid #eee;
}
.nav-tab.is-active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.svc-item input[type="checkbox"] { width: 15px; height: 15px; flex-shrink: 0; accent-color: #ea3333; }
.svc-name { flex: 1; color: #333; }
.svc-price { color: #ea3333; font-weight: 800; white-space: nowrap; font-size: 12.5px; }

/* Account sidebar active button */
.acc-sidebar-btn.sidebar-active {
  background: #fff5f5 !important;
  color: #ea3333 !important;
  font-weight: 800 !important;
  border-left: 3px solid #ea3333;
}


.step-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(151, 95, 51, 0.12);
}

.step-total span {
  color: var(--muted);
}

.step-total strong {
  color: #ff3628;
  font-size: 34px;
}

.side-note-card ul {
  margin: 0;
  padding-left: 18px;
}

.zalo-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding: 12px 16px;
  border-radius: 18px;
  color: white;
  font-family: var(--display-font);
  font-weight: 700;
  background: linear-gradient(135deg, #338fcb, #66b7da);
}

.facebook-link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 18px;
  color: white;
  font-family: var(--display-font);
  font-weight: 700;
  background: linear-gradient(135deg, #bc6f72, #d79096);
  box-shadow: 0 14px 24px rgba(188, 111, 114, 0.18);
}

.service-form-grid,
.form-stack,
.auth-grid,
.tool-page-grid,
.robux-order-grid,
.admin-form-grid {
  display: grid;
  gap: 12px;
}

.service-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.full-row {
  grid-column: 1 / -1;
}

.service-form-grid label,
.form-stack label {
  display: grid;
  gap: 8px;
}

.service-form-grid span {
  color: var(--muted);
  font-weight: 700;
}

.tool-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

#topupPanel {
  grid-column: 1 / -1;
}

.tool-span {
  grid-column: 1 / -1;
}

.mini-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.mini-tab {
  padding: 10px 16px;
}

.auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sub-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.sub-card input,
.sub-card button {
  margin-top: 10px;
}

.auth-note {
  margin: 14px 0;
}

.robux-pack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.select-package {
  padding: 14px 16px;
}

.robux-order-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qr-topup-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.qr-amount-grid {
  margin-bottom: 14px;
}

.qr-preview-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fafcff 0%, #f5f8fc 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.qr-shell {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.qr-shell img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
}

.qr-preview-title {
  margin: 18px 0 10px;
  font-family: var(--display-font);
  font-size: 30px;
}

.qr-preview-meta {
  margin: 4px 0;
  color: var(--muted);
}

.qr-preview-meta strong {
  color: var(--text);
}

.qr-bank-info p {
  margin: 8px 0 0;
}

.qr-order-list-card {
  margin-top: 18px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.deposit-order-card .deposit-confirm-btn {
  margin-top: 10px;
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── NEW COMPACT ADMIN PANEL ── */
.admin-sidebar {
  background: white;
  border-radius: 14px;
  border: 1px solid #eee;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
}

.admin-sidebar-icon {
  font-size: 28px;
  line-height: 1;
}

.admin-sidebar-title {
  font-weight: 800;
  font-size: 15px;
  font-family: var(--display-font);
}

.admin-sidebar-sub {
  font-size: 11px;
  opacity: 0.65;
  margin-top: 2px;
}

.admin-nav {
  padding: 8px 0;
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 18px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  color: #444;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}

.admin-nav-btn .admin-nav-icon {
  font-size: 16px;
}

.admin-nav-btn:hover {
  background: #f8f8f8;
  color: #111;
}

.admin-nav-btn.active {
  background: #fff5f5;
  color: #ea3333;
  font-weight: 800;
  border-left-color: #ea3333;
}

.admin-content {
  min-width: 0;
}

.admin-tab {
  background: white;
  border-radius: 14px;
  border: 1px solid #eee;
  padding: 22px 24px;
}

.admin-tab-head {
  margin-bottom: 18px;
}

.admin-tab-head h3 {
  margin: 8px 0 0;
  font-size: 18px;
  font-family: var(--display-font);
  font-weight: 800;
  color: #111;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.admin-stat-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.admin-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  font-family: var(--display-font);
}

.admin-stat-label {
  font-size: 12px;
  color: #888;
}

.admin-compact-form {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-compact-form input {
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 13.5px;
}

.admin-section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin: 18px 0 10px;
}

/* Old admin styles kept for compatibility */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.admin-form-grid input:first-child,
.admin-form-grid input:nth-child(3) {
  grid-column: span 2;
}

.owner-withdraw-grid {
  margin-top: 18px;
}

.admin-history-card {
  margin-top: 18px;
}

.admin-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #eee;
}

.admin-user-card strong {
  display: block;
  font-family: var(--display-font);
  font-size: 15px;
}

.admin-user-card span,
.admin-user-card small,
.admin-note {
  color: var(--muted);
  font-size: 12px;
}

.admin-user-meta {
  text-align: right;
}

.admin-user-meta b {
  display: block;
  color: var(--accent);
  font-size: 13px;
}


.wheel-page-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.wheel-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.wheel-pointer {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 40px solid #ff4331;
  transform: translateX(-50%);
  z-index: 3;
  filter: drop-shadow(0 10px 20px rgba(255, 67, 49, 0.28));
}

.wheel-disc {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 14px solid rgba(14, 59, 119, 0.12);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 36%),
    conic-gradient(
      from -30deg,
      #6dbecb 0deg 60deg,
      #6796b9 60deg 120deg,
      #8fc9b0 120deg 180deg,
      #8975b1 180deg 240deg,
      #d9a46a 240deg 300deg,
      #c88688 300deg 360deg
    );
  box-shadow: 0 28px 50px rgba(92, 102, 123, 0.2);
  transition: transform 4.6s cubic-bezier(0.15, 0.82, 0.12, 1);
}

.wheel-disc::before {
  content: '';
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.24);
}

.wheel-disc-labels {
  position: absolute;
  inset: 0;
}

.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  text-align: center;
}

.wheel-label span {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 12px;
  color: white;
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.wheel-center-badge {
  position: absolute;
  inset: 50%;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  color: white;
  background: radial-gradient(circle at top, #e4bc7a, #c97b57 62%, #b66d73);
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 32px rgba(182, 109, 115, 0.2);
}

.wheel-center-badge strong {
  font-family: var(--display-font);
  font-size: 34px;
  line-height: 1;
}

.wheel-center-badge span {
  margin-top: -8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.wheel-control-card {
  display: grid;
  gap: 16px;
}

.wheel-control-card label {
  display: grid;
  gap: 8px;
}

.wheel-control-card label span,
.wheel-note,
.wheel-live-chip,
.rate-list span {
  color: var(--muted);
}

.wheel-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  font-family: var(--display-font);
}

.wheel-live-chip b {
  color: var(--accent);
}

.wheel-action-row > * {
  flex: 1 1 180px;
}

.wheel-result {
  margin: 0;
}

.rate-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.rate-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.rate-list b {
  color: var(--accent);
  font-family: var(--display-font);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.message-line,
.global-notice {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.message-line[data-tone='success'],
.global-notice[data-tone='success'] { color: var(--success); }
.message-line[data-tone='error'],
.global-notice[data-tone='error'] { color: var(--danger); }
.message-line[data-tone='warning'],
.global-notice[data-tone='warning'] { color: var(--warning); }
.message-line[data-tone='neutral'],
.global-notice[data-tone='neutral'] { color: var(--muted); }

.global-notice {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.empty-card h3 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
}

.contact-card a {
  color: var(--accent);
  font-weight: 800;
}

.contact-card .facebook-link-card {
  color: white;
}

.contact-card .social-logo-link,
.contact-card .zalo-box {
  color: var(--text);
}

.flash-focus {
  animation: focusPulse 1.2s ease;
}

@keyframes focusPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 111, 45, 0.26), var(--shadow-lg); }
  100% { box-shadow: var(--shadow-lg); }
}

.floating-zalo {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.site-footer {
  padding: 12px 0 36px;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .header-row,
  .hero-grid,
  .account-page-grid,
  .service-detail-grid,
  .tool-page-grid,
  .admin-grid,
  .wheel-page-grid,
  .wheel-board,
  .contact-grid,
  .qr-topup-layout {
    grid-template-columns: 1fr;
  }

  .header-row {
    display: grid;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .feature-grid,
  .robux-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-span {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .feature-grid,
  .account-grid,
  .auth-grid,
  .service-form-grid,
  .stats-row,
  .robux-pack-grid,
  .robux-order-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .wheel-stage {
    min-height: 420px;
  }

  .qr-shell {
    min-height: 360px;
  }

  .wheel-label {
    width: 60px;
  }

  .wheel-label span {
    font-size: 15px;
  }

  .admin-form-grid input:first-child,
  .admin-form-grid input:nth-child(3) {
    grid-column: auto;
  }

  .tab-bar,
  .header-actions {
    width: 100%;
  }

  .nav-row {
    overflow-x: auto;
  }

  .tab-bar {
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .nav-tab {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1000px);
  }

  .top-banner {
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-card h1 {
    font-size: 36px;
  }

  .feature-card strong {
    font-size: 30px;
  }

  .price-row strong {
    font-size: 26px;
  }

  .price-row span {
    font-size: 18px;
  }

  .account-menu {
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 24px));
  }

  .floating-zalo {
    right: 12px;
    bottom: 12px;
    width: 64px;
    height: 64px;
    left: auto;
  }
}

/* ---- Bidaithanroblox Grid UI ---- */
.bdt-grid-section {
  padding: 30px 0;
  background: transparent;
}
.bdt-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ea3a3d;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.bdt-section-title h2 {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0;
  color: #333;
}
.bdt-section-title .bdt-view-all {
  background: #ea3a3d;
  color: white;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.bdt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
@media (max-width: 900px) { .bdt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .bdt-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.bdt-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
}
.bdt-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.12); }

.bdt-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #eaeaea;
  overflow: hidden;
}
.bdt-thumb img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bdt-card:hover .bdt-thumb img {
  transform: scale(1.1);
}

.bdt-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  z-index: 2;
  padding: 15px;
  pointer-events: none;
}

/* Promo Modal */
.promo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo-modal-content {
  position: relative;
  width: min(500px, 100%);
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  animation: promoModalIn 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes promoModalIn {
  from { transform: translateY(40px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.promo-modal-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.promo-modal-header h2 {
  margin: 0;
  font-size: 18px;
  color: #ea3a3d;
  font-family: var(--display-font);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}
.promo-close-icon {
  background: #f5f5f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  transition: all 0.2s;
}
.promo-close-icon:hover {
  background: #eee;
  color: #333;
  transform: rotate(90deg);
}
.promo-modal-body {
  background: #fff;
}
.promo-modal-body img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.promo-modal-footer {
  padding: 20px 25px;
  text-align: center;
  background: white;
}
.promo-ok-btn {
  width: 100%;
  padding: 16px;
  background: #ea3a3d;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(234, 58, 61, 0.3);
  transition: all 0.3s;
  font-family: var(--display-font);
}
.promo-ok-btn:hover {
  transform: translateY(-3px);
  background: #d63031;
  box-shadow: 0 12px 25px rgba(234, 58, 61, 0.4);
}

.bdt-thumb-title-styled {
  font-family: 'Luckiest Guy', cursive;
  font-size: 32px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.9;
  letter-spacing: 0.5px;
  /* Thick multi-layer outline effect */
  text-shadow: 
    -2px -2px 0 #fff,  
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
    /* Black outer border */
    -4px -4px 0 #000,  
     4px -4px 0 #000,
    -4px  4px 0 #000,
     4px  4px 0 #000,
    /* 3D depth shadow */
    0px 8px 15px rgba(0, 0, 0, 0.6);
  
  transform: perspective(400px) rotateX(10deg) skew(-2deg);
  background: linear-gradient(180deg, #ffeb3b 0%, #ff9800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 152, 0, 0.4));
  width: 100%;
  max-width: 95%;
  word-wrap: break-word;
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 5;
}

/* ── ACCOUNT SIDEBAR ── */
.acc-sidebar-wrap {
  background: white;
  border-radius: 16px;
  border: 1px solid #eee;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.acc-profile-head {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  border-bottom: 1px solid #eee;
}
.acc-avatar { width: 52px; height: 52px; border-radius: 50%; border: 3px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
#profileName { display: block; font-size: 16px; font-weight: 800; color: #1a1a2e; }
#profileId { font-size: 12px; color: #ea3333; font-weight: 700; }

.acc-menu-list { padding: 8px 0; }
.menu-group {
  padding: 12px 20px 6px;
  font-size: 11px;
  font-weight: 800;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.acc-sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
  text-align: left;
  transition: all 0.2s;
}
.acc-sidebar-btn span { font-size: 17px; filter: grayscale(1); }
.acc-sidebar-btn:hover { background: #f9f9f9; padding-left: 24px; }
.acc-sidebar-btn.sidebar-active {
  background: var(--accent) !important;
  color: white !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(234, 51, 51, 0.2);
}
.acc-sidebar-btn.sidebar-active span { filter: grayscale(0); }

/* ── SERVICE GROUPED TABLE ── */
.service-table-container { padding: 20px; }
.svc-table-title { margin-top: 0; font-size: 18px; color: var(--accent); text-align: center; margin-bottom: 20px; font-family: var(--display-font); }
.service-grouped-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-col { background: #fcfcfc; border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.col-header { background: #f1f1f1; padding: 10px; font-size: 13px; font-weight: 800; text-align: center; border-bottom: 1px solid #eee; color: #333; }
.svc-row {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  padding: 14px;
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  margin: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.svc-row:hover {
  border-color: var(--accent);
  background: #fffafa;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(234, 51, 51, 0.08);
}

.svc-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.svc-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.svc-info span {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
}

.svc-info b {
  font-size: 13px;
  font-weight: 600;
  color: #ea3333;
  margin-top: 1px;
}

.svc-row:has(input:checked) {
  border-color: var(--accent);
  border-width: 1.5px;
  background: #fff5f5;
}

.svc-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 10px 15px;
  background: white;
  border-top: 1.5px solid #f0f0f0;
}
.footer-label { font-weight: 800; color: #333; font-size: 15px; }
.footer-val { font-size: 28px; color: #ea3333; font-weight: 900; font-family: var(--display-font); }

@media (max-width: 900px) {
  .service-grouped-grid { grid-template-columns: 1fr; }
}

.bdt-card:hover .bdt-thumb-title-styled {
  transform: perspective(400px) rotateX(15deg) skew(-3deg) scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 152, 0, 0.6));
}

.bdt-thumb-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ea3a3d;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 3;
}

.role-badge { background: #ea3a3d; color: white; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; margin-left: 8px; text-transform: uppercase; }

/* PROMO MODAL */
.promo-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 20000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(5px);
  padding: 20px;
}
.promo-modal-content {
  background: white;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: promoSlideIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes promoSlideIn {
  from { transform: translateY(30px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.promo-modal-header {
  padding: 15px 20px;
  background: linear-gradient(90deg, #ea3a3d, #ff5e3a);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.promo-modal-header h2 { margin: 0; font-size: 18px; font-weight: 800; }
.promo-close-icon {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.promo-close-icon:hover { background: rgba(255,255,255,0.4); }
.promo-modal-body { padding: 0; line-height: 0; }
.promo-modal-body img { width: 100%; display: block; }
.promo-modal-footer { padding: 20px; text-align: center; }
.promo-ok-btn {
  background: #ea3a3d;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 15px rgba(234, 58, 61, 0.3);
  transition: transform 0.2s, background 0.2s;
}
.promo-ok-btn:hover { background: #d32f2f; transform: translateY(-2px); }
.promo-ok-btn:active { transform: translateY(0); }

.bdt-thumb-fruit {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.bdt-thumb-robux {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.bdt-stats {
  display: none !important;
}

.bdt-info { padding: 12px; }
.bdt-info h3 {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
  line-height: 1.4;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bdt-desc { margin: 0; font-size: 13px; color: #e74c3c; font-weight: 500; }
.bdt-price-row {
  margin-top: 8px; display: flex; align-items: center; gap: 8px;
}
.bdt-price-current {
  color: #e74c3c; font-weight: bold; font-size: 16px;
}
.bdt-price-old {
  color: #999; font-size: 12px; text-decoration: line-through;
}

@keyframes blink {
  0% { opacity: 1; text-shadow: 0 0 5px rgba(234, 58, 61, 0.3); }
  50% { opacity: 0.4; text-shadow: none; }
  100% { opacity: 1; text-shadow: 0 0 5px rgba(234, 58, 61, 0.3); }
}
/* Service Order Item Styles */
.service-order-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 8px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-order-item:hover {
  background: #e9ecef;
  border-color: #ea3a3d;
}

.service-order-item input[type="checkbox"] {
  margin-right: 12px;
  transform: scale(1.2);
}

.service-order-item span {
  flex: 1;
  font-weight: 500;
  color: #333;
}

.service-order-item b {
  color: #ea3a3d;
  font-weight: 600;
  font-size: 14px;
}

.service-scroll-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.service-scroll-list::-webkit-scrollbar {
  width: 6px;
}

.service-scroll-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.service-scroll-list::-webkit-scrollbar-thumb {
  background: #ea3a3d;
  border-radius: 3px;
}

.service-scroll-list::-webkit-scrollbar-thumb:hover {
  background: #d63031;
}

.step-total {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-stack .full-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-stack .full-row span {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.form-stack input,
.form-stack textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-stack input:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: #ea3a3d;
  box-shadow: 0 0 0 3px rgba(234, 58, 61, 0.1);
}

.primary-action {
  background: #ea3a3d;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.primary-action:hover {
  background: #d63031;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 58, 61, 0.3);
}

.primary-action:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .service-order-item {
    padding: 10px 12px;
  }
  
  .service-order-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.1);
  }
  
  .service-order-item b {
    font-size: 13px;
  }
}

/* Pagination Styles */
.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--body-font);
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 14px;
}

.pagination-btn:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pagination-btn.active {
  background: #ea3a3d;
  color: white;
  border-color: #ea3a3d;
  box-shadow: 0 4px 12px rgba(234, 58, 61, 0.3);
}

.pagination-btn.active:hover {
  background: #d63031;
  border-color: #d63031;
}

@media (max-width: 600px) {
  .pagination-controls {
    gap: 8px;
  }
  
  .pagination-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ============================================================
   FEATURE CARDS - CUSTOM BACKGROUNDS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  position: relative;
  height: 200px;
  border-radius: 18px;
  border: none !important;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.feature-card strong {
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 800;
  color: white;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 5px;
  line-height: 1.2;
}

.feature-card small {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Specific Styles with unique backgrounds */
.service-style {
  background-image: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%), url('cay_thue_blox_fruit_new.png');
}

.wheel-style {
  background: linear-gradient(to top, rgba(0,10,40,0.85) 0%, rgba(0,10,40,0.1) 60%), url('vong_quay_banner_new.jpg') center / cover no-repeat !important;
}

.support-style {
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 65%), url('ho_tro_banner_new.jpg') center top / cover no-repeat !important;
}

.topup-style {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%), url('nap_the_banner_new.jpg') center / cover no-repeat !important;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.topup-style strong {
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.account-style {
  background-image: linear-gradient(to top, rgba(0,30,0,0.85) 0%, rgba(0,30,0,0.1) 60%), url('robux_vng_banner.png');
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

.wheel-result-container {
  position: relative;
  width: min(500px, 100%);
  padding: 40px 20px 30px;
  background: radial-gradient(circle, #ff4c4c, #990000);
  border: 4px solid #f9ca24;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,0,0,0.5), inset 0 0 60px rgba(0,0,0,0.3);
  overflow: hidden;
}

.wheel-result-container::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0, rgba(255,255,255,0.1) 10deg, transparent 20deg);
  background-repeat: repeat;
  background-size: 10% 100%;
  animation: rotateRays 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateRays {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.wheel-result-header h2 {
  color: white;
  font-family: var(--display-font);
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 25px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  letter-spacing: 2px;
}

.wheel-result-body {
  position: relative;
  background: #ffecd2;
  margin: 0 10px;
  border-radius: 12px;
  padding: 42px 20px;
  border: 2px dashed #b5838d;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
}

.ticket-cutout {
  position: absolute;
  left: 50%;
  width: 40px;
  height: 20px;
  background: #990000;
  transform: translateX(-50%);
  z-index: 5;
}
.ticket-cutout.top { top: -11px; border-radius: 0 0 20px 20px; }
.ticket-cutout.bottom { bottom: -11px; border-radius: 20px 20px 0 0; }

#wheelResultModalText {
  color: #4a4a4a;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
}

.result-ok-btn {
  background: #7d5fff;
  color: white;
  border: none;
  padding: 12px 50px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 5px 0 #4834d4;
}

.result-ok-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.result-ok-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #4834d4;
}

/* Robux VNG Custom Layout */
.vng-step-title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 25px 0 15px;
}
.vng-packages-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vng-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  background: #f4f6f8;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.vng-item:hover { background: #edf1f4; }
.vng-item.selected {
  background: #fff;
  border-color: #2d68ed;
  box-shadow: 0 4px 15px rgba(45, 104, 237, 0.1);
}
.vng-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: white;
}
.vng-item.selected .vng-checkbox {
  background: #2d68ed;
  border-color: #2d68ed;
}
.vng-checkbox::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: 900;
  display: none;
}
.vng-item.selected .vng-checkbox::after { display: block; }
.vng-info { display: flex; flex-direction: column; gap: 2px; }
.vng-info span { font-size: 15px; font-weight: 700; color: #333; }
.vng-info b { font-size: 14px; color: #ea3333; font-weight: 800; }
.vng-total-box { margin-top: 25px; padding-top: 20px; border-top: 1px dashed #ddd; }
.vng-total-label { font-size: 13px; font-weight: 800; color: #666; text-transform: uppercase; }
.vng-total-value { font-size: 28px; font-weight: 900; color: #ea3333; margin-top: 5px; }
.vng-form-box { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.vng-field { display: flex; flex-direction: column; gap: 8px; }
.vng-field label { font-size: 14px; font-weight: 800; color: #333; }
.vng-field input { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.vng-field input:focus { border-color: #ea3333; outline: none; }


.result-gift-box {
  position: absolute;
  bottom: 0px;
  left: 10px;
  font-size: 50px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
  z-index: 10;
}

.result-confetti {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 30px;
}

/* ---------- Modal: túi mù (reveal account) ---------- */
@keyframes revealAccountIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealIconGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45), 0 18px 40px rgba(34, 197, 94, 0.28);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0), 0 22px 48px rgba(34, 197, 94, 0.35);
  }
}

.reveal-account-overlay {
  position: fixed;
  inset: 0;
  z-index: 20004;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(234, 51, 51, 0.18), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 100%, rgba(99, 102, 241, 0.12), transparent 45%),
    rgba(12, 18, 28, 0.82);
  backdrop-filter: blur(14px);
}

.reveal-account-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.reveal-account-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #fff 100%);
  border-radius: 28px;
  padding: 36px 32px 30px;
  padding-top: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 4px 0 rgba(234, 51, 51, 0.1),
    0 36px 72px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(226, 232, 240, 0.95);
  animation: revealAccountIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-account-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #fb7185, #ea3333, #f97316, #ea3333, #a855f7);
  background-size: 200% 100%;
  animation: revealTopbarShift 4s ease-in-out infinite;
}

@keyframes revealTopbarShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.reveal-success-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #b45309;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  margin-bottom: 18px;
}

/* Modal mở túi: túi rung/lơ + nắp bật → nhân vật Blox Fruits */
.reveal-blox-stage {
  margin: 0 auto 6px;
  padding: 4px 0 0;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.reveal-mystery-bag {
  position: relative;
  width: 132px;
  height: 158px;
  margin: 0 auto;
  perspective: 560px;
  transform-style: preserve-3d;
  animation: revealBagIdle 2.6s ease-in-out infinite;
}

.reveal-mystery-bag__character {
  position: absolute;
  left: 50%;
  bottom: 14%;
  z-index: 2;
  width: 104px;
  height: 104px;
  margin-left: -52px;
  opacity: 0;
  transform: scale(0.45) translateY(12px);
}

.reveal-mystery-bag__character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.reveal-blox-stage--play .reveal-mystery-bag__character {
  animation: revealBloxCharPop 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.reveal-mystery-bag__body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 76px;
  background: linear-gradient(165deg, #fb7185 0%, #ea3333 55%, #b91c1c 100%);
  border-radius: 0 0 22px 22px;
  box-shadow:
    0 22px 44px rgba(234, 51, 51, 0.42),
    inset 0 -6px 0 rgba(0, 0, 0, 0.12);
  z-index: 1;
  overflow: hidden;
}

.reveal-mystery-bag__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    rgba(255, 255, 255, 0.12) 52%,
    transparent 65%
  );
  animation: revealBagShine 3.2s ease-in-out infinite;
}

.reveal-mystery-bag__lid {
  position: absolute;
  bottom: 68px;
  left: 50%;
  margin-left: -54px;
  width: 108px;
  height: 48px;
  background: linear-gradient(180deg, #fecdd3 0%, #fb7185 45%, #f43f5e 100%);
  border-radius: 22px 22px 10px 10px;
  z-index: 3;
  transform-origin: 50% 100%;
  transform: translateZ(2px);
  box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.08) inset;
  backface-visibility: hidden;
}

.reveal-blox-stage--play .reveal-mystery-bag__lid {
  animation: revealBloxLidOpen 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.reveal-blox-caption {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #64748b;
}

@keyframes revealBagIdle {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes revealBagShine {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-12%);
  }
  50% {
    opacity: 0.85;
    transform: translateX(12%);
  }
}

@keyframes revealBloxLidOpen {
  0% {
    transform: translateZ(2px) rotateX(0deg);
  }
  100% {
    transform: translateZ(2px) rotateX(-118deg) translateY(-14px);
  }
}

@keyframes revealBloxCharPop {
  0% {
    opacity: 0;
    transform: scale(0.45) translateY(18px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(-6px);
  }
}

.reveal-blox-stage + .reveal-account-icon {
  margin-top: 8px;
}

/* Chi tiết túi mù: lưới 8 ô */
.small-bag-item {
  background: #fcfcfc;
  border: 2px solid #f0f0f0;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.small-bag-item.is-selected {
  border-color: #ea3333;
  background: #fff8f8;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(234, 51, 51, 0.12);
}

.small-bag-item__label {
  margin-top: 10px;
  font-weight: 900;
  color: #888;
  font-size: 12px;
  font-family: 'Outfit', var(--display-font, 'Quicksand'), sans-serif;
}

.mystery-bag-mini {
  position: relative;
  width: 100%;
  max-width: 72px;
  margin: 0 auto;
  min-height: 68px;
}

.mystery-bag-mini__character {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.38;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mystery-bag-mini__character img {
  width: 88%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.mystery-bag-mini__bag {
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: mysteryBagFloat 2.8s ease-in-out infinite;
}

.mystery-bag-mini__bag img {
  width: 100%;
  max-width: 65px;
  margin: 0 auto;
  display: block;
}

.small-bag-item.is-selected .mystery-bag-mini__bag {
  transform: translateY(-22%) scale(0.92);
  opacity: 0.82;
}

.small-bag-item.is-selected .mystery-bag-mini__character {
  opacity: 1;
  transform: scale(1.06);
}

.bag-selected-icon {
  display: none;
  position: absolute;
  top: -8px;
  right: -8px;
  background: #2ecc71;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 8px rgba(46, 204, 113, 0.35);
  border: 2px solid #fff;
}

/* ---------- Minigame túi mù (phong cách shopgbtv.com/minigame) ---------- */
.minigame-gbtv {
  position: relative;
  width: 100%;
  margin: 0 auto 8px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 0 rgba(180, 30, 30, 0.35),
    0 24px 48px rgba(15, 23, 42, 0.18);
}

.minigame-gbtv__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% -30%, rgba(255, 220, 120, 0.45), transparent 55%),
    linear-gradient(165deg, #1a0a0a 0%, #2d1212 35%, #4a1518 70%, #1f0d0d 100%);
  pointer-events: none;
}

.minigame-gbtv__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.5;
}

.minigame-gbtv__inner {
  position: relative;
  z-index: 1;
  padding: 26px 20px 24px;
}

.minigame-gbtv__head {
  text-align: center;
  margin-bottom: 18px;
}

.minigame-gbtv__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(254, 215, 170, 0.95);
  margin-bottom: 8px;
}

.minigame-gbtv__title {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.minigame-gbtv__price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fde68a;
}

.minigame-gbtv__price strong {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fef08a;
}

.minigame-gbtv__bags-scroll {
  overflow-x: visible;
  overflow-y: visible;
  padding: 10px 0 18px;
  margin: 0;
}

.minigame-gbtv__bags {
  padding: 4px 0 8px;
}

/* Lưới 8 ô: mobile 4×2 — desktop 5 + 3 (hàng 2 căn giữa) */
.minigame-gbtv__bags--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  justify-items: center;
}

@media (max-width: 480px) {
  .minigame-gbtv__bags--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .minigame-gbtv .small-bag-item.gbtv-lixi {
    max-width: none;
  }
}

@media (min-width: 720px) {
  .minigame-gbtv__bags--grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 16px;
    max-width: 920px;
  }

  .minigame-gbtv__bags--grid .lixi-bag-slot:nth-child(6) {
    grid-column: 2;
  }

  .minigame-gbtv__bags--grid .lixi-bag-slot:nth-child(7) {
    grid-column: 3;
  }

  .minigame-gbtv__bags--grid .lixi-bag-slot:nth-child(8) {
    grid-column: 4;
  }
}

.lixi-bag-slot {
  flex: 0 0 auto;
  animation: lixiSlotIn 0.55s ease backwards;
}

@keyframes lixiSlotIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Nút đỏ trùng trong form — chỉ dùng cho JS .click(), không hiển thị */
#detailStaticFields {
  position: relative;
}

#detailStaticFields .primary-action.bag-buy-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.minigame-gbtv .small-bag-item.gbtv-lixi {
  width: 100%;
  max-width: 168px;
  padding: 0 4px 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.minigame-gbtv .small-bag-item.gbtv-lixi.is-selected {
  transform: none;
  box-shadow: none;
}

/* Khung ảnh vuông + ? giữa (giống mẫu) */
.gbtv-bag-thumb {
  position: relative;
  width: 100%;
}

.gbtv-bag-thumb__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid #ea580c;
  overflow: hidden;
  background: #1c1917;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.25s ease,
    box-shadow 0.28s ease;
}

.gbtv-bag-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gbtv-bag-thumb__qm {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(40px, 32%, 56px);
  height: clamp(40px, 32%, 56px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #f59e0b;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 2;
}

.minigame-gbtv .small-bag-item.is-selected .gbtv-bag-thumb__frame {
  transform: scale(1.1);
  border-color: #fde047;
  box-shadow:
    0 0 0 3px rgba(250, 204, 21, 0.65),
    0 14px 32px rgba(250, 204, 21, 0.35);
}

.minigame-gbtv .small-bag-item.is-selected .gbtv-bag-thumb__qm {
  background: rgba(255, 255, 255, 0.95);
  color: #eab308;
}

.minigame-gbtv .small-bag-item__label {
  margin-top: 10px;
  color: rgba(254, 243, 199, 0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.minigame-gbtv .bag-selected-icon {
  top: -4px;
  right: -2px;
  width: 26px;
  height: 26px;
  font-size: 13px;
  z-index: 4;
}

.minigame-gbtv__actions {
  display: flex;
  gap: 14px;
  justify-content: stretch;
  align-items: stretch;
  margin-top: 8px;
  padding: 0 4px;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.minigame-gbtv__btn {
  flex: 1;
  max-width: none;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s, filter 0.2s;
}

.minigame-gbtv__btn--history {
  background: rgba(255, 255, 255, 0.12);
  color: #fef3c7;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.minigame-gbtv__btn--history:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.minigame-gbtv__btn--buy {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 40%, #d97706 100%);
  color: #1c1917;
  box-shadow:
    0 4px 0 #b45309,
    0 12px 28px rgba(245, 158, 11, 0.45);
}

.minigame-gbtv__btn--buy:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.minigame-gbtv__btn--buy:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #b45309;
}

.minigame-gbtv__hint {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(253, 230, 138, 0.75);
  text-align: center;
  line-height: 1.45;
}

.minigame-gbtv__hint strong {
  color: #fde047;
}

#productHistorySection.bag-history-highlight {
  animation: bagHistoryPulse 1.2s ease;
}

@keyframes bagHistoryPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(234, 51, 51, 0);
  }
  35% {
    box-shadow: 0 0 0 4px rgba(234, 51, 51, 0.35);
  }
}

@media (min-width: 720px) {
  .minigame-gbtv .small-bag-item.gbtv-lixi {
    max-width: 176px;
  }
}

.reveal-account-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #4ade80 0%, #22c55e 45%, #15803d 100%);
  color: #fff;
  animation: revealIconGlow 2.4s ease-in-out infinite;
  position: relative;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.95),
    0 0 0 7px rgba(34, 197, 94, 0.25);
}

.reveal-account-icon::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(34, 197, 94, 0.35);
  animation: revealRingSpin 12s linear infinite;
  pointer-events: none;
}

@keyframes revealRingSpin {
  to {
    transform: rotate(360deg);
  }
}

.reveal-account-icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal-account-title {
  margin: 0 0 8px;
  color: #0f172a;
  font-weight: 900;
  font-size: clamp(26px, 5vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.reveal-account-sub {
  margin: 0 0 28px;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.reveal-account-fields {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px 18px;
  margin-bottom: 22px;
  text-align: left;
}

.reveal-field {
  margin-bottom: 18px;
}

.reveal-field:last-of-type {
  margin-bottom: 0;
}

.reveal-field-label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.reveal-field-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.reveal-field-value {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  font-size: 17px;
  font-family: var(--display-font, 'Outfit', system-ui, sans-serif);
  word-break: break-all;
}

.reveal-field-value--user {
  color: #ea3333;
}

.reveal-field-value--pass {
  color: #1e293b;
}

.reveal-copy-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}

.reveal-copy-btn--accent {
  background: #ea3333;
  color: #fff;
}

.reveal-copy-btn--dark {
  background: #1e293b;
  color: #fff;
}

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

.copy-btn--done,
.reveal-copy-btn.copy-btn--done {
  background: #16a34a !important;
  color: #fff !important;
}

.reveal-extra-box {
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 14px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.reveal-extra-box .reveal-field-label {
  color: #e11d48;
  margin-bottom: 6px;
}

.reveal-extra-text {
  color: #be123c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.reveal-account-actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
}

.reveal-btn-primary {
  padding: 16px 14px;
  background: linear-gradient(180deg, #f43f5e, #ea3333);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(234, 51, 51, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s;
}

.reveal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 51, 51, 0.4);
}

.reveal-btn-primary--history {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.reveal-btn-primary__icon {
  font-size: 16px;
  line-height: 1;
}

.reveal-btn-secondary {
  padding: 16px 14px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.reveal-btn-secondary:hover {
  background: #e2e8f0;
}

.reveal-account-footnote {
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.35;
}

.reveal-account-footnote::before {
  content: '⚠';
  font-size: 16px;
  filter: grayscale(0.2);
}

@media (max-width: 480px) {
  .reveal-account-card {
    padding: 32px 20px 24px;
    border-radius: 22px;
  }
  .reveal-account-actions {
    grid-template-columns: 1fr;
  }
}

/* ---------- Lịch sử mua (Tài khoản đã mua) ---------- */
.purchase-history-panel-wrap {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.purchase-history-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7;
}

.purchase-history-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.purchase-history-lead {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.5;
  max-width: 520px;
}

.purchase-history-empty {
  text-align: center;
  padding: 48px 20px;
  color: #94a3b8;
  font-weight: 600;
}

.purchase-history-empty-icon {
  font-size: 52px;
  margin-bottom: 12px;
  opacity: 0.85;
}

.purchase-table-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 104px 118px 88px;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
}

.purchase-tx-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purchase-tx-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 104px 118px 88px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 14px 14px;
  text-align: left;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  font: inherit;
  color: inherit;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.purchase-tx-row:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 51, 51, 0.35);
  box-shadow: 0 10px 28px rgba(234, 51, 51, 0.12);
}

.purchase-tx-row.is-selected {
  border-color: #ea3333;
  box-shadow: 0 0 0 2px rgba(234, 51, 51, 0.2);
  background: linear-gradient(180deg, #fff5f5 0%, #fff 100%);
}

.purchase-tx-row__id {
  font-weight: 900;
  color: #64748b;
  font-size: 13px;
}

.purchase-tx-row__title {
  font-weight: 800;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.purchase-tx-row__price {
  font-weight: 900;
  color: #ea3333;
  font-size: 14px;
}

.purchase-tx-row__hint {
  font-size: 12px;
  font-weight: 800;
  color: #ea3333;
  text-align: right;
}

.purchase-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.purchase-badge--paid {
  background: #dcfce7;
  color: #166534;
}

.purchase-badge--pending {
  background: #ffedd5;
  color: #9a3412;
}

.purchase-badge--fail {
  background: #fee2e2;
  color: #991b1b;
}

.purchase-history-detail {
  margin-top: 22px;
}

.purchase-detail-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  animation: revealAccountIn 0.35s ease both;
}

.purchase-detail-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px 16px;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border-bottom: 1px solid #eef2f7;
}

.purchase-detail-id {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: #94a3b8;
  margin-bottom: 6px;
}

.purchase-detail-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
}

.purchase-detail-date {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.purchase-detail-card__body {
  padding: 18px 20px 20px;
}

.purchase-detail-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

.purchase-detail-price-row strong {
  font-size: 18px;
  color: #ea3333;
}

.purchase-detail-creds {
  margin-top: 4px;
}

.purchase-detail-creds__label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 14px 0 8px;
}

.purchase-detail-creds__label:first-child {
  margin-top: 0;
}

.purchase-detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.purchase-detail-code {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  word-break: break-all;
  color: #1e293b;
}

.purchase-detail-code--user {
  color: #ea3333;
}

.purchase-detail-meta {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
}

.purchase-detail-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #b45309;
  line-height: 1.45;
}

.purchase-detail-close {
  width: 100%;
  margin: 0;
  padding: 14px;
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.purchase-detail-close:hover {
  background: #e2e8f0;
}

@media (max-width: 720px) {
  .purchase-table-head {
    display: none;
  }

  .purchase-tx-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .purchase-tx-row__hint {
    text-align: left;
    color: #64748b;
    font-size: 11px;
  }

  .purchase-tx-row .purchase-badge {
    justify-self: flex-start;
  }
}

/* ---------- Trái Ác Quỷ Rương (lưới thẻ) ---------- */
.fruit-chest-hero {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  padding: 18px 20px 20px;
  margin-bottom: 18px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.fruit-chest-tag {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.fruit-chest-title {
  margin: 0 0 14px;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 900;
  color: #ea3333;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fruit-chest-notice {
  background: #fffafa;
  border: 1px solid #ffe4e4;
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 4px solid #ea3333;
}

.fruit-chest-notice-line {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  line-height: 1.45;
}

.fruit-chest-notice-line:last-child {
  margin-bottom: 0;
}

.fruit-chest-red {
  color: #ea3333;
}

.fruit-chest-order {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fruit-chest-step {
  background: #fafbfc;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 18px 16px 20px;
}

.fruit-chest-step-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 900;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fruit-chest-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ea3333;
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fruit-chest-scroll {
  max-height: min(70vh, 720px);
  overflow: auto;
  padding-right: 6px;
  margin: 0 -4px;
}

.fruit-chest-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 1100px) {
  .fruit-chest-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .fruit-chest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .fruit-chest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.fruit-chest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 10px 10px 12px;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  min-height: 100%;
}

.fruit-chest-card:hover {
  border-color: rgba(234, 51, 51, 0.35);
  box-shadow: 0 8px 22px rgba(234, 51, 51, 0.1);
  transform: translateY(-2px);
}

.fruit-chest-card:has(.fruit-chest-cb:checked) {
  border-color: #ea3333;
  box-shadow: 0 0 0 2px rgba(234, 51, 51, 0.18);
}

.fruit-chest-cb {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.fruit-chest-card__img-wrap {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  margin-bottom: 8px;
}

.fruit-chest-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fruit-chest-card__name {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 8px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fruit-chest-card__sep {
  display: block;
  border-top: 1px dotted #cbd5e1;
  margin: 0 0 6px;
}

.fruit-chest-card__price {
  font-size: 13px;
  font-weight: 900;
  color: #ea3333;
}

.fruit-chest-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  font-weight: 800;
  color: #64748b;
}

.fruit-chest-total-row strong {
  font-size: 22px;
  color: #ea3333;
}

.fruit-chest-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .fruit-chest-fields {
    grid-template-columns: 1fr;
  }
}

.fruit-chest-fields input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  box-sizing: border-box;
}

.fruit-chest-submit {
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #f43f5e, #ea3333);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(234, 51, 51, 0.35);
  transition: transform 0.15s ease, filter 0.2s ease;
}

.fruit-chest-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.fruit-chest-hint {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin: 10px 0 0;
}

/* ---------- Thông báo (profile) ---------- */
.notify-panel-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8ecf1;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
}

.notify-panel-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.notify-panel-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.notify-panel-lead {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
  max-width: 420px;
}

.notify-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notify-empty {
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border: 1px dashed #e2e8f0;
}

.notify-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(234, 51, 51, 0.12);
  border: 1px solid #fecaca;
}

.notify-empty-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: #334155;
}

.notify-empty-text {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 320px;
  margin-inline: auto;
}

/* ---------- Lịch sử quay (card + chip) ---------- */
.spin-history-panel-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8ecf1;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
}

.spin-history-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.spin-history-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
}

.spin-history-lead {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
  max-width: 480px;
}

.spin-history-root {
  min-height: 0;
}

.spin-history-empty {
  text-align: center;
  padding: 40px 16px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 14px;
}

.spin-history-empty--compact {
  padding: 20px 12px;
  font-size: 13px;
}

.spin-history-empty-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
  opacity: 0.9;
}

.spin-history-empty--compact .spin-history-empty-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.spin-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spin-history-list--compact {
  gap: 8px;
}

.spin-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e8ecf1;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.spin-card:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 51, 51, 0.25);
  box-shadow: 0 12px 28px rgba(234, 51, 51, 0.1);
}

.spin-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(145deg, #fff5f5, #ffe4e6);
  border: 1px solid #fecdd3;
}

.spin-card__body {
  min-width: 0;
}

.spin-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.spin-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 100%;
  word-break: break-word;
}

.spin-chip--sm {
  padding: 4px 8px;
  font-size: 11px;
}

.spin-chip--win {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.spin-chip--miss {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.spin-chip--plain {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.spin-card__time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.spin-card__reward {
  text-align: right;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  border: 1px solid #6ee7b7;
  min-width: 88px;
}

.spin-card__reward-num {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #047857;
  line-height: 1.1;
  font-family: var(--display-font, system-ui, sans-serif);
}

.spin-card__reward-unit {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.06em;
}

.spin-card--compact {
  grid-template-columns: 1fr auto;
  padding: 12px 14px;
  gap: 10px;
}

.spin-card--compact .spin-card__icon {
  display: none;
}

.spin-card__reward--sm {
  padding: 8px 10px;
  min-width: 72px;
}

.spin-card__reward--sm .spin-card__reward-num {
  font-size: 15px;
}

.wheel-history-aside-head {
  margin-bottom: 12px;
}

.wheel-history-aside-title {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 900;
  color: #1e293b;
}

.wheel-history-scroll {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.wheel-history-scroll::-webkit-scrollbar {
  width: 6px;
}
.wheel-history-scroll::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 99px;
}

/* ---------- Admin: đơn Robux VIP / rút vật phẩm ---------- */
.admin-tab-head.admin-tab-head--inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.admin-tab-head.admin-tab-head--inline h3 {
  margin: 0 0 2px;
  font-size: 17px;
}

.admin-tab-sub {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
  max-width: 520px;
}

.section-tag--vip {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.25);
  letter-spacing: 0.08em;
}

.admin-withdraw-shell {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8ecf1;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.admin-withdraw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-withdraw-table thead {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.admin-withdraw-table th {
  padding: 8px 10px;
  text-align: left;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}

.admin-withdraw-table td {
  padding: 8px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.admin-wd-row:last-child td {
  border-bottom: none;
}

.admin-wd-row:hover td {
  background: #fafbfc;
}

.admin-wd-id {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 12px;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.admin-wd-user {
  font-weight: 900;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.25;
}

.admin-wd-sub {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 2px;
}

.admin-wd-rb {
  font-size: 14px;
  font-weight: 900;
  color: #059669;
  font-family: var(--display-font, system-ui, sans-serif);
  line-height: 1.2;
}

.admin-wd-rb-unit {
  font-size: 10px;
  font-weight: 800;
  color: #10b981;
  margin-left: 2px;
}

.admin-wd-roblox {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  line-height: 1.25;
}

.admin-wd-roblox strong {
  font-weight: 900;
}

.admin-wd-method {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.admin-wd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-wd-btn {
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-wd-btn--ok {
  background: linear-gradient(180deg, #34d399, #10b981);
  color: #fff;
  box-shadow: 0 3px 0 #047857;
}

.admin-wd-btn--no {
  background: linear-gradient(180deg, #fb7185, #ef4444);
  color: #fff;
  box-shadow: 0 3px 0 #b91c1c;
}

.admin-wd-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.admin-wd-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.admin-wd-empty {
  text-align: center;
  padding: 28px 16px;
  font-weight: 700;
  color: #94a3b8;
  font-size: 14px;
}

.admin-wd-empty-row td {
  border: none !important;
  padding: 0 !important;
}

@media (max-width: 960px) {
  .admin-withdraw-table thead {
    display: none;
  }

  .admin-wd-row {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  }

  .admin-wd-row:hover td {
    background: transparent;
  }

  .admin-wd-row td {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 6px 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
  }

  .admin-wd-row td:last-child {
    border-bottom: none;
  }

  .admin-wd-row td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
  }

  .admin-wd-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .spin-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .spin-card__icon {
    display: none;
  }

  .spin-card__reward {
    text-align: left;
    justify-self: stretch;
  }
}

/* ---------- Lịch sử nạp (gọn) ---------- */
.topup-history-panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8ecf1;
  padding: 18px 18px 20px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.topup-history-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}

.topup-h-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topup-h-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #eceff3;
  border-radius: 10px;
  background: #fafbfc;
}

.topup-h-left {
  min-width: 0;
}

.topup-h-type {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #d97706;
  line-height: 1.2;
}

.topup-h-time {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1.2;
}

.topup-h-seri {
  margin-top: 4px;
  font-size: 11px;
  color: #475569;
  line-height: 1.3;
}

.topup-h-seri strong {
  font-weight: 800;
  color: #1e293b;
}

.topup-h-right {
  text-align: right;
  flex-shrink: 0;
}

.topup-h-badge {
  display: inline-block;
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.topup-h-amt {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 4px;
}

.topup-h-amt--up {
  color: #059669;
}

.topup-h-amt--down {
  color: #d97706;
}

.topup-h-empty {
  text-align: center;
  padding: 32px 12px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
}

.topup-h-empty-icon {
  display: block;
  font-size: 40px;
  margin-bottom: 8px;
}

/* ---------- Admin: bảng sản phẩm / túi mù (gọn) ---------- */
.admin-prod-shell {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.admin-prod-scroll {
  overflow-x: auto;
}

.admin-prod-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-prod-table thead tr {
  text-align: left;
  border-bottom: 2px solid #f1f5f9;
  color: #64748b;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.admin-prod-table th {
  padding: 8px 8px 10px;
  font-weight: 900;
}

.admin-prod-th-act {
  text-align: right;
}

.admin-prod-row {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.admin-prod-row:hover {
  background: #fafbfc;
}

.admin-prod-td {
  padding: 8px 8px;
  vertical-align: middle;
}

.admin-prod-td--id {
  font-weight: 800;
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

.admin-prod-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8ecf1;
}

.admin-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-prod-td--title {
  font-weight: 800;
  color: #1e293b;
  font-size: 13px;
  line-height: 1.35;
  max-width: 220px;
}

.admin-prod-td--stock {
  white-space: nowrap;
}

.admin-prod-stock {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 10px;
}

.admin-prod-oos {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 900;
  color: #dc2626;
}

.admin-prod-td--price {
  font-weight: 900;
  color: #ea3333;
  font-size: 13px;
  white-space: nowrap;
}

.admin-prod-td--act {
  text-align: right;
}

.admin-prod-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.admin-prod-btn {
  border: none;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.12s ease,
    filter 0.15s ease;
}

.admin-prod-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.admin-prod-btn--acc {
  background: #f39c12;
  color: #fff;
  box-shadow: 0 2px 0 #c87f0a;
}

.admin-prod-btn--edit {
  background: #38bdf8;
  color: #fff;
  box-shadow: 0 2px 0 #0284c7;
}

.admin-prod-btn--del {
  background: #ea3333;
  color: #fff;
  box-shadow: 0 2px 0 #b91c1c;
}

.admin-prod-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Wheel result modal (polished) */
.wheel-result-overlay {
  position: fixed;
  inset: 0;
  z-index: 10005;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
}

.wheel-result-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #dc2626;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  position: relative;
}

.wheel-result-card__head {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff;
  text-align: center;
  padding: 16px 16px 14px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 3px dashed rgba(252, 211, 77, 0.85);
}

.wheel-result-card__body {
  padding: 28px 22px 26px;
  text-align: center;
}

#wheelResultText {
  font-size: 17px;
  font-weight: 700;
  color: #334155;
  margin: 0 0 22px;
  line-height: 1.55;
}

.wheel-result-card__emoji {
  position: absolute;
  bottom: -6px;
  font-size: 38px;
  opacity: 0.9;
  pointer-events: none;
}

.wheel-result-card__emoji--l {
  left: 12px;
}

.wheel-result-card__emoji--r {
  right: 12px;
}

/* Đảm bảo nút quay không bị lớp khác che */
.wheel-control-card .primary-action,
.wheel-control-card .ghost-btn,
.wheel-control-card select {
  position: relative;
  z-index: 2;
}
