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

/* ── Base body — minimal, her sayfa kendi layout'unu yönetir ── */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: #fff;
  color: #1a1a2e;
  min-height: 100vh;
}

/* ── Loading spinner (ilk yükleme) ── */
.loading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a4fa0;
  opacity: 0.3;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50%       { transform: scale(1.5); opacity: 0.8; }
}

/* ── Privacy / Terms sayfaları için ortak taban
     (bu sayfalar kendi <style> bloklarında body'yi override eder) ── */
.page { max-width: 520px; width: 100%; text-align: center; }

.lang-switcher {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.lang-switcher a {
  font-size: 12px;
  font-weight: 600;
  color: #9aabbf;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.lang-switcher a:hover { color: #1a4fa0; border-color: #dde3ec; }
.lang-switcher a.active { color: #1a4fa0; border-color: #1a4fa0; background: #f0f5ff; }
