/* Yazı tipleri: Google Fonts (Fraunces, Inter), SIL Open Font License 1.1 — lisanslar /fonts klasöründe.
   Yalnızca latin ve latin-ext alt kümeleri; siteyle birlikte sunulur, dış istek yapılmaz. */

/* Fraunces latin-ext */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fraunces latin */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --arka: #0B0F1A;
  --yuzey: #121827;
  --kenar: #222B3D;
  --metin: #ECE7DA;
  --soluk: #9AA1B2;
  --altin: #D8B46A;
  --altin-acik: #E6C681;
  --baslik: "Fraunces", "DM Serif Display", Georgia, "Times New Roman", serif;
  --govde: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gecis: 180ms ease;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--arka);
  color: var(--metin);
  font-family: var(--govde);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: var(--altin);
  text-underline-offset: 3px;
  transition: color var(--gecis), border-color var(--gecis), background-color var(--gecis);
}

a:hover {
  color: var(--altin-acik);
}

a:focus-visible {
  outline: 2px solid var(--altin-acik);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--baslik);
  font-weight: 600;
  line-height: 1.15;
  color: var(--metin);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.kap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.altin {
  color: var(--altin);
}

/* Üst kısım */
.hero {
  padding-top: clamp(56px, 10vw, 104px);
  padding-bottom: clamp(48px, 7vw, 72px);
  text-align: center;
}

.amblem {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.amblem img {
  width: clamp(32px, 10vw, 44px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--kenar);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 7vw, 4rem);
  letter-spacing: -0.01em;
}

.giris {
  max-width: 560px;
  margin: 0 auto;
  color: var(--soluk);
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
}

.cati {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.dugme {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--altin);
  border-radius: 999px;
  color: var(--metin);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}

.dugme svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

.dugme:hover {
  border-color: var(--altin-acik);
  color: var(--altin-acik);
}

/* Kanallar */
.kanallar h2 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  text-align: center;
}

.izgara {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.kart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--kenar);
  border-radius: 16px;
  background: var(--yuzey);
  transition: border-color var(--gecis);
  animation: belir 400ms ease-out both;
}

.kart:hover,
.kart:focus-within {
  border-color: var(--altin);
}

.kart-ust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kart-ust img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.kart-ust > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.kart h3 {
  margin: 0;
  font-size: 1.25rem;
}

.tutamak {
  margin: 2px 0 0;
  color: var(--soluk);
  font-size: 0.875rem;
}

.aciklama {
  flex: 1;
  margin: 0;
  color: var(--soluk);
  font-size: 1rem;
}

.ikonlar {
  display: flex;
  gap: 8px;
}

.ikonlar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--kenar);
  border-radius: 50%;
  color: var(--metin);
}

.ikonlar svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ikonlar a:hover {
  border-color: var(--altin);
  background-color: rgba(216, 180, 106, 0.08);
  color: var(--altin-acik);
}

.hakkinda {
  max-width: 680px;
  margin: 48px auto clamp(56px, 8vw, 88px);
  color: var(--soluk);
  font-size: 0.875rem;
  text-align: center;
}

/* Alt bilgi */
.alt {
  border-top: 1px solid var(--kenar);
  color: var(--soluk);
  font-size: 0.875rem;
}

.alt-ic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.alt-ic p {
  margin: 0;
}

.alt-baglantilar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alt-baglantilar a {
  color: var(--soluk);
  text-decoration: none;
}

.alt-baglantilar a:hover {
  color: var(--altin-acik);
}

/* Gizlilik sayfası */
.belge {
  max-width: 720px;
  padding-top: clamp(40px, 7vw, 72px);
  padding-bottom: clamp(56px, 8vw, 88px);
}

.geri {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.9375rem;
  text-decoration: none;
}

.belge h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.belge h2 {
  margin: 40px 0 12px;
  font-size: 1.375rem;
}

.belge p,
.belge li {
  color: #D9D4C8;
}

.belge ul {
  padding-left: 22px;
}

.belge li + li {
  margin-top: 8px;
}

.belge .tarih {
  margin: 0 0 32px;
  color: var(--soluk);
  font-size: 0.9375rem;
}

.belge code {
  padding: 1px 6px;
  border: 1px solid var(--kenar);
  border-radius: 6px;
  background: var(--yuzey);
  font-size: 0.875em;
}

.belge hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--kenar);
}

.belge .ozet {
  color: var(--soluk);
  font-size: 0.9375rem;
}

@keyframes belir {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .izgara {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .kap {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 960px) {
  .izgara {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
