.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  margin: -2.5rem 0 3rem;
  padding: 4rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 20, 0.92) 0%, rgba(6, 11, 20, 0.55) 48%, rgba(6, 11, 20, 0.25) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(61, 139, 253, 0.22), transparent 50%),
    url('../img/logo.png') right 8% center / min(42vw, 420px) no-repeat;
  opacity: 0.95;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-brand {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  background: linear-gradient(120deg, #f4f8ff 20%, #3d8bfd 70%, #7eb6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.8s ease both;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 34rem;
  margin-bottom: 1.6rem;
  animation: rise 0.8s ease 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.2s both;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  font-size: 1.6rem;
}

.news-card h3 {
  margin-bottom: 0.35rem;
}

.news-card time {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--mono);
}

.status-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.status-metric {
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(6, 11, 20, 0.45);
}

.status-metric strong {
  display: block;
  font-size: 1.6rem;
  margin-top: 0.35rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.fade-in {
  animation: rise 0.6s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 11, 20, 0.4), rgba(6, 11, 20, 0.92)),
      radial-gradient(ellipse at 50% 0%, rgba(61, 139, 253, 0.25), transparent 55%),
      url('../img/logo.png') center top / 180px no-repeat;
    opacity: 0.85;
  }

  .hero-inner {
    padding-top: 10rem;
  }

  .status-board {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .status-board {
    grid-template-columns: 1fr;
  }
}
