/* DREYKO bağlantı kartı. Renkler yalnızca aşağıdaki token'lardan gelir. */

:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --ink: #0b0b0b;
  --ink-2: #3d3d3a;
  --ink-3: #5c5c58;
  --rule: rgb(11 11 11 / 0.12);
  --rule-strong: rgb(11 11 11 / 0.3);
  --accent: #d24830;
  --accent-text: #b8391f; /* küçük kırmızı metin için AA'ya koyulaştırılmış ton */
  --cta: #bb3e29;
  --cta-hover: #a43322;
  --cta-ink: #fff;
  --lift: 0 6px 18px -8px rgb(11 11 11 / 0.22);

  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0c;
    --surface: #171716;
    --ink: #f2f1ed;
    --ink-2: #cfcec8;
    --ink-3: #a3a29c;
    --rule: rgb(242 241 237 / 0.13);
    --rule-strong: rgb(242 241 237 / 0.34);
    --accent: #e0563d; /* koyu zeminde AA için biraz açılmış */
    --accent-text: #e0563d;
    --lift: 0 8px 22px -10px rgb(0 0 0 / 0.8);
  }
}

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/outfit-latin-800-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/outfit-latin-ext-800-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/outfit-latin-400-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/outfit-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.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; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-ext-400-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
p, h1, h2, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 40px 20px 28px;
}

/* üst kısım */
.head { text-align: center; }
.mark {
  font: italic 400 4.25rem/0.9 var(--serif);
  letter-spacing: -0.01em;
}
.name {
  margin-top: 8px;
  font: 800 1rem/1 var(--sans);
  letter-spacing: 0.32em;
  margin-right: -0.32em; /* son harfin aralığı ortalamayı kaydırmasın */
}
.tagline {
  margin: 20px auto 0;
  font: 400 1.5rem/1.25 var(--sans);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.tagline::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 20px auto 0;
  background: var(--accent);
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 0.8;
  letter-spacing: 0;
  color: var(--accent);
}

/* seri kartları */
.series { margin-top: 28px; }
.cards { display: grid; gap: 10px; }
.card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 16px 18px 16px 20px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out;
}
.card:hover, .card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--lift);
  border-color: var(--rule-strong);
}
.card-text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.card-title {
  font: 800 1.25rem/1.2 var(--sans);
  letter-spacing: -0.015em;
}
.card-title em { font-size: 1.25em; }
.card-note { font-size: 0.9375rem; line-height: 1.35; color: var(--ink-2); }
.badge {
  margin-bottom: 6px;
  padding: 3px 8px 2px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font: 400 0.8125rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.arrow {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1.6;
  transition: transform 160ms ease-out, stroke 160ms ease-out;
}
.card:hover .arrow, .card:focus-visible .arrow { transform: translateX(2px); stroke: var(--ink); }

/* kanallar */
.channels { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.channel-featured { flex-basis: 100%; }
.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 64px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: transparent;
  font: 400 0.8125rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out;
}
.chip:hover, .chip:focus-visible { transform: translateY(-2px); box-shadow: var(--lift); border-color: var(--rule-strong); }
.channel-featured .chip {
  min-height: 54px;
  gap: 10px;
  background: var(--cta);
  border-color: var(--cta);
  color: var(--cta-ink);
  font: 800 1.125rem/1.25 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.channel-featured .chip:hover, .channel-featured .chip:focus-visible {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}
.channel-featured .icon { width: 21px; height: 21px; }
.icon { width: 18px; height: 18px; flex: none; fill: currentColor; }

/* alt bilgi */
.foot {
  margin-top: 32px;
  display: grid;
  gap: 4px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-3);
}
.foot p:first-child {
  margin-bottom: 4px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .card, .chip, .arrow { transition: none; }
  .card:hover, .card:focus-visible, .chip:hover, .chip:focus-visible,
  .card:hover .arrow, .card:focus-visible .arrow { transform: none; }
}
