/* Temel sıfırlama ve kutu modeli */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Ortak arkaplanlar */
.main-background,
.policy-background {
  background-color: #04122b;
  min-height: 100vh;
}

/* Ana sayfa yerleşimi */
.main-background {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Logo */
.logo-container { text-align: center; }
.logo {
  width: 50%;
  max-width: 1024px;
  display: block;
  margin: 0 auto;
}

/* --- BUTONLAR: merkez tanım --- */
.button-container { margin-top: 20px; text-align: center; }
.button-row { margin: 14px 0 4px; text-align: left; } /* e-posta butonu hizası */

a.button, .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  color: #ffffff;
  border: 2px solid red;
  font-size: 18px;
  text-decoration: none;
  border-radius: 8px;
  transition: all .25s ease;
  cursor: pointer;
  line-height: 1; /* simge + metin hizası */
}

/* Ana buton hover */
a.button:hover,
.button:hover {
  background: red;
  color: #ffffff;
  border-color: red;
  box-shadow: 0 4px 15px rgba(255,0,0,0.35);
}

/* Klavye erişilebilirlik */
a.button:focus-visible,
.button:focus-visible {
  outline: 2px solid red;
  outline-offset: 2px;
}

/* --- KIRMIZI METİNLİ, ŞEFFAF BUTON VARYANTI (e-posta için) --- */
/* İLK ANDAN İTİBAREN KIRMIZI görünmesi için tüm durumları kapsıyoruz. */
a.button--red-outline,
a.button--red-outline:link,
a.button--red-outline:visited {
  color: red !important;
  border-color: red !important;
  background: transparent !important;
  text-decoration: none !important;
}

a.button--red-outline:hover,
a.button--red-outline:active {
  background: red !important;
  color: #ffffff !important;
  border-color: red !important;
}

/* Gizlilik sayfası yerleşimi */
.policy-background {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.policy-card {
  background: #0a1c3a;
  color: #ffffff;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.policy-content h1 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 10px;
}

.policy-content .update {
  text-align: center;
  margin-bottom: 22px;
  color: #cfd8ff;
}

.policy-content h2 {
  font-size: 20px;
  margin: 24px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
}

.policy-content p { line-height: 1.6; margin: 0 0 14px; }

/* Liste düzeni */
.policy-content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 16px;
}
.policy-content li { margin-bottom: 8px; line-height: 1.6; }

/* İçerik içi normal linkler (buton olmayanlar) */
.policy-content a:not(.button) {
  color: #5ab0ff;
  text-decoration: underline;
}
.policy-content a:not(.button):hover { text-decoration: none; }

/* Responsive */
@media (max-width: 600px) {
  .policy-card { padding: 20px; }
  .policy-content h1 { font-size: 24px; }
  .policy-content h2 { font-size: 18px; }
  a.button { font-size: 16px; padding: 10px 16px; }
}
