.extreme-events-view {
  padding: 2rem;
}

.events-section, .code-section, .implementation-section, .references-section {
  margin-top: 3rem;
}

.events-section h2, .code-section h2, .implementation-section h2, .references-section h2 {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

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

.event-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s;
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.event-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.event-icon {
  font-size: 2.5rem;
}

.event-header h3 {
  margin: 0;
  color: #e2e8f0;
  font-size: 1.2rem;
}

.event-description {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.event-section {
  margin-bottom: 1rem;
}

.event-section h4 {
  color: #cbd5e1;
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
}

.event-section ul {
  color: #94a3b8;
  line-height: 1.6;
  padding-left: 1.5rem;
  margin: 0;
}

.code-example {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.code-example h3 {
  color: #e2e8f0;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.code-example pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  margin: 0;
}

.code-example code {
  color: #a5b4fc;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}

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

.impl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
}

.impl-card h3 {
  color: #e2e8f0;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.impl-card code {
  display: block;
  background: rgba(102, 126, 234, 0.2);
  color: #a5b4fc;
  padding: 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  margin: 0.75rem 0;
}

.impl-card p {
  color: #94a3b8;
  line-height: 1.5;
  margin: 0.5rem 0;
}

.impl-card ul {
  color: #94a3b8;
  line-height: 1.6;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

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

.reference-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
}

.reference-card h3 {
  color: #e2e8f0;
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
}

.reference-card p {
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  font-size: 0.9rem;
}
