/* ============================================
   style.css — Design System cho trang tặng mã quà tặng
   Font: Be Vietnam Pro
   Primary: #FF6B35 (cam)
   Gradient: Purple → Orange
   ============================================ */

/* ============================================ */
/* TOP NAVBAR                                   */
/* ============================================ */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-item:hover::after {
  width: 80%;
}

.nav-icon {
  font-size: 14px;
}

.nav-item:first-child .nav-icon {
  color: #FF0000;
}

.nav-item:nth-child(2) .nav-icon {
  color: var(--primary);
}

.nav-item-game {
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 20px;
}

.nav-item-game .nav-label {
  font-size: 13px;
}

.nav-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.8;
}

.nav-item-game:hover .nav-sub {
  color: var(--primary-light);
}

@media (max-width: 600px) {
  .nav-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .nav-container::-webkit-scrollbar {
    display: none;
  }
  .nav-item {
    padding: 8px 14px;
    font-size: 12px;
  }
  .nav-item-game {
    padding: 6px 14px;
  }
  .nav-item-game .nav-label {
    font-size: 12px;
  }
  .nav-sub {
    font-size: 9px;
  }
}

/* ============================================
   ============================================ */

/* === CSS VARIABLES === */
:root {
  --primary: #FF6B35;
  --primary-dark: #E85D2C;
  --primary-light: #FF8F5E;
  --secondary: #7B2FF7;
  --secondary-dark: #6320D9;
  --secondary-light: #9D5CFF;
  --accent: #FFD93D;
  --accent-dark: #F5C800;
  --bg-dark: #0A0A1A;
  --bg-darker: #050510;
  --bg-card: rgba(22, 22, 50, 0.85);
  --bg-card-solid: #16163A;
  --bg-card-hover: #1E1E4A;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #FFFFFF;
  --text-secondary: #C4C4E0;
  --text-muted: #7878A0;
  --success: #00E676;
  --success-bg: rgba(0, 230, 118, 0.1);
  --error: #FF4757;
  --error-bg: rgba(255, 71, 87, 0.1);
  --warning: #FFB830;
  --border-radius: 14px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow-primary: 0 0 40px rgba(255, 107, 53, 0.35);
  --shadow-glow-secondary: 0 0 40px rgba(123, 47, 247, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* ============================================ */
/* HERO SECTION                                 */
/* ============================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px 24px;
  background: var(--bg-darker);
}

/* === ANIMATED BACKGROUND === */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 47, 247, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(123, 47, 247, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--primary), #ff3366);
  top: -150px;
  right: -120px;
  animation: float1 12s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--secondary), #4A00E0);
  bottom: -100px;
  left: -100px;
  animation: float2 15s ease-in-out infinite;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent), #FF6B35);
  top: 35%;
  left: 45%;
  animation: float3 10s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(-40px, 30px) scale(1.1) rotate(5deg); }
  66% { transform: translate(20px, -20px) scale(0.95) rotate(-3deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(30px, -30px) scale(1.05) rotate(-5deg); }
  66% { transform: translate(-20px, 15px) scale(0.95) rotate(3deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -40px) scale(0.85); }
}

/* === CHANNEL BADGE === */
.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 6px 20px 6px 6px;
  border-radius: 60px;
  margin-bottom: 16px;
  transition: var(--transition);
  animation: fadeInDown 0.8s ease;
}

.channel-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.channel-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 107, 53, 0.5);
}

.channel-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

/* === HERO TITLE === */
.hero-title {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

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

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 16px;
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* === STOCK COUNTER === */
.stock-counter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(123, 47, 247, 0.08));
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: 10px 28px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.stock-icon {
  font-size: 20px;
  animation: flicker 2s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.stock-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.stock-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.stock-bar {
  width: 220px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
  background-size: 200% 100%;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === CTA BUTTON === */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, #FF3366 50%, var(--secondary) 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.4s both;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.cta-button:hover::before {
  transform: translateX(100%);
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 44px rgba(255, 107, 53, 0.5), 0 0 80px rgba(255, 107, 53, 0.2);
  background-position: 100% 50%;
}

.cta-button:active {
  transform: translateY(-1px) scale(0.99);
}

.cta-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
}

/* Pulse glow animation */
.pulse {
  animation: fadeInUp 0.8s ease 0.4s both, pulse 3s ease-in-out 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4); 
  }
  50% { 
    box-shadow: 0 8px 48px rgba(255, 107, 53, 0.6), 
                0 0 80px rgba(255, 107, 53, 0.2),
                0 0 120px rgba(123, 47, 247, 0.1); 
  }
}

.cta-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease 0.5s both;
}

/* === ANIMATIONS UTILITY === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================ */
/* TESTIMONIALS                                 */
/* ============================================ */
.testimonials {
  padding: 100px 20px;
  background: var(--bg-dark);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 247, 0.3), rgba(255, 107, 53, 0.3), transparent);
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-stars {
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(123, 47, 247, 0.3);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================ */
/* MODAL OVERLAY                                */
/* ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: linear-gradient(180deg, #1A1A3E 0%, #12122A 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-xl);
  width: 100%;
  max-width: 540px;
  padding: 40px;
  position: relative;
  box-shadow: 
    var(--shadow-lg),
    0 0 80px rgba(123, 47, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: modalIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 71, 87, 0.15);
  border-color: rgba(255, 71, 87, 0.3);
  color: var(--error);
  transform: rotate(90deg);
}

/* === PROGRESS BAR === */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  padding: 0 10px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition-slow);
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4), 0 0 40px rgba(255, 107, 53, 0.15);
  transform: scale(1.1);
}

.progress-step.completed .step-number {
  background: linear-gradient(135deg, var(--success), #00C853);
  border-color: var(--success);
  color: white;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-step.active .step-label {
  color: var(--primary-light);
}

.progress-step.completed .step-label {
  color: var(--success);
}

.progress-line {
  width: 64px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 10px;
  margin-bottom: 26px;
  transition: var(--transition-slow);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.progress-line.filled {
  background: var(--success);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.3);
}

.progress-line.filled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmerLine 2s ease infinite;
}

@keyframes shimmerLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* === STEP CONTENT === */
.step-content {
  display: none;
  text-align: center;
}

.step-content.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.step-icon {
  font-size: 52px;
  margin-bottom: 16px;
  display: inline-block;
}

.step-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-description {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.step-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* === GOOGLE LOGIN === */
.google-login-wrapper {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.google-login-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  color: #1f1f1f;
  background: #FFFFFF;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0,0,0,0.05);
}

.google-login-btn:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.google-login-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.google-icon {
  flex-shrink: 0;
}

/* ============================================ */
/* STEP 2 — CHANNEL PREVIEW                    */
/* ============================================ */
.channel-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.channel-preview:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.channel-preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.channel-preview-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 0, 0, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.channel-preview-info h3 {
  font-size: 17px;
  font-weight: 700;
  text-align: left;
}

.subscriber-count {
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
  margin-top: 2px;
}

.youtube-embed {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Step 2 actions */
.step2-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  color: white;
  background: #FF0000;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.3);
}

.subscribe-btn:hover {
  background: #CC0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
}

.subscribe-btn svg {
  flex-shrink: 0;
}

.verify-btn {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  color: white;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(123, 47, 247, 0.3);
}

.verify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123, 47, 247, 0.4);
}

.verify-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Loading spinner */
.verify-loading {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* Verify error */
.verify-error {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--error-bg);
  border: 1px solid rgba(255, 71, 87, 0.25);
  border-radius: var(--border-radius);
  color: var(--error);
  font-weight: 600;
  font-size: 14px;
  animation: shakeX 0.5s ease;
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}

/* ============================================ */
/* STEP 3 — GIFT CODE                          */
/* ============================================ */
.celebration-icon {
  animation: bounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.3) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}

.gift-code-display {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(123, 47, 247, 0.08));
  border: 2px dashed rgba(255, 107, 53, 0.4);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.gift-code-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05), transparent 70%);
  pointer-events: none;
}

.gift-code-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 600;
}

.gift-code-value {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: 20px;
  word-break: break-all;
  text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
  position: relative;
}

.copy-btn {
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.copy-success {
  margin-top: 12px;
  color: var(--success);
  font-size: 14px;
  font-weight: 700;
  animation: fadeIn 0.3s ease;
}

.already-claimed {
  background: var(--success-bg);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--border-radius);
  padding: 14px 20px;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Usage guide */
.usage-guide {
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 24px;
}

.usage-guide h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.usage-guide ol {
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14px;
}

.usage-guide li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.usage-guide li::marker {
  color: var(--primary);
  font-weight: 700;
}

/* Share buttons */
.share-buttons {
  text-align: center;
}

.share-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.share-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition);
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-facebook {
  background: linear-gradient(135deg, #1877F2, #0C63D4);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-facebook:hover {
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.share-zalo {
  background: linear-gradient(135deg, #0068FF, #0050CC);
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3);
}

.share-zalo:hover {
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
}

/* ============================================ */
/* OUT OF STOCK                                 */
/* ============================================ */
.waitlist-form {
  margin-top: 24px;
}

.waitlist-form p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}

.waitlist-input-group {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-btn {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.waitlist-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.waitlist-success {
  margin-top: 16px;
  color: var(--success);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================ */
/* DỊCH VỤ NẠP GAME                            */
/* ============================================ */
.service-section {
  padding: 24px 20px 32px;
  background: var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 107, 53, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(123, 47, 247, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.service-banner {
  position: relative;
  text-align: center;
  padding: 24px 20px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
  border: 1.5px solid rgba(255, 107, 53, 0.3);
  margin-bottom: 20px;
  overflow: hidden;
}

.service-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: serviceGlowPulse 3s ease-in-out infinite;
}

@keyframes serviceGlowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 2em;
  margin-bottom: 6px;
  animation: serviceBounce 2s ease-in-out infinite;
}

@keyframes serviceBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.service-title {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-desc em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.service-cta-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.4);
  animation: ctaShine 3s ease-in-out infinite;
}

.service-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.6);
}

@keyframes ctaShine {
  0%, 100% { box-shadow: 0 4px 24px rgba(255, 107, 53, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(255, 107, 53, 0.7), 0 0 60px rgba(123, 47, 247, 0.3); }
}

.service-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 750px;
  margin: 0 auto;
}

.service-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 16px 12px;
  text-align: center;
  transition: var(--transition);
}

.service-contact-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-contact-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-icon {
  font-size: 1.3em;
}

@media (max-width: 600px) {
  .service-banner {
    padding: 32px 20px;
  }
  .service-contacts {
    grid-template-columns: 1fr;
  }
  .service-cta-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
  padding: 36px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 13px;
  background: var(--bg-darker);
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 768px) {
  .modal {
    padding: 28px 22px;
    margin: 10px;
    max-height: 95vh;
    border-radius: var(--border-radius-lg);
  }

  .progress-line {
    width: 36px;
    margin: 0 6px;
    margin-bottom: 26px;
  }

  .step-label {
    font-size: 9px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .cta-button {
    padding: 18px 40px;
    font-size: 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero {
    padding: 40px 16px;
  }

  .testimonials {
    padding: 60px 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .share-grid {
    flex-direction: column;
    align-items: center;
  }

  .waitlist-input-group {
    flex-direction: column;
  }

  .channel-preview-header {
    flex-direction: column;
    text-align: center;
  }

  .channel-preview-info h3,
  .subscriber-count {
    text-align: center;
  }

  .channel-preview {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 14px;
  }

  .modal {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .gift-code-value {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .step-content h2 {
    font-size: 19px;
  }

  .gift-code-display {
    padding: 24px 16px;
  }

  .stock-counter {
    padding: 12px 24px;
  }
}

/* ============================================ */
/* CUSTOM SCROLLBAR                             */
/* ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================ */
/* SELECTION                                    */
/* ============================================ */
::selection {
  background: rgba(255, 107, 53, 0.3);
  color: white;
}

::-moz-selection {
  background: rgba(255, 107, 53, 0.3);
  color: white;
}

/* === NAME SEARCH & ACCOUNT DISPLAY (Step 3) === */
.name-search-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.name-input-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 400px;
}

.name-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font);
  transition: var(--transition);
}

.name-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.name-input::placeholder {
  color: var(--text-muted);
}

.search-claim-btn {
  padding: 12px 20px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.search-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.search-claim-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.random-claim-btn {
  padding: 10px 24px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
}

.random-claim-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.search-loading {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-secondary);
}

.search-no-match {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: var(--radius);
  text-align: center;
}

.search-no-match p {
  color: #ff6b6b;
  margin-bottom: 0.75rem;
}

.no-match-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.retry-search-btn {
  padding: 8px 16px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
}

.retry-search-btn:hover {
  background: rgba(255, 107, 53, 0.1);
}

.account-info-display {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.account-info-table {
  width: 100%;
  border-collapse: collapse;
}

.account-info-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-info-table tr:last-child {
  border-bottom: none;
}

.account-info-table td {
  padding: 10px 8px;
}

.info-label {
  color: var(--text-secondary);
  font-size: 13px;
  width: 90px;
}

.info-value {
  color: var(--text-primary);
  font-weight: 600;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  word-break: break-all;
}

.copy-field-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.copy-field-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.copy-all-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 12px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
}

.copy-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}
