/* NEONVIA privacy — same chrome as the Play Store landing */

:root {
  color-scheme: dark;
  --cyan: #00e5ff;
  --pink: #ff2d95;
  --ink: #050510;
  --mist: rgba(200, 247, 255, 0.8);
  --privacy-max: 960px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
}

body {
  position: relative;
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  color: #c8f7ff;
  overflow-x: hidden;
}

.privacy-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 229, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(255, 45, 149, 0.1), transparent 55%),
    #050510;
}

.privacy-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 10%, transparent 75%);
}

.privacy-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.12) 2px 3px
  );
  opacity: 0.2;
  pointer-events: none;
}

.privacy-wrap {
  position: relative;
  z-index: 1;
  width: min(var(--privacy-max), calc(100% - clamp(24px, 5vw, 40px)));
  margin: 0 auto;
  padding:
    max(20px, env(safe-area-inset-top, 0px))
    0
    max(64px, env(safe-area-inset-bottom, 0px));
}

.privacy-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding: 12px 0 14px;
  background: linear-gradient(180deg, rgba(5, 5, 16, 0.94), rgba(5, 5, 16, 0.82));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.privacy-brand {
  font-family: 'Oxanium', 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

.privacy-brand:hover {
  color: #7af6ff;
}

.privacy-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.privacy-langs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.06);
  color: rgba(122, 246, 255, 0.9);
  text-decoration: none;
  font-family: 'Oxanium', 'Exo 2', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.privacy-langs a:hover {
  background: rgba(0, 229, 255, 0.14);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.privacy-hero {
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.16);
}

.privacy-hero h1 {
  margin: 0 0 8px;
  font-family: 'Oxanium', 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.privacy-hero .meta {
  margin: 0;
  color: rgba(200, 247, 255, 0.48);
  font-size: clamp(0.82rem, 2.5vw, 0.88rem);
  line-height: 1.55;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.privacy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(8, 12, 28, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.14);
}

.privacy-toc__label {
  width: 100%;
  margin: 0 0 4px;
  font-family: 'Oxanium', 'Exo 2', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 247, 255, 0.45);
}

.privacy-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 229, 255, 0.05);
  color: rgba(200, 247, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.privacy-toc a:hover {
  color: #fff;
  border-color: rgba(0, 229, 255, 0.45);
}

.privacy-toc__back {
  margin-left: auto;
  border-color: rgba(255, 45, 149, 0.35) !important;
  color: rgba(255, 180, 220, 0.9) !important;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.privacy-card {
  margin: 0;
  padding: clamp(18px, 4vw, 22px) clamp(18px, 4vw, 22px) 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 18, 36, 0.78), rgba(8, 10, 22, 0.62));
  border: 1px solid rgba(0, 229, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: privacy-in 0.55s ease-out both;
  scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px));
}

.privacy-card:nth-of-type(1) { animation-delay: 0.06s; }
.privacy-card:nth-of-type(2) { animation-delay: 0.12s; }
.privacy-card:nth-of-type(3) { animation-delay: 0.18s; }

@keyframes privacy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.privacy-card > h2:first-child {
  margin-top: 0;
  color: var(--pink);
  letter-spacing: 0.14em;
}

h2 {
  font-family: 'Oxanium', 'Exo 2', sans-serif;
  font-size: clamp(0.84rem, 2.5vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1.45rem 0 0.55rem;
  color: var(--cyan);
}

p, li {
  color: var(--mist);
  font-size: clamp(0.92rem, 2.8vw, 0.98rem);
  line-height: 1.65;
}

p { margin: 0 0 1rem; }

ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.15rem;
}

li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255, 45, 149, 0.7);
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.86em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.08);
  color: #9ff6ff;
  word-break: break-word;
}

a {
  color: #7af6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.privacy-mail {
  display: inline-block;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.08);
  text-decoration: none !important;
  word-break: break-all;
}

@media (min-width: 860px) {
  .privacy-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
  }

  .privacy-toc {
    position: sticky;
    top: calc(72px + env(safe-area-inset-top, 0px));
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .privacy-toc a {
    border-radius: 8px;
  }

  .privacy-toc__back {
    margin-left: 0;
    margin-top: 8px;
  }

  .privacy-langs {
    display: none;
  }
}

@media (max-width: 859px) {
  .privacy-toc__label,
  .privacy-toc__back {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .privacy-card { animation: none; }
}
