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

:root {
  color-scheme: dark;
  --bg: #04050a;
  --panel: rgba(16, 18, 29, 0.9);
  --muted: #9da8c6;
  --accent: #6b5cff;
  --accent-2: #1dd8c8;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f5ff;
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
}

body {
  font-family: inherit;
  background: radial-gradient(circle at top, #050611, #020308 60%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  padding: 0 24px;
}

.privacy-page {
  padding-top: 40px;
}

.scene-blur {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 18% 15%, rgba(107, 92, 255, 0.08), transparent 35%),
    radial-gradient(circle at 72% 25%, rgba(17, 120, 105, 0.12), transparent 45%),
    radial-gradient(circle at 42% 80%, rgba(140, 20, 90, 0.08), transparent 50%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.hero,
main,
.footer {
  position: relative;
  z-index: 1;
}

.privacy-header,
.privacy-content {
  position: relative;
  z-index: 1;
}

.privacy-header {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}

.privacy-logo img {
  height: 32px;
}

.privacy-back {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 500;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 0 80px;
}

.privacy-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.privacy-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.privacy-content h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.privacy-content p + p {
  margin-top: 12px;
}

.privacy-content ul {
  margin: 12px 0 12px 20px;
  color: var(--text);
}

.privacy-content li {
  margin-bottom: 6px;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 0 72px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.chart-card {
  background: rgba(12, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 28px;
  width: min(420px, 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(29, 216, 200, 0.8);
  animation: pulse 1.5s ease-in-out infinite;
}

.chart-value {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-chart {
  width: 100%;
  height: 150px;
  margin-bottom: 16px;
}

.chart-line {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 400;
  animation: dash 8s linear infinite;
}

.chart-area {
  fill: url(#chartGradient);
  animation: glow 6s ease-in-out infinite alternate;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@keyframes dash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -400;
  }
}

@keyframes glow {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.75;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin-top: 8px;
}

.lead {
  margin: 18px 0 32px;
  color: #c6cfef;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn {
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: #40e27f;
  color: #0e212d;
  font-weight: 700;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-card {
  margin-top: 48px;
  background: rgba(11, 14, 25, 0.8);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
}

.card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.card-value {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 4px;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.section {
  margin-top: 96px;
}

.section p + p {
  margin-top: 16px;
}

.section-header {
  max-width: 680px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 12px 0;
}

.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.autobet-visual {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.7);
}

.autobet-visual img {
  width: 100%;
  display: block;
  border-radius: 26px;
}

.card h3 {
  margin-bottom: 8px;
}

.panel-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
  flex-basis: 100%;
}

.autobet-visual {
  width: min(400px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: none;
}

@media (min-width: 900px) {
  .autobet-visual {
    width: 440px;
    margin-left: auto;
    margin-right: 0;
  }
}

.stats-panel {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

.stat {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  flex: 1 1 160px;
  min-width: 140px;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  margin-top: 4px;
}

.chart {
  flex: 2 1 260px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 140px;
}

.bar {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(107, 92, 255, 0.9), rgba(107, 92, 255, 0.2));
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.auto-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
}

.auto-row:last-of-type {
  border-bottom: none;
}

.panel ul {
  list-style: none;
  margin-top: 12px;
}

.panel ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel ul li:last-child {
  border-bottom: none;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0 40px;
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
}

.footer-meta {
  margin-top: 12px;
}

.privacy-link {
  color: var(--accent-2);
  text-decoration: underline;
}

@media (max-width: 640px) {
  body {
    padding: 0 16px;
  }

  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
  }

  .chart-card {
    width: 100%;
  }

  .privacy-header {
    flex-direction: column;
    gap: 16px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn,
  .hero-cta a {
    text-align: center;
  }

  .chart {
    grid-column: span 1;
  }

  .stats-panel {
    text-align: left;
  }

  .grid.cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
