/* Craggy Games — Privacy Policy site styles.
   Dark navy theme, cyan/purple accents, mobile-first responsive layout.
   No animations, no trackers, static CSS only. */

:root {
  --bg: #0a0f1e;
  --surface: #111827;
  --surface-2: #1f2937;
  --border: #233047;
  --text: #eef2fb;
  --muted: #a0a7b8;
  --cyan: #00d0ff;
  --purple: #a855f7;
  --accent-grad: linear-gradient(90deg, #00d0ff, #a855f7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* Subtle cyan/purple atmosphere behind the header, fading into the navy bg */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  background:
    radial-gradient(420px 260px at 18% 0%, rgba(0, 208, 255, 0.14), transparent 70%),
    radial-gradient(460px 280px at 85% 10%, rgba(168, 85, 247, 0.13), transparent 70%);
  pointer-events: none;
}

.site-header {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 8px;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Simple CSS gamepad-ish emblem: rounded square with a glowing dot */
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  box-shadow: 0 0 18px rgba(0, 208, 255, 0.35);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: var(--accent-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-grad);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

.brand h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand .craggy {
  color: var(--text);
}

.brand .games {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 6px;
  font-weight: 600;
}

main {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.policy-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

.policy-intro h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.meta {
  color: var(--muted);
  margin-bottom: 10px;
}

section {
  margin-bottom: 36px;
}

section h2 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid;
  border-image: var(--accent-grad) 1;
}

section p,
section li {
  color: #cdd4e4;
}

section p + p,
section ul {
  margin-top: 10px;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  color: var(--text);
}

.note {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
}

.contact {
  margin-top: 14px;
}

.placeholder {
  display: inline-block;
  background: var(--surface-2);
  border: 1px dashed var(--purple);
  border-radius: 8px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Small screens: tighten type scale slightly, keep everything single-column */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-top: 36px;
  }

  .brand h1 {
    font-size: 25px;
  }

  .policy-intro {
    padding: 20px;
  }

  .policy-intro h2 {
    font-size: 22px;
  }

  section h2 {
    font-size: 18px;
  }
}
