:root {
  --bg: #f8f7f2;
  --bg-alt: #fffdf3;
  --ink: #101010;
  --ink-muted: #555;
  --accent: #ffb703;
  --accent-2: #00c2ff;
  --accent-3: #ff3d81;
  --card: #ffffff;
  --border: #101010;
  --status-dead: #ff4444;
  --status-struggling: #ff9900;
  --status-pivoted: #00aa55;
  --status-comeback: #0066ff;
}

[data-theme="dark"] {
  --bg: #121212;
  --bg-alt: #1e1e1e;
  --ink: #f5f5f5;
  --ink-muted: #b0b0b0;
  --card: #1e1e1e;
  --border: #444;
}

[data-theme="dark"] .badge {
  background: var(--accent);
  color: #101010;
}

[data-theme="dark"] .tag {
  background: #3a3a00;
  color: #ffeb99;
  border-color: #666;
}

[data-theme="dark"] .tag.alt {
  background: #003344;
  color: #99e6ff;
}

[data-theme="dark"] .tag.warn {
  background: #440022;
  color: #ffb3d1;
}

[data-theme="dark"] .stat {
  background: #252525;
}

[data-theme="dark"] .search input {
  background: #252525;
  color: #f5f5f5;
  border-color: #444;
}

[data-theme="dark"] .status-btn,
[data-theme="dark"] .filter-btn {
  background: #252525;
  color: #f5f5f5;
  border-color: #444;
}

[data-theme="dark"] .hint {
  background: #252525;
  border-color: #444;
}

[data-theme="dark"] .modal-content {
  background: #1e1e1e;
  border-color: #444;
}

[data-theme="dark"] .modal-close {
  background: #252525;
  color: #f5f5f5;
  border-color: #444;
}

[data-theme="dark"] .number-card,
[data-theme="dark"] .person-card {
  background: #252525;
  border-color: #444;
}

[data-theme="dark"] .timeline {
  border-color: var(--accent);
}

[data-theme="dark"] .card-status {
  border-color: transparent;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  transition: background 0.3s, color 0.3s;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  position: relative;
  z-index: 1;
}

.hero {
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: 8px 8px 0 var(--border);
  padding: 28px;
  text-align: center;
}

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

.header-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link {
  display: inline-block;
  background: var(--accent);
  border: 3px solid var(--border);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  color: #101010;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--border);
  transition: transform 0.1s, box-shadow 0.1s;
}

.header-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--border);
}

.badge {
  display: inline-block;
  background: var(--accent);
  border: 3px solid var(--border);
  padding: 6px 12px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 12px;
  color: #101010;
}

.theme-toggle {
  border: 3px solid var(--border);
  background: var(--card);
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--border);
  transition: transform 0.1s;
}

.theme-toggle:hover {
  transform: translate(-2px, -2px);
}

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: inline; }

.hero h1 {
  font-size: 42px;
  margin: 16px 0 8px;
  font-weight: 900;
}

.subtitle {
  font-size: 16px;
  margin: 0 0 20px;
  color: var(--ink-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stat {
  background: var(--bg-alt);
  border: 3px solid var(--border);
  padding: 12px;
  box-shadow: 4px 4px 0 var(--border);
}

.stat-value {
  font-size: 24px;
  font-weight: 900;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.controls {
  margin: 28px 0 20px;
  display: grid;
  gap: 16px;
}

.search input {
  width: 100%;
  padding: 14px 16px;
  border: 3px solid var(--border);
  font-size: 16px;
  box-shadow: 4px 4px 0 var(--border);
  background: var(--card);
  color: var(--ink);
}

.status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--border);
}

.status-btn {
  border: 3px solid var(--border);
  background: var(--card);
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--border);
  font-size: 14px;
  transition: transform 0.1s;
}

.status-btn:hover {
  transform: translate(-2px, -2px);
}

.status-btn.active {
  background: var(--accent);
  color: #101010;
}

.status-btn[data-status="Shut Down"].active { background: var(--status-dead); color: #fff; }
.status-btn[data-status="Struggling"].active { background: var(--status-struggling); color: #fff; }
.status-btn[data-status="Pivoted"].active { background: var(--status-pivoted); color: #fff; }
.status-btn[data-status="Comeback"].active { background: var(--status-comeback); color: #fff; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hint {
  font-size: 13px;
  font-weight: 600;
  background: var(--card);
  border: 2px dashed var(--border);
  padding: 10px 14px;
  width: fit-content;
}

.filter-btn {
  border: 3px solid var(--border);
  background: var(--card);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--border);
  transition: transform 0.1s;
}

.filter-btn:hover {
  transform: translate(-1px, -1px);
}

.filter-btn.active {
  background: var(--accent-2);
  color: #101010;
}

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

.card {
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: 6px 6px 0 var(--border);
  padding: 22px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--border);
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.card-logo {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--border);
}

.card-logo::after {
  content: attr(data-initial);
}

.card-logo[style*="background-image"]::after {
  content: '';
}

.card-title-section {
  flex: 1;
}

.card-title-section h4 {
  margin: 4px 0 0;
  font-size: 22px;
}

[data-theme="dark"] .card-logo {
  background-color: #333;
  border-color: #555;
}

.card h4 {
  margin: 10px 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.card-status {
  display: inline-block;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  border: 2px solid;
  margin-bottom: 8px;
}

.card-status.dead { background: var(--status-dead); color: #fff; border-color: var(--status-dead); }
.card-status.struggling { background: var(--status-struggling); color: #fff; border-color: var(--status-struggling); }
.card-status.pivoted { background: var(--status-pivoted); color: #fff; border-color: var(--status-pivoted); }
.card-status.comeback { background: var(--status-comeback); color: #fff; border-color: var(--status-comeback); }

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  border: 2px solid var(--border);
  padding: 4px 8px;
  font-weight: 700;
  font-size: 12px;
  background: #fff4c2;
  color: #101010;
}

.tag.alt { background: #d1f4ff; }
.tag.warn { background: #ffd3e5; }
.tag.funding { background: #c8ffc8; }

.card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 10px 0;
}

.card-founders {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.card-cta {
  margin-top: 12px;
  padding: 10px;
  background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
  border: 2px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #101010;
  transition: all 0.2s ease;
}

.card:hover .card-cta {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: #fff;
  transform: translateY(-2px);
}

[data-theme="dark"] .card-cta {
  background: linear-gradient(135deg, #636e72, #2d3436);
  color: #f5f5f5;
  border-color: #555;
}

[data-theme="dark"] .card:hover .card-cta {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: #fff;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.show {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  position: relative;
  max-width: 900px;
  margin: 30px auto;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: 10px 10px 0 var(--border);
  padding: 28px;
  z-index: 2;
  max-height: 90vh;
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 3px solid var(--border);
  background: var(--card);
  font-size: 24px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-weight: bold;
}

.modal-header {
  border-bottom: 3px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

.modal-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.section {
  margin: 24px 0;
}

.section h3 {
  margin: 0 0 12px;
  font-size: 18px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 6px;
}

.section p {
  line-height: 1.7;
  font-size: 15px;
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.section li {
  margin: 8px 0;
  line-height: 1.6;
}

.key-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.number-card {
  border: 2px solid var(--border);
  padding: 12px;
  background: var(--bg-alt);
  text-align: center;
}

.number-card .value {
  font-size: 22px;
  font-weight: 900;
}

.number-card .label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.timeline {
  margin-top: 16px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.timeline-item {
  margin: 12px 0;
  padding-left: 16px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 2px solid var(--border);
}

.timeline-item .date {
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
}

/* NEW MODAL SECTIONS */

/* Value Proposition Section */
.value-prop-section {
  background: var(--accent);
  margin: 0 -28px;
  padding: 20px 28px;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

.value-prop-section h3 {
  color: #101010;
  border-bottom-color: #101010;
}

.value-prop-section p {
  color: #101010;
  font-weight: 500;
}

/* Opportunity Score Section */
.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.opportunity-card {
  border: 2px solid var(--border);
  padding: 14px;
  background: var(--bg-alt);
}

.opportunity-card .opp-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.opportunity-card .opp-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.opportunity-card .opp-bar span {
  width: 20px;
  height: 10px;
  background: #ddd;
  border: 1px solid var(--border);
}

.opportunity-card .opp-bar span.filled { background: #ff4444; }
.opportunity-card .opp-bar span.filled.green { background: #00aa55; }
.opportunity-card .opp-bar span.filled.orange { background: #ff9900; }

.opportunity-card .opp-value {
  font-weight: 800;
  font-size: 14px;
}

/* Death Section */
.death-section h3 {
  color: var(--status-dead);
}

/* Loot Section */
.loot-section {
  background: #f0fff0;
  margin: 0 -28px;
  padding: 20px 28px;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

[data-theme="dark"] .loot-section {
  background: #1a2e1a;
}

.loot-section h3 {
  color: var(--status-pivoted);
  border-bottom-color: var(--status-pivoted);
}

.loot-list {
  list-style: none;
  padding: 0;
}

.loot-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}

.loot-list li::before {
  content: '💎';
  position: absolute;
  left: 0;
  top: 10px;
}

/* Market Today Section */
.market-section {
  background: #fff0f5;
  margin: 0 -28px;
  padding: 20px 28px;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

[data-theme="dark"] .market-section {
  background: #2e1a24;
}

.market-section h3 {
  color: var(--accent-3);
  border-bottom-color: var(--accent-3);
}

/* Rebuild Section */
.rebuild-section {
  background: #e6f7ff;
  margin: 0 -28px;
  padding: 20px 28px;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

[data-theme="dark"] .rebuild-section {
  background: #1a2a3e;
}

.rebuild-section h3 {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.rebuild-card {
  background: var(--card);
  border: 3px solid var(--border);
  padding: 20px;
  box-shadow: 4px 4px 0 var(--border);
}

.rebuild-name {
  color: var(--accent-2);
  font-size: 24px;
  margin: 0 0 12px;
  font-weight: 900;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-tag {
  border: 2px solid var(--border);
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
  background: var(--card);
}

/* Innovative Section */
.innovative-section {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  margin: 0 -28px;
  padding: 20px 28px;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

[data-theme="dark"] .innovative-section {
  background: linear-gradient(135deg, #2e2a1a, #3e3420);
}

.innovative-section h3 {
  color: #e65100;
  border-bottom-color: #e65100;
}

.innovative-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.innovative-list li {
  padding: 14px 16px;
  background: var(--card);
  border: 2px solid var(--border);
  border-left: 5px solid #ff9800;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.innovative-list li::before {
  content: '✓';
  background: #ff9800;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Execution Section */
.execution-section {
  background: #e6f0ff;
  margin: 0 -28px;
  padding: 20px 28px;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

[data-theme="dark"] .execution-section {
  background: #1a1a2e;
}

.execution-section h3 {
  color: var(--status-comeback);
  border-bottom-color: var(--status-comeback);
}

.execution-list {
  padding-left: 0;
  counter-reset: step;
  list-style: none;
}

.execution-list li {
  padding: 12px 12px 12px 50px;
  position: relative;
  margin-bottom: 8px;
  background: var(--card);
  border: 2px solid var(--border);
}

.execution-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--status-comeback);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

/* Monetization Section */
.monetization-section {
  background: #e8ffe8;
  margin: 0 -28px;
  padding: 20px 28px;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

[data-theme="dark"] .monetization-section {
  background: #1a2e1a;
}

.monetization-section h3 {
  color: var(--status-pivoted);
  border-bottom-color: var(--status-pivoted);
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-link {
  display: inline-block;
  border: 2px solid var(--border);
  padding: 8px 14px;
  background: var(--bg-alt);;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}

.source-link:hover {
  background: var(--accent);
  color: #101010;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.person-card {
  border: 2px solid var(--border);
  padding: 12px;
  background: var(--bg-alt);
}

.person-card .role {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

.person-card .name {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.note {
  font-size: 12px;
  font-style: italic;
  color: var(--ink-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

/* Floating Bubbles Animation */
.bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -100px;
  border-radius: 50%;
  opacity: 0.6;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-110vh) scale(0.8);
    opacity: 0;
  }
}

.bubble.orange { background: rgba(255, 183, 3, 0.3); }
.bubble.pink { background: rgba(255, 61, 129, 0.3); }
.bubble.blue { background: rgba(0, 194, 255, 0.3); }
.bubble.green { background: rgba(0, 170, 85, 0.2); }

[data-theme="dark"] .bubble.orange { background: rgba(255, 183, 3, 0.15); }
[data-theme="dark"] .bubble.pink { background: rgba(255, 61, 129, 0.15); }
[data-theme="dark"] .bubble.blue { background: rgba(0, 194, 255, 0.15); }
[data-theme="dark"] .bubble.green { background: rgba(0, 170, 85, 0.1); }

/* Feature Request FAB Button */
.fab-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--accent);
  color: #101010;
  border: 4px solid var(--border);
  box-shadow: 5px 5px 0 var(--border);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  z-index: 50;
}

.fab-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--border);
}

.fab-button:active {
  transform: translate(0, 0);
  box-shadow: 3px 3px 0 var(--border);
}

.fab-icon {
  font-size: 20px;
}

[data-theme="dark"] .fab-button {
  background: var(--accent);
  color: #101010;
}

/* Portfolio Footer */
.site-footer {
  background: var(--card);
  border-top: 4px solid var(--border);
  padding: 24px 20px 100px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.footer-content p {
  margin: 8px 0;
  font-size: 14px;
}

.footer-content a {
  color: var(--accent-3);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-3);
  transition: color 0.2s, border-color 0.2s;
}

.footer-content a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-tagline {
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
}

[data-theme="dark"] .site-footer {
  background: #1a1a1a;
}

/* Feedback Form Styles */
.feedback-modal-content {
  max-width: 500px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 700;
  font-size: 14px;
}

.form-group select,
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 3px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  box-shadow: 3px 3px 0 var(--border);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.submit-btn {
  padding: 14px 24px;
  background: var(--accent);
  color: #101010;
  border: 3px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.submit-btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--border);
}

.feedback-note {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background: #252525;
  border-color: #444;
}

[data-theme="dark"] .submit-btn {
  background: var(--accent);
  color: #101010;
}

/* Responsive - ENHANCED */
@media (max-width: 768px) {
  .page {
    padding: 16px 12px 60px;
  }
  
  .hero {
    padding: 20px 16px;
    box-shadow: 5px 5px 0 var(--border);
  }
  
  .hero h1 { 
    font-size: 26px;
    line-height: 1.2;
  }
  
  .subtitle {
    font-size: 14px;
  }
  
  .stats { 
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .stat {
    padding: 10px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .search input {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .status-filters {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  
  .status-btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .grid { 
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .card {
    padding: 16px;
  }
  
  .card h4 {
    font-size: 18px;
  }
  
  .card p {
    font-size: 13px;
  }
  
  .hint {
    font-size: 11px;
    padding: 8px 10px;
  }
  
  .modal-content { 
    margin: 8px;
    padding: 16px;
    max-height: 95vh;
    border-width: 3px;
    box-shadow: 6px 6px 0 var(--border);
  }
  
  .modal-header h2 {
    font-size: 22px;
  }
  
  .section h3 {
    font-size: 16px;
  }
  
  /* Responsive modal sections */
  .value-prop-section,
  .loot-section,
  .market-section,
  .rebuild-section,
  .execution-section,
  .monetization-section {
    margin: 0 -16px;
    padding: 16px;
  }
  
  .opportunity-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .opportunity-card {
    padding: 12px;
  }
  
  .rebuild-card {
    padding: 14px;
  }
  
  .rebuild-name {
    font-size: 18px;
  }
  
  .tech-stack {
    gap: 6px;
  }
  
  .tech-tag {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .execution-list li {
    padding: 10px 10px 10px 45px;
    font-size: 14px;
  }
  
  .key-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .number-card {
    padding: 10px;
  }
  
  .number-card .value {
    font-size: 18px;
  }
  
  .people {
    grid-template-columns: 1fr;
  }
  
  .fab-button {
    bottom: 16px;
    right: 16px;
    padding: 12px 16px;
    font-size: 12px;
  }
  
  .fab-text {
    display: none;
  }
  
  .fab-icon {
    font-size: 24px;
  }
  
  .site-footer {
    padding: 20px 16px 90px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 22px;
  }
  
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .stat-value {
    font-size: 18px;
  }
  
  .tag {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .modal-content {
    margin: 4px;
    padding: 12px;
  }
  
  .opportunity-grid {
    gap: 8px;
  }
  
  .execution-list li::before {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
}
