:root {
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.75);
  --card: rgba(10, 10, 14, 0.55);
  --stroke: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  overflow: hidden;
}

.page {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;

  background-image: url("./fon1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Затемнение + лёгкий градиент для читаемости */
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 25% 20%,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.72) 100%
    );
  pointer-events: none;
}

/* Водяной знак/надпись на фоне */
.page::before {
  content: "Скоро здесь будет удобный сервис по анализу раскладов Таро";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8vw;

  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;

  color: rgba(255, 255, 255, 0.10);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);

  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;

  /* Адаптивный размер текста */
  font-size: clamp(22px, 3.2vw, 52px);
  line-height: 1.25;
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.card {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: clamp(18px, 3.2vw, 34px);
  max-height: calc(100dvh - 56px);
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 14px;
}

h1 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 44px);
  line-height: 1.15;
}

.sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .page::before {
    transform: none;
  }
}
