/* STEAMPEDIA Core Design System & Tokens
   Designed for high-impact Bangladeshi EdTech platform */

:root {
  /* Color Palette - Dark Mode First */
  --steam-bg-deep: #0B0F19;
  --steam-bg-card: #151C2C;
  --steam-bg-elevated: #1F293D;
  --steam-bg-glass: rgba(21, 28, 44, 0.75);
  
  --steam-teal: #00D4AA;
  --steam-teal-glow: rgba(0, 212, 170, 0.3);
  --steam-violet: #7C5CFC;
  --steam-violet-glow: rgba(124, 92, 252, 0.3);
  --steam-orange: #FF6B35;
  --steam-orange-glow: rgba(255, 107, 53, 0.3);
  --steam-gold: #FFD166;
  --steam-blue: #4DA8FF;
  
  /* 5 Subject Accent Colors */
  --subject-science: #10B981;
  --subject-science-glow: rgba(16, 185, 129, 0.25);
  --subject-tech: #3B82F6;
  --subject-tech-glow: rgba(59, 130, 246, 0.25);
  --subject-eng: #F59E0B;
  --subject-eng-glow: rgba(245, 158, 11, 0.25);
  --subject-arts: #EC4899;
  --subject-arts-glow: rgba(236, 72, 153, 0.25);
  --subject-math: #8B5CF6;
  --subject-math-glow: rgba(139, 92, 246, 0.25);
  
  /* Text & Border Colors */
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 212, 170, 0.3);
  
  /* Fonts */
  --font-heading-en: 'Space Grotesk', -apple-system, sans-serif;
  --font-body-en: 'Inter', -apple-system, sans-serif;
  --font-bangla: 'Noto Sans Bengali', sans-serif;
  --font-tag: 'Outfit', sans-serif;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--steam-bg-deep);
  color: var(--text-primary);
  font-family: var(--font-bangla);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.en-heading {
  font-family: var(--font-heading-en);
  letter-spacing: -0.02em;
}

.en-body {
  font-family: var(--font-body-en);
}

a {
  color: var(--steam-teal);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #ffffff;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.flex-center { display: flex; align-items: center; justify-content: center; }

.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(0, 212, 170, 0.1);
  color: var(--steam-teal);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid rgba(0, 212, 170, 0.25);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-tag);
}

.section-title {
  font-size: 2.25rem;
  color: var(--text-primary);
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0.75rem auto 0;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--steam-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; filter: blur(20px); }
  50% { opacity: 0.8; filter: blur(30px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--steam-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--steam-bg-elevated);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--steam-teal);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .section-padding { padding: 3.5rem 0; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 1rem; }
}
