/* gravityflip.vgsoft.fun inner pages (privacy, delete account, contact): same look as the Gravity Flip landing page */
:root { --bg: #070a16; --panel: #111a33; --panel2: #16214a; --line: #26335f; --text: #eef2fb; --muted: #9aa6c7; --cyan: #7df9ff; --violet: #c58bff; --amber: #ffb703; --red: #ff5d73; --green: #5ee6a0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vmax 40vmax at 15% 10%, rgba(125,249,255,.10), transparent 60%), radial-gradient(50vmax 40vmax at 90% 30%, rgba(197,139,255,.12), transparent 60%),
              radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 60%, #fff6, transparent), radial-gradient(1px 1px at 40% 80%, #fff5, transparent); }
a { color: var(--cyan); }
[hidden] { display: none !important; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { font-weight: 900; letter-spacing: 2px; font-size: 18px; text-decoration: none; color: var(--text); }
.langs { display: flex; gap: 3px; flex-wrap: wrap; justify-content: flex-end; }
.langs a { border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 3px 7px; font-weight: 700; font-size: 13px; text-decoration: none; line-height: 1.4; }
  .langs a:hover { color: var(--text); border-color: var(--cyan); }
.langs a.on { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }

/* game title row under the header (links back to the landing page) */
.gfbrand { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; text-decoration: none; }
.gfbrand img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 8px 30px rgba(125,249,255,.25); }
.gfbrand span { font-size: 30px; font-weight: 900; font-style: italic; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* page content: readable column, left-aligned with the header */
.doc { max-width: 780px; padding: 26px 0 20px; }
.doc h1 { font-size: clamp(32px, 5.5vw, 46px); line-height: 1.1; font-weight: 900; margin: 0 0 8px; }
.doc h1 span { color: var(--cyan); }
.date { color: var(--muted); margin: 0 0 26px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; scroll-margin-top: 20px; }
.doc p, .doc li { color: #d3daef; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 5px 0; }
.box, .card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 16px 0; }
.box b { color: var(--text); }
.note { background: rgba(255,183,3,.08); border: 1px solid rgba(255,183,3,.35); border-radius: 14px; padding: 10px 14px; color: #f3e2b3; font-size: 14px; margin: 0 0 18px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.card { margin: 0; }
.card h2 { margin: 0 0 8px; font-size: 19px; }
.card ol, .card ul { margin: 0; }
.card p:last-child { margin-bottom: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 900; text-decoration: none; font-size: 16px; font-family: inherit; border: 0; cursor: pointer;
  color: #071019; background: linear-gradient(135deg, var(--cyan), var(--green)); box-shadow: 0 8px 30px rgba(125,249,255,.3); }
.btn:disabled { opacity: .6; cursor: default; }
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0; font-size: 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 700; background: var(--panel2); }

/* contact form (same as on vgsoft.fun) */
form { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); }
.full { grid-column: 1 / -1; }
input, select, textarea { font: inherit; color: var(--text); background: #0b1226; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tip { margin: 0; font-size: 14px; color: #f3e2b3 !important; background: rgba(255,183,3,.08); border: 1px solid rgba(255,183,3,.35); border-radius: 12px; padding: 8px 12px; }
.formrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.status { font-weight: 700; font-size: 15px; }
.status.ok { color: var(--green); } .status.err { color: var(--red); }
.fine { grid-column: 1 / -1; color: var(--muted) !important; font-size: 12px; margin: 0; }

footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 22px 0 40px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } form { grid-template-columns: 1fr; padding: 18px; } .gfbrand span { font-size: 24px; } .gfbrand img { width: 44px; height: 44px; } }
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td { display: block; } thead { display: none; }
  td { border: 0; padding: 2px 14px; } tr { border-bottom: 1px solid var(--line); padding: 10px 0; } tr:last-child { border-bottom: 0; } td:first-child { font-weight: 700; color: var(--text); }
}
.note:empty { display: none; }

/* language drop-down on phones */
.langm { display: none; position: relative; }
.langm summary { list-style: none; cursor: pointer; border: 1px solid var(--cyan); color: var(--bg); background: var(--cyan); border-radius: 8px; padding: 4px 10px; font-weight: 800; font-size: 13px; }
.langm summary::-webkit-details-marker { display: none; }
.langm-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 150px; padding: 6px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.5); display: grid; }
.langm-list a { padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.langm-list a:hover, .langm-list a.on { background: rgba(125,249,255,.12); color: var(--cyan); }
@media (max-width: 600px) { .langs { display: none; } .langm { display: block; } }
