/* Shared styling for the standalone site pages (privacy, terms, refund, contact). */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #0b0817;
  color: #e6e4f2;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}
.page { max-width: 760px; margin: 0 auto; padding: 28px 20px 60px; }

.page-head {
  background: linear-gradient(135deg, #241653, #120c28);
  border: 1px solid #2e2557;
  border-radius: 20px;
  padding: 30px 28px;
  text-align: center;
  margin-bottom: 22px;
}
.page-head img { max-width: 180px; }
.page-head h1 { font-size: 30px; margin: 14px 0 4px; }
.page-head .updated { color: #a29fc4; font-size: 13px; margin: 0; }

.card {
  background: #141127;
  border: 1px solid #262148;
  border-radius: 20px;
  padding: 26px 26px;
}
.card h2 { font-size: 19px; margin: 26px 0 8px; }
.card h2:first-child { margin-top: 0; }
.card p, .card li { color: #cbc9e0; }
.card a { color: #b98cf2; }
.card ul { padding-left: 20px; }
.card strong { color: #efeef7; }

.note {
  background: #1a1533;
  border: 1px solid #322a5c;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: #b7b3d6;
}

.page-foot {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}
.page-foot a { color: #8a88a6; text-decoration: none; }
.page-foot a:hover { color: #e6e4f2; text-decoration: underline; }
.page-foot nav { display: flex; gap: 12px; }
.page-foot a.back-home { display: inline-flex; align-items: center; gap: 6px; }
.page-foot a.back-home .home-ico { flex: none; }

/* Contact form */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; color: #cbc9e0; font-weight: 600; }
.field input, .field textarea, .field select {
  background: #0f0c20;
  border: 1px solid #2e2951;
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font: inherit;
}
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: #9b5de5; }
.field textarea { min-height: 140px; resize: vertical; }
.submit {
  appearance: none; border: 0; cursor: pointer;
  background: #9b5de5; color: #fff; font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: 12px;
}
.submit:hover { background: #8a49dc; }
.submit:disabled { opacity: 0.5; cursor: default; }
.form-msg { margin-top: 14px; font-size: 15px; }
.form-msg.ok { color: #58d0b8; }
.form-msg.err { color: #ff8a8a; }

/* How to play */
.how-steps { display: flex; flex-direction: column; gap: 16px; }
.how-step {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #16142a;
  border: 1px solid #262148;
  border-radius: 16px;
  padding: 16px 18px;
}
.how-step svg { flex: 0 0 96px; width: 96px; height: 96px; }
.how-step .how-body { min-width: 0; }
.how-num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9b5de5;
  font-weight: 800;
  margin-bottom: 2px;
}
.how-step h3 { margin: 0 0 4px; font-size: 18px; }
.how-step p { margin: 0; color: #c3c0da; font-size: 14px; line-height: 1.5; }
.how-controls {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.how-controls span {
  font-size: 12px;
  background: #221d3f;
  border: 1px solid #322a5c;
  border-radius: 999px;
  padding: 4px 10px;
  color: #cbc9e0;
}
@media (max-width: 520px) {
  .how-step { flex-direction: column; text-align: center; }
  .how-controls { justify-content: center; }
}
