/* Общие стили Play Mini App: переменные, reset, каркас экранов. */

:root {
  /* тёмно-синяя игровая палитра */
  --nav-bg-1: #0e1a35;
  --nav-bg-2: #16264d;
  --blue-1: #4da3ff;
  --blue-2: #2f7bff;
  --glow: rgba(77, 163, 255, .55);
  --inactive: #5d6f96;
  --text-dark: #17233f;
  --text-muted: #6b7a99;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
}

/* Экран на всю высоту, контент по центру */
.screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}

h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

/* Универсальная большая кнопка в тёмно-синем стиле */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--nav-bg-2), var(--nav-bg-1));
  border-top: 1px solid rgba(120, 180, 255, .35);
  color: #bfe0ff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(10, 20, 45, .25);
  transition: transform .12s ease;
}
.btn-primary:active { transform: scale(.96); }
.btn-primary:disabled {
  opacity: .5;
  transform: none;
}
