:root {
  color-scheme: dark;
  --bg: #000000;
  --accent: #2bff7d;
  --accent-soft: rgba(43, 255, 125, 0.4);
  --text: #e8fff2;
  --muted: rgba(232, 255, 242, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3vw;
  position: relative;
  overflow: hidden;
}

.hero__content {
  width: min(1400px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.ascii-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  height: min(90vh, 900px);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ascii {
  color: var(--accent);
  font-size: clamp(0.5rem, 0.78vw, 0.78rem);
  line-height: 0.92;
  text-shadow: 0 0 14px rgba(43, 255, 125, 0.35);
  min-height: 30ch;
  white-space: pre;
}

.dates {
  padding: 4rem 6vw 4rem;
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.section__header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.section__header p {
  color: var(--muted);
}

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

.date-card {
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(43, 255, 125, 0.3);
  padding: 1rem 1.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
  opacity: 0;
  transform: translateY(12px);
  display: grid;
  gap: 0.35rem;
}

.date-card:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.date-card.reveal {
  animation: fadeUp 0.6s ease forwards;
}

.date-card__title {
  font-size: 1rem;
}

.date-card__subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.random-btn {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(43, 255, 125, 0.4);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
}

.random-btn:hover {
  border-color: var(--accent);
}

.profile {
  padding: 4rem 6vw 5rem;
}

.profile__card {
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  padding: 2rem;
}

.profile__card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.domain {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.slogan {
  color: var(--muted);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 5vw 2.5rem;
  }
}
