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

body {
  min-height: 100dvh;
  background: radial-gradient(ellipse at 50% 20%, #1a1230 0%, #0b0b12 65%);
  color: #f2ecd8;
  font-family: Georgia, "Times New Roman", serif;
  display: grid;
  place-items: center;
  overflow: hidden;
}

main { width: min(92vw, 30rem); text-align: center; }

.screen { display: none; animation: fade 0.6s ease; }
body[data-screen="opening"] #opening,
body[data-screen="focus"] #focus,
body[data-screen="finale"] #finale { display: block; }

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

h1 { font-size: 1.6rem; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
p  { color: #bfb69a; margin-bottom: 1.2rem; line-height: 1.45; }
em { color: #e8c76a; font-style: normal; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  justify-items: center;
  margin-bottom: 1.4rem;
}
.card {
  width: 100%;
  max-width: 7.2rem;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.55);
  background: #fff;
}

button {
  font: inherit;
  font-size: 1.05rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #e8c76a;
  background: transparent;
  color: #e8c76a;
  cursor: pointer;
}
button:disabled { opacity: 0.35; cursor: wait; }
button:active { background: #e8c76a; color: #0b0b12; }

.orb {
  width: 9rem; height: 9rem;
  margin: 14dvh auto 2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8c76a, #6b4fd8 60%, transparent 75%);
  filter: blur(2px);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.18); opacity: 1; }
}
