:root {
  --bg: #07122c;
  --white: #f8f8f4;
  --gold: #b89b5e;
  --muted: rgba(248, 248, 244, 0.72);
}

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

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(184, 155, 94, 0.16), transparent 34%),
    linear-gradient(135deg, #050b1d 0%, var(--bg) 58%, #0b1838 100%);
  color: var(--white);
  overflow: hidden;
}

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero {
  text-align: center;
  animation: fadeUp 1.1s ease-out both;
}

.logo {
  width: min(380px, 82vw);
  margin-bottom: 42px;
  animation: logoIn 1.2s ease-out both;
}

.claim {
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 44px;
  animation: fadeUp 1s ease-out 0.3s both;
}

.book-loader {
  position: relative;
  width: 54px;
  height: 38px;
  margin: 0 auto 18px;
  border-bottom: 2px solid var(--gold);
  perspective: 120px;
  animation: fadeUp 1s ease-out 0.55s both;
}

.book-loader::before,
.book-loader::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 26px;
  height: 32px;
  border: 2px solid var(--gold);
  border-bottom: 0;
}

.book-loader::before {
  left: 0;
  border-radius: 4px 0 0 0;
  transform-origin: right bottom;
}

.book-loader::after {
  right: 0;
  border-radius: 0 4px 0 0;
  transform-origin: left bottom;
}

.book-loader span {
  position: absolute;
  right: 26px;
  bottom: 2px;
  width: 26px;
  height: 32px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 4px 0 0 0;
  background: rgba(184, 155, 94, 0.08);
  transform-origin: right bottom;
  animation: pageFlip 2.4s ease-in-out infinite;
}

.book-loader span:nth-child(2) {
  animation-delay: 0.35s;
}

.book-loader span:nth-child(3) {
  animation-delay: 0.7s;
}

.status {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 1s ease-out 0.7s both;
}

@keyframes pageFlip {
  0% {
    transform: rotateY(0deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  55% {
    transform: rotateY(-165deg);
    opacity: 1;
  }
  85%, 100% {
    transform: rotateY(-180deg);
    opacity: 0;
  }
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

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