/* ============================================
   Poker AI Static Landing Page Styles
   Matching the dark theme of Crushons AI
   ============================================ */

/* CSS Variables - Matching BC.Game style */
:root {
  --background: #17181b; /* BC.Game 深色背景 */
  --foreground: #ffffff;
  --muted: #2d3035; /* BC.Game 次级背景 */
  --muted-foreground: #98a7b5;
  --card: #1e2024; /* BC.Game 卡片背景 */
  --card-foreground: #ffffff;
  --popover: #1e2024;
  --popover-foreground: #ffffff;
  --primary: #3bc117; /* BC.Game 标志性绿色 */
  --primary-foreground: #ffffff;
  --primary-hover: #45d61e;
  --secondary: #17181b;
  --secondary-foreground: #ffffff;
  --accent: #2d3035;
  --accent-foreground: #ffffff;
  --border: #2d3035;
  --input: #2d3035;
  --ring: #3bc117;
  --radius: 0.5rem;
  
  /* Gradient colors - BC Style */
  --gradient-primary: linear-gradient(135deg, #3bc117 0%, #32a812 100%); /* 绿色主渐变 */
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #3bc117 100%);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--secondary);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: var(--secondary);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  /* 移除紫色渐变文字 */
  background: none;
  -webkit-text-fill-color: var(--primary);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
  background-color: var(--muted);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-selector select {
  background-color: var(--muted);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
}

.language-selector select:focus {
  border-color: var(--ring);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--muted);
}

.sign-in-btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sign-in-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
  position: fixed;
  top: 64px;
  left: 0;
  width: 80px;
  height: calc(100vh - 64px);
  background-color: var(--secondary);
  border-right: 1px solid var(--border);
  z-index: 40;
  display: flex;
  flex-direction: column;
}

.sidebar-content {
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.7rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  text-align: center;
}

.sidebar-item:hover {
  color: var(--foreground);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-item.active {
  color: var(--foreground);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-item svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  margin-left: 80px;
  padding-top: 64px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 193, 23, 0.1);
  border: 1px solid rgba(59, 193, 23, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease-out;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff; /* 纯白标题更清晰 */
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-title span {
  color: var(--primary); /* 强调色为绿色 */
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Poker Cards Display */
.poker-hand {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  perspective: 1000px;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.poker-card {
  width: 70px;
  height: 100px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 8px;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: rotateY(0deg);
  transition: all 0.3s ease;
  cursor: pointer;
}

.poker-card:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: 
    0 8px 12px rgba(0, 0, 0, 0.4),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
  color: #1e293b;
  font-weight: bold;
}

.card-content.red {
  color: #dc2626;
}

.card-corner {
  font-size: 0.75rem;
  line-height: 1;
}

.card-corner.top-left {
  text-align: left;
}

.card-corner.bottom-right {
  text-align: right;
  transform: rotate(180deg);
}

.card-center {
  font-size: 2rem;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poker-card.face-down {
  background: linear-gradient(135deg, #2d3035 0%, #1e2024 100%); /* 深色背景 */
  border: 1px solid #3bc117; /* 绿色边框 */
}

.card-back {
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 5px,
      rgba(59, 193, 23, 0.1) 5px, /* 绿色纹理 */
      rgba(59, 193, 23, 0.1) 10px
    );
  border-radius: 6px;
  border: 2px solid rgba(59, 193, 23, 0.3);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  color: #000000; /* 绿色背景配黑色文字 */
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(59, 193, 23, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(59, 193, 23, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--muted);
  border-color: var(--muted-foreground);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(59, 193, 23, 0.1);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary); /* 图标改为绿色 */
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff; /* 纯白数字 */
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 5rem 0;
  background-color: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Changed to 3 columns */
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  flex-direction: column; /* Changed to column for better layout with 3 cols */
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 193, 23, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: calc(var(--radius) * 1.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(45, 48, 53, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Game Types Section
   ============================================ */
.game-types {
  padding: 5rem 0;
  background-color: var(--secondary);
}

.game-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(59, 193, 23, 0.1);
}

.game-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  /* 移除特定颜色，让emoji保持原色或根据需要调整 */
}

.game-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(45, 48, 53, 0.5);
  color: #98a7b5;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--card);
  border: 2px solid var(--primary); /* 改为绿色描边 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 0 20px rgba(59, 193, 23, 0.2);
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.step p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  max-width: 250px;
  margin: 0 auto;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  padding: 5rem 0;
  background-color: var(--secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(59, 193, 23, 0.1) 0%, rgba(59, 193, 23, 0.05) 100%);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000000;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price .currency {
  font-size: 1.5rem;
  color: var(--muted-foreground);
}

.price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.price .period {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  color: var(--foreground);
  font-size: 0.9rem;
}

.pricing-features li svg {
  color: var(--primary); /* 改为绿色 */
  flex-shrink: 0;
}

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

.pricing-note {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  opacity: 0.7;
}

.payment-icon {
  width: 28px;
  height: 28px;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
  cursor: help;
}

.payment-icon:hover {
  color: var(--primary);
  transform: translateY(-2px);
  opacity: 1;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 5rem 0;
  background-color: var(--secondary);
}

.cta-card {
  background: linear-gradient(135deg, rgba(59, 193, 23, 0.1) 0%, rgba(45, 48, 53, 0.5) 100%);
  border: 1px solid rgba(59, 193, 23, 0.2);
  border-radius: calc(var(--radius) * 2);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 193, 23, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.cta-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
  position: relative;
}

.cta-card p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  flex-wrap: wrap;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.cta-feature svg {
  color: var(--primary); /* 改为绿色 */
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

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

.poker-hand .poker-card:nth-child(1) { animation: float 3s ease-in-out 0s infinite; }
.poker-hand .poker-card:nth-child(2) { animation: float 3s ease-in-out 0.2s infinite; }
.poker-hand .poker-card:nth-child(3) { animation: float 3s ease-in-out 0.4s infinite; }
.poker-hand .poker-card:nth-child(4) { animation: float 3s ease-in-out 0.6s infinite; }
.poker-hand .poker-card:nth-child(5) { animation: float 3s ease-in-out 0.8s infinite; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
  }
  
  .game-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-card.popular {
    transform: scale(1);
    order: -1;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr; /* 1 column for mobile */
  }
  
  .hero {
    padding: 2rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .poker-hand {
    gap: 0.25rem;
  }
  
  .poker-card {
    width: 50px;
    height: 72px;
  }
  
  .card-corner {
    font-size: 0.6rem;
  }
  
  .card-center {
    font-size: 1.25rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .game-types-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .steps-grid::before {
    display: none;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .cta-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-card h2 {
    font-size: 1.75rem;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-right {
    gap: 0.5rem;
  }
  
  .language-selector select {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .sign-in-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* ============================================
   Mobile Sidebar (when opened)
   ============================================ */
.sidebar.mobile-open {
  display: flex;
  position: fixed;
  top: 64px;
  left: 0;
  width: 240px;
  height: calc(100vh - 64px);
  background-color: var(--secondary);
  border-right: 1px solid var(--border);
  z-index: 100;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.sidebar.mobile-closed {
  transform: translateX(-100%);
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.mobile-overlay.active {
  display: block;
}

/* ============================================
   Footer (if needed)
   ============================================ */
.footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.footer-disclaimer {
  color: var(--muted-foreground);
  font-size: 0.7rem;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.7;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

/* ============================================
   Selection
   ============================================ */
::selection {
  background: rgba(59, 193, 23, 0.3);
  color: #ffffff;
}
