.era5-browser-view {
  padding: 2rem;
}

.data-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

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

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

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

.spec-card strong {
  color: #cbd5e1;
}

.variables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.variable-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;
}

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

.variable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.variable-id {
  background: rgba(102, 126, 234, 0.2);
  color: #a5b4fc;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: bold;
}

.variable-levels {
  font-size: 0.85rem;
  color: #94a3b8;
}

.variable-card h3 {
  color: #e2e8f0;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

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

.variable-unit {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.variable-unit strong {
  color: #cbd5e1;
}

.pressure-levels summary {
  color: #cbd5e1;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.pressure-levels summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.levels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
}

.level-tag {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
}

.usage-section {
  margin-top: 3rem;
}

.usage-section h2 {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.code-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.code-example {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 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;
}

.resources-section {
  margin-top: 3rem;
}

.resources-section h2 {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

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

.resource-link {
  display: block;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}

.resource-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  color: #a5b4fc;
}
