/* ==========================================================================
   CARBON SHIFT — Modern Cozy Solarpunk Pixel Strategy Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Press+Start+2P&family=Silkscreen:wght@400;700&display=swap');

:root {
  /* Solarpunk Pixel Color Palette */
  --bg-dark: #060e18;
  --bg-surface: #0a1726;
  --bg-card: rgba(14, 28, 47, 0.85);
  --bg-card-hover: rgba(20, 39, 65, 0.95);
  --bg-glass: rgba(11, 27, 43, 0.75);
  
  --primary-deep: #0B3A66;
  --nature-green: #2EAF61;
  --nature-light: #34D399;
  --nature-glow: rgba(46, 175, 97, 0.4);
  
  --sky-cyan: #3BB9F7;
  --sky-light: #66D9FF;
  --sky-glow: rgba(59, 185, 247, 0.4);
  
  --energy-gold: #FFD657;
  --energy-amber: #F59E0B;
  --energy-glow: rgba(255, 214, 87, 0.4);
  
  --crisis-red: #FF6B6B;
  --warning-orange: #FF9F43;
  --advanced-purple: #A26BFF;
  --carbon-slate: #6B7280;
  
  --text-main: #FFFFFF;
  --text-sub: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  /* Pixel Borders & Shadows */
  --pixel-border: 2px solid #1E3A5F;
  --pixel-border-bright: 2px solid #3BB9F7;
  --pixel-border-green: 2px solid #2EAF61;
  --pixel-border-gold: 2px solid #FFD657;
  --pixel-shadow: 0 4px 0 #02070D;
  --pixel-shadow-sm: 0 2px 0 #02070D;
  --pixel-shadow-hover: 0 6px 0 #02070D;
  --pixel-shadow-green: 0 4px 0 #1B6638;
  --pixel-shadow-cyan: 0 4px 0 #195878;
  --pixel-shadow-gold: 0 4px 0 #8C6A05;
  
  /* Fonts */
  --font-pixel: 'Silkscreen', 'Press Start 2P', monospace;
  --font-pixel-accent: 'Press Start 2P', monospace;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(59, 185, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(46, 175, 97, 0.08) 0%, transparent 40%),
    linear-gradient(to bottom, #060e18 0%, #0a1726 50%, #060e18 100%);
  background-attachment: fixed;
}

/* CRT Scanlines Overlay (Toggleable) */
.scanlines-overlay {
  display: none;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%;
  z-index: 9999;
}

body.crt-mode .scanlines-overlay {
  display: block;
}

body.crt-mode {
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Pixel Art Image Rendering */
img.pixel-art, svg.pixel-art, .pixel-art {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Typography Helpers */
.pixel-text {
  font-family: var(--font-pixel);
  letter-spacing: 0.5px;
}

.pixel-title {
  font-family: var(--font-pixel-accent);
  letter-spacing: 1px;
  line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-main);
}

a {
  color: var(--sky-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--sky-light);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------
   Buttons & Pixel Badges
   ---------------------------------------------------- */
.btn-pixel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s;
  user-select: none;
  border: 2px solid #000;
}

.btn-pixel:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #000 !important;
}

.btn-primary {
  background: var(--nature-green);
  color: #FFFFFF;
  box-shadow: var(--pixel-shadow-green);
  border-color: #17522B;
}

.btn-primary:hover {
  background: #34c770;
  box-shadow: 0 5px 0 #17522B;
}

.btn-secondary {
  background: var(--sky-cyan);
  color: #041B2D;
  box-shadow: var(--pixel-shadow-cyan);
  border-color: #1B5878;
}

.btn-secondary:hover {
  background: #56c6ff;
  box-shadow: 0 5px 0 #1B5878;
}

.btn-gold {
  background: var(--energy-gold);
  color: #382400;
  box-shadow: var(--pixel-shadow-gold);
  border-color: #8C6A05;
}

.btn-gold:hover {
  background: #ffe07d;
  box-shadow: 0 5px 0 #8C6A05;
}

.btn-dark {
  background: rgba(14, 28, 47, 0.9);
  color: var(--text-sub);
  border: 2px solid #1E3A5F;
  box-shadow: var(--pixel-shadow);
}

.btn-dark:hover {
  background: #142741;
  border-color: var(--sky-cyan);
  color: #FFFFFF;
}

.badge-pixel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-green {
  background: rgba(46, 175, 97, 0.2);
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.4);
}

.badge-cyan {
  background: rgba(59, 185, 247, 0.2);
  color: #66D9FF;
  border-color: rgba(102, 217, 255, 0.4);
}

.badge-gold {
  background: rgba(255, 214, 87, 0.2);
  color: #FFD657;
  border-color: rgba(255, 214, 87, 0.4);
}

.badge-purple {
  background: rgba(162, 107, 255, 0.2);
  color: #C084FC;
  border-color: rgba(192, 132, 252, 0.4);
}

.badge-red {
  background: rgba(255, 107, 107, 0.2);
  color: #FF6B6B;
  border-color: rgba(255, 107, 107, 0.4);
}

/* ----------------------------------------------------
   Header & Navbar
   ---------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 14, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid #162C47;
  padding: 12px 0;
  transition: var(--transition);
}

.navbar .nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 2px solid #2EAF61;
  box-shadow: 0 0 10px var(--nature-glow);
}

.brand-text h1 {
  font-family: var(--font-pixel);
  font-size: 16px;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 1px;
}

.brand-text .version-tag {
  font-size: 10px;
  font-family: var(--font-pixel);
  color: var(--nature-light);
  background: rgba(46, 175, 97, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--sky-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--sky-cyan);
  transition: width 0.2s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: rgba(20, 39, 65, 0.8);
  border: 1px solid #1E3A5F;
  color: var(--text-sub);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background: #1B3556;
  border-color: var(--sky-cyan);
  color: #FFFFFF;
}

.icon-btn.active {
  background: var(--nature-green);
  color: #FFFFFF;
  border-color: #34D399;
}

/* ----------------------------------------------------
   Hero Section
   ---------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  border-bottom: 2px solid #162C47;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.25;
  background-image: url('/assets/art/city_bay_view.png');
  background-size: cover;
  background-position: center;
  filter: saturate(1.2) contrast(1.1);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 14, 24, 0.4) 0%, rgba(6, 14, 24, 0.85) 70%, #060e18 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 30%, #BAE6FD 70%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.live-metrics-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(14, 28, 47, 0.85);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

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

.metric-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--energy-gold);
}

.metric-value.green {
  color: var(--nature-light);
}

.metric-value.cyan {
  color: var(--sky-light);
}

/* Hero Mascot Card */
.hero-mascot-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid #204168;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 185, 247, 0.15);
  text-align: center;
  backdrop-filter: blur(12px);
}

.mascot-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}

.mascot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}

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

.speech-bubble {
  background: #FFFFFF;
  color: #0F172A;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 2px solid #0B3A66;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #FFFFFF transparent transparent transparent;
}

.mascot-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.mascot-chip-btn {
  font-family: var(--font-pixel);
  font-size: 10px;
  padding: 6px 12px;
  background: #142741;
  color: var(--sky-light);
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.mascot-chip-btn:hover {
  background: var(--sky-cyan);
  color: #041B2D;
}

/* ----------------------------------------------------
   Section Common Layouts
   ---------------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--nature-light);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* ----------------------------------------------------
   Interactive Building & Simulation Showcase
   ---------------------------------------------------- */
.building-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.building-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.building-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky-cyan);
  box-shadow: 0 8px 24px rgba(59, 185, 247, 0.2);
}

.building-card.active {
  border-color: var(--nature-green);
  box-shadow: 0 0 20px var(--nature-glow);
}

.building-sprite-box {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 27, 43, 0.6);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(59, 185, 247, 0.3);
}

.building-sprite-box img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.building-info h4 {
  font-size: 18px;
  margin-bottom: 6px;
  text-align: center;
}

.building-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
  padding: 10px;
  background: rgba(6, 14, 24, 0.6);
  border-radius: var(--radius-sm);
}

.stat-pill {
  font-size: 12px;
  color: var(--text-sub);
}

.stat-pill span {
  font-weight: 700;
  color: #FFFFFF;
}

.stat-pill.green span { color: var(--nature-light); }
.stat-pill.gold span { color: var(--energy-gold); }
.stat-pill.cyan span { color: var(--sky-light); }

/* Scenarios Showcase Grid */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.scenario-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: var(--energy-gold);
}

.scenario-thumb {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.scenario-thumb::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(6, 14, 24, 0.9) 0%, transparent 80%);
}

.scenario-thumb span {
  position: relative;
  z-index: 1;
}

.scenario-body {
  padding: 18px;
}

.scenario-body h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.scenario-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------
   Updates & Interactive Roadmap Section
   ---------------------------------------------------- */
.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  font-family: var(--font-pixel);
  font-size: 12px;
  padding: 10px 22px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: var(--pixel-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: #FFFFFF;
  border-color: var(--sky-cyan);
}

.tab-btn.active {
  background: #142E4D;
  color: var(--sky-light);
  border-color: var(--sky-cyan);
  box-shadow: 0 0 12px var(--sky-glow);
}

/* Updates Feed */
.updates-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.update-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.update-card:hover {
  border-color: #2EAF61;
}

.update-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.update-version {
  font-family: var(--font-pixel);
  font-size: 18px;
  color: #FFFFFF;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.update-title {
  font-size: 20px;
  color: var(--sky-light);
  margin-bottom: 12px;
}

.update-summary {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.update-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update-highlights li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Roadmap Timeline */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background: #1E3A5F;
  border-radius: 2px;
}

.roadmap-item {
  position: relative;
  padding-left: 54px;
}

.roadmap-dot {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0B1B2B;
  border: 4px solid #1E3A5F;
  z-index: 1;
}

.roadmap-item.completed .roadmap-dot {
  border-color: var(--nature-green);
  background: #34D399;
  box-shadow: 0 0 10px var(--nature-glow);
}

.roadmap-item.in_progress .roadmap-dot {
  border-color: var(--energy-gold);
  background: #F59E0B;
  box-shadow: 0 0 10px var(--energy-glow);
  animation: pulse 2s infinite;
}

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

.roadmap-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.roadmap-card h4 {
  font-size: 19px;
  margin-bottom: 8px;
}

.roadmap-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.milestones-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  list-style: none;
}

.milestones-list li {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ----------------------------------------------------
   Monetization & Supporter Store Section
   ---------------------------------------------------- */
.store-philosophy-banner {
  background: linear-gradient(135deg, rgba(46, 175, 97, 0.15) 0%, rgba(59, 185, 247, 0.15) 100%);
  border: 2px dashed rgba(52, 211, 153, 0.5);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.store-philosophy-text h4 {
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--nature-light);
  margin-bottom: 4px;
}

.store-philosophy-text p {
  font-size: 14px;
  color: var(--text-sub);
}

.currency-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: var(--pixel-border);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.currency-btn {
  font-family: var(--font-pixel);
  font-size: 11px;
  padding: 6px 12px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.currency-btn.active {
  background: var(--sky-cyan);
  color: #041B2D;
  font-weight: 700;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.store-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.store-card:hover {
  transform: translateY(-6px);
  border-color: var(--energy-gold);
  box-shadow: 0 10px 30px rgba(255, 214, 87, 0.15);
}

.store-card.featured {
  border-color: var(--energy-gold);
  background: linear-gradient(180deg, rgba(25, 45, 75, 0.9) 0%, rgba(14, 28, 47, 0.9) 100%);
}

.store-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
}

.store-icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 14, 24, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-icon-box img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.store-card-header {
  text-align: center;
  margin-bottom: 16px;
}

.store-card-header h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.store-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--energy-gold);
  margin: 10px 0;
}

.store-description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: center;
}

.store-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-features li {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-features li svg {
  color: var(--nature-light);
  flex-shrink: 0;
}

/* ----------------------------------------------------
   Community Hub & Showcases
   ---------------------------------------------------- */
.community-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.community-stat-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.community-stat-card h3 {
  font-size: 28px;
  color: var(--sky-light);
  margin: 6px 0;
}

.community-stat-card p {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--text-muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.showcase-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--nature-green);
}

.showcase-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.showcase-content {
  padding: 20px;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.showcase-header h4 {
  font-size: 19px;
  color: #FFFFFF;
}

.showcase-mayor {
  font-size: 13px;
  color: var(--sky-light);
  margin-bottom: 12px;
}

.showcase-metrics {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(6, 14, 24, 0.6);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.showcase-comment {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
  font-style: italic;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.like-btn {
  background: transparent;
  border: 1px solid #1E3A5F;
  color: var(--text-muted);
  font-family: var(--font-pixel);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.like-btn:hover, .like-btn.liked {
  color: #FF6B6B;
  border-color: #FF6B6B;
  background: rgba(255, 107, 107, 0.1);
}

/* ----------------------------------------------------
   Feedback Channel & Bug Reporter
   ---------------------------------------------------- */
.feedback-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}

.feedback-form-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.feedback-form-card h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.feedback-form-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-sub);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: rgba(6, 14, 24, 0.7);
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--sky-cyan);
  box-shadow: 0 0 8px var(--sky-glow);
}

.feedback-board-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.feedback-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.feedback-board-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.feedback-board-list::-webkit-scrollbar {
  width: 6px;
}

.feedback-board-list::-webkit-scrollbar-thumb {
  background: #1E3A5F;
  border-radius: 3px;
}

.feedback-item {
  background: rgba(6, 14, 24, 0.6);
  border: 1px solid #1A314E;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.feedback-item:hover {
  border-color: #274C77;
}

.vote-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #102338;
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  min-width: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.vote-box:hover {
  background: var(--sky-cyan);
  color: #041B2D;
}

.vote-box .vote-arrow {
  font-size: 14px;
}

.vote-box .vote-count {
  font-family: var(--font-pixel);
  font-size: 13px;
  font-weight: 700;
}

.feedback-item-content {
  flex: 1;
}

.feedback-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}

.feedback-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.feedback-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.feedback-item-meta {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  gap: 12px;
}

/* ----------------------------------------------------
   Admin & Data Analytics Portal
   ---------------------------------------------------- */
.analytics-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.analytics-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.analytics-card h5 {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.analytics-big-number {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.analytics-subtext {
  font-size: 12px;
  color: var(--nature-light);
}

.chart-card {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Bar Chart Simulation */
.simple-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 160px;
  padding-top: 20px;
  border-bottom: 2px solid #1E3A5F;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.bar-rect {
  width: 100%;
  max-width: 40px;
  background: linear-gradient(180deg, var(--sky-cyan) 0%, #0B3A66 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  position: relative;
}

.bar-rect:hover {
  background: linear-gradient(180deg, #66D9FF 0%, #155594 100%);
}

.bar-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

.bar-value {
  font-size: 10px;
  font-family: var(--font-pixel);
  color: #FFFFFF;
  margin-bottom: 4px;
}

/* Admin Tabs & Tool */
.admin-tools-wrapper {
  background: var(--bg-card);
  border: var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

/* ----------------------------------------------------
   Modal Systems
   ---------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0B1A2C;
  border: 2px solid var(--sky-cyan);
  box-shadow: 0 0 30px rgba(59, 185, 247, 0.3), var(--pixel-shadow);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 560px;
  padding: 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

.modal-title {
  font-size: 22px;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Receipt Modal */
.receipt-box {
  background: #060e18;
  border: 1px dashed var(--nature-green);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 20px 0;
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1.8;
}

.receipt-code {
  font-size: 16px;
  color: var(--energy-gold);
  text-align: center;
  margin: 10px 0;
}

/* ----------------------------------------------------
   Footer
   ---------------------------------------------------- */
.footer {
  background: #040910;
  border-top: 2px solid #162C47;
  padding: 60px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-family: var(--font-pixel);
  font-size: 18px;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--sky-light);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0B1B2B;
  border: 2px solid var(--sky-cyan);
  box-shadow: var(--pixel-shadow);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  color: #FFFFFF;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ----------------------------------------------------
   Responsive Breakpoints
   ---------------------------------------------------- */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 30px;
  }
  .hero-cta-group, .hero-badge-group, .live-metrics-bar {
    justify-content: center;
  }
  .feedback-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 34px;
  }
  .section-title {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .store-philosophy-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ----------------------------------------------------
   Live Playable Mini Demo Simulator Styles
   ---------------------------------------------------- */
.demo-board-wrapper {
  background: #060e18;
  border: 2px solid #1E3A5F;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.demo-top-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  background: rgba(14, 28, 47, 0.85);
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.demo-stat-pill {
  display: flex;
  flex-direction: column;
}

.demo-stat-pill .label {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--text-muted);
}

.demo-stat-pill .val {
  font-size: 17px;
  font-weight: 800;
  color: var(--energy-gold);
}

.demo-layout-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
}

@media (max-width: 820px) {
  .demo-layout-grid {
    grid-template-columns: 1fr;
  }
}

.demo-grid-4x4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: #081320;
  border: 2px solid #142741;
  border-radius: var(--radius-sm);
  padding: 14px;
}

.demo-tile {
  aspect-ratio: 1;
  background: rgba(20, 39, 65, 0.5);
  border: 2px dashed #1B3556;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.2s, background-color 0.2s;
  position: relative;
}

.demo-tile:hover {
  transform: scale(1.04);
  border-color: var(--sky-cyan);
  background: rgba(30, 58, 95, 0.8);
}

.demo-tile.has-building {
  border-style: solid;
  border-color: #274C77;
  background: rgba(11, 27, 43, 0.9);
}

.demo-tile-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.demo-empty-cross {
  font-family: var(--font-pixel);
  font-size: 18px;
  color: rgba(59, 185, 247, 0.3);
}

.demo-sidebar-tools {
  background: rgba(11, 27, 43, 0.7);
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demo-catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.demo-tool-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(6, 14, 24, 0.8);
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.demo-tool-btn:hover {
  border-color: var(--sky-cyan);
  background: #142741;
}

.demo-tool-btn.active {
  border-color: var(--energy-gold);
  background: #1B3556;
  box-shadow: 0 0 8px var(--energy-glow);
}

.demo-eco-dialog-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 14, 24, 0.9);
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 16px;
}

.demo-eco-dialog-box img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.demo-eco-bubble {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

