/* =========================================================
   SHOP TẤN ĐẠT — MAIN.CSS
   Dark theme + Glassmorphism + Neon accent
   ========================================================= */

/* ===== BIẾN TOÀN CỤC ===== */
:root {
  --bg: #07070a;
  --panel: rgba(18, 18, 25, .72);
  --line: rgba(255, 255, 255, .1);
  --text: #f8f8fb;
  --muted: #9a9aaa;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
  --green: #10b981;
  --pink: #ec4899;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

/* ===== RESET ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% -10%, #20123d 0, #09090d 36%, #050507 100%);
  color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== FOCUS VISIBLE (a11y) ===== */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== NỀN GRID ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  z-index: -3;
}

/* ===== AMBIENT GLOW ===== */
.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .2;
  pointer-events: none;
  z-index: -2;
}
.ambient-purple { background: #7c3aed; left: -180px; top: 180px; }
.ambient-cyan   { background: #0891b2; right: -220px; top: 420px; }

/* ===== SNOW FIELD ===== */
#snowField {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 30;
}
.snowflake {
  position: absolute;
  top: -30px;
  color: #fff;
  opacity: .8;
  text-shadow: 0 0 8px rgba(255,255,255,.8);
  animation: fall linear infinite;
  will-change: transform;
  contain: layout style paint;
}
@keyframes fall {
  0%   { transform: translate3d(0, -30px, 0) rotate(0); }
  50%  { transform: translate3d(var(--drift, 0), 50vh, 0) rotate(180deg); }
  100% { transform: translate3d(calc(var(--drift, 0) * -1), 110vh, 0) rotate(360deg); }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 9, .76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-wrap,
.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}
.nav-wrap {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 35px #0008;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand strong { display: block; font-size: 15px; }
.brand span { display: block; font-size: 10px; color: #b9a2ff; margin-top: 2px; }
/* ===== BANNER LOGO MỚI ===== */
.brand-banner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.banner-img {
  height: 78px;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  border-radius: 0;
  transition: transform .3s;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  animation: fireFlicker 1.8s ease-in-out infinite;
  will-change: filter, transform;
    mix-blend-mode: screen; 
}

/* 🔥 Fire Flicker Animation */
@keyframes fireFlicker {
  0%, 100% {
    filter: 
      drop-shadow(0 0 8px rgba(255, 100, 0, .8))
      drop-shadow(0 0 18px rgba(255, 150, 0, .55))
      drop-shadow(0 0 30px rgba(255, 60, 0, .3));
    transform: scale(1);
  }
  20% {
    filter: 
      drop-shadow(0 0 12px rgba(255, 120, 0, 1))
      drop-shadow(0 0 24px rgba(255, 180, 0, .75))
      drop-shadow(0 0 40px rgba(255, 80, 0, .45));
    transform: scale(1.015);
  }
  40% {
    filter: 
      drop-shadow(0 0 6px rgba(255, 80, 0, .7))
      drop-shadow(0 0 14px rgba(255, 130, 0, .45))
      drop-shadow(0 0 24px rgba(255, 50, 0, .25));
    transform: scale(0.99);
  }
  60% {
    filter: 
      drop-shadow(0 0 14px rgba(255, 130, 0, 1))
      drop-shadow(0 0 28px rgba(255, 200, 0, .8))
      drop-shadow(0 0 45px rgba(255, 90, 0, .5));
    transform: scale(1.02);
  }
  80% {
    filter: 
      drop-shadow(0 0 9px rgba(255, 90, 0, .85))
      drop-shadow(0 0 20px rgba(255, 160, 0, .6))
      drop-shadow(0 0 34px rgba(255, 70, 0, .35));
    transform: scale(1.005);
  }
}

.brand-banner:hover .banner-img {
  animation-play-state: paused;
  transform: scale(1.06);
  filter: 
    drop-shadow(0 0 16px rgba(255, 130, 0, 1))
    drop-shadow(0 0 32px rgba(255, 200, 0, .8))
    drop-shadow(0 0 50px rgba(255, 90, 0, .5));
}

/* Responsive cho banner */
@media (max-width: 900px) {
  .nav-wrap { height: 80px; }
  .banner-img {
    height: 62px;
    max-width: 380px;
  }
}

@media (max-width: 560px) {
  .nav-wrap { height: 68px; }
  .banner-img {
    height: 48px;
    max-width: 260px;
  }
}
.desktop-nav {
  display: flex;
  gap: 28px;
  color: #a7a7b5;
  font-size: 13px;
  font-weight: 700;
}
.desktop-nav a { transition: color .25s; }
.desktop-nav a:hover { color: #fff; }

.nav-cta {
  padding: 11px 17px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: #08080a;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 30px #0005;
  transition: transform .25s;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta span { margin-left: 5px; }

/* ===== HERO ===== */
.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0 70px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #8b5cf633;
  background: #8b5cf612;
  padding: 7px 12px;
  border-radius: 99px;
  color: #d7c8ff;
  font-size: 11px;
  font-weight: 800;
}
.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  50% { opacity: .35; transform: scale(.75); }
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 22px 0;
}
.hero h1 span {
  background: linear-gradient(90deg, #c4b5fd, #e879f9, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p {
  max-width: 650px;
  color: #aaaab8;
  line-height: 1.8;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 900;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, #7c3aed, #c026d3);
  color: #fff;
  box-shadow: 0 12px 35px #7c3aed33;
}
.btn-ghost {
  border: 1px solid var(--line);
  background: #ffffff08;
  color: #ddd;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 560px;
  margin-top: 34px;
}
.stats div {
  padding: 15px;
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: var(--radius-md);
}
.stats strong { display: block; font-size: 22px; }
.stats span { font-size: 10px; color: #777786; }

/* ===== PANEL CHUNG ===== */
.feature-card,
.product-card,
.payment-box,
.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 25px 80px #0004;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-panel { display: grid; gap: 15px; }
.feature-card { padding: 27px; border-radius: var(--radius-lg); }
.feature-card.featured {
  box-shadow: 0 0 0 1px #8b5cf622, 0 25px 80px #0005;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #8b5cf61c;
  font-size: 23px;
  float: left;
  margin-right: 14px;
}
.feature-icon.cyan { background: #22d3ee16; }
.feature-card h3 { margin: 2px 0 4px; font-size: 15px; }
.feature-card p { color: #777786; font-size: 11px; margin: 0; line-height: 1.6; }
.checks {
  clear: both;
  padding-top: 23px;
  display: grid;
  gap: 11px;
  font-size: 12px;
  color: #bdbdc8;
}
.checks b { color: #34d399; margin-right: 8px; }
.feature-text { clear: both; padding-top: 20px !important; }

/* ===== SECTION ===== */
.section { padding: 80px 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 28px;
}
.section-heading small,
.center-heading small,
.modal-left > small {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 900;
  color: #bda9ff;
}
.section-heading h2,
.center-heading h2 {
  font-size: 36px;
  letter-spacing: -1.5px;
  margin: 7px 0 0;
}
.section-heading p {
  max-width: 400px;
  color: #737381;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

/* ===== PRODUCT ===== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.product-card {
  padding: 29px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(65px);
  right: -100px;
  top: -100px;
  opacity: .15;
  pointer-events: none;
}
.purple-card::after { background: #a855f7; }
.green-card::after  { background: #10b981; }

.product-top { display: flex; justify-content: space-between; gap: 20px; }
.tag {
  display: inline-block;
  border-radius: 99px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 900;
}
.tag.purple { background: #8b5cf61c; color: #c4b5fd; }
.tag.green  { background: #10b9811c; color: #6ee7b7; }
.product-card h3 { font-size: 25px; margin: 15px 0 5px; }
.product-card p { font-size: 12px; line-height: 1.7; color: #777786; max-width: 430px; }
.game-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #ffffff08;
  display: grid;
  place-items: center;
  font-size: 23px;
  flex: none;
}
.price {
  display: flex;
  align-items: end;
  gap: 7px;
  margin: 28px 0 18px;
}
.price strong { font-size: 40px; letter-spacing: -2px; }
.price span { font-size: 11px; color: #696976; padding-bottom: 7px; }

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pkg-btn {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff05;
  color: #eee;
  padding: 12px 6px;
  font-size: 11px;
  font-weight: 800;
  transition: transform .2s, background .2s, border-color .2s;
}
.pkg-btn:hover { transform: translateY(-2px); background: #ffffff0b; }
.pkg-btn small {
  display: block;
  color: #777786;
  margin-top: 5px;
  font-weight: 700;
}
.pkg-btn.active {
  border-color: transparent;
  color: #fff;
}
.pkg-btn.active.purple {
  background: linear-gradient(110deg, #7c3aed, #c026d3);
  box-shadow: 0 10px 25px #7c3aed33;
}
.pkg-btn.active.green {
  background: linear-gradient(110deg, #10b981, #06b6d4);
  box-shadow: 0 10px 25px #10b98133;
}
.pkg-btn.active small { color: #eafff9; }

/* ===== PAYMENT ===== */
.payment-box { border-radius: 28px; padding: 30px; }
.section-heading.compact { margin-bottom: 22px; }
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.payment-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: #ffffff04;
  border-radius: 20px;
}
.pay-head { display: flex; align-items: center; gap: 12px; }
.pay-head > span { font-size: 25px; }
.pay-head h3 { font-size: 14px; margin: 0; }
.pay-head p { font-size: 10px; color: #696976; margin: 3px 0 0; }
.pay-info {
  margin: 22px 0;
  color: #c5c5d0;
  font-size: 13px;
  line-height: 1.7;
}
.pay-info strong { color: #fff; }
.copy-btn,
.qr-btn {
  width: 100%;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 11px;
  font-weight: 900;
  background: #ffffff0a;
  color: #ddd;
  margin-top: 7px;
  transition: background .2s;
}
.copy-btn:hover { background: #ffffff14; }
.qr-btn { background: #7c3aed; color: #fff; }
.qr-btn:hover { background: #8b5cf6; }
.qr-btn.pink { background: #ec4899; }
.qr-btn.pink:hover { background: #f472b6; }

/* ===== CONTACT ===== */
.contact-section {
  border-top: 1px solid var(--line);
  background: #0003;
}
.center-heading { text-align: center; margin-bottom: 28px; }
.center-heading p { color: #777786; font-size: 12px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-card {
  border-radius: 22px;
  padding: 24px;
  transition: transform .25s, border-color .25s;
}
.contact-card:hover { transform: translateY(-4px); border-color: #ffffff22; }
.contact-card > span { font-size: 27px; }
.contact-card h3 { font-size: 14px; margin: 15px 0 5px; }
.contact-card p { font-size: 11px; color: #777786; }
.contact-card b { display: inline-block; margin-top: 13px; color: #a78bfa; font-size: 11px; }

footer {
  text-align: center;
  color: #4e4e59;
  font-size: 10px;
  padding: 50px 0 10px;
}
footer p { margin: 5px 0; }
footer a { color: #7c7c8a; }
footer a:hover { color: #a78bfa; }

/* ===== MUSIC WIDGET ===== */
.music-widget {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: min(390px, calc(100% - 36px));
  padding: 13px;
  border: 1px solid #ffffff14;
  border-radius: 20px;
  background: rgba(10, 10, 15, .84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 70px #0009;
  z-index: 50;
  cursor: grab;
  user-select: none;
}
.music-widget:active { cursor: grabbing; }
.music-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.music-disc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#8b5cf6, #ec4899, #22d3ee, #8b5cf6);
  font-size: 17px;
  box-shadow: 0 0 20px #8b5cf633;
  flex: none;
}
.music-disc.playing { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.music-meta { min-width: 0; flex: 1; }
.music-meta b,
.music-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-meta b { font-size: 11px; }
.music-meta span { font-size: 9px; color: #6f6f7b; margin-top: 2px; }

.icon-btn,
.mini-btn,
.play-btn {
  color: #ddd;
  background: #ffffff08;
  transition: background .2s;
}
.icon-btn { width: 28px; height: 28px; border-radius: 9px; flex: none; }
.icon-btn:hover,
.mini-btn:hover { background: #ffffff14; }

.music-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  width: 100%;
}
.mini-btn {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 10px;
  flex: 0 0 28px;
}
.play-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 12px;
  flex: 0 0 35px;
}
.play-btn:hover { background: #8b5cf6; }

.progress-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.music-widget input[type=range] {
  accent-color: #a78bfa;
  width: 100%;
}
.volume {
  width: 50px !important;
  max-width: 50px !important;
  min-width: 0;
  flex: 0 0 50px !important;
}

.playlist {
  display: none;
  border-top: 1px solid var(--line);
  margin-top: 11px;
  padding-top: 9px;
  max-height: 150px;
  overflow-y: auto;
}
.music-widget.open .playlist { display: block; }
.track {
  padding: 8px;
  border-radius: 8px;
  font-size: 10px;
  color: #999;
  cursor: pointer;
  transition: background .15s;
}
.track:hover { background: #ffffff08; color: #ddd; }
.track.active { background: #ffffff0a; color: #fff; }

.playlist::-webkit-scrollbar { width: 6px; }
.playlist::-webkit-scrollbar-track { background: transparent; }
.playlist::-webkit-scrollbar-thumb {
  background: #ffffff22;
  border-radius: 3px;
}
.playlist::-webkit-scrollbar-thumb:hover { background: #ffffff33; }

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000b;
  display: grid;
  place-items: center;
  padding: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .2s ease;
}
.modal.hidden { display: none; }
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  position: relative;
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: #111118;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 100px #000;
  animation: popIn .25s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-left,
.modal-right { padding: 30px; }
.modal-right { border-left: 1px solid var(--line); }

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff0b;
  color: #ddd;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
  z-index: 2;
  transition: background .2s;
}
.modal-close:hover { background: #ffffff1a; }

.modal-left h2 { margin: 8px 0 3px; font-size: 27px; }
.muted { color: #777786; font-size: 11px; line-height: 1.7; }

.order-summary,
.account-box,
.payment-details {
  border: 1px solid var(--line);
  background: #ffffff05;
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
}
.order-summary { font-size: 12px; line-height: 1.8; }
.order-summary strong { color: #fff; }
.order-summary p { margin: 4px 0; }

.payment-details p { margin: 4px 0; color: #ddd; font-size: 12px; }

.modal form { display: grid; gap: 9px; }
.modal input,
.modal textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #050508;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  outline: none;
  resize: none;
  transition: border-color .2s;
}
.modal input:focus,
.modal textarea:focus { border-color: var(--purple); }
.modal input:invalid:not(:placeholder-shown) { border-color: #ef4444; }

.method-grid,
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.method-grid button,
.form-actions button,
.account-box button {
  border-radius: 11px;
  padding: 12px;
  font-weight: 900;
  color: #fff;
  background: #ffffff0b;
  transition: background .2s, opacity .2s;
}
.method-grid button { background: #2563eb; opacity: .5; }
.method-grid button.active { opacity: 1; }
.method-grid button:last-child { background: #ec4899; }

.form-actions button:first-child { background: #10b981; }
.form-actions button:first-child:hover { background: #059669; }
.form-actions button:last-child:hover,
.account-box button:hover { background: #ffffff14; }

.qr-frame {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
}
.qr-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
}
.center { text-align: center; }

.account-box { font-size: 11px; line-height: 1.7; }
.account-box p { margin: 4px 0; }
.account-box button { width: 100%; margin-top: 10px; }

/* ===== QR MODAL ===== */
.qr-modal-card {
  width: min(390px, 100%);
  background: #fff;
  padding: 12px;
  border-radius: 22px;
  animation: popIn .25s ease;
}
.qr-modal-card img {
  width: 100%;
  border-radius: 14px;
}
.qr-modal-card button {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #08080a;
  color: #fff;
  font-weight: 900;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 100px);
  background: #10b981;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 20px 60px #000a;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s, opacity .3s;
  z-index: 200;
  max-width: calc(100% - 40px);
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
.toast.error { background: #ef4444; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  animation: up .8s ease both;
}
@keyframes up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ===== FALLBACK CHO TRÌNH DUYỆT CŨ ===== */
@supports not (backdrop-filter: blur(10px)) {
  .site-header,
  .music-widget,
  .feature-card,
  .product-card,
  .payment-box,
  .contact-card {
    background: rgba(10, 10, 15, .96);
  }
}

/* =========================================================
   🔐 AUTH — ĐĂNG NHẬP / ĐĂNG KÝ (MỚI THÊM)
   ========================================================= */

/* User box ở header — hiện khi đã đăng nhập */
.user-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #ffffff08;
  font-size: 12px;
}
.user-box.hidden { display: none; }
.user-name { color: #ddd; font-weight: 700; }
.user-name b { color: #b9a2ff; font-weight: 900; }
.logout-btn {
  padding: 6px 12px;
  border-radius: 99px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  transition: background .2s, transform .2s;
}
.logout-btn:hover { background: #dc2626; transform: scale(1.05); }

/* ==== Modal đăng nhập ==== */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 5, 8, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn .25s ease;
}
.auth-modal.hidden { display: none; }

.auth-card {
  width: min(430px, 100%);
  background: linear-gradient(160deg, #131320, #0c0c14);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 36px 28px 28px;
  box-shadow: 0 40px 100px #000c, 0 0 0 1px #8b5cf622 inset;
  text-align: center;
  animation: popIn .3s ease;
  position: relative;
}

.auth-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 12px 40px #7c3aed55;
}

.auth-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #c4b5fd, #e879f9, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-sub {
  color: #8a8a98;
  font-size: 12px;
  margin: 0 0 22px;
}

/* Tabs */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  background: #0a0a12;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 20px;
}
.auth-tab {
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #8a8a98;
  background: transparent;
  transition: all .25s;
}
.auth-tab.active {
  background: linear-gradient(110deg, #7c3aed, #c026d3);
  color: #fff;
  box-shadow: 0 8px 24px #7c3aed44;
}

/* Form */
.auth-form {
  display: grid;
  gap: 10px;
  text-align: left;
}
.auth-form.hidden { display: none; }
.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: #050508;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #8b5cf622;
}
.auth-form input:invalid:not(:placeholder-shown) { border-color: #ef4444; }

.auth-submit {
  margin-top: 6px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(110deg, #7c3aed, #c026d3);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 12px 30px #7c3aed44;
}
.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px #7c3aed66;
}
.auth-submit:disabled { opacity: .6; cursor: wait; }

.auth-msg {
  margin: 4px 0 0;
  font-size: 11px;
  min-height: 14px;
  color: #ef4444;
  text-align: center;
}
.auth-msg.ok { color: #10b981; }

.auth-note {
  margin: 20px 0 0;
  font-size: 10px;
  color: #4a4a56;
  line-height: 1.6;
}

/* ==== Popup thành công — tự đóng 5s ==== */
.success-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn .3s ease;
}
.success-popup.hidden { display: none; }

.success-card {
  width: min(400px, 100%);
  background: linear-gradient(160deg, #101020, #0a0a14);
  border: 1px solid rgba(16,185,129,.35);
  border-radius: 24px;
  padding: 40px 30px 28px;
  text-align: center;
  box-shadow: 0 40px 100px #000c, 0 0 60px #10b98133;
  animation: popIn .4s cubic-bezier(.2,1.2,.3,1);
  position: relative;
  overflow: hidden;
}

.success-icon {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 16px;
  animation: bounceIn .6s cubic-bezier(.2,1.4,.3,1);
  filter: drop-shadow(0 8px 24px #10b98166);
}
@keyframes bounceIn {
  0%   { transform: scale(.3); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.success-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .5px;
  color: #10b981;
  text-shadow: 0 0 24px #10b98166;
}
.success-text {
  margin: 0 0 22px;
  font-size: 13px;
  color: #b5b5c2;
  line-height: 1.6;
}

/* Thanh đếm ngược 5s */
.success-progress {
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  margin-bottom: 20px;
}
.success-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #10b981, #22d3ee);
  border-radius: 99px;
  transform-origin: left;
  animation: countdown 5s linear forwards;
}
@keyframes countdown {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

.success-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(110deg, #10b981, #22d3ee);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 12px 30px #10b98144;
}
.success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px #10b98166;
}

/* Responsive cho auth */
@media (max-width: 560px) {
  .auth-card { padding: 28px 20px 22px; }
  .auth-logo { width: 54px; height: 54px; font-size: 28px; }
  .auth-card h2 { font-size: 20px; }
  .success-icon { font-size: 48px; }
  .success-title { font-size: 17px; }
  .success-text { font-size: 12px; }

  .user-box { padding: 5px 8px 5px 10px; font-size: 11px; }
  .logout-btn { padding: 5px 9px; font-size: 10px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* =========================================================
   📱 RESPONSIVE — Tablet (max 900px)
   ========================================================= */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 65px;
    min-height: auto;
  }
  .hero h1 { font-size: 44px; }
  .product-grid,
  .payment-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   📱 RESPONSIVE — Mobile (max 560px)
   ========================================================= */
@media (max-width: 560px) {
  .nav-wrap,
  .section-shell { width: min(100% - 22px, 1180px); }
  .nav-cta { display: none; }

  .hero { padding: 50px 0; }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .hero h1 br { display: none; }

  .stats { gap: 6px; }
  .stats div { padding: 12px 9px; }
  .stats strong { font-size: 16px; }

  .product-card,
  .feature-card,
  .payment-box { padding: 21px; }
  .packages { gap: 5px; }
  .pkg-btn { padding: 11px 3px; font-size: 10px; }
  .price strong { font-size: 32px; }

  .music-widget {
    left: 11px;
    bottom: 11px;
    width: calc(100% - 22px);
  }
  .volume {
    width: 42px !important;
    max-width: 42px !important;
    flex: 0 0 42px !important;
  }

  .section { padding: 60px 0; }
  .section-heading h2,
  .center-heading h2 { font-size: 28px; }

  body { padding-bottom: 130px; }
  .modal:not(.hidden) ~ .music-widget { display: none; }
}

/* Tôn trọng người dùng giảm animation */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   SOCIAL — LOGO TRÒN CHO SECTION LIÊN HỆ (MỚI)
   ========================================================= */

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  transition: transform .3s cubic-bezier(.2,1.2,.3,1), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}

.social-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.social-item:hover {
  transform: translateY(-6px);
}

/* Logo tròn */
.social-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 14px;
  transition: transform .3s cubic-bezier(.2,1.2,.3,1), box-shadow .3s;
  position: relative;
  z-index: 1;
}

.social-item:hover .social-logo {
  transform: scale(1.15) rotate(-5deg);
}

/* Màu logo từng kênh */
.social-logo.zalo {
  background: linear-gradient(135deg, #0068FF, #0091FF);
  box-shadow: 0 10px 30px rgba(0, 104, 255, .35);
}
.social-item:hover .social-logo.zalo {
  box-shadow: 0 15px 45px rgba(0, 104, 255, .6);
}

.social-logo.facebook {
  background: linear-gradient(135deg, #1877F2, #0C63D4);
  box-shadow: 0 10px 30px rgba(24, 119, 242, .35);
}
.social-item:hover .social-logo.facebook {
  box-shadow: 0 15px 45px rgba(24, 119, 242, .6);
}

.social-logo.discord {
  background: linear-gradient(135deg, #5865F2, #7289DA);
  box-shadow: 0 10px 30px rgba(88, 101, 242, .35);
}
.social-item:hover .social-logo.discord {
  box-shadow: 0 15px 45px rgba(88, 101, 242, .6);
}

.social-logo.zalo-vip {
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF6347);
  box-shadow: 0 10px 30px rgba(255, 165, 0, .35);
}
.social-item:hover .social-logo.zalo-vip {
  box-shadow: 0 15px 45px rgba(255, 165, 0, .6);
}

/* Text */
.social-item h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.social-item p {
  font-size: 11px;
  color: #777786;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.social-item b {
  font-size: 11px;
  font-weight: 900;
  color: #b9a2ff;
  position: relative;
  z-index: 1;
  transition: color .25s;
}

.social-item:hover b {
  color: #fff;
}

/* Viền màu khi hover */
.social-item:has(.zalo):hover        { border-color: rgba(0, 104, 255, .5); }
.social-item:has(.facebook):hover    { border-color: rgba(24, 119, 242, .5); }
.social-item:has(.discord):hover     { border-color: rgba(88, 101, 242, .5); }
.social-item:has(.zalo-vip):hover    { border-color: rgba(255, 165, 0, .5); }

/* Animation bounce khi load */
@keyframes bounceLogo {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.social-logo {
  animation: bounceLogo 3s ease-in-out infinite;
}

.social-item:nth-child(2) .social-logo { animation-delay: .3s; }
.social-item:nth-child(3) .social-logo { animation-delay: .6s; }
.social-item:nth-child(4) .social-logo { animation-delay: .9s; }

/* Responsive */
@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .social-logo {
    width: 64px;
    height: 64px;
  }
  .social-logo svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 560px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
  }
  .social-item {
    padding: 18px 10px;
    border-radius: 18px;
  }
  .social-logo {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
  }
  .social-logo svg {
    width: 24px;
    height: 24px;
  }
  .social-item h3 {
    font-size: 12px;
  }
  .social-item p {
    font-size: 10px;
  }
  .social-item b {
    font-size: 10px;
  }
}

/* Tắt animation cho người dùng prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .social-logo {
    animation: none !important;
  }
  .social-item:hover .social-logo {
    transform: none;
  }
}
/* =========================================================
   GÓI MỚI — PINK, CYAN, ORANGE (MỚI)
   ========================================================= */

/* Grid 2 cột — 5 gói sẽ xếp 2-2-1 hoặc 3-2 tùy màn hình */
.product-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== TAG MỚI ===== */
.tag.pink   { background: #ec48991c; color: #f9a8d4; }
.tag.cyan   { background: #22d3ee1c; color: #67e8f9; }
.tag.orange { background: #f973161c; color: #fdba74; }

/* ===== HIỆU ỨNG NỀN MỜ ===== */
.pink-card::after   { background: #ec4899; }
.cyan-card::after   { background: #22d3ee; }
.orange-card::after { background: #f97316; }

/* ===== NÚT ACTIVE MỚI ===== */
.pkg-btn.active.pink {
  background: linear-gradient(110deg, #ec4899, #f43f5e);
  box-shadow: 0 10px 25px #ec489933;
}
.pkg-btn.active.cyan {
  background: linear-gradient(110deg, #22d3ee, #0ea5e9);
  box-shadow: 0 10px 25px #22d3ee33;
}
.pkg-btn.active.orange {
  background: linear-gradient(110deg, #f97316, #eab308);
  box-shadow: 0 10px 25px #f9731633;
}
.pkg-btn.active.pink small,
.pkg-btn.active.cyan small,
.pkg-btn.active.orange small { color: #fff; }

/* ===== GRID CHO CARD THỨ 5 (Key Bypass) — nằm giữa hàng cuối ===== */
.product-grid .product-card:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid .product-card:nth-child(5) {
    max-width: 100%;
  }
}
/* =========================================================
   🔔 NOTIFY POPUP — THÔNG BÁO SAU ĐĂNG NHẬP
   ========================================================= */

.notify-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn .25s ease;
  overflow-y: auto;
}
.notify-popup.hidden { display: none; }

.notify-card {
  width: min(440px, 100%);
  background: linear-gradient(160deg, #131320, #0c0c14);
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 24px;
  padding: 32px 26px 24px;
  box-shadow: 0 40px 100px #000c, 0 0 60px rgba(139, 92, 246, .2);
  animation: popIn .4s cubic-bezier(.2, 1.2, .3, 1);
  position: relative;
  text-align: center;
}

/* Nút đóng × */
.notify-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #ffffff0a;
  color: #888;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
}
.notify-close:hover {
  background: #ffffff1a;
  color: #fff;
}

/* Icon chuông */
.notify-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #8b5cf6, #c026d3);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 14px 40px rgba(139, 92, 246, .55);
  animation: bellShake 2s ease-in-out infinite;
}
@keyframes bellShake {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
  50%      { transform: rotate(0); }
}

/* Tiêu đề */
.notify-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.notify-sub {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #8a8a98;
  text-transform: uppercase;
}

/* Danh sách thông báo */
.notify-list {
  display: grid;
  gap: 8px;
  text-align: left;
  margin-bottom: 22px;
}

.notify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff05;
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s, border-color .2s;
}
.notify-item:hover {
  background: #ffffff0a;
  border-color: rgba(139, 92, 246, .25);
}

.notify-item-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #c026d3);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(139, 92, 246, .35);
}

.notify-item-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #c5c5d0;
  padding-top: 4px;
}
.notify-item-text b {
  color: #fff;
  font-weight: 800;
}
.notify-item-text a {
  color: #a78bfa;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px dashed rgba(167, 139, 250, .4);
}
.notify-item-text a:hover {
  color: #c4b5fd;
  border-bottom-color: #c4b5fd;
}

/* 2 nút */
.notify-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}
.notify-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 14px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.notify-btn:hover {
  transform: translateY(-2px);
}

.notify-btn-later {
  background: #ffffff08;
  color: #999;
  border: 1px solid rgba(255,255,255,.08);
}
.notify-btn-later:hover {
  background: #ffffff12;
  color: #ddd;
}

.notify-btn-ok {
  background: linear-gradient(110deg, #8b5cf6, #c026d3);
  color: #fff;
  box-shadow: 0 12px 30px rgba(139, 92, 246, .45);
}
.notify-btn-ok:hover {
  box-shadow: 0 16px 40px rgba(139, 92, 246, .65);
}

/* Responsive */
@media (max-width: 560px) {
  .notify-card {
    padding: 26px 18px 18px;
    border-radius: 20px;
  }
  .notify-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    border-radius: 18px;
  }
  .notify-icon svg {
    width: 26px;
    height: 26px;
  }
  .notify-title { font-size: 18px; }
  .notify-sub { font-size: 10px; letter-spacing: 2px; margin-bottom: 16px; }
  .notify-item { padding: 10px 12px; gap: 10px; }
  .notify-item-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; }
  .notify-item-icon svg { width: 15px; height: 15px; }
  .notify-item-text { font-size: 11.5px; padding-top: 3px; }
  .notify-actions { gap: 8px; }
  .notify-btn { padding: 11px 10px; font-size: 11px; }
}
/* =========================================================
   GÓI MỚI — INDIGO, YELLOW, PEACH, RED (MỚI)
   ========================================================= */

/* Grid 3 cột trên desktop */
.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Bỏ rule cũ nếu có — Key Bypass không còn full-width */
.product-grid .product-card:nth-child(5) {
  grid-column: auto;
  max-width: 100%;
  margin: 0;
  width: auto;
}

/* ===== TAG MỚI ===== */
.tag.indigo { background: #6366f11c; color: #a5b4fc; }
.tag.yellow { background: #eab3081c; color: #fde047; }
.tag.peach  { background: #f973161c; color: #fdba74; }
.tag.red    { background: #ef44441c; color: #fca5a5; }

/* ===== NỀN MỜ ===== */
.indigo-card::after { background: #6366f1; }
.yellow-card::after { background: #eab308; }
.peach-card::after  { background: #f97316; }
.red-card::after    { background: #ef4444; }

/* ===== NÚT ACTIVE MỚI ===== */
.pkg-btn.active.indigo {
  background: linear-gradient(110deg, #6366f1, #8b5cf6);
  box-shadow: 0 10px 25px #6366f133;
}
.pkg-btn.active.yellow {
  background: linear-gradient(110deg, #eab308, #facc15);
  box-shadow: 0 10px 25px #eab30833;
  color: #1a1a1f;
}
.pkg-btn.active.yellow small { color: #1a1a1f; }
.pkg-btn.active.peach {
  background: linear-gradient(110deg, #f97316, #fb923c);
  box-shadow: 0 10px 25px #f9731633;
}
.pkg-btn.active.red {
  background: linear-gradient(110deg, #ef4444, #dc2626);
  box-shadow: 0 10px 25px #ef444433;
}
.pkg-btn.active.indigo small,
.pkg-btn.active.peach small,
.pkg-btn.active.red small { color: #fff; }

/* ===== RESPONSIVE — Tablet 2 cột ===== */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== RESPONSIVE — Mobile 1 cột ===== */
@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   🎵 SECTION TIKTOK (MỚI)
   ========================================================= */

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tiktok-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(254, 44, 85, .08), rgba(255, 255, 255, .02));
  box-shadow: 0 25px 80px #0004;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.tiktok-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(60px);
  background: #FE2C55;
  opacity: .18;
  right: -60px;
  top: -60px;
  pointer-events: none;
}

.tiktok-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 44, 85, .4);
}

.tiktok-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.tiktok-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #FE2C55, #25F4EE);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
  box-shadow: 0 8px 24px rgba(254, 44, 85, .35);
}

.tiktok-head h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 3px;
  color: #fff;
  line-height: 1.3;
}

.tiktok-head p {
  font-size: 10.5px;
  color: #8a8a98;
  margin: 0;
  line-height: 1.5;
}

.tiktok-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  position: relative;
  z-index: 1;
}

.tiktok-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: #ffffff05;
  color: #eee;
  font-size: 10px;
  font-weight: 800;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
}

.tiktok-btn b {
  font-size: 12px;
  color: #fff;
  font-weight: 900;
}

.tiktok-btn small {
  font-size: 10px;
  color: #FE2C55;
  font-weight: 900;
}

.tiktok-btn:hover {
  transform: translateY(-2px);
  background: rgba(254, 44, 85, .12);
  border-color: rgba(254, 44, 85, .4);
  box-shadow: 0 8px 24px rgba(254, 44, 85, .2);
}

.tiktok-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .tiktok-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .tiktok-card { padding: 18px; }
  .tiktok-icon { width: 40px; height: 40px; font-size: 18px; }
  .tiktok-head h3 { font-size: 13px; }
}

@media (max-width: 560px) {
  .tiktok-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tiktok-card { padding: 16px; }
  .tiktok-icon { width: 38px; height: 38px; font-size: 17px; }
  .tiktok-head h3 { font-size: 13px; }
  .tiktok-head p { font-size: 10px; }
  .tiktok-options { gap: 6px; }
  .tiktok-btn { padding: 9px 5px; border-radius: 10px; }
  .tiktok-btn b { font-size: 11px; }
  .tiktok-btn small { font-size: 9.5px; }
}
/* =========================================================
   📘 SECTION FACEBOOK (MỚI)
   ========================================================= */

.facebook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.facebook-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(24, 119, 242, .08), rgba(255, 255, 255, .02));
  box-shadow: 0 25px 80px #0004;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.facebook-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(60px);
  background: #1877F2;
  opacity: .18;
  right: -60px;
  top: -60px;
  pointer-events: none;
}

.facebook-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 119, 242, .4);
}

.facebook-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.facebook-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #1877F2, #0C63D4);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
  box-shadow: 0 8px 24px rgba(24, 119, 242, .35);
}

.facebook-head h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 3px;
  color: #fff;
  line-height: 1.3;
}

.facebook-head p {
  font-size: 10.5px;
  color: #8a8a98;
  margin: 0;
  line-height: 1.5;
}

.facebook-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  position: relative;
  z-index: 1;
}

/* ===== VIP CARD ===== */
.vip-card {
  background: linear-gradient(145deg, rgba(234, 179, 8, .12), rgba(255, 255, 255, .02));
  border-color: rgba(234, 179, 8, .3);
}
.vip-card::after {
  background: #eab308;
}
.vip-card:hover {
  border-color: rgba(234, 179, 8, .6);
}

.vip-icon {
  background: linear-gradient(135deg, #eab308, #f59e0b) !important;
  box-shadow: 0 8px 24px rgba(234, 179, 8, .45) !important;
}

.vip-tag {
  display: inline-block;
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #1a1a1f;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 99px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.vip-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 14px;
  position: relative;
  z-index: 1;
}
.vip-price strong {
  font-size: 32px;
  font-weight: 900;
  color: #eab308;
  letter-spacing: -1px;
  text-shadow: 0 4px 16px rgba(234, 179, 8, .4);
}
.vip-price span {
  font-size: 12px;
  color: #8a8a98;
  font-weight: 700;
}

.vip-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: linear-gradient(110deg, #eab308, #f59e0b);
  color: #1a1a1f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .3px;
  box-shadow: 0 10px 25px rgba(234, 179, 8, .35);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  z-index: 1;
}
.vip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(234, 179, 8, .55);
}

/* Responsive */
@media (max-width: 900px) {
  .facebook-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .facebook-card { padding: 18px; }
  .facebook-icon { width: 40px; height: 40px; font-size: 18px; }
  .facebook-head h3 { font-size: 13px; }
  .vip-price strong { font-size: 28px; }
}

@media (max-width: 560px) {
  .facebook-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .facebook-card { padding: 16px; }
  .facebook-icon { width: 38px; height: 38px; font-size: 17px; }
  .facebook-head h3 { font-size: 13px; }
  .facebook-head p { font-size: 10px; }
  .facebook-options { gap: 6px; }
  .vip-price strong { font-size: 26px; }
  .vip-btn { padding: 11px; font-size: 12px; }
}
/* =========================================================
   🌊 WAVE EFFECT CHO BANNER — Sóng lướt qua chữ
   ========================================================= */

.banner-img {
  position: relative;
  overflow: hidden;
}

/* Hiệu ứng sóng — chữ phồng nhẹ + sáng khi sóng qua */
@keyframes waveEffect {
  0% {
    transform: translateX(0) scale(1);
    filter: 
      drop-shadow(0 0 8px rgba(255, 100, 0, .8))
      drop-shadow(0 0 18px rgba(255, 150, 0, .55))
      brightness(1);
  }
  25% {
    transform: translateX(2px) scale(1.005);
    filter: 
      drop-shadow(0 0 14px rgba(255, 130, 0, 1))
      drop-shadow(0 0 28px rgba(255, 200, 0, .75))
      brightness(1.12);
  }
  50% {
    transform: translateX(0) scale(1.01);
    filter: 
      drop-shadow(0 0 18px rgba(255, 150, 0, 1))
      drop-shadow(0 0 36px rgba(255, 220, 0, .85))
      brightness(1.2);
  }
  75% {
    transform: translateX(-2px) scale(1.005);
    filter: 
      drop-shadow(0 0 14px rgba(255, 130, 0, 1))
      drop-shadow(0 0 28px rgba(255, 200, 0, .75))
      brightness(1.12);
  }
  100% {
    transform: translateX(0) scale(1);
    filter: 
      drop-shadow(0 0 8px rgba(255, 100, 0, .8))
      drop-shadow(0 0 18px rgba(255, 150, 0, .55))
      brightness(1);
  }
}

/* Áp dụng hiệu ứng sóng */
.banner-img {
  animation: waveEffect 3s ease-in-out infinite;
}

/* Pause khi hover — để user xem rõ */
.brand-banner:hover .banner-img {
  animation-play-state: paused;
  transform: scale(1.06);
  filter: 
    drop-shadow(0 0 16px rgba(255, 130, 0, 1))
    drop-shadow(0 0 32px rgba(255, 200, 0, .8))
    drop-shadow(0 0 50px rgba(255, 90, 0, .5))
    brightness(1.15);
}
/* =========================================================
   📜 LỊCH SỬ MUA HÀNG
   ========================================================= */

.history-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn .25s ease;
  overflow-y: auto;
}
.history-modal.hidden { display: none; }

.history-card {
  width: min(600px, 100%);
  max-height: 85vh;
  background: linear-gradient(160deg, #131320, #0c0c14);
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 24px;
  padding: 30px 26px 24px;
  box-shadow: 0 40px 100px #000c, 0 0 60px rgba(139, 92, 246, .2);
  animation: popIn .35s cubic-bezier(.2, 1.2, .3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.history-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffffff0a;
  color: #888;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
  z-index: 2;
}
.history-close:hover {
  background: #ffffff1a;
  color: #fff;
}

.history-header {
  text-align: center;
  margin-bottom: 20px;
  flex: none;
}

.history-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #8b5cf6, #c026d3);
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 12px 35px rgba(139, 92, 246, .5);
}

.history-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}

.history-sub {
  margin: 0;
  font-size: 12px;
  color: #8a8a98;
}

.history-list {
  flex: 1;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding-right: 6px;
  margin-bottom: 16px;
}

.history-list::-webkit-scrollbar { width: 6px; }
.history-list::-webkit-scrollbar-track { background: transparent; }
.history-list::-webkit-scrollbar-thumb {
  background: #ffffff22;
  border-radius: 3px;
}
.history-list::-webkit-scrollbar-thumb:hover { background: #ffffff33; }

/* Đơn hàng */
.history-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff05;
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s, border-color .2s, transform .2s;
}
.history-item:hover {
  background: #ffffff0a;
  border-color: rgba(139, 92, 246, .35);
  transform: translateY(-2px);
}

.history-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.history-order-id {
  font-size: 10.5px;
  color: #8a8a98;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: .5px;
}

.history-status {
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.history-status.pending {
  background: #f59e0b22;
  color: #fbbf24;
}
.history-status.done {
  background: #10b98122;
  color: #34d399;
}
.history-status.cancelled {
  background: #ef444422;
  color: #f87171;
}

.history-item-date {
  font-size: 10.5px;
  color: #6f6f7b;
  margin-bottom: 8px;
}

.history-item-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,.08);
}

.history-product {
  flex: 1;
  min-width: 0;
}
.history-product-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.history-product-meta {
  font-size: 11px;
  color: #9a9aaa;
}
.history-product-meta b {
  color: #c4b5fd;
  font-weight: 900;
}

.history-reorder-btn {
  flex: none;
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(110deg, #8b5cf6, #c026d3);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(139, 92, 246, .35);
  white-space: nowrap;
}
.history-reorder-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, .55);
}

/* Empty state */
.history-empty {
  text-align: center;
  padding: 40px 20px;
  color: #6f6f7b;
}
.history-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: .5;
}
.history-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

/* Nút xóa tất cả */
.history-actions {
  flex: none;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.history-clear-btn {
  width: 100%;
  padding: 11px;
  border-radius: 11px;
  background: #ef444411;
  color: #f87171;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #ef444433;
  transition: background .2s, transform .2s;
}
.history-clear-btn:hover {
  background: #ef444422;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 560px) {
  .history-card { padding: 24px 18px 18px; border-radius: 20px; }
  .history-icon { width: 50px; height: 50px; font-size: 24px; }
  .history-header h2 { font-size: 18px; }
  .history-sub { font-size: 11px; }
  .history-item { padding: 12px 14px; }
  .history-product-name { font-size: 12px; }
  .history-reorder-btn { padding: 7px 11px; font-size: 10px; }
}
/* =========================================================
   🎮 GAME SECTIONS — Tách game riêng biệt
   ========================================================= */

.game-section {
  margin-bottom: 60px;
}

.game-section:last-child {
  margin-bottom: 0;
}

.game-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.game-title-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6, #c026d3);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(139, 92, 246, .35);
  flex: none;
}

.game-title h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #c4b5fd, #e879f9, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.game-title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 92, 246, .4), transparent);
}

@media (max-width: 560px) {
  .game-section { margin-bottom: 40px; }
  .game-title {
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }
  .game-title-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
    border-radius: 11px;
  }
  .game-title h3 { font-size: 18px; }
}
/* =========================================================
   📢 PROMO BANNER — Ảnh quảng cáo có viền sáng chạy
   Hỗ trợ mọi trình duyệt
   ========================================================= */

.promo-banner {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 20px auto 0;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0a0a10;
  isolation: isolate;
}

/* Viền sáng chạy — dùng pseudo xoay thay vì conic-gradient */
.promo-banner::before {
  content: "";
  position: absolute;
  width: 150%;              /* To hơn ảnh để che kín khi xoay */
  height: 150%;
  top: -25%;
  left: -25%;
  background: conic-gradient(
    #8b5cf6,
    #ec4899,
    #22d3ee,
    #10b981,
    #f59e0b,
    #ec4899,
    #8b5cf6
  );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
  border-radius: 50%;
}

/* Glow sáng bên ngoài */
.promo-banner::after {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  top: -30%;
  left: -30%;
  background: conic-gradient(
    #8b5cf6,
    #ec4899,
    #22d3ee,
    #10b981,
    #f59e0b,
    #ec4899,
    #8b5cf6
  );
  animation: rotateBorder 4s linear infinite;
  filter: blur(30px);
  opacity: 0.7;
  z-index: -1;
  border-radius: 50%;
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Ảnh nằm trên viền sáng */
.promo-banner img {
  position: relative;
  z-index: 2;
  width: calc(100% - 8px);   /* Cách viền 4px mỗi bên */
  height: calc(100% - 8px);
  object-fit: cover;
  display: block;
  border-radius: 20px;        /* Bo tròn ảnh bên trong */
  background: #0a0a10;
}

/* Responsive */
@media (max-width: 900px) {
  .promo-banner {
    max-width: 340px;
    border-radius: 20px;
  }
  .promo-banner img {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .promo-banner {
    max-width: 280px;
    border-radius: 16px;
  }
  .promo-banner img {
    border-radius: 12px;
  }
}
/* =========================================================
   🏦 PAY-LOGO — Logo ngân hàng trong section thanh toán
   ========================================================= */

.pay-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.pay-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Responsive mobile */
@media (max-width: 560px) {
  .pay-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    padding: 5px;
  }
}
/* =========================================================
   🎵 5 NÚT TIKTOK + FACEBOOK (3+2)
   ========================================================= */

/* TikTok: 5 nút chia 3+2 */
.tiktok-options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

/* 3 nút đầu chiếm 2 cột, 2 nút sau chiếm 3 cột */
.tiktok-options .tiktok-btn:nth-child(1),
.tiktok-options .tiktok-btn:nth-child(2),
.tiktok-options .tiktok-btn:nth-child(3) {
  grid-column: span 2;
}
.tiktok-options .tiktok-btn:nth-child(4),
.tiktok-options .tiktok-btn:nth-child(5) {
  grid-column: span 3;
}

/* Facebook: 5 nút chia 3+2 */
.facebook-options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

.facebook-options .pkg-btn:nth-child(1),
.facebook-options .pkg-btn:nth-child(2),
.facebook-options .pkg-btn:nth-child(3) {
  grid-column: span 2;
}
.facebook-options .pkg-btn:nth-child(4),
.facebook-options .pkg-btn:nth-child(5) {
  grid-column: span 3;
}

/* Responsive mobile: 5 nút chia 2+3 hoặc 1 hàng */
@media (max-width: 560px) {
  .tiktok-options,
  .facebook-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiktok-options .tiktok-btn,
  .facebook-options .pkg-btn {
    grid-column: span 1 !important;
  }
}
/* ===== FORM DỊCH VỤ (TikTok / Facebook) ===== */
.service-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.service-inputs .link-input,
.service-inputs .qty-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
}

.service-inputs .link-input:focus,
.service-inputs .qty-input:focus {
  border-color: #a855f7;
  background: rgba(168,85,247,.08);
}

.service-inputs .link-input::placeholder,
.service-inputs .qty-input::placeholder {
  color: rgba(255,255,255,.4);
}

.service-inputs .qty-input {
  max-width: 160px;
}

.service-inputs .total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(168,85,247,.12);
  border: 1px solid rgba(168,85,247,.3);
  font-size: 14px;
  color: #ddd;
}

.service-inputs .total-line b {
  color: #22d3ee;
  font-size: 17px;
  font-weight: 800;
}
/* =========================================================
   FORM DỊCH VỤ TIKTOK / FACEBOOK
   ========================================================= */
.service-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.service-inputs .link-input,
.service-inputs .qty-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}

.service-inputs .link-input:focus,
.service-inputs .qty-input:focus {
  border-color: #a855f7;
  background: rgba(168,85,247,.08);
}

.service-inputs .link-input::placeholder,
.service-inputs .qty-input::placeholder {
  color: rgba(255,255,255,.4);
}

.service-inputs .qty-input {
  max-width: 100%;
}

.service-inputs .total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(168,85,247,.12);
  border: 1px solid rgba(168,85,247,.3);
  font-size: 14px;
  color: #ddd;
}

.service-inputs .total-line b {
  color: #22d3ee;
  font-size: 17px;
  font-weight: 800;
}

.order-now-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(168,85,247,.35);
}

.order-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168,85,247,.55);
}

.order-now-btn:active { transform: translateY(0); }
/* =========================================================
   NÚT ĐẶT HÀNG + Ô EXTRA TRONG MODAL
   ========================================================= */
.order-now-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 14px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(168,85,247,.35);
}
.order-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168,85,247,.55);
}
.order-now-btn:active { transform: translateY(0); }

/* Ô Link + Số lượng trong modal */
.service-extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.3);
}
.service-extra.hidden { display: none; }

.service-extra .extra-label {
  font-size: 13px;
  color: #b8b8c8;
  font-weight: 600;
  margin-bottom: 2px;
}

.service-extra .extra-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s, background .2s;
}
.service-extra .extra-input:focus {
  border-color: #a855f7;
  background: rgba(168,85,247,.15);
}
.service-extra .extra-input::placeholder {
  color: rgba(255,255,255,.4);
}
/* Dòng đơn giá trong khung extra */
.service-extra .extra-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  margin-top: 6px;
  border-radius: 10px;
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.35);
  font-size: 14px;
  color: #ddd;
  font-weight: 600;
}
.service-extra .extra-total b {
  color: #22d3ee;
  font-size: 17px;
  font-weight: 800;
}
/* ===== Ô TẢI ẢNH THANH TOÁN ===== */
.upload-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.3);
  margin: 6px 0;
}

.upload-label {
  font-size: 14px;
  color: #ddd;
  font-weight: 600;
}

.upload-box input[type="file"] {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px dashed rgba(34,211,238,.5);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.upload-box input[type="file"]:hover {
  border-color: #22d3ee;
  background: rgba(34,211,238,.12);
}

.upload-box input[type="file"]::file-selector-button {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  margin-right: 10px;
}

.preview-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.preview-wrap img {
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  border: 2px solid rgba(34,211,238,.4);
}

.preview-wrap.hidden { display: none; }

.remove-img-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  border: none;
  background: rgba(220,38,38,.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.remove-img-btn:hover {
  background: #dc2626;
}
/* =========================================================
   💬 NÚT ZALO NỔI (FLOATING)
   ========================================================= */
.zalo-float {
  position: fixed;
  bottom: 24px;
  left: 24px;          /* 👈 ĐỔI right → left */
  right: auto;         /* 👈 THÊM dòng này */
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #0068ff, #0084ff);
  color: #fff !important;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  font-family: inherit;
  box-shadow: 0 6px 24px rgba(0, 104, 255, .55);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  animation: zalo-bounce 2.5s ease-in-out infinite;
}
.zalo-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 32px rgba(0, 104, 255, .75);
  animation: none;
}

.zalo-float .zalo-icon {
  font-size: 22px;
  line-height: 1;
}

.zalo-float .zalo-text {
  white-space: nowrap;
}

/* Hiệu ứng sóng lan toả */
.zalo-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(0, 104, 255, .5);
  animation: zalo-pulse 2s infinite;
  z-index: -1;
}

@keyframes zalo-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.4); opacity: 0;  }
}

@keyframes zalo-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Mobile: thu nhỏ lại */
@media (max-width: 600px) {
  .zalo-float {
    bottom: 16px;
    left: 16px;        /* 👈 ĐỔI right → left */
    right: auto;       /* 👈 THÊM dòng này */
    padding: 12px;
    border-radius: 50%;
  }
  .zalo-float .zalo-text { display: none; }
  .zalo-float .zalo-icon { font-size: 26px; }
}

/* =========================================================
   ⚡ LOADING SKELETON
   ========================================================= */
.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  pointer-events: none;
  user-select: none;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .08) 50%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Skeleton cho card */
.skeleton-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.skeleton-line {
  height: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
}

.skeleton-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .12) 50%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.4s infinite;
}

.skeleton-line.short  { width: 40%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.full   { width: 100%; }

.skeleton-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
}
.skeleton-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .12) 50%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.4s infinite;
}

.skeleton-btn {
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.skeleton-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .1) 50%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.4s infinite;
}

/* =========================================================
   🔵 ĐĂNG NHẬP GOOGLE
   ========================================================= */
.google-login-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: #fff;
  color: #1a1a1f;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.google-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  background: #f8f8f8;
}

.google-login-btn:active {
  transform: translateY(0);
}

.google-login-btn:disabled {
  opacity: .6;
  cursor: wait;
}

.google-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5a5a66;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.google-divider::before,
.google-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
}


/* =========================================================
   📱 FIX MODAL TRÊN MOBILE — THU NHỎ + LƯỚT ĐƯỢC
   ========================================================= */

/* Đảm bảo modal container cho phép scroll */
.modal {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px !important;
  align-items: flex-start !important;
}

.modal-card {
  max-height: calc(100vh - 20px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: auto !important;
}

/* Mobile: thu nhỏ modal */
@media (max-width: 900px) {
  .modal {
    padding: 8px !important;
    align-items: flex-start !important;
  }

  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    max-height: calc(100vh - 16px) !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
  }

  .modal-left,
  .modal-right {
    padding: 16px !important;
  }

  .modal-left h2 {
    font-size: 20px !important;
  }

  .modal-left > small {
    font-size: 9px !important;
    letter-spacing: 2px !important;
  }

  .modal .muted {
    font-size: 10px !important;
  }

  /* Order summary */
  .order-summary {
    padding: 10px 12px !important;
    margin: 10px 0 !important;
    font-size: 11px !important;
  }

  /* Ô extra (Link + Số lượng) */
  .service-extra {
    padding: 10px 12px !important;
    margin: 10px 0 !important;
    gap: 6px !important;
  }

  .service-extra .extra-label {
    font-size: 11.5px !important;
  }

  .service-extra .extra-input {
    padding: 9px 12px !important;
    font-size: 13px !important;
  }

  .service-extra .extra-total {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }

  .service-extra .extra-total b {
    font-size: 14px !important;
  }

  /* Ô input chung trong modal */
  .modal input,
  .modal textarea {
    padding: 9px 12px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  /* Form */
  .modal form {
    gap: 7px !important;
  }

  /* Upload ảnh */
  .upload-box {
    padding: 10px !important;
    margin: 4px 0 !important;
  }

  .upload-label {
    font-size: 12px !important;
  }

  .upload-box input[type="file"] {
    padding: 8px !important;
    font-size: 12px !important;
  }

  /* Nút Vietcombank / VietinBank */
  .method-grid {
    gap: 6px !important;
  }

  .method-grid button {
    padding: 10px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  /* Payment details box */
  .payment-details {
    padding: 10px 12px !important;
    margin: 10px 0 !important;
  }

  .payment-details p {
    font-size: 11px !important;
  }

  /* Nút Hoàn tất / Hủy */
  .form-actions {
    gap: 6px !important;
  }

  .form-actions button {
    padding: 11px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
  }

  /* QR bên phải — ẩn bớt để gọn hơn */
  .modal-right {
    border-left: none !important;
    border-top: 1px solid var(--line) !important;
  }

  .qr-frame {
    max-width: 200px !important;
    margin: 0 auto !important;
    padding: 8px !important;
  }

  .qr-frame img {
    border-radius: 8px !important;
  }

  .account-box {
    padding: 10px 12px !important;
    font-size: 10.5px !important;
  }

  .account-box p {
    margin: 3px 0 !important;
  }

  .account-box button {
    padding: 9px !important;
    font-size: 11px !important;
  }

  /* Nút đóng modal */
  .modal-close {
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
    top: 8px !important;
    right: 8px !important;
  }
}

/* Mobile nhỏ hơn (dưới 560px) */
@media (max-width: 560px) {
  .modal {
    padding: 6px !important;
  }

  .modal-card {
    max-height: calc(100vh - 12px) !important;
    border-radius: 14px !important;
  }

  .modal-left,
  .modal-right {
    padding: 14px !important;
  }

  .modal-left h2 {
    font-size: 18px !important;
  }

  .order-summary {
    padding: 8px 10px !important;
    font-size: 10.5px !important;
  }

  .service-extra {
    padding: 8px 10px !important;
  }

  .service-extra .extra-input {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .modal input,
  .modal textarea {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .method-grid button,
  .form-actions button {
    padding: 9px !important;
    font-size: 11.5px !important;
  }

  .qr-frame {
    max-width: 160px !important;
  }
}
/* =========================================================
   🎯 MODAL MOBILE — FIX CUỐI CÙNG (QUAN TRỌNG NHẤT)
   ========================================================= */

/* Modal full-screen trên mobile — cho phép lướt */
@media (max-width: 900px) {
  .modal {
    padding: 0 !important;
    align-items: stretch !important;
  }

  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
  }

  .modal-left,
  .modal-right {
    padding: 18px 16px !important;
    display: block !important;
    width: 100% !important;
  }

  .modal-right {
    border-left: none !important;
    border-top: 1px solid var(--line) !important;
  }

  /* Đảm bảo các phần tử con không bị chặn scroll */
  .modal-card > * {
    pointer-events: auto !important;
  }

  /* Form */
  .modal form {
    display: block !important;
  }

  .modal form > * {
    margin-bottom: 8px;
  }

  /* Nút đóng luôn nổi trên cùng */
  .modal-close {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 100 !important;
    background: rgba(0, 0, 0, .7) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  /* Chữ nhỏ lại */
  .modal-left h2 { font-size: 20px !important; }
  .modal-left > small { font-size: 9px !important; letter-spacing: 2px !important; }
  .modal .muted { font-size: 10px !important; }

  /* Order summary */
  .order-summary {
    padding: 10px 12px !important;
    margin: 10px 0 !important;
    font-size: 11px !important;
  }

  /* Ô extra */
  .service-extra {
    padding: 10px 12px !important;
    margin: 10px 0 !important;
    gap: 6px !important;
  }
  .service-extra .extra-label { font-size: 11.5px !important; }
  .service-extra .extra-input {
    padding: 9px 12px !important;
    font-size: 13px !important;
  }
  .service-extra .extra-total {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
  .service-extra .extra-total b { font-size: 14px !important; }

  /* Input */
  .modal input,
  .modal textarea {
    padding: 10px 12px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  /* Upload ảnh */
  .upload-box { padding: 10px !important; margin: 4px 0 !important; }
  .upload-label { font-size: 12px !important; }
  .upload-box input[type="file"] { padding: 8px !important; font-size: 12px !important; }

  /* Method + actions */
  .method-grid { gap: 6px !important; margin-top: 8px; }
  .method-grid button {
    padding: 10px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  .payment-details { padding: 10px 12px !important; margin: 10px 0 !important; }
  .payment-details p { font-size: 11px !important; }

  .form-actions {
    gap: 6px !important;
    margin-top: 12px;
    margin-bottom: 20px;
  }
  .form-actions button {
    padding: 12px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  /* QR */
  .qr-frame {
    max-width: 200px !important;
    margin: 0 auto !important;
    padding: 8px !important;
  }

  .account-box {
    padding: 10px 12px !important;
    font-size: 10.5px !important;
    margin-top: 10px;
  }
  .account-box p { margin: 3px 0 !important; }
  .account-box button { padding: 9px !important; font-size: 11px !important; }
}

@media (max-width: 560px) {
  .modal-left,
  .modal-right { padding: 14px 12px !important; }

  .modal-left h2 { font-size: 18px !important; }

  .order-summary { padding: 8px 10px !important; font-size: 10.5px !important; }

  .service-extra { padding: 8px 10px !important; }
  .service-extra .extra-input { padding: 8px 10px !important; font-size: 12px !important; }

  .modal input,
  .modal textarea { padding: 8px 10px !important; font-size: 12px !important; }

  .method-grid button,
  .form-actions button { padding: 10px !important; font-size: 11.5px !important; }

  .qr-frame { max-width: 160px !important; }
}
/* =========================================================
   📲 PWA INSTALL POPUP — STYLE MỚI
   ========================================================= */
.pwa-install-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(5, 5, 8, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn .3s ease;
  overflow-y: auto;
}
.pwa-install-modal.hidden { display: none; }

.pwa-install-card {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(160deg, #131320, #0c0c14);
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 26px;
  padding: 32px 26px 24px;
  box-shadow: 0 40px 100px #000c, 0 0 60px rgba(139, 92, 246, .25);
  animation: popIn .4s cubic-bezier(.2, 1.2, .3, 1);
  text-align: center;
}

.pwa-install-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #ffffff0a;
  color: #888;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.pwa-install-close:hover {
  background: #ffffff1a;
  color: #fff;
}

.pwa-install-icon {
  font-size: 54px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 12px 30px rgba(139, 92, 246, .5));
  animation: pwaBounce 2.5s ease-in-out infinite;
}
@keyframes pwaBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.pwa-install-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #c4b5fd, #e879f9, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pwa-install-sub {
  margin: 0 0 20px;
  font-size: 12.5px;
  color: #9a9aaa;
  line-height: 1.6;
}

.pwa-install-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.pwa-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff05;
  border: 1px solid rgba(255,255,255,.06);
  font-size: 11.5px;
  color: #c5c5d0;
  text-align: left;
  transition: background .2s, border-color .2s;
}
.pwa-feature:hover {
  background: #ffffff0a;
  border-color: rgba(139, 92, 246, .25);
}

.pwa-feature-icon {
  font-size: 16px;
  flex: none;
}

.pwa-install-actions {
  display: grid;
  gap: 8px;
  margin-bottom: 6px;
}

.pwa-install-btn {
  padding: 14px;
  border-radius: 13px;
  background: linear-gradient(110deg, #8b5cf6, #c026d3);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .3px;
  box-shadow: 0 12px 30px rgba(139, 92, 246, .45);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(139, 92, 246, .65);
}

.pwa-later-btn {
  padding: 11px;
  border-radius: 11px;
  background: #ffffff08;
  color: #999;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.pwa-later-btn:hover {
  background: #ffffff12;
  color: #ddd;
}

.pwa-install-note {
  margin: 14px 0 0;
  font-size: 10.5px;
  color: #6f6f7b;
  line-height: 1.6;
  min-height: 14px;
}

/* Responsive */
@media (max-width: 560px) {
  .pwa-install-card {
    padding: 26px 18px 18px;
    border-radius: 22px;
  }
  .pwa-install-icon { font-size: 44px; margin-bottom: 12px; }
  .pwa-install-title { font-size: 18px; }
  .pwa-install-sub { font-size: 11.5px; margin-bottom: 16px; }
  .pwa-install-features { gap: 6px; margin-bottom: 18px; }
  .pwa-feature { padding: 8px 10px; font-size: 10.5px; gap: 6px; }
  .pwa-feature-icon { font-size: 14px; }
  .pwa-install-btn { padding: 12px; font-size: 13px; }
  .pwa-later-btn { padding: 9px; font-size: 11.5px; }
}

/* Ẩn khi đã cài PWA */
@media (display-mode: standalone) {
  .pwa-install-modal { display: none !important; }
}
