/* Global styles */
:root {
  /* Primary Colors */
  --primary-50: #EBF1FF;
  --primary-100: #D6E2FF;
  --primary-200: #ADC7FF;
  --primary-300: #84ABFF;
  --primary-400: #5C90FF;
  --primary-500: #2B5AAA; /* Tencent Video Blue */
  --primary-600: #244C8C;
  --primary-700: #1D3D6E;
  --primary-800: #162F50;
  --primary-900: #0F2032;

  /* Secondary Colors */
  --secondary-500: #14B8A6; /* Teal */
  --secondary-600: #0F9988;

  /* Accent Colors */
  --accent-500: #F97316; /* Orange */
  --accent-600: #E25D0F;

  /* Success, Warning, Error states */
  --success-500: #10B981;
  --warning-500: #F59E0B;
  --error-500: #EF4444;

  /* Neutral Colors */
  --neutral-50: #F9FAFB;
  --neutral-100: #F3F4F6;
  --neutral-200: #E5E7EB;
  --neutral-300: #D1D5DB;
  --neutral-400: #9CA3AF;
  --neutral-500: #6B7280;
  --neutral-600: #4B5563;
  --neutral-700: #374151;
  --neutral-800: #1F2937;
  --neutral-900: #111827;

  /* Backgrounds */
  --bg-dark: #0B0B0F;
  --bg-card: #1A1A23;
  --bg-elevated: #252532;

  /* Spacing system - 8px grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Font sizes */
  --font-xs: 12px;
  --font-sm: 14px;
  --font-base: 16px;
  --font-lg: 18px;
  --font-xl: 20px;
  --font-2xl: 24px;
  --font-3xl: 30px;
  --font-4xl: 36px;
  --font-5xl: 48px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-normal: 0.3s ease;
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s ease;

  /* Z-indices */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-max: 9999;
}

body {
  background-color: var(--bg-dark);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section {
  padding: var(--space-8) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-12) 0;
  }
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: var(--font-4xl);
}

h2 {
  font-size: var(--font-3xl);
}

h3 {
  font-size: var(--font-2xl);
}

h4 {
  font-size: var(--font-xl);
}

p {
  line-height: 1.5;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-500);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-600);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* VIP badge styling */
.vip-badge {
  background-color: var(--accent-500);
  color: white;
  font-size: var(--font-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Animation utilities */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slideUp {
  animation: slideUp 0.5s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Responsive breakpoints */
/* These will be used in each component's CSS files */
/* 
  Mobile: < 640px
  Tablet: 640px - 1023px
  Desktop: >= 1024px
  Large Desktop: >= 1280px
*/