@font-face {
  font-family: "Minecraftia";
  src: url("./fonts/Minecraftia-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: #090b10;
  color: #f5f2ed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(107, 82, 52, .17), transparent 43%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), #090b10;
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.card {
  position: relative;
  width: min(100%, 620px);
  min-height: 660px;
  padding: 38px 42px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(155deg, rgba(25,27,31,.97), rgba(15,17,21,.97));
  border: 1px solid rgba(232, 174, 92, .2);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.04);
}

.card::before, .card::after { position: absolute; width: 36px; height: 36px; content: ""; border-color: #e8ae5c; border-style: solid; opacity: .8; }
.card::before { top: 16px; left: 16px; border-width: 1px 0 0 1px; border-radius: 8px 0 0; }
.card::after { right: 16px; bottom: 16px; border-width: 0 1px 1px 0; border-radius: 0 0 8px; }

.topline {
  position: absolute;
  top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 99px;
  background: rgba(255,255,255,.035);
  color: #c6c1b8;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #e8ae5c; box-shadow: 0 0 12px #e8ae5c; animation: pulse 1.8s ease-in-out infinite; }

.illustration { position: relative; width: 200px; height: 190px; margin: 31px 0 19px; display: grid; place-items: center; }
.planet { position: relative; z-index: 2; width: 114px; height: 114px; overflow: hidden; border: 1px solid rgba(255,231,187,.45); border-radius: 50%; background: radial-gradient(circle at 31% 25%, #f5cf91 0, #d9964f 35%, #99613f 72%, #704b40 100%); box-shadow: 0 0 55px rgba(224,157,80,.28), inset -15px -12px 20px rgba(45,27,22,.35); animation: float 5s ease-in-out infinite; }
.crater { position: absolute; border: 1px solid rgba(93,52,34,.22); border-radius: 50%; background: rgba(115,67,42,.16); }
.crater-one { width: 22px; height: 13px; top: 25px; left: 23px; transform: rotate(-22deg); }
.crater-two { width: 15px; height: 15px; top: 62px; left: 68px; }
.crater-three { width: 9px; height: 8px; top: 39px; left: 78px; }
.orbit { position: absolute; width: 190px; height: 64px; border: 1px solid rgba(232,174,92,.5); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { z-index: 3; }
.orbit-two { width: 174px; height: 50px; border-color: rgba(255,255,255,.1); transform: rotate(36deg); }
.spark { position: absolute; color: #f4d49d; animation: twinkle 2s ease-in-out infinite alternate; }
.spark-one { top: 26px; right: 20px; font-size: 20px; }
.spark-two { bottom: 23px; left: 19px; font-size: 17px; animation-delay: .7s; }
.spark-three { top: 47px; left: 6px; font-size: 15px; animation-delay: 1.1s; }

.eyebrow { margin: 0 0 13px; color: #dfaa66; font-size: .67rem; font-weight: 700; letter-spacing: .22em; }
h1 { margin: 0; font-family: "Trebuchet MS", Arial, sans-serif; font-size: clamp(2.6rem, 9vw, 4.2rem); font-weight: 700; letter-spacing: -.065em; line-height: 1.08; }
h1 .accent { color: #e8ae5c; }
.description { margin: 20px 0 0; color: #aaa9a6; font-size: 1rem; line-height: 1.8; }
.divider { width: 44px; height: 1px; margin: 28px 0 19px; background: #e8ae5c; opacity: .65; }
.footer-note { margin: 0; color: #cbc5bc; font-size: .83rem; letter-spacing: .04em; }
.asterisk { padding: 0 8px; color: #e8ae5c; }
.credit { position: absolute; bottom: 29px; color: #66676a; font-size: .57rem; font-weight: 700; letter-spacing: .2em; }

/* El titular cambia de tipografía continuamente; se detiene si el usuario prefiere menos movimiento. */
#headline { transition: font-family .15s ease; }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 4px #e8ae5c; } }
@keyframes float { 50% { transform: translateY(-7px); } }
@keyframes twinkle { to { opacity: .35; transform: scale(.8); } }
@media (max-width: 480px) {
  .card { min-height: 610px; padding: 34px 20px 28px; border-radius: 17px; }
  .topline { top: 27px; }
  .illustration { margin-top: 38px; }
  .description { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
