/* ============================================================================
   CineDZ Crowdfunding - Modern Dark Theme
   Inspired by flow.cinedz.com design system
   ============================================================================ */

:root {
  /* Colors - Dark Theme */
  --bg: #0f1419;
  --sidebar-bg: #0b0e11;
  --panel: #12161b;
  --panel-hover: #1a1f26;
  --border: #232a33;
  --border-light: #2d3540;
  --text: #f5f7fa;
  --text-secondary: #9aa4b2;
  --text-muted: #6b7280;
  
  /* Brand Colors */
  --green: #22c55e;
  --green-hover: #16a34a;
  --blue: #3b82f6;
  --purple: #a855f7;
  --orange: #f97316;
  --red: #ef4444;
  --yellow: #eab308;
  --white: #ffffff;
  
  /* Layout */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --max-width: 1400px;
  --spacing: 24px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Header */
.site-header {
  background: var(--sidebar-bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  gap: 4px;
  text-decoration: none;
}

.brand-cinedz {
  color: var(--white);
}

.brand-fund {
  color: var(--green);
}

.btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

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

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

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--sidebar-bg) 0%, var(--panel) 100%);
  padding: 64px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Campaign Grid */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 48px 0;
}

.campaign-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.campaign-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--sidebar-bg);
}

.campaign-body {
  padding: 20px;
}

.campaign-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.campaign-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--sidebar-bg);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}

.campaign-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}
