/* ==============================================================================
   THIHIEPTOOL.COM - MASTER DESIGN SYSTEM
   Faithful to Hacklike24h aesthetic: Pitch black, ambient crimson glow,
   sleek glassmorphism, 100% SVG line icons, zero emojis, zero junk code.
   Responsive across Mobile (375px+), Tablet/iPad (768px+), and Desktop (1200px+).
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Surface & Base Colors */
  --bg-main: #06070a;
  --bg-surface: #0c0e14;
  --bg-card: #11141d;
  --bg-card-hover: #161a26;
  --bg-input: #090a0f;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-glow-red: rgba(239, 68, 68, 0.35);

  /* Primary Brand: Hacklike Crimson */
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-gradient: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  --red-card-gradient: linear-gradient(145deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);

  /* Secondary & Accents */
  --blue-brand: #0284c7;
  --blue-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  --green-emerald: #10b981;
  --green-soft: rgba(16, 185, 129, 0.12);
  --amber-warning: #f59e0b;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-slate-200: #e2e8f0;
  --text-slate-400: #94a3b8;
  --text-slate-500: #64748b;
  --text-slate-600: #475569;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-red-glow: 0 8px 30px rgba(225, 29, 72, 0.35);
  --shadow-card-red: 0 24px 60px rgba(239, 68, 68, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 80% 18%, rgba(225, 29, 72, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090a0f;
}
::-webkit-scrollbar-thumb {
  background: #242938;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-500);
}

/* Shared Utilities */
.site-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* ==============================================================================
   1. NAVBAR (HACKLIKE24H EXACT FLOATING/STICKY HEADER)
   ============================================================================== */
.header-navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 70px;
  background: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand Logo */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.35));
  transition: transform 0.2s ease;
}
.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.brand-name b {
  color: #38bdf8;
}

/* Center Desktop Navigation */
.desktop-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-slate-400);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

/* Right Header Cluster (Auth + Mobile Toggle) */
.nav-right-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Auth Buttons in Header */
.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-auth-ghost {
  background: transparent;
  border: 0;
  color: var(--text-slate-400);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--transition-fast);
}
.btn-auth-ghost:hover {
  color: #fff;
}

.btn-auth-red {
  background: var(--red-gradient);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-red-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-auth-red:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(225, 29, 72, 0.55);
}

/* ==============================================================================
   USER LOGGED IN - COMPACT SAAS PROFILE & BALANCE
   ============================================================================== */
.user-header-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Compact Balance Badge */
.nav-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #10131d;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 5px 6px 5px 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.nav-balance-pill:hover {
  border-color: rgba(225, 29, 72, 0.4);
  background: rgba(225, 29, 72, 0.08);
  transform: translateY(-1px);
}

.nav-bal-label {
  font-size: 11.5px;
  color: var(--text-slate-400);
  font-weight: 600;
}

.nav-bal-val {
  font-size: 13px;
  font-weight: 800;
  color: #f43f5e;
  letter-spacing: -0.2px;
}

.nav-bal-plus {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
  transition: transform 0.2s ease;
}
.nav-balance-pill:hover .nav-bal-plus {
  transform: scale(1.1);
}

/* User Profile Trigger & Dropdown */
.user-profile-menu-wrap {
  position: relative;
}

.btn-profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #10131d;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-profile-trigger:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: #151a26;
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}

.user-name-text {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-mini-badge {
  font-size: 10px;
  font-weight: 800;
  background: rgba(225, 29, 72, 0.2);
  color: #fb7185;
  border: 1px solid rgba(225, 29, 72, 0.35);
  padding: 1px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.chevron-arrow {
  color: var(--text-slate-400);
  transition: transform 0.2s ease;
}
.user-profile-menu-wrap.active .chevron-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: #0f131c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.user-menu-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-user-info {
  padding: 10px 12px 8px;
}
.menu-info-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.menu-info-role {
  font-size: 11px;
  color: var(--text-slate-400);
}

.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}

.menu-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-slate-300);
  text-decoration: none;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.menu-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.menu-dropdown-item svg {
  color: var(--text-slate-400);
  transition: color 0.15s ease;
}
.menu-dropdown-item:hover svg {
  color: #fff;
}

.menu-dropdown-item.item-admin {
  color: #fb7185;
}
.menu-dropdown-item.item-admin:hover {
  background: rgba(225, 29, 72, 0.15);
  color: #fff;
}
.menu-dropdown-item.item-admin svg {
  color: #e11d48;
}

.menu-dropdown-item.item-logout {
  color: #94a3b8;
}
.menu-dropdown-item.item-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.menu-dropdown-item.item-logout:hover svg {
  color: #ef4444;
}

/* Mobile Hamburger Button */
.btn-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==============================================================================
   MOBILE NAVIGATION DRAWER & BACKDROP OVERLAY
   ============================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #090b12;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.85);
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  flex-shrink: 0;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-close-btn:hover {
  background: rgba(225, 29, 72, 0.15);
  border-color: #ef4444;
  color: #fff;
}

.drawer-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-section-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}
.drawer-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateX(3px);
}
.drawer-nav-link.active {
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(225, 29, 72, 0.35);
  color: #fff;
}

.drawer-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-red-tint {
  background: rgba(225, 29, 72, 0.14);
  color: #f43f5e;
}
.icon-cyan-tint {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
}
.icon-amber-tint {
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
}
.icon-purple-tint {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
}
.icon-blue-tint {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
}

.drawer-arrow {
  margin-left: auto;
  color: #475569;
  transition: transform 0.2s;
}
.drawer-nav-link:hover .drawer-arrow,
.drawer-nav-link.active .drawer-arrow {
  color: #ef4444;
  transform: translateX(2px);
}

.drawer-bottom-slot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Guest Box inside drawer */
.drawer-guest-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-drawer-login {
  width: 100%;
  padding: 12px;
  background: var(--red-gradient);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
  cursor: pointer;
}
.btn-drawer-register {
  width: 100%;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-drawer-register:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* User Card inside drawer */
.drawer-user-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}
.drawer-user-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.drawer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
}
.drawer-user-meta {
  display: flex;
  flex-direction: column;
}
.drawer-user-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.drawer-user-role {
  font-size: 11px;
  color: var(--text-slate-400);
}
.drawer-admin-tag {
  background: rgba(225, 29, 72, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}
.drawer-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 12px;
}
.drawer-balance-label {
  color: var(--text-slate-400);
}
.drawer-balance-val {
  color: #ef4444;
  font-weight: 800;
}
.drawer-user-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.drawer-action-btn.admin-btn {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.drawer-action-btn.admin-btn:hover {
  background: #38bdf8;
  color: #0b0d14;
}
.drawer-action-btn.logout-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.drawer-action-btn.logout-btn:hover {
  background: #ef4444;
  color: #fff;
}

/* ==============================================================================
   2. HERO SECTION (HACKLIKE24H EXACT LAYOUT)
   ============================================================================== */
.hero-wrapper {
  padding: 60px 0 80px;
  position: relative;
}

body.is-logged-in #home {
  display: none !important;
}
body.is-logged-in .key-store-section {
  padding-top: 35px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

/* Hero Left Column */
.hero-copy-column {
  max-width: 620px;
}

/* Trust Pill */
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-slate-200);
  margin-bottom: 18px;
}
.avatar-cluster {
  display: flex;
  align-items: center;
}
.avatar-cluster-item {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #090b10;
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}
.avatar-cluster-item:first-child { margin-left: 0; }
.avatar-cluster-item.av-1 { background: #e11d48; }
.avatar-cluster-item.av-2 { background: #0284c7; }
.avatar-cluster-item.av-3 { background: #10b981; }

.trust-red-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Star Rating */
.hero-star-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-slate-200);
  margin-bottom: 22px;
}
.stars-group {
  display: flex;
  gap: 3px;
  color: #ef4444;
}

/* Main Heading */
.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.8px;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title .highlight-red {
  color: #ef4444;
  background: linear-gradient(135deg, #f43f5e 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-slate-400);
  margin-bottom: 30px;
  max-width: 530px;
}

/* Trust Feature Badges */
.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}
.feature-tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-slate-200);
}
.feature-tag-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero CTA Row */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--red-gradient);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-red-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(225, 29, 72, 0.65);
}

.btn-cta-secondary {
  background: #11141d;
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.btn-cta-secondary:hover {
  background: #191e2b;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Right Column: Showcase Card */
.hero-showcase-column {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ambient Radial Glow Behind Card */
.hero-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

/* Floating Left Stat Pill */
.hero-stat-pill-left {
  position: absolute;
  left: -24px;
  top: 26%;
  background: #0f121a;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 14px 18px;
  z-index: 4;
  box-shadow: var(--shadow-lg);
}
.hero-stat-pill-left strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-pill-left small {
  font-size: 11px;
  color: var(--text-slate-400);
  font-weight: 600;
}

/* Floating Bottom Stat Pill */
.hero-stat-pill-bottom {
  position: absolute;
  left: 6px;
  bottom: -24px;
  background: #0f121a;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 14px 18px;
  z-index: 4;
  box-shadow: var(--shadow-lg);
}
.hero-stat-pill-bottom strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-pill-bottom small {
  font-size: 11px;
  color: var(--text-slate-400);
  font-weight: 600;
}

/* Floating App / Social Badges (Telegram, Windows, etc.) */
.floating-circle-icon {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 4;
}
.circle-telegram {
  top: 14%;
  right: -10px;
  background: #0284c7;
  color: #fff;
}
.circle-windows {
  bottom: 22%;
  right: -18px;
  background: #11141e;
  border: 1px solid var(--border-subtle);
  color: #38bdf8;
}

/* The Core Red Curved Showcase Card (100% Fidelity to Image 2) */
.showcase-red-card {
  width: 100%;
  max-width: 360px;
  background: var(--red-card-gradient);
  border-radius: 30px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card-red);
  position: relative;
  z-index: 3;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.showcase-user-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.showcase-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #090a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.showcase-user-meta strong {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 800;
}
.showcase-user-meta small {
  font-size: 11px;
  opacity: 0.88;
}

.showcase-metric-title {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 800;
  opacity: 0.9;
  text-transform: uppercase;
}
.showcase-big-number {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  margin: 4px 0 8px;
  letter-spacing: -1.5px;
}
.showcase-trend-pill {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.92;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Smooth Stylized Bar Chart */
.showcase-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 22px;
  padding: 0 4px;
}
.bar-column {
  flex: 1;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 6px 6px 0 0;
  transition: height 0.4s ease;
}
.bar-column.bar-peak {
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
}

/* Card Transaction Status Pill */
.showcase-tx-pill {
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.showcase-tx-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 175px;
}
.showcase-tx-badge {
  background: #10b981;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
}

/* Bottom Platforms Dock */
.platforms-dock {
  position: absolute;
  bottom: -56px;
  right: 0;
  display: flex;
  gap: 8px;
  background: #10131d;
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 4;
}
.dock-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1b2130;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-slate-400);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.dock-item:hover {
  color: #fff;
  background: #252d42;
}

/* ==============================================================================
   3. SECTION SHARED HEADINGS
   ============================================================================== */
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.section-kicker {
  display: inline-block;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-main-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: 10px;
}
.section-sub-desc {
  font-size: 14px;
  color: var(--text-slate-400);
  line-height: 1.6;
}

/* ==============================================================================
   4. FREE TOOL DOWNLOAD SECTION
   ============================================================================== */
.free-tools-section {
  padding: 70px 0;
  background: rgba(14, 17, 25, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tools-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 45px;
}

.tool-download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.tool-download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.15);
}

.tool-badge-version {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green-soft);
  color: var(--green-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.tool-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.icon-cyan-bg { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.icon-purple-bg { background: linear-gradient(135deg, #7c3aed, #6366f1); }
.icon-red-bg { background: linear-gradient(135deg, #e11d48, #ef4444); }
.icon-green-bg { background: linear-gradient(135deg, #059669, #10b981); }

.tool-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.tool-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-slate-500);
  margin-bottom: 12px;
}

.tool-card-desc {
  font-size: 13px;
  color: var(--text-slate-400);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.btn-card-download {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 0;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  transition: opacity var(--transition-fast);
}
.btn-card-download:hover {
  opacity: 0.92;
}

/* 3-Step Setup Guide */
.steps-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #0b0e15;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
}

.step-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-number-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.step-content small {
  font-size: 12px;
  color: var(--text-slate-400);
  line-height: 1.5;
}

/* ==============================================================================
   5. BẢNG GIÁ KEY KÍCH HOẠT (PRODUCTS / KEY SHOP)
   ============================================================================== */
.key-store-section {
  padding: 70px 0;
}

/* Category Filter Tabs */
.category-filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.category-tab-btn {
  background: #10131d;
  border: 1px solid var(--border-subtle);
  color: var(--text-slate-400);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition-fast);
}
.category-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.category-tab-btn.active {
  background: var(--red-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.4);
}

/* Products Responsive Grid */
.products-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.product-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: var(--shadow-md);
}

.product-thumb-container {
  height: 140px;
  background: #090b11;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-item-card:hover .product-thumb-container img {
  transform: scale(1.04);
}
.product-cat-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.product-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.product-price-val {
  font-size: 18px;
  font-weight: 900;
  color: #ef4444;
}
.product-stock-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.stock-available {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.stock-empty {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.btn-product-buy {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: 0;
  background: #1a2030;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  margin-top: auto;
}
.btn-product-buy:hover {
  background: var(--red-gradient);
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.4);
}
.btn-product-buy:disabled {
  background: #141720;
  color: var(--text-slate-600);
  cursor: not-allowed;
  box-shadow: none;
}

/* ==============================================================================
   6. MODALS & DIALOGS (AUTH, BUY, VIETQR, HISTORY)
   ============================================================================== */
dialog {
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  background: #0f121a;
  color: #fff;
  padding: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  width: min(480px, calc(100vw - 28px));
  position: fixed;
  inset: 0;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-close-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 0;
  color: var(--text-slate-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-icon:hover { color: #fff; }

.modal-title-h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.modal-sub-p {
  font-size: 13px;
  color: var(--text-slate-400);
  margin-bottom: 18px;
}

/* Form Controls */
.modal-form-group {
  margin-bottom: 16px;
}
.modal-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-slate-400);
  margin-bottom: 6px;
}
.modal-form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.modal-form-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.btn-modal-action {
  width: 100%;
  padding: 13px;
  background: var(--red-gradient);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-red-glow);
  transition: opacity var(--transition-fast);
}
.btn-modal-action:hover {
  opacity: 0.93;
}

/* VietQR Modal View */
.vietqr-card-white {
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  display: inline-block;
  margin: 12px auto;
}
.vietqr-card-white img {
  width: 190px;
  height: 190px;
  display: block;
  object-fit: contain;
}

.bank-info-grid {
  background: #090a0f;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
  text-align: left;
  font-size: 13px;
}
.bank-info-grid p {
  margin: 6px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.syntax-code-box {
  background: #1b1622;
  color: #f59e0b;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-family: monospace;
  font-size: 14px;
}
.quick-amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.quick-amount-buttons button {
  background: #11141c;
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.quick-amount-buttons button:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* Key Delivery Modal */
.key-output-box {
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  margin: 16px 0;
  font-family: monospace;
  font-size: 13px;
  color: #38bdf8;
  max-height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e2436;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Floating Zalo Chat Pill */
.floating-zalo-pill {
  position: fixed;
  right: 20px;
  bottom: 24px;
  background: #0068ff;
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.4);
  z-index: 800;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.floating-zalo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 104, 255, 0.6);
}

/* ==============================================================================
   7. FOOTER
   ============================================================================== */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
  color: var(--text-slate-400);
  font-size: 13px;
}
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-copy-text {
  text-align: center;
  padding-top: 24px;
  color: var(--text-slate-500);
  font-size: 12px;
}

/* ==============================================================================
   8. RESPONSIVE BREAKPOINTS (MOBILE, TABLET/IPAD, DESKTOP)
   ============================================================================== */

/* Tablets / iPad (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-copy-column {
    max-width: 100%;
    text-align: center;
  }
  .hero-trust-pill, .hero-star-rating, .hero-feature-tags, .hero-cta-group {
    justify-content: center;
  }
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  .products-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tools-download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-timeline-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Phones (under 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
  }
  body.drawer-locked {
    overflow: hidden !important;
  }
  .site-container {
    padding: 0 12px;
  }
  .header-navbar {
    height: 60px;
  }
  .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }
  .brand-logo-wrap {
    gap: 7px;
    flex-shrink: 0;
  }
  .brand-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .brand-name {
    font-size: 16px;
    letter-spacing: -0.3px;
  }
  .desktop-nav-menu {
    display: none !important;
  }
  .nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .header-auth-actions,
  .auth-action-area {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  #btnNavRegister {
    display: none !important;
  }
  #btnNavLogin {
    padding: 6px 11px;
    font-size: 12px;
    border-radius: 8px;
    gap: 4px;
  }
  .btn-mobile-toggle {
    display: flex;
    width: 35px;
    height: 35px;
    border-radius: 8px;
  }

  /* Logged-in Header state on mobile */
  .user-header-group {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav-balance-pill {
    padding: 4px 8px;
    font-size: 11.5px;
    border-radius: 8px;
    gap: 4px;
  }
  .nav-bal-label {
    display: none !important;
  }
  .nav-bal-val {
    font-size: 11.5px;
  }
  .nav-bal-plus {
    width: 15px;
    height: 15px;
    font-size: 11px;
  }
  .btn-profile-trigger {
    padding: 0;
    background: transparent;
    border: 0;
    gap: 0;
  }
  .btn-profile-trigger .user-name-text {
    display: none !important;
  }
  .btn-profile-trigger .admin-mini-badge {
    display: none !important;
  }
  .btn-profile-trigger .chevron-arrow {
    display: none !important;
  }
  .user-avatar-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .user-menu-dropdown {
    width: 220px;
    right: 0;
    left: auto;
    top: 40px;
  }

  /* Views and typography */
  .view-page-banner {
    padding: 26px 0 16px;
  }
  .view-page-title {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
  }
  .view-page-desc {
    font-size: 12.5px;
    line-height: 1.5;
    padding: 0 4px;
  }

  /* Category pills */
  .category-filter-row {
    gap: 6px;
    margin-bottom: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-filter-row::-webkit-scrollbar {
    display: none;
  }
  .category-tab-btn {
    white-space: nowrap;
    font-size: 12px;
    padding: 7px 13px;
    flex-shrink: 0;
  }

  /* Product Cards Grid */
  .products-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-thumb-container {
    height: 105px;
  }
  .product-card-body {
    padding: 10px;
  }
  .product-card-title {
    font-size: 12.5px;
    height: 34px;
    margin-bottom: 8px;
  }
  .product-pricing-row {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
  }
  .product-price-val {
    font-size: 14.5px;
  }
  .product-stock-tag {
    font-size: 10px;
    padding: 2px 6px;
  }
  .btn-product-buy {
    padding: 9px;
    font-size: 12px;
    border-radius: 8px;
  }

  /* VietQR Deposit View */
  .deposit-view-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0 40px;
  }
  .deposit-box-card {
    padding: 18px 14px;
    border-radius: 18px;
  }
  .deposit-input-wrapper {
    padding: 4px 12px;
  }
  .deposit-amount-input {
    font-size: 20px;
  }
  .deposit-input-currency {
    font-size: 12px;
    padding: 3px 8px;
    margin-right: 8px;
  }
  .quick-amount-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 16px;
  }
  .quick-amount-buttons .quick-btn {
    font-size: 11.5px;
    padding: 9px 2px;
    border-radius: 8px;
  }
  .vietqr-card-white {
    padding: 10px 12px;
  }
  .vietqr-image-render {
    width: 175px;
    height: 175px;
  }
  .bank-info-grid {
    padding: 10px 12px;
    font-size: 12px;
  }
  .bank-info-grid p {
    padding: 6px 0;
    font-size: 12px;
  }
  .syntax-code-box {
    font-size: 12px;
    padding: 2px 6px;
  }

  /* Tool Download Grid */
  .tools-download-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 16px 0 40px;
  }
  .tool-download-item {
    padding: 18px 14px;
    border-radius: 18px;
  }

  /* History Table */
  .history-view-container {
    padding: 16px 12px;
    border-radius: 16px;
    margin: 16px 0 40px;
  }
  .history-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .history-data-table {
    font-size: 12px;
    min-width: 520px;
  }
  .history-data-table th, .history-data-table td {
    padding: 10px 10px;
    white-space: nowrap;
  }

  /* Guide and FAQ */
  .guide-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 16px 0 30px;
  }
  .guide-card-box {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .faq-box-container {
    padding: 18px 14px;
    border-radius: 16px;
    margin: 0 0 40px;
  }
  .faq-item-q {
    font-size: 14px;
  }
  .faq-item-a {
    font-size: 12.5px;
    padding-left: 12px;
  }

  .hero-title {
    font-size: 30px;
    letter-spacing: -0.8px;
  }
  .hero-stat-pill-left {
    left: -10px;
    top: 20%;
    padding: 10px 14px;
  }
  .hero-stat-pill-left strong {
    font-size: 18px;
  }
  .hero-stat-pill-bottom {
    left: -10px;
    bottom: -15px;
    padding: 10px 14px;
  }
  .hero-stat-pill-bottom strong {
    font-size: 18px;
  }
  .showcase-red-card {
    max-width: 320px;
    padding: 20px 18px;
  }
  .showcase-big-number {
    font-size: 38px;
  }
  .platforms-dock {
    display: none;
  }
}


/* ==============================================================================
   9. DEDICATED SECTION VIEWS (SPA NAVIGATION: BẢNG GIÁ - TẢI TOOL - NẠP TIỀN - HƯỚNG DẪN - LỊCH SỬ)
   ============================================================================== */
.app-view {
  min-height: calc(100vh - 140px);
}

.view-page-banner {
  padding: 50px 0 35px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.view-page-kicker {
  display: inline-block;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.view-page-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.view-page-title .highlight-red {
  color: #ef4444;
  background: linear-gradient(135deg, #f43f5e 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.view-page-desc {
  font-size: 15px;
  color: var(--text-slate-400);
  line-height: 1.6;
}

/* Dedicated VietQR Deposit View */
.deposit-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 30px 0 60px;
}

.deposit-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.deposit-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.deposit-step-badge {
  background: var(--red-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.35);
}
.deposit-step-badge.pill-secondary {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: none;
}

.deposit-card-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.deposit-card-sub {
  font-size: 13px;
  color: var(--text-slate-400);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Big Currency Input */
.deposit-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #090b10;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px 18px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}
.deposit-input-wrapper:focus-within {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
}

.deposit-input-currency {
  font-size: 14px;
  font-weight: 800;
  color: #e11d48;
  background: rgba(225, 29, 72, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-right: 12px;
  letter-spacing: 0.5px;
}

.deposit-amount-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  padding: 10px 0;
  font-family: var(--font-main);
}
.deposit-amount-input::placeholder {
  color: #475569;
}

/* Quick Pills */
.quick-amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.quick-amount-buttons .quick-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  padding: 11px 6px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-amount-buttons .quick-btn:hover {
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.4);
  color: #fff;
}
.quick-amount-buttons .quick-btn.active {
  background: rgba(225, 29, 72, 0.18);
  border-color: #e11d48;
  color: #fff;
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.35);
}

.btn-deposit-action {
  width: 100%;
  background: var(--red-gradient);
  color: #fff;
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
  transition: all 0.2s ease;
  margin-top: auto;
}
.btn-deposit-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(225, 29, 72, 0.55);
}

/* Right Column: QR Placeholder */
.qr-placeholder-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  text-align: center;
  height: 100%;
}

.qr-scan-mock-frame {
  width: 90px;
  height: 90px;
  border: 2px dashed rgba(225, 29, 72, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  background: rgba(225, 29, 72, 0.04);
}

.qr-scan-line {
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e11d48;
  box-shadow: 0 0 8px #e11d48;
  animation: scanLineMove 2s ease-in-out infinite alternate;
}

@keyframes scanLineMove {
  0% { top: 15%; }
  100% { top: 85%; }
}

.qr-placeholder-wrap h4 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.qr-placeholder-wrap p {
  font-size: 13px;
  color: var(--text-slate-400);
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 24px;
}

.deposit-trust-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
}

.trust-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 600;
}

/* Active QR Card */
.deposit-active-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vietqr-card-white {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 18px 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
  display: inline-block;
  text-align: center;
}

.vietqr-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.vietqr-logo-brand {
  font-size: 14px;
  font-weight: 900;
  color: #004d80;
  letter-spacing: -0.3px;
}
.napas-badge {
  font-size: 10px;
  font-weight: 800;
  background: #005bae;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.vietqr-image-render {
  width: 210px;
  height: 210px;
  display: block;
  margin: 0 auto;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.vietqr-img-wrap {
  position: relative;
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
}

.vietqr-card-white.is-expired .vietqr-image-render {
  filter: blur(6px) grayscale(1);
  opacity: 0.28;
  pointer-events: none;
}

.vietqr-expired-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 11, 18, 0.84);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.btn-qr-renew {
  background: var(--red-gradient);
  color: #fff;
  border: 0;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
  transition: transform 0.15s ease;
}
.btn-qr-renew:hover {
  transform: translateY(-1px);
}

.qr-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.qr-countdown-badge b {
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.qr-countdown-badge.urgent {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}
.qr-countdown-badge.expired {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #ef4444;
}
.qr-countdown-badge.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.vietqr-footer-hint {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-top: 8px;
}

.deposit-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 16px;
}

.pulse-radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: pulseDot 1.2s infinite;
}

.bank-info-grid {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 14px;
}
.bank-info-grid p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin: 0;
  color: var(--text-slate-300);
}
.bank-info-grid p:last-child {
  border-bottom: none;
}
.bank-info-grid p span:first-child {
  color: var(--text-slate-400);
}

.syntax-code-box {
  background: #090b10;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.5px;
}

.deposit-qr-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
}

.btn-check-deposit {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  transition: all 0.2s ease;
}
.btn-check-deposit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.5);
}
.btn-check-deposit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-cancel-deposit {
  background: rgba(239, 68, 68, 0.12);
  color: #fda4af;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-cancel-deposit:hover:not(:disabled) {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  transform: translateY(-1px);
}

.deposit-warning-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #fda4af;
  text-align: left;
}

.copy-btn-inline {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: 8px;
}
.copy-btn-inline:hover {
  background: #38bdf8;
  color: #090b10;
}

/* Dedicated Guide View */
.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0 50px;
}
.guide-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.guide-step-tag {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 18px;
}
.guide-card-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.guide-card-box p {
  font-size: 13px;
  color: var(--text-slate-400);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-box-container {
  max-width: 800px;
  margin: 0 auto 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
}
.faq-item-row {
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}
.faq-item-row:last-child {
  border-bottom: 0;
}
.faq-item-q {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-item-a {
  font-size: 13px;
  color: var(--text-slate-400);
  line-height: 1.6;
  padding-left: 24px;
}

/* Dedicated History View */
.history-view-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  margin: 30px 0 60px;
  overflow: hidden;
}

/* Modern Dark Table & Refresh Button */
.btn-table-refresh {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.btn-table-refresh:hover {
  background: rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.4);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}
.btn-table-refresh svg {
  transition: transform 0.4s ease;
}
.btn-table-refresh:hover svg {
  transform: rotate(90deg);
}
.btn-table-refresh.spinning svg {
  transform: rotate(360deg);
}

.history-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 4px;
}
.history-data-table thead th {
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.history-data-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  vertical-align: middle;
}
.history-data-table tbody tr {
  transition: background 0.15s ease;
}
.history-data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.btn-view-key {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-view-key:hover {
  background: #38bdf8;
  color: #0b0f17;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .deposit-view-grid {
    grid-template-columns: 1fr;
  }
  .guide-cards-grid {
    grid-template-columns: 1fr;
  }
}
