/* ============================================
   JQK Bet Brazil - Master Stylesheet
   Style: Fortune Red Gold (东方富贵红金)
   Version: 1.0.0
   Created: 2025-12-01
   ============================================ */

/* ============================================
   SECTION 1: CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
  /* === Primary Color Palette === */
  --primary-color: #C9A44A;           /* Gold - Main brand color */
  --primary-hover: #E5C066;           /* Gold hover state */
  --primary-dark: #A88A3D;            /* Darker gold for contrast */
  --secondary-color: #8B0000;         /* Deep red - Oriental fortune */
  --secondary-hover: #A50000;         /* Red hover state */
  --accent-color: #FFD700;            /* Pure gold - Highlights */
  --accent-hover: #FFED4A;            /* Accent hover */

  /* === Background Colors === */
  --background-primary: #1A0A0A;      /* Deep red-black */
  --background-secondary: #2D1515;    /* Darker sections */
  --background-tertiary: #3D2020;     /* Cards and elevated elements */
  --background-gradient: linear-gradient(135deg, #1A0A0A 0%, #2D1515 50%, #1A0A0A 100%);
  --background-card: rgba(61, 32, 32, 0.8);
  --background-overlay: rgba(26, 10, 10, 0.95);

  /* === Text Colors === */
  --text-primary: #F5F5DC;            /* Beige - Main text */
  --text-secondary: #D4AF37;          /* Gold - Secondary text */
  --text-muted: #B8A88A;              /* Muted text */
  --text-on-primary: #1A0A0A;         /* Text on gold buttons */
  --text-heading: #FFD700;            /* Headings */

  /* === Semantic Colors === */
  --success-color: #FFD700;           /* Gold for success */
  --success-bg: rgba(255, 215, 0, 0.15);
  --warning-color: #FF8C00;           /* Dark orange */
  --warning-bg: rgba(255, 140, 0, 0.15);
  --error-color: #FF4500;             /* Orange red */
  --error-bg: rgba(255, 69, 0, 0.15);
  --info-color: #C9A44A;              /* Gold for info */
  --info-bg: rgba(201, 164, 74, 0.15);

  /* === Border & Dividers === */
  --border-color: #C9A44A;
  --border-light: rgba(201, 164, 74, 0.3);
  --border-dark: rgba(139, 0, 0, 0.5);
  --divider-color: rgba(201, 164, 74, 0.2);

  /* === Shadows === */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(201, 164, 74, 0.3);
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.4);

  /* === Typography === */
  --font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* === Spacing Scale === */
  --space-1: 0.25rem;     /* 4px */
  --space-2: 0.5rem;      /* 8px */
  --space-3: 0.75rem;     /* 12px */
  --space-4: 1rem;        /* 16px */
  --space-5: 1.25rem;     /* 20px */
  --space-6: 1.5rem;      /* 24px */
  --space-8: 2rem;        /* 32px */
  --space-10: 2.5rem;     /* 40px */
  --space-12: 3rem;       /* 48px */
  --space-16: 4rem;       /* 64px */
  --space-20: 5rem;       /* 80px */
  --space-24: 6rem;       /* 96px */

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

  /* === Transitions === */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* === Z-Index Scale === */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* === Container Widths === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* === Header/Footer Heights === */
  --header-height: 80px;
  --header-height-mobile: 60px;
  --footer-height: auto;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--background-primary);
  background-image: var(--background-gradient);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Forms */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Selection */
::selection {
  background-color: var(--primary-color);
  color: var(--text-on-primary);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ============================================
   SECTION 3: TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-heading);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-4xl);
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

h5 {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

h6 {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

strong, b {
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================
   SECTION 4: LAYOUT COMPONENTS
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

/* Main Content Area */
.main-content {
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

@media (max-width: 768px) {
  .main-content {
    padding-top: var(--header-height-mobile);
    min-height: calc(100vh - var(--header-height-mobile));
  }
}

/* Section Spacing */
.section {
  padding: var(--space-16) 0;
}

.section-sm {
  padding: var(--space-10) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================
   SECTION 5: HEADER STYLES
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--background-overlay);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  overflow: visible;
}

@media (max-width: 768px) {
  .header {
    height: var(--header-height-mobile);
  }
}

.header.scrolled {
  background: var(--background-primary);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 var(--space-6);
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }
}

.nav-link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  color: var(--text-primary);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-color);
  background: rgba(201, 164, 74, 0.1);
}

.nav-link.active {
  color: var(--accent-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background: var(--accent-color);
  border-radius: var(--radius-full);
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
    gap: var(--space-3);
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  height: calc(100vh - 60px);
  height: calc(100dvh - 60px);
  background: var(--background-primary);
  padding: var(--space-4);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 768px) {
  .mobile-menu {
    top: 80px;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4);
  color: var(--text-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-color);
  background: rgba(201, 164, 74, 0.1);
}

/* ============================================
   SECTION 6: FOOTER STYLES
   ============================================ */
.footer {
  background: var(--background-secondary);
  border-top: 1px solid var(--border-light);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Brand */
.footer-brand {
  max-width: 350px;
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

/* Footer Links */
.footer-section h5 {
  color: var(--accent-color);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-color);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--background-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-on-primary);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-light);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal a {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* Responsible Gambling Banner */
.responsible-gambling-banner {
  background: var(--warning-bg);
  border: 1px solid var(--warning-color);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-top: var(--space-8);
  text-align: center;
}

.responsible-gambling-banner p {
  color: var(--warning-color);
  font-size: var(--text-sm);
  margin: 0;
}

.responsible-gambling-banner strong {
  color: var(--warning-color);
}

/* ============================================
   SECTION 7: BUTTONS
   ============================================ */

/* Base Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  color: var(--text-on-primary);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--accent-hover) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--primary-color);
  color: var(--text-on-primary);
}

/* CTA Button (Affiliate) */
.btn-cta {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #A50000 100%);
  color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-4) var(--space-8);
  box-shadow: var(--shadow-gold);
  animation: pulse-gold 2s infinite;
}

.btn-cta:hover:not(:disabled) {
  background: linear-gradient(135deg, #A50000 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.2);
  }
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

/* ============================================
   SECTION 8: CARDS
   ============================================ */
.card {
  background: var(--background-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body {
  padding: var(--space-6);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card-text {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

/* Game Card */
.game-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-title {
  color: var(--accent-color);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

/* Feature Card */
.feature-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--background-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  padding: var(--space-4);
  background: rgba(201, 164, 74, 0.1);
  border-radius: var(--radius-lg);
  color: var(--accent-color);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.feature-text {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* ============================================
   SECTION 9: HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--space-8);
}

@media (max-width: 768px) {
  .hero {
    padding-top: var(--space-16);
    min-height: 450px;
    align-items: flex-start;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 10, 10, 0.9) 0%, rgba(26, 10, 10, 0.7) 50%, rgba(139, 0, 0, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-full);
  color: var(--accent-color);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-3xl);
  }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================
   SECTION 10: TABLES
   ============================================ */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

th {
  background: var(--background-tertiary);
  color: var(--accent-color);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  color: var(--text-primary);
  font-size: var(--text-sm);
}

tr:hover {
  background: rgba(201, 164, 74, 0.05);
}

tr:last-child td {
  border-bottom: none;
}

/* Comparison Table */
.comparison-table th:first-child,
.comparison-table td:first-child {
  background: var(--background-secondary);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

/* ============================================
   SECTION 11: ALERTS & NOTICES
   ============================================ */
.alert {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  margin-bottom: var(--space-4);
}

.alert-info {
  background: var(--info-bg);
  border-color: var(--info-color);
  color: var(--text-primary);
}

.alert-success {
  background: var(--success-bg);
  border-color: var(--success-color);
  color: var(--text-primary);
}

.alert-warning {
  background: var(--warning-bg);
  border-color: var(--warning-color);
  color: var(--text-primary);
}

.alert-error {
  background: var(--error-bg);
  border-color: var(--error-color);
  color: var(--text-primary);
}

.alert-title {
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.alert p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SECTION 12: FAQ ACCORDION
   ============================================ */
.accordion {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: var(--background-tertiary);
  color: var(--text-primary);
  font-weight: var(--font-medium);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(201, 164, 74, 0.1);
  color: var(--accent-color);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-item.active .accordion-body {
  max-height: 1000px;
}

.accordion-content {
  padding: var(--space-4) var(--space-6);
  color: var(--text-muted);
}

/* ============================================
   SECTION 13: TIMELINE (Steps)
   ============================================ */
.timeline {
  position: relative;
  padding-left: var(--space-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-10) + 7px);
  width: 18px;
  height: 18px;
  background: var(--background-primary);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-full);
}

.timeline-item.completed .timeline-marker {
  background: var(--primary-color);
}

.timeline-number {
  position: absolute;
  left: calc(-1 * var(--space-10) - 5px);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--text-on-primary);
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
}

.timeline-content h4 {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* ============================================
   SECTION 14: RATINGS
   ============================================ */
.rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.rating-star {
  width: 20px;
  height: 20px;
  color: var(--border-light);
}

.rating-star.filled {
  color: var(--accent-color);
}

.rating-value {
  margin-left: var(--space-2);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
}

/* Pros/Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros-list, .cons-list {
  background: var(--background-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.pros-list {
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.cons-list {
  border: 1px solid rgba(255, 69, 0, 0.3);
}

.pros-list h4 {
  color: var(--success-color);
}

.cons-list h4 {
  color: var(--error-color);
}

.pros-list li, .cons-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.pros-list li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: var(--font-bold);
}

.cons-list li::before {
  content: '✗';
  color: var(--error-color);
  font-weight: var(--font-bold);
}

/* ============================================
   SECTION 15: PAYMENT METHODS
   ============================================ */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--background-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.payment-method img {
  height: 24px;
  width: auto;
}

.payment-method span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================
   SECTION 16: BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
}

.breadcrumb-item {
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

/* ============================================
   SECTION 17: UTILITY CLASSES
   ============================================ */

/* Text Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-error { color: var(--error-color); }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Sizes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }

/* Font Weights */
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* Spacing */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-6 { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }

.pt-4 { padding-top: var(--space-4); }
.pt-6 { padding-top: var(--space-6); }
.pt-8 { padding-top: var(--space-8); }
.pb-4 { padding-bottom: var(--space-4); }
.pb-6 { padding-bottom: var(--space-6); }
.pb-8 { padding-bottom: var(--space-8); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   SECTION 18: ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-fade-in {
  animation: fadeIn var(--transition-base) ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp var(--transition-slow) ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft var(--transition-slow) ease-out;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--background-tertiary) 25%, var(--background-secondary) 50%, var(--background-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ============================================
   SECTION 19: RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 640px) {
  :root {
    --text-base: 0.9375rem;
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

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

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   SECTION 20: PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .btn,
  .mobile-menu {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .main-content {
    padding-top: 0;
  }
}
