/* own-spa/style.css — rebuilt theme (dark base with red-gold gradient, matching the original look) */
:root {
  --ink: #f5eef6;
  --muted: #b9a8b8;
  --line: rgba(255, 255, 255, 0.12);
  --rose: #e84b3a;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%;
  background: #0a0610; color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; cursor: pointer; }

#app { min-height: 100%; }
.page { min-height: 100vh; display: flex; flex-direction: column; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); }

.header h1 { margin: 6px 0 8px; font-size: 26px; font-weight: 900; }
.header h2 { margin: 6px 0 8px; font-size: 24px; font-weight: 900; color: #ff4d4d; }
.header h3, .qa h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.header p, .qa p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.image-block { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.image-block img { width: 100%; border-radius: 14px; object-fit: cover; }

/* Landing collage */
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.collage .collage__image img { height: 100%; min-height: 140px; }

/* Buttons */
.buttons-block { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.buttons-block--grid { flex-direction: row; }
.buttons-block--grid .button { flex: 1; }
.button {
  height: 52px; border: 0; border-radius: 14px; font-weight: 800; font-size: 16px;
  background: linear-gradient(90deg, #e84b3a, #db2777 55%, #a21caf); color: #fff;
  box-shadow: 0 12px 28px rgba(232, 75, 58, 0.35);
}
.button:disabled { opacity: .4; box-shadow: none; }
.button--start { width: 100%; }
.button--continue, .button--next-1, .button--next-2, .button--next-4 { width: 100%; }
.button--no, .button--skip {
  background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid var(--line); box-shadow: none;
}
.button--yes { background: linear-gradient(90deg, #e84b3a, #db2777); }

/* Choice cards */
.choose-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.choose-list--text { grid-template-columns: 1fr; }
.choose-item {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: #140b12; text-align: center; padding-bottom: 8px; cursor: pointer;
}
.choose-item p { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.choose-item .choose__image { width: 100%; height: 150px; object-fit: cover; }
.choose-item--4 { display: flex; align-items: center; padding: 14px; gap: 10px; }
.choose-item--4 p { margin: 0; }
.choose-item--active { border-color: #e84b3a; box-shadow: 0 0 0 2px rgba(232, 75, 58, 0.5); }
.choose-item--active .choose-item__cover {
  position: absolute; inset: 0; background: rgba(232, 75, 58, 0.12); pointer-events: none;
}
.choose__image--big { width: 100%; border-radius: 14px; margin-bottom: 6px; }

/* Final page */
.page-11 { position: relative; overflow: hidden; }
.background { position: absolute; inset: 0; z-index: 0; }
.background img.cover { width: 100%; height: 100%; object-fit: cover; }
.final { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1; gap: 16px; }
.final .palma { width: 96px; height: 96px; border-radius: 24px; }
.header--final { text-align: center; background: rgba(10, 6, 16, 0.75); border-radius: 18px; padding: 18px 16px; }
.header--final b { color: #ffd34d; }
