/* SaberCraft-inspired visual skin for the LUMINA Standard MkDocs site. */
:root {
  --lumina-red: #e53935;
  --lumina-blue: #42a5f5;
  --lumina-gold: #f7c948;
  --lumina-ink: #08090d;
  --lumina-panel: rgba(12, 14, 22, 0.92);
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #05060a;
  --md-default-fg-color: #f4f4f5;
  --md-primary-fg-color: #05060a;
  --md-accent-fg-color: var(--lumina-red);
  --md-typeset-a-color: #7cc7ff;
}

.md-header,
.md-tabs {
  background: linear-gradient(90deg, #05060a 0%, #111827 50%, #05060a 100%);
  border-bottom: 1px solid rgba(229, 57, 53, 0.55);
}

.md-header__title,
.md-tabs__link {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.md-tabs__link--active,
.md-tabs__link:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(229, 57, 53, 0.85), 0 0 18px rgba(66, 165, 245, 0.55);
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 2rem;
}

.md-main {
  background:
    radial-gradient(circle at 20% 0%, rgba(229, 57, 53, 0.17), transparent 28rem),
    radial-gradient(circle at 80% 8%, rgba(66, 165, 245, 0.16), transparent 26rem),
    linear-gradient(180deg, #05060a 0%, #0b0d13 42%, #05060a 100%);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lumina-hero {
  position: relative;
  margin: 0 0 2rem;
  padding: 4rem 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(5,6,10,0.96) 0%, rgba(12,14,22,0.90) 48%, rgba(5,6,10,0.96) 100%),
    radial-gradient(circle at 25% 35%, rgba(229,57,53,0.35), transparent 18rem),
    radial-gradient(circle at 75% 35%, rgba(66,165,245,0.32), transparent 18rem);
  box-shadow: 0 1.25rem 3rem rgba(0,0,0,0.45);
}

.lumina-hero::before,
.lumina-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 46%;
  height: 4px;
  border-radius: 999px;
  opacity: 0.78;
  filter: blur(0.3px);
}

.lumina-hero::before {
  left: -6%;
  background: linear-gradient(90deg, transparent, var(--lumina-blue), #ffffff);
  transform: rotate(-17deg);
  box-shadow: 0 0 18px rgba(66,165,245,0.85);
}

.lumina-hero::after {
  right: -6%;
  background: linear-gradient(270deg, transparent, var(--lumina-red), #ffffff);
  transform: rotate(17deg);
  box-shadow: 0 0 18px rgba(229,57,53,0.85);
}

.lumina-hero__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  color: var(--lumina-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lumina-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 7vw, 5.25rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(229,57,53,0.35), 0 0 34px rgba(66,165,245,0.28);
}

.lumina-hero__subtitle {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 1.3rem 0 0;
  color: #e5e7eb;
  font-size: 1.05rem;
}

.lumina-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.lumina-button {
  display: inline-block;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.22);
}

.lumina-button--primary {
  color: #ffffff !important;
  background: linear-gradient(90deg, #b91c1c, #ef4444);
  box-shadow: 0 0 18px rgba(229,57,53,0.35);
}

.lumina-button--secondary {
  color: #ffffff !important;
  background: rgba(255,255,255,0.08);
}

.md-typeset .admonition,
.md-typeset details,
.md-typeset table:not([class]) {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.75rem 2rem rgba(0,0,0,0.18);
}

.md-footer {
  background: #05060a;
  border-top: 1px solid rgba(229,57,53,0.35);
}

.md-typeset .diagram-table table,
.md-typeset .diagram-table th,
.md-typeset .diagram-table td {
  background-color: #ffffff;
}

.md-typeset .diagram-table td,
.md-typeset .diagram-table strong {
  color: #000000;
}
