/* SplitHappens Custom Theme */

:root {
  --sh-primary: #667eea;
  --sh-secondary: #764ba2;
  --sh-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Header gradient */
.md-header {
  background: var(--sh-gradient);
}

[data-md-color-scheme="slate"] .md-header {
  background: linear-gradient(135deg, #4a5cd6 0%, #5e3a8a 100%);
}

/* Screenshot styling */
.screenshot {
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  width: 280px !important;
  max-width: 280px !important;
  margin: 1.5rem auto;
  display: block;
}

/* Dark mode: etwas stärkerer Schatten */
[data-md-color-scheme="slate"] .screenshot {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  justify-items: center;
}

.screenshot-grid img {
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  width: 220px;
  max-width: 220px;
  display: block;
}

.screenshot-grid p {
  margin: 0;
  display: contents;
}

[data-md-color-scheme="slate"] .screenshot-grid img {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-card {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  margin-top: 0;
}

/* Step indicators */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sh-gradient);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

/* Keyboard shortcuts */
kbd {
  background: var(--md-default-fg-color--lightest);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.85em;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .screenshot {
    max-width: 100%;
    border-radius: 16px;
  }
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
}
