:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --text-primary: #ffffff;
  --text-secondary: #8b8b9e;
  --accent-pink: #ff2d92;
  --accent-blue: #00d4ff;
  --accent-lime: #b8ff00;
  --accent-purple: #9333ea;
  --gradient-1: linear-gradient(135deg, #ff2d92 0%, #00d4ff 100%);
  --gradient-2: linear-gradient(135deg, #b8ff00 0%, #00d4ff 100%);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

.app-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.code-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.code-snippet {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent-blue);
  opacity: 0;
  animation: fadeCode 8s infinite;
  white-space: nowrap;
}

@keyframes fadeCode {
  0%, 100% { opacity: 0; transform: translateY(20px); }
  20%, 80% { opacity: 0.15; transform: translateY(0); }
}

.app-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.dna-emoji {
  -webkit-text-fill-color: initial;
  display: inline-block;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.thesis-section {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.thesis-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.toggle-label {
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.toggle-label.active {
  background: var(--gradient-1);
  border-color: transparent;
}

.thesis-cards-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.thesis-card {
  background: var(--bg-card);
  border: 2px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  min-width: 280px;
  transition: all 0.5s ease;
  opacity: 0.4;
  transform: scale(0.95);
}

.thesis-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent-pink);
  box-shadow: 0 0 30px rgba(255, 45, 146, 0.2);
}

.thesis-year {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.thesis-team {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.thesis-member {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: var(--glass);
  border-radius: 0.5rem;
}

.thesis-emoji {
  font-size: 1.5rem;
}

.thesis-role {
  font-weight: 500;
}

.content-section {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.ai-slider-container {
  margin-bottom: 2rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.slider-value {
  color: var(--accent-lime);
  font-family: 'JetBrains Mono', monospace;
}

.ai-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--glass);
  outline: none;
  -webkit-appearance: none;
}

.ai-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-1);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 45, 146, 0.5);
}

.value-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-bar-item {
  padding: 1rem;
  background: var(--glass);
  border-radius: 0.75rem;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.bar-value {
  font-family: 'JetBrains Mono', monospace;
}

.bar-value.tech { color: var(--accent-blue); }
.bar-value.gtm { color: var(--accent-pink); }
.bar-value.vision { color: var(--accent-lime); }

.bar-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.3s ease;
}

.bar-fill.tech { background: linear-gradient(90deg, var(--accent-blue), #0099ff); }
.bar-fill.gtm { background: linear-gradient(90deg, var(--accent-pink), #ff6b9d); }
.bar-fill.vision { background: linear-gradient(90deg, var(--accent-lime), #9dff00); }

.bar-tooltip {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

.opinion-meter {
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--glass);
  border-radius: 0.75rem;
}

.meter-label {
  text-align: center;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.meter-track {
  display: flex;
  height: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-dark);
}

.meter-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.meter-fill.gtm-side { background: var(--accent-pink); }
.meter-fill.tech-side { background: var(--accent-blue); }

.meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.arguments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .arguments-grid {
    grid-template-columns: 1fr;
  }
}

.argument-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.argument-column.gtm h4 { color: var(--accent-pink); }
.argument-column.tech h4 { color: var(--accent-blue); }

.argument-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.argument-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-lime);
}

.argument-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.vote-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.team-budget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.slots {
  display: flex;
  gap: 0.5rem;
}

.slot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--glass);
  border: 2px solid var(--glass-border);
  transition: all 0.3s ease;
}

.slot.filled {
  background: var(--accent-lime);
  border-color: var(--accent-lime);
  box-shadow: 0 0 10px rgba(184, 255, 0, 0.5);
}

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

.role-card {
  background: var(--glass);
  border: 2px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.role-card:hover:not(.disabled) {
  border-color: var(--accent-pink);
  transform: translateY(-3px);
}

.role-card.selected {
  background: rgba(255, 45, 146, 0.15);
  border-color: var(--accent-pink);
  box-shadow: 0 0 20px rgba(255, 45, 146, 0.3);
}

.role-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.role-emoji {
  font-size: 2rem;
}

.role-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.role-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

.team-analysis {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--glass);
  border-radius: 1rem;
  text-align: center;
}

.vc-reaction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reaction-emoji {
  font-size: 3rem;
  animation: bounce 0.5s ease infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.reaction-text {
  font-size: 1.3rem;
  font-weight: 600;
}

.fundability-score {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.score-bar {
  width: 200px;
  height: 12px;
  background: var(--bg-dark);
  border-radius: 6px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: var(--gradient-2);
  transition: width 0.5s ease;
}

.score-number {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--accent-lime);
}

.share-section {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.share-btn {
  background: var(--gradient-1);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 45, 146, 0.5);
}

.hot-takes-ticker {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  padding: 1rem 2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.ticker-label {
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
}

.ticker-text {
  display: block;
  animation: slideIn 0.5s ease;
  font-weight: 500;
}

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

.app-footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.app-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.app-footer a {
  color: var(--accent-pink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.app-footer a:hover {
  color: var(--accent-lime);
}

@media (max-width: 600px) {
  .app-container {
    padding: 1rem;
  }
  
  .content-section {
    padding: 1.25rem;
  }
  
  .thesis-cards-container {
    flex-direction: column;
    align-items: center;
  }
  
  .thesis-card {
    min-width: 100%;
  }
  
  .hot-takes-ticker {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}