@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  --btn-blue: #0284c7;
  --btn-blue-hover: #0369a1;
  --bg-main: #f0f7ff;
  --bg-gradient: linear-gradient(180deg, #e8f3fe 0%, #f4f9ff 250px, #f8fafc 100%);
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #475569;
  --badge-bg: #e0f2fe;
  --badge-text: #0369a1;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(2, 132, 199, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

/* Nav Bar Pill */
.nav-pill-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
  transition: transform 0.2s;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(224, 242, 254, 0.4);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-primary-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary-login:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: all 0.2s;
}

.user-badge:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.user-coins {
  font-size: 11.5px;
  color: var(--primary);
  font-weight: 700;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding: 24px 0 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: stretch;
}

.hero-banner-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.85);
  aspect-ratio: 900 / 500;
  background: #e2e8f0;
}

.hero-banner-main picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-banner-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner-side {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hero-banner-side:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.3);
}

.hero-banner-side picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-banner-side .scroll-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Info Cards Overlay - Vừa khít lòng cuộn tranh, không tràn viền, không đè nút */
.scroll-content-overlay {
  position: absolute;
  top: 92px;
  bottom: 96px;
  left: 28px;
  right: 28px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  pointer-events: none;
}

.scroll-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1.5px solid #38bdf8;
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.16);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-sparkle {
  color: #0284c7;
  font-size: 9px;
  animation: starPulse 1.8s infinite alternate;
}

.scroll-info-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.scroll-info-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(186, 230, 253, 0.95);
  border-radius: 10px;
  padding: 7px 12px;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.08);
}

.scroll-info-card .card-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.scroll-info-card .card-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.scroll-info-card .card-text strong {
  font-size: 11.5px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.25;
}

.scroll-info-card .card-text small {
  font-size: 10px;
  color: #0284c7;
  font-weight: 600;
  line-height: 1.2;
}

/* ==================== WELCOME & COMMITMENT CARD ==================== */
.welcome-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 20px 0 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.welcome-title-group {
  margin-bottom: 24px;
}

.welcome-title {
  font-size: 23px;
  font-weight: 800;
  color: #0369a1;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.welcome-subtitle {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
  letter-spacing: 1px;
}

.welcome-tagline {
  font-size: 14.5px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 6px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  margin-bottom: 24px;
}

.feature-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.feature-box-title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.feature-box-title.green {
  color: #0284c7;
}

.feature-box-title.red {
  color: #b91c1c;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.8px;
  color: #334155;
  line-height: 1.45;
}

.feature-list li .icon-bullet {
  font-size: 14px;
  line-height: 1.3;
  flex-shrink: 0;
}

.zalo-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  margin-top: 6px;
  margin-bottom: 16px;
}

.btn-ice-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 10px 0 6px;
}

.btn-ice-image {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
  max-width: 260px;
}

.btn-ice-image img {
  width: 100%;
  height: auto;
  display: block;
}

.btn-ice-image:hover {
  transform: scale(1.06) translateY(-2px);
}

/* ==================== GAME CALL-TO-ACTION MAGIC EFFECTS ==================== */
.btn-nhan-vao-day-pro {
  position: relative;
  display: inline-block;
  max-width: 270px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: btnBreathing 3.6s infinite ease-in-out;
  text-decoration: none;
}

.btn-nhan-vao-day-pro img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(2, 132, 199, 0.38));
  transition: filter 0.3s ease;
}

.btn-nhan-vao-day-pro:hover {
  transform: translateY(-4px) scale(1.06);
}

.btn-nhan-vao-day-pro:hover img {
  filter: drop-shadow(0 10px 30px rgba(6, 182, 212, 0.8)) drop-shadow(0 0 45px rgba(56, 189, 248, 0.65));
}

/* 1. Cyan Flame Aura (Ngọn lửa ma thuật thần binh) */
.cyan-flame-aura {
  position: absolute;
  inset: -8px -12px -8px -12px;
  pointer-events: none;
  z-index: 1;
  border-radius: 9999px;
}

.cyan-flame-aura .flame-glow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
}

.cyan-flame-aura .flame-glow-1 {
  background: radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.75) 0%, rgba(56, 189, 248, 0.45) 50%, transparent 75%);
  filter: blur(10px);
  animation: flamePulse 2.2s infinite alternate ease-in-out;
}

.cyan-flame-aura .flame-glow-2 {
  background: radial-gradient(ellipse at 45% 55%, rgba(0, 240, 255, 0.65) 0%, rgba(14, 165, 233, 0.4) 60%, transparent 80%);
  filter: blur(14px);
  animation: flamePulse 2.9s infinite alternate-reverse ease-in-out;
}

/* Left-focused flame for Nhấn Vào Đây */
.cyan-flame-aura.flame-left-focus {
  inset: -10px auto -10px -16px;
  width: 105px;
}

.flame-glow-left-1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.85) 0%, rgba(6, 182, 212, 0.6) 50%, transparent 80%);
  filter: blur(10px);
  animation: flameFlicker 1.8s infinite alternate ease-in-out;
}

.flame-glow-left-2 {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.8) 0%, rgba(20, 184, 166, 0.5) 60%, transparent 85%);
  filter: blur(16px);
  animation: flameFlicker 2.4s infinite alternate-reverse ease-in-out;
}

/* 2. Shimmer Light Sweep (Vệt sáng kim cương lướt qua) */
.btn-shimmer-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
  border-radius: 8px;
}

.btn-shimmer-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
  transform: skewX(-25deg);
  animation: shimmerSweep 3.6s infinite ease-in-out;
}

/* 3. Twinkling Sparkle Stars (Ánh sao lấp lánh như Video 2) */
.btn-twinkle-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.btn-twinkle-stars .star-sparkle {
  position: absolute;
  color: #ffffff;
  text-shadow: 0 0 6px #00f0ff, 0 0 14px #38bdf8;
  font-size: 14px;
  opacity: 0;
  animation: starGlisten 2.5s infinite ease-in-out;
}

.btn-twinkle-stars .s1 {
  top: 18%;
  left: 18%;
  animation-delay: 0s;
  font-size: 15px;
}

.btn-twinkle-stars .s2 {
  bottom: 22%;
  left: 45%;
  animation-delay: 0.8s;
  font-size: 12px;
}

.btn-twinkle-stars .s3 {
  top: 22%;
  right: 20%;
  animation-delay: 1.6s;
  font-size: 16px;
}

.btn-twinkle-stars .s4 {
  bottom: 18%;
  right: 35%;
  animation-delay: 1.2s;
  font-size: 11px;
}

/* ==================== ANIMATION KEYFRAMES ==================== */
@keyframes flamePulse {
  0% {
    transform: scale(0.96, 0.95);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.06, 1.1) rotate(1.5deg);
    opacity: 0.95;
  }

  100% {
    transform: scale(1.0, 1.02) rotate(-1.5deg);
    opacity: 0.8;
  }
}

@keyframes flameFlicker {
  0% {
    transform: translateY(0) scale(0.95);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-5px) scale(1.12) rotate(3deg);
    opacity: 1;
  }

  100% {
    transform: translateY(2px) scale(1.02) rotate(-2deg);
    opacity: 0.85;
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }

  25% {
    transform: translateX(380%) skewX(-25deg);
  }

  100% {
    transform: translateX(380%) skewX(-25deg);
  }
}

@keyframes starGlisten {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }

  40% {
    transform: scale(1.3) rotate(45deg);
    opacity: 1;
  }

  70% {
    transform: scale(1.0) rotate(90deg);
    opacity: 0.9;
  }

  100% {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }
}

@keyframes btnBreathing {
  0% {
    transform: scale(1.0);
  }

  50% {
    transform: scale(1.028);
  }

  100% {
    transform: scale(1.0);
  }
}

@keyframes particleDrift {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }

  20% {
    opacity: 0.85;
  }

  80% {
    opacity: 0.85;
  }

  100% {
    transform: translateY(460px) rotate(180deg);
    opacity: 0;
  }
}

@keyframes starPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ==================== TICKER HOT BANNER ==================== */
.ticker-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.05);
  overflow: hidden;
}

.ticker-bell {
  background: var(--primary);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 12px;
}

.ticker-bell svg {
  width: 17px;
  height: 17px;
  animation: bellRing 2s infinite ease-in-out;
}

@keyframes bellRing {

  0%,
  100% {
    transform: rotate(0);
  }

  10%,
  30% {
    transform: rotate(14deg);
  }

  20%,
  40% {
    transform: rotate(-14deg);
  }

  50% {
    transform: rotate(0);
  }
}

.ticker-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-right: 14px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ticker-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-text {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  animation: marquee 24s linear infinite;
  padding-left: 100%;
}

.ticker-text strong {
  color: #0284c7;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ==================== SECTION HEADERS ==================== */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-main);
}

.section-title .title-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.section-badge-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.section-link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}

.section-link-more:hover {
  gap: 8px;
  color: var(--primary-hover);
}

/* ==================== FEATURED SERVICE CARD ==================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.event-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 440px;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #bae6fd;
}

.event-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #0f172a;
  color: #ffffff;
}

.event-card-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.event-card-header h3 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.event-card-banner {
  width: 100%;
  aspect-ratio: 400 / 250;
  overflow: hidden;
  background: #1e293b;
}

.event-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card-body {
  padding: 18px 20px 22px;
}

.event-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.event-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.8px;
  color: #334155;
}

.event-checklist li svg {
  width: 17px;
  height: 17px;
  color: var(--success);
  flex-shrink: 0;
}

.event-card-cta {
  display: flex;
  justify-content: center;
}

.event-card-cta img {
  max-width: 230px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.event-card-cta img:hover {
  transform: scale(1.06);
}

/* ==================== ARTICLES SECTION ==================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.article-card:hover .article-title {
  color: var(--primary);
}

.article-excerpt {
  font-size: 13.8px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 16px;
}

.article-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}

.article-readmore:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* ==================== CHUNG SỨC / ORDER PAGE ==================== */
.page-view {
  display: none;
  padding: 24px 0 50px;
  animation: fadeIn 0.3s ease;
}

.page-view.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header-box {
  margin-bottom: 24px;
}

.page-main-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}

.page-main-title .sparkle-icon {
  color: var(--primary);
}

.page-main-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Stat Cards Row */
.stats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card.wallet-card {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.25);
}

.wallet-card .stat-label {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
}

.wallet-card .stat-value {
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0 12px;
}

.btn-add-funds {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  transition: all 0.2s;
}

.btn-add-funds:hover {
  background: #ffffff;
  color: var(--primary);
}

.stat-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.stat-icon-wrapper.green {
  background: #dcfce7;
  color: #16a34a;
}

.stat-icon-wrapper.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.stat-icon-wrapper.amber {
  background: #fef3c7;
  color: #d97706;
}

.stat-icon-wrapper.cyan {
  background: #e0f2fe;
  color: #0284c7;
}

.stat-label-normal {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-value-normal {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

/* Order Section 2 Columns */
.order-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.order-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.order-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.order-box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
}

.order-tab-toggle {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  padding: 3px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Packages Grid */
.packages-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 12px;
  color: var(--text-sub);
}

.packages-head .price-lock-hint {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.quick-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pkg-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.pkg-card:hover {
  border-color: var(--primary);
  background: #f0f9ff;
  transform: translateY(-1px);
}

.pkg-card.selected {
  border-color: var(--primary);
  background: #e0f2fe;
  box-shadow: 0 0 0 1px var(--primary);
}

.pkg-name {
  font-size: 13.8px;
  font-weight: 700;
  color: var(--text-main);
}

.pkg-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Form Groups */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-label span.req {
  color: #ef4444;
}

.input-text {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-text:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.info-alert-blue {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.8px;
  color: #0369a1;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.info-alert-blue svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.two-col-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

/* Checkout Bar */
.order-checkout-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.checkout-total-group {
  display: flex;
  flex-direction: column;
}

.checkout-total-label {
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-total-price {
  font-size: 18px;
  font-weight: 800;
  color: #0284c7;
}

.btn-submit-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-submit-order:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5), 0 0 25px rgba(56, 189, 248, 0.4);
}

/* Order Tracking View */
.tracking-empty-box {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
}

.tracking-empty-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: #94a3b8;
}

.tracking-empty-text {
  font-size: 14.5px;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.orders-list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.orders-list-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
}

.orders-list-table td {
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
  vertical-align: middle;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.status-badge.pending {
  background: #fef3c7;
  color: #b45309;
}

.status-badge.running {
  background: #e0f2fe;
  color: #0284c7;
}

.status-badge.completed {
  background: #dcfce7;
  color: #15803d;
}

/* ==================== DEPOSIT / NẠP TIỀN VIEW ==================== */
.deposit-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.deposit-rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.qr-checkout-box {
  display: flex;
  gap: 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  align-items: center;
  margin-top: 16px;
}

.qr-code-img {
  width: 170px;
  height: 170px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.qr-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-label {
  color: var(--text-muted);
  width: 130px;
}

.qr-value {
  font-weight: 700;
  color: var(--text-main);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy {
  font-size: 12px;
  color: var(--primary);
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* ==================== ARTICLE DETAIL VIEW ==================== */
.article-full-container {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  transition: color 0.2s;
}

.btn-back-link:hover {
  color: var(--primary);
}

.article-full-title {
  font-size: 27px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-full-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.article-prose {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
}

.article-prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 28px 0 12px;
}

.article-prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin: 22px 0 10px;
}

.article-prose p {
  margin-bottom: 16px;
}

.article-prose ul,
.article-prose ol {
  margin: 12px 0 18px 24px;
}

.article-prose li {
  margin-bottom: 8px;
}

.article-callout-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: #92400e;
  margin: 20px 0;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--card-border);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.3fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-badges-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

.footer-badges-list span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-sub);
}

.footer-links-list li a {
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ==================== FLOATING SUPPORT WIDGET ==================== */
.floating-support-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 14px 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.9);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-support-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.25);
}

.floating-support-label {
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
}

.zalo-pulse-bubble {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0068ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.zalo-pulse-bubble::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  animation: pulseRadar 2s infinite;
}

@keyframes pulseRadar {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ==================== AUTH MODAL ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 28px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.btn-close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  transition: color 0.2s;
  cursor: pointer;
}

.btn-close-modal:hover {
  color: var(--text-main);
}

.modal-brand-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-brand-header img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.modal-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 20px;
}

.modal-tab-btn {
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.2s;
  text-align: center;
}

.modal-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-google-login:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #94a3b8;
  font-size: 13px;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.modal-divider span {
  padding: 0 10px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
}

.input-icon-right {
  position: absolute;
  right: 12px;
  color: #94a3b8;
  cursor: pointer;
}

.input-with-icon .input-text {
  padding-left: 38px;
  padding-right: 38px;
}

.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin: 14px 0 20px;
}

.auth-options-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  cursor: pointer;
}

.auth-options-row a {
  color: var(--primary);
  font-weight: 500;
}

.btn-auth-submit {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-auth-submit:hover {
  background: var(--primary-hover);
}

.auth-terms-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.4;
}

.auth-terms-note a {
  color: var(--primary);
  font-weight: 500;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 500;
  animation: toastSlideIn 0.3s ease;
  border-left: 4px solid var(--primary);
}

.toast-msg.success {
  border-left-color: #10b981;
}

.toast-msg.error {
  border-left-color: #ef4444;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner-side {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .order-workspace-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-pill-wrapper {
    overflow-x: auto;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qr-checkout-box {
    flex-direction: column;
    text-align: center;
  }

  .qr-row {
    flex-direction: column;
    gap: 4px;
  }
}

/* ==================== ADMIN PANEL STYLES ==================== */
.admin-badge-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  text-transform: uppercase;
}

.admin-nav-item {
  background: #fef2f2;
  color: #dc2626 !important;
  border: 1px solid #fecaca;
}

.admin-nav-item:hover {
  background: #fee2e2 !important;
}

.admin-dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  overflow-x: auto;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab-btn:hover {
  color: var(--primary);
  background: #f0f9ff;
}

.admin-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* Admin Action Buttons */
.btn-action-sm {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-action-start {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.btn-action-start:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-action-complete {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.btn-action-complete:hover {
  background: #16a34a;
  color: #ffffff;
}

.btn-action-refund {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.btn-action-refund:hover {
  background: #f59e0b;
  color: #ffffff;
}

.btn-action-reject {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn-action-reject:hover {
  background: #dc2626;
  color: #ffffff;
}

.btn-action-approve {
  background: #16a34a;
  color: #ffffff;
  border: none;
}

.btn-action-approve:hover {
  background: #15803d;
}

/* Quick User Adjust Coin Box */
.admin-coin-adjust-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.admin-coin-adjust-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 14px;
  align-items: flex-end;
}

/* ==================== REAL-TIME PROGRESS & LIVE LOGS ==================== */
.progress-container-rt {
  min-width: 140px;
}

.progress-info-rt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  margin-bottom: 4px;
}

.progress-track-rt {
  background: #e2e8f0;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.progress-bar-realtime {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar-realtime.running {
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #0284c7 100%);
  background-size: 200% 100%;
  animation: shine-bar 1.5s infinite linear;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.progress-bar-realtime.completed {
  background: linear-gradient(90deg, #10b981, #34d399);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.progress-bar-realtime.failed {
  background: #ef4444;
}

.progress-bar-realtime.pending {
  background: #f59e0b;
}

@keyframes shine-bar {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.btn-live-log-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-live-log-tag:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}

.btn-live-log-tag .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px #16a34a;
  animation: live-pulse 1.2s infinite;
}

@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Modal Live Logs */
.live-logs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.live-logs-modal {
  background: #0f172a;
  color: #f8fafc;
  width: 100%;
  max-width: 580px;
  border-radius: 16px;
  border: 1px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.live-logs-header {
  padding: 16px 20px;
  border-bottom: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
}

.live-logs-header h3 {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-logs-close {
  background: #334155;
  color: #94a3b8;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.live-logs-close:hover {
  background: #475569;
  color: #ffffff;
}

.live-logs-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.live-log-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.4);
  padding: 8px 12px;
  border-radius: 8px;
}

.live-log-time {
  color: #64748b;
  margin-right: 8px;
}

.live-log-acc {
  color: #38bdf8;
  font-weight: 600;
}

.live-log-pts {
  color: #34d399;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.live-log-pts.vip {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.live-logs-footer {
  padding: 14px 20px;
  background: #1e293b;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
/* Custom styling for packages and locked inputs */
.quick-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .quick-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.pkg-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  margin-top: 1px;
}
.locked-pkg-input {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  cursor: not-allowed !important;
  border-color: #cbd5e1 !important;
}
