:root {
  --fire-1: #ffc107;
  --fire-2: #ff9800;
  --fire-3: #ff6f00;
  --fire-4: #ff3d00;
  --fire-5: #d84315;

  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-elevated: #f8f9fa;

  --border-color: #dfe1e5;
  --border-strong: #dadce0;
  --shadow-color: rgba(32, 33, 36, 0.12);

  --text-primary: #202124;
  --text-secondary: #4d5156;
  --text-muted: #70757a;

  --accent: #e53935;
  --accent-soft: rgba(229, 57, 53, 0.08);
  --accent-soft-strong: rgba(229, 57, 53, 0.14);

  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 8px;

  --font-main: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg-page: #202124;
  --bg-surface: #292a2d;
  --bg-elevated: #303134;

  --border-color: #3c4043;
  --border-strong: #4d5156;
  --shadow-color: rgba(0, 0, 0, 0.45);

  --text-primary: #e8eaed;
  --text-secondary: #bdc1c6;
  --text-muted: #9aa0a6;

  --accent: #ff6f60;
  --accent-soft: rgba(255, 111, 96, 0.14);
  --accent-soft-strong: rgba(255, 111, 96, 0.22);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.site-header-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  background: linear-gradient(45deg, var(--fire-4), var(--fire-2), var(--fire-1));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 7s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.lang-switch-row {
  display: flex;
  gap: 8px;
}
.lang-option-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.lang-option-btn:hover {
  border-color: var(--fire-3);
}
.lang-option-btn.active {
  background: var(--accent-soft-strong);
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Main content ===== */
.privacy-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.privacy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px clamp(20px, 5vw, 48px);
  box-shadow: 0 4px 24px var(--shadow-color);
  animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.privacy-card h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(45deg, var(--fire-4), var(--fire-2), var(--fire-1));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 7s ease infinite;
  margin-bottom: 6px;
}

.privacy-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.privacy-card > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.privacy-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--fire-3);
}

.privacy-card ul {
  list-style: none;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.privacy-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire-2), var(--fire-4));
}

/* ===== Footer ===== */
.site-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 8px 0 40px;
}

.site-footer a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .privacy-card {
    padding: 28px 18px;
  }
}
