/* ── Enshrouded — Page-Specific Styles ── */

/* ── Mini-hero ── */
.mini-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('/assets/enshrouded-hero-poster.webp') center/cover no-repeat,
              linear-gradient(135deg, #0a0a0f 0%, #10151a 40%, #1a152a 70%, #0a0a0f 100%);
}

.mini-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.mini-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 22, 0.4) 0%,
    rgba(10, 14, 22, 0.7) 60%,
    rgba(10, 10, 15, 0.95) 100%
  );
}

.mini-hero-content {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .mini-hero-video { display: none; }
}

.mini-hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #e6f0ff;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 24px rgba(93, 140, 192, 0.35), 0 1px 4px rgba(0, 0, 0, 0.6);
}

.mini-hero-subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.mini-hero-status {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── Server info grid ── */
.server-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.server-info-item {
  text-align: center;
}

.server-info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.server-info-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* ── Mod-header variant: terminal-prompt preamble reused without mods ── */
.mod-header {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* ── Step cards (connection protocol) ── */
#connect { background: var(--bg-alt); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .mini-hero { min-height: 30vh; }
}
