@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Nimbus+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg-1: #e6ff00;
  --bg-2: #e6ff00;
  --ink: #1f1b16;
  --muted: #5a5046;
  --card: #ffffff;
  --accent: #d86d5a;
  --shadow: 0 18px 45px rgba(32, 25, 20, 0.12);
  --radius: 20px;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-1);
  color: var(--ink);
  font-family: "Nimbus Sans", "Nimbus Sans L", "Trebuchet MS", sans-serif;
  letter-spacing: 0.01em;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 18px;
}

.stack {
  width: min(390px, 100%);
  display: grid;
  gap: 0;
  animation: floatIn 800ms ease forwards;
  background: var(--panel);
  padding: 20px 22px;
  border-radius: 0;
}

.hero {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.hero-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.text {
  display: grid;
  text-align: center;
  gap: 10px;
  margin-top: 24px;
  color: #000000;
  font-size: 0.98rem;
  line-height: 1.6;
}

.text p {
  margin-top: 0;
  animation: fadeUp 700ms ease forwards;
  opacity: 0;
}

.text p:nth-child(1) { animation-delay: 120ms; }
.text p:nth-child(2) { animation-delay: 220ms; }
.text p:nth-child(3) { animation-delay: 320ms; }
.text p:nth-child(4) { animation-delay: 420ms; }

.cards {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}

.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-1);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: transform 200ms ease, background-color 260ms ease;
  animation: fadeUp 700ms ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 520ms; }
.card:nth-child(2) { animation-delay: 640ms; }

.card-title {
  font-family: "Nimbus Sans", "Nimbus Sans L", "Trebuchet MS", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  transform: translateY(2px);
}

.card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  background-color: #ffffff;
}

.card:focus-visible {
  outline: 2px solid rgba(216, 109, 90, 0.4);
  outline-offset: 3px;
}

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .page {
    padding: 20px 14px;
  }

  .stack {
    gap: 0;
  }
}
