:root {
  --primary-color: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #dbeafe;
  --accent-color: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  --text-color: #0f172a;
  --text-light: #475569;
  --text-lighter: #94a3b8;
  --bg-color: #f5f7fb;
  --bg-light: #ffffff;
  --dark: #0f172a;
  --border-color: #e2e8f0;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
  --section-space: 40px;
}

html {
  scroll-padding-top: 100px;
}

body {
  background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 55%, #f8fbff 100%) !important;
  background-image: none !important;
  color: var(--text-color);
}

main {
  min-height: 60vh;
}

.container {
  max-width: 1240px;
  padding: 0 20px;
}

.text {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.45rem;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav .container.row {
  min-height: 78px;
  gap: 18px;
}

.nav__logo {
  height: 54px !important;
  width: auto;
  object-fit: contain;
}

.nav__menu {
  gap: 6px;
}

.menu__item {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #334155;
}

.menu__item::after {
  display: none;
}

.menu__item:hover,
.menu__item.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-color);
}

.nav__action {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  flex-wrap: wrap;
}

.nav__balance,
.nav__user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: #0f172a;
  box-shadow: var(--shadow-sm);
  font-size: 1.4rem;
  font-weight: 600;
}

.balance-value {
  font-weight: 800;
  color: var(--primary-color);
}

.action__link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  border-width: 1px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.action__link--primary {
  background: linear-gradient(135deg, var(--primary-color), #2563eb) !important;
  border-color: transparent !important;
}

.nav__action form button.action__link,
.action__link.action__link--ghost {
  background: transparent !important;
  color: #475569 !important;
  border: 1px solid #dbe3f0 !important;
  box-shadow: none !important;
}

.nav__action form button.action__link:hover,
.action__link.action__link--ghost:hover {
  background: #fff !important;
  color: var(--primary-color) !important;
  border-color: rgba(37,99,235,.25) !important;
}

.hero-wrapper {
  align-items: stretch;
  gap: 24px !important;
  margin-top: 28px !important;
  margin-bottom: 24px !important;
}

.hero-banner {
  position: relative;
  min-height: 380px;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: var(--shadow-lg) !important;
}

.hero-banner__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.48) 36%, rgba(15, 23, 42, 0.12) 70%);
}

.hero-banner__content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  max-width: 520px;
  color: #fff;
  z-index: 2;
}

.hero-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-banner__title {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 12px;
}

.hero-banner__desc {
  font-size: 1.55rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}

.hero-banner__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip,
.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: .2s ease;
}

.hero-chip--primary {
  background: var(--accent-color);
  color: #111827;
}

.hero-chip--ghost {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-sidebar {
  width: 350px;
  background: #fff;
  border-radius: 28px !important;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid rgba(148,163,184,.14);
}

.hero-sidebar__header {
  background: linear-gradient(135deg, #0f172a, #1e293b) !important;
  padding: 16px 20px !important;
  font-size: 1.45rem !important;
  letter-spacing: .04em;
}

.hero-sidebar__content {
  padding: 18px 18px 20px !important;
}

.hero-sidebar__list {
  display: grid;
  gap: 12px;
}

.hero-sidebar__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hero-sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-sidebar__rank {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.hero-sidebar__rank--gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.hero-sidebar__rank--silver { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.hero-sidebar__rank--bronze { background: linear-gradient(135deg, #c08457, #92400e); }

.hero-sidebar__name {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
}

.hero-sidebar__amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
}

.hero-sidebar__btn {
  min-height: 48px;
  border-radius: 16px !important;
  font-size: 1.45rem !important;
  margin-top: 14px !important;
  background: linear-gradient(135deg, var(--primary-color), #2563eb) !important;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22) !important;
}

.home-utility-grid,
.home-trust-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

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

.home-trust-card,
.home-utility-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(148,163,184,.14);
  box-shadow: var(--shadow-sm);
  border-radius: 22px;
  padding: 20px;
}

.home-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.home-trust-card__icon,
.home-utility-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0edff, #f8fbff);
  color: var(--primary-color);
  font-size: 1.8rem;
  flex: 0 0 auto;
}

.home-trust-card__title,
.home-utility-card__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0f172a;
}

.home-trust-card__text,
.home-utility-card__text {
  font-size: 1.4rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.home-utility-grid {
  grid-template-columns: 1.25fr 1fr;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-link {
  background: #eef4ff;
  color: var(--primary-color);
  border: 1px solid #dbeafe;
}

.quick-link:hover {
  background: var(--primary-color);
  color: #fff;
}

.menu {
  margin-bottom: 72px !important;
}

.menu__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px !important;
}

.menu__header__title {
  font-size: clamp(2.4rem, 3vw, 3.2rem) !important;
  text-transform: none !important;
  color: #0f172a !important;
}

.menu__header__title::after {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color)) !important;
  width: 82px !important;
  height: 4px !important;
}

.menu__subtitle,
.menu__header p {
  color: #64748b;
  text-align: center;
  max-width: 720px;
  margin: 0;
}

.category__list {
  gap: 28px !important;
}

.category__item {
  border: 1px solid rgba(148,163,184,.18) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden;
}

.category__item:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(37,99,235,.2) !important;
}

.category__img {
  height: 250px !important;
  object-fit: contain !important;
  background: #ffffff;
  padding: 6px;
}

.category__title {
  margin: 18px 20px 8px !important;
  font-size: 2.1rem !important;
  line-height: 1.35 !important;
  color: #0f172a !important;
  text-align: center;
}

.category__title span {
  display: inline-flex !important;
  margin-top: 12px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.category__desc {
  margin: 0 20px 18px !important;
  color: #64748b !important;
  font-size: 1.4rem !important;
  line-height: 1.65 !important;
}

.nick-card__actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px !important;
  margin: auto 20px 22px !important;
  padding: 0 !important;
}

.nick-card__btn {
  min-height: 48px;
  border-radius: 14px !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  gap: 8px !important;
}

.nick-card__btn--price {
  background: linear-gradient(135deg, var(--primary-color), #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 14px 24px rgba(37,99,235,.18);
}

.nick-card__btn--detail {
  background: #fff8e8 !important;
  color: #a16207 !important;
  border: 1px solid #fde68a !important;
}

.nick-card__btn--detail:hover {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.service__alert,
.service__alert--success {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(90deg, #f0fdf4, #f8fafc) !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 20px !important;
  padding: 18px 20px !important;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.service__alert i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
  color: #16a34a;
}

.service__alert-content p {
  margin: 0;
  font-size: 1.45rem;
  color: #334155;
}

.service__alert-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d1fae5;
  background: #fff;
  color: #16a34a;
}

.recent-transactions {
  padding: 18px 20px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: var(--shadow-sm) !important;
}

.recent-transactions__header {
  margin-bottom: 12px;
}

.recent-transactions__title {
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
}

.recent-transactions__marquee {
  height: 84px !important;
  overflow: hidden;
}

.recent-transactions__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 22px;
  padding: 8px 0 !important;
  border-bottom: none !important;
  color: #475569;
  white-space: nowrap;
}

.recent-transactions__username {
  color: var(--primary-color) !important;
}

.recent-transactions__time {
  color: #94a3b8 !important;
}

.recent-transactions__amount {
  color: #16a34a !important;
}

.review-list {
  max-width: 920px !important;
  gap: 16px !important;
}

.review-item {
  background: #fff;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.welcome-modal {
  border-radius: 28px !important;
  box-shadow: var(--shadow-lg) !important;
}

.hero--small {
  padding: 44px 0 !important;
  background: linear-gradient(135deg, #0f172a, #1d4ed8) !important;
}

.hero--small .hero__title {
  font-size: clamp(3rem, 4vw, 4.2rem) !important;
}

.hero--small .hero__desc {
  font-size: 1.55rem !important;
  max-width: 720px;
}

.support-footer {
  background: linear-gradient(180deg, #0b1220, #111827) !important;
}

.support-footer__inner {
  max-width: 1240px !important;
  padding: 0 20px 30px !important;
}

.support-footer__logo {
  max-height: 72px !important;
}

.support-footer__shop-text {
  color: #cbd5e1;
  line-height: 1.7;
}

.support-footer__title,
.support-footer__desc {
  color: #fff;
}

.support-footer__phone-btn {
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 14px 24px rgba(37,99,235,.22);
}

.support-footer__bottom {
  background: rgba(2, 6, 23, 0.5) !important;
  border-top-color: rgba(255,255,255,.08) !important;
}

.menu,
.recent-transactions,
.review-list,
.review-list {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.floating-support {
  right: 16px !important;
  bottom: 34px !important;
  gap: 10px !important;
}

.floating-support__zalo,
.floating-support__top {
  width: 48px !important;
  height: 48px !important;
  box-shadow: 0 10px 20px rgba(15,23,42,.16) !important;
}

.floating-support__top {
  background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
  color: #111827 !important;
}

#purchase-toast.purchase-toast {
  left: 18px !important;
  bottom: 24px !important;
  max-width: 300px !important;
  border-radius: 16px !important;
  padding: 10px 14px !important;
  background: rgba(15,23,42,.88) !important;
  box-shadow: 0 14px 28px rgba(15,23,42,.18) !important;
}

.neon-particles-container {
  opacity: .72;
}

.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: var(--shadow-sm);
  border-radius: 22px;
  padding: 18px 20px;
  margin: -18px auto 30px;
}

.store-toolbar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-toolbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.store-toolbar__note {
  font-size: 1.4rem;
  color: #64748b;
  text-align: right;
}

@media (max-width: 1100px) {
  .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-utility-grid {
    grid-template-columns: 1fr;
  }

  .nav__menu {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-banner {
    min-height: 320px;
  }

  .hero-sidebar {
    width: 100%;
  }

  .category__img {
    height: 220px !important;
  }

  .store-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-toolbar__note {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .nav .container.row {
    min-height: 70px;
  }

  .nav__logo {
    height: 48px !important;
  }

  .hero-banner {
    min-height: 300px;
  }

  .hero-banner__content {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .hero-banner__desc {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .hero-sidebar__item {
    padding: 12px;
  }

  .home-trust-grid {
    grid-template-columns: 1fr;
  }

  .category__list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .category__title {
    font-size: 1.9rem !important;
  }

  .nick-card__actions {
    grid-template-columns: 1fr !important;
  }

  .floating-support {
    right: 12px !important;
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }

  #purchase-toast.purchase-toast {
    left: 12px !important;
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    max-width: 240px !important;
    font-size: 1.25rem !important;
  }

  .neon-particles-container {
    opacity: .55;
  }
}


.see-all-link--button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), #2563eb);
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(37,99,235,.18);
}

.see-all-link--button i {
  font-size: 1.2rem;
}

.see-all-link--button:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  main {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .nav .container.row {
    min-height: 64px;
    gap: 8px;
    flex-wrap: nowrap !important;
  }

  .nav__menu {
    display: none !important;
  }

  .nav__logo {
    height: 40px !important;
    max-width: 128px;
  }

  .nav__action {
    order: 2;
    margin-left: auto;
    gap: 8px;
    flex-wrap: nowrap;
    display: flex !important;
  }

  .nav__action .nav__user,
  .nav__action .nav__balance,
  .nav__action .action__link--ghost,
  .nav__action form {
    display: none !important;
  }

 .nav__action .action__link--primary {
    width: auto !important;
    min-width: 108px !important;
    height: 42px;
    min-height: 42px;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    gap: 7px !important;
    white-space: nowrap !important;
    box-shadow: 0 10px 22px rgba(37,99,235,.18);
}

.nav__action .action__link--primary i {
    margin: 0;
    font-size: 1.45rem;
}

  .menu-toggle {
    order: 3;
    width: 42px;
    height: 42px;
    margin-right: 0 !important;
    border-radius: 14px;
    border: 1px solid #dbe3f0;
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem !important;
  }

  .hero-wrapper {
    gap: 14px !important;
    margin-top: 16px !important;
    margin-bottom: 18px !important;
  }

  .hero-banner {
    min-height: 264px;
    border-radius: 24px !important;
  }

  .hero-banner__overlay {
    background: linear-gradient(180deg, rgba(15,23,42,.18) 0%, rgba(15,23,42,.42) 42%, rgba(15,23,42,.78) 100%);
  }

  .hero-banner__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 320px;
  }

  .hero-banner__eyebrow {
    margin-bottom: 10px;
    padding: 6px 11px;
    font-size: 1.05rem;
  }

  .hero-banner__title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
    line-height: 1.08;
    margin-bottom: 8px;
  }

  .hero-banner__desc {
    font-size: 1.28rem;
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 290px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-banner__cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-chip {
    min-height: 42px;
    padding: 0 12px;
    font-size: 1.28rem;
  }

  .hero-sidebar {
    border-radius: 22px !important;
  }

  .hero-sidebar__header {
    padding: 14px 16px !important;
    font-size: 1.3rem !important;
  }

  .hero-sidebar__content {
    padding: 14px !important;
  }

  .hero-sidebar__item {
    padding: 12px;
    border-radius: 16px;
  }

  .hero-sidebar__name {
    font-size: 1.38rem;
  }

  .hero-sidebar__amount {
    font-size: 1.5rem;
  }

  .home-utility-grid,
  .home-trust-grid {
    gap: 12px;
    margin-bottom: 18px;
  }

  .home-utility-card,
  .home-trust-card {
    border-radius: 20px;
  }

  .menu {
    margin-bottom: 40px !important;
  }

  .menu__header {
    gap: 8px;
    margin-bottom: 18px !important;
  }

  .menu__header__title {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }

  .menu__subtitle,
  .menu__header p {
    font-size: 1.34rem;
    line-height: 1.55;
  }

  .category__list {
    gap: 16px !important;
  }

  .category__item {
    border-radius: 20px !important;
  }

  .category__img {
    height: 210px !important;
    object-fit: contain !important;
    padding: 4px;
  }

  .category__title {
    margin: 14px 16px 8px !important;
    font-size: 1.72rem !important;
    min-height: 72px;
  }

  .category__title span {
    margin-top: 8px !important;
    padding: 7px 10px !important;
    font-size: 1.12rem !important;
    color: var(--primary-color) !important;
    background: #eff6ff !important;
  }

  .category__desc {
    margin: 0 16px 12px !important;
    font-size: 1.28rem !important;
    line-height: 1.52 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nick-card__actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: auto 16px 16px !important;
  }

  .nick-card__btn {
    min-height: 44px;
    border-radius: 12px !important;
    font-size: 1.28rem !important;
    padding: 0 10px !important;
  }

  .service__alert,
  .service__alert--success {
    padding: 15px 16px !important;
    border-radius: 18px !important;
    gap: 12px;
  }

  .service__alert-content p {
    font-size: 1.32rem;
    line-height: 1.55;
  }

  .recent-transactions {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .recent-transactions__title {
    font-size: 1.85rem;
  }

  .review-list {
    gap: 12px !important;
  }

  .review-item {
    border-radius: 18px;
    padding: 13px;
  }

  .menu-mobile {
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 26px rgba(15,23,42,.10);
  }

  .menu-mobile__link {
    gap: 4px;
    font-size: 1.1rem;
    padding: 4px 3px 3px;
  }

  .menu-mobile__link i {
    font-size: 1.9rem;
    margin-bottom: 2px;
  }

  .menu-mobile__link.active {
    color: var(--primary-color);
    font-weight: 700;
  }

  .menu-mobile__link::after {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
  }

  .mobile-overlay-menu {
    padding: 18px 16px 24px;
  }

  .mobile-overlay-menu__title {
    font-size: 2rem;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 12px;
  }

  .hero-banner {
    min-height: 248px;
  }

  .hero-banner__title {
    font-size: 1.78rem;
  }

  .hero-chip {
    font-size: 1.2rem;
  }

  .category__img {
    height: 196px !important;
    object-fit: contain !important;
  }

  .category__title {
    font-size: 1.62rem !important;
  }
}


/* ===== TOP NẠP - giao diện đỏ/cam tối ưu mobile ===== */
.hero-sidebar {
  width: 350px;
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(231, 76, 38, 0.16) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12) !important;
}

.hero-sidebar__header {
  min-height: 64px !important;
  padding: 14px 16px !important;
  background: linear-gradient(135deg, #d92f0b 0%, #b82406 100%) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-align: center !important;
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

.hero-sidebar__header i {
  color: #ffd04a !important;
  font-size: 1.9rem !important;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.16));
}

.hero-sidebar__content {
  padding: 12px 14px 14px !important;
  background: #ffffff !important;
  text-align: initial !important;
}

.hero-sidebar__list {
  display: grid !important;
  gap: 0 !important;
  margin: 0 0 14px !important;
}

.hero-sidebar__item {
  min-height: 56px !important;
  padding: 9px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.hero-sidebar__item--rank-1 {
  background: linear-gradient(90deg, rgba(255, 211, 80, 0.24), rgba(255, 244, 194, 0.62)) !important;
}

.hero-sidebar__item--rank-2 {
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.72), rgba(248, 250, 252, 0.92)) !important;
}

.hero-sidebar__item--rank-3 {
  background: linear-gradient(90deg, rgba(255, 178, 101, 0.22), rgba(255, 241, 225, 0.76)) !important;
}

.hero-sidebar__user {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.hero-sidebar__rank {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  overflow: visible !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
}

.hero-sidebar__rank::after {
  display: none !important;
}

.hero-sidebar__rank--gold,
.hero-sidebar__rank--silver,
.hero-sidebar__rank--bronze {
  background: transparent !important;
  box-shadow: none !important;
}

.hero-sidebar__medal {
  display: block !important;
  font-size: 2.55rem !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

.hero-sidebar__name {
  max-width: 145px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #111827 !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
}

.hero-sidebar__amount {
  flex: 0 0 auto !important;
  color: #ef4444 !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.hero-sidebar__empty {
  padding: 28px 10px !important;
  color: #64748b !important;
  text-align: center !important;
  font-size: 1.4rem !important;
}

.hero-sidebar__btn {
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 5px !important;
  margin-top: 0 !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #ff451c 0%, #f22b0b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(242, 43, 11, 0.28) !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
}

.hero-sidebar__btn:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(242, 43, 11, 0.34) !important;
}

@media (max-width: 992px) {
  .hero-sidebar {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    gap: 16px !important;
  }

  .hero-sidebar {
    border-radius: 8px !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10) !important;
  }

  .hero-sidebar__header {
    min-height: 58px !important;
    padding: 12px 10px !important;
    font-size: 1.65rem !important;
  }

  .hero-sidebar__content {
    padding: 10px 12px 12px !important;
  }

  .hero-sidebar__item {
    min-height: 52px !important;
    padding: 8px 10px !important;
  }

  .hero-sidebar__rank {
    flex-basis: 32px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 1.25rem !important;
  }

  .hero-sidebar__medal {
    font-size: 2.35rem !important;
  }

  .hero-sidebar__name {
    max-width: 42vw !important;
    font-size: 1.38rem !important;
  }

  .hero-sidebar__amount {
    font-size: 1.38rem !important;
    letter-spacing: .025em !important;
  }

  .hero-sidebar__btn {
    min-height: 43px !important;
    font-size: 1.35rem !important;
  }
}

@media (max-width: 380px) {
  .hero-sidebar__content {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .hero-sidebar__item {
    gap: 7px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .hero-sidebar__name {
    max-width: 38vw !important;
    font-size: 1.28rem !important;
  }

  .hero-sidebar__amount {
    font-size: 1.24rem !important;
  }
}
