/* youtofind blog preview — marka: #c23838 · onay sonrası LiveView’a taşınacak */
:root {
  --ytf-red: #c23838;
  --ytf-red-deep: #9a2a2a;
  --ytf-ink: #1a1f2b;
  --ytf-ink-soft: #2c3344;
  --ytf-muted: #6b7285;
  --ytf-line: #e4e7ee;
  --ytf-paper: #f7f6f3;
  --ytf-card: #ffffff;
  --ytf-sand: #f0ebe3;
  --ytf-mint: #1f7a5c;
  --ytf-amber: #c47a12;
  --ytf-blue: #2a5f9e;
  --ytf-radius: 18px;
  --ytf-max: 1080px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ytf-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(194, 56, 56, 0.12), transparent 55%),
    radial-gradient(900px 400px at 90% 0%, rgba(42, 95, 158, 0.08), transparent 50%),
    linear-gradient(180deg, #fbfaf8 0%, var(--ytf-paper) 40%, #f3f1ec 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--ytf-red-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ytf-red); }

.wrap {
  width: min(var(--ytf-max), calc(100% - 2rem));
  margin-inline: auto;
}

/* —— top bar —— */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 246, 243, 0.86);
  border-bottom: 1px solid rgba(228, 231, 238, 0.9);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand--logo {
  padding: 0.15rem 0;
}

.brand-logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ytf-red), var(--ytf-red-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(194, 56, 56, 0.28);
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
}

.lang-switch a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--ytf-muted);
  border: 1px solid transparent;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  color: var(--ytf-ink);
  border-color: var(--ytf-line);
  background: #fff;
}

/* —— layout —— */
.layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 2rem;
  padding: 1.75rem 0 4rem;
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static !important; }
}

.side {
  position: sticky;
  top: 5.2rem;
  align-self: start;
  background: var(--ytf-card);
  border: 1px solid var(--ytf-line);
  border-radius: var(--ytf-radius);
  padding: 1.1rem 1rem;
  box-shadow: 0 10px 30px rgba(26, 31, 43, 0.04);
}

.side-menu-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ytf-muted);
  font-weight: 700;
}

.side nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.side a {
  text-decoration: none;
  color: var(--ytf-ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
}

.side a:hover,
.side a.is-active {
  background: rgba(194, 56, 56, 0.08);
  color: var(--ytf-red-deep);
}

.side .cta {
  margin-top: 1rem;
  display: block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ytf-red), var(--ytf-red-deep));
  color: #fff !important;
  font-weight: 700;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(194, 56, 56, 0.25);
}

/* —— hero —— */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--ytf-radius) + 4px);
  background: var(--ytf-ink);
  color: #f8f4ef;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  min-height: 280px;
  display: grid;
  align-content: end;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 31, 43, 0.2), rgba(26, 31, 43, 0.75)),
    var(--hero-art, linear-gradient(135deg, #3a1d24, #1a1f2b 55%, #243552));
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 35%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(194, 56, 56, 0.45), transparent 55%);
  z-index: -1;
  pointer-events: none;
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd0d0;
  background: rgba(194, 56, 56, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero p {
  margin: 0;
  max-width: 52ch;
  color: rgba(248, 244, 239, 0.86);
  font-size: 1.05rem;
}

.hero-art-modes { --hero-art: linear-gradient(135deg, #4a1c22 0%, #1a1f2b 48%, #1e3a5f 100%); }
.hero-art-activity { --hero-art: linear-gradient(135deg, #5a2a14 0%, #1f2a22 45%, #1a1f2b 100%); }
.hero-art-flow { --hero-art: linear-gradient(135deg, #2a1840 0%, #1a1f2b 50%, #12353a 100%); }
.hero-art-venue { --hero-art: linear-gradient(135deg, #16324a 0%, #1a1f2b 50%, #3a2218 100%); }
.hero-art-hub { --hero-art: linear-gradient(135deg, #5c1f28 0%, #1a1f2b 55%, #2a3d55 100%); }

/* —— content —— */
.article {
  background: var(--ytf-card);
  border: 1px solid var(--ytf-line);
  border-radius: var(--ytf-radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 12px 36px rgba(26, 31, 43, 0.05);
}

.article h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 1.8rem 0 0.7rem;
  line-height: 1.2;
}

.article h2:first-child { margin-top: 0; }

.article p { margin: 0 0 1rem; color: var(--ytf-ink-soft); }
.article ul { margin: 0 0 1.1rem; padding-left: 1.15rem; color: var(--ytf-ink-soft); }
.article li { margin-bottom: 0.4rem; }

.legal-wrap {
  max-width: 760px;
  padding: 1.75rem 0 4rem;
}

.legal-nav {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: #111;
}

.legal-nav a {
  color: #111 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-nav a.is-active {
  font-weight: 800;
  color: #111 !important;
}

.lead {
  font-size: 1.12rem;
  color: var(--ytf-ink) !important;
}

.slogan {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--ytf-red);
  background: linear-gradient(90deg, rgba(194, 56, 56, 0.08), transparent);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ytf-ink);
}

/* —— comparison —— */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
}

.mode-card {
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--ytf-line);
  background: var(--ytf-paper);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.mode-card.find {
  background:
    linear-gradient(160deg, rgba(194, 56, 56, 0.1), transparent 55%),
    #fff;
  border-color: rgba(194, 56, 56, 0.25);
}

.mode-card.free {
  background:
    linear-gradient(160deg, rgba(42, 95, 158, 0.1), transparent 55%),
    #fff;
  border-color: rgba(42, 95, 158, 0.22);
}

.mode-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.mode-card.find .tag { background: rgba(194, 56, 56, 0.12); color: var(--ytf-red-deep); }
.mode-card.free .tag { background: rgba(42, 95, 158, 0.12); color: var(--ytf-blue); }

.mode-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.mode-card p { margin: 0 0 0.75rem; font-size: 0.95rem; }

.mode-card .rule {
  font-size: 0.88rem;
  color: var(--ytf-muted);
  border-top: 1px dashed var(--ytf-line);
  padding-top: 0.7rem;
}

table.rich {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.94rem;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--ytf-line);
}

table.rich th,
table.rich td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ytf-line);
}

table.rich th {
  background: var(--ytf-ink);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

table.rich tr:last-child td { border-bottom: 0; }
table.rich tr:nth-child(even) td { background: #faf9f7; }

/* —— activity grid —— */
.act-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
}

@media (max-width: 720px) {
  .act-grid { grid-template-columns: 1fr; }
}

.act {
  border-radius: 16px;
  padding: 1.15rem;
  color: #fff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(26, 31, 43, 0.12);
}

.act::before {
  content: attr(data-ico);
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 2.4rem;
  opacity: 0.85;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
}

.act h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  position: relative;
}

.act p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  position: relative;
}

.act.food { background: linear-gradient(145deg, #b45309, #7c2d12 70%); }
.act.fun { background: linear-gradient(145deg, #7e22ce, #3b0764 70%); }
.act.sport { background: linear-gradient(145deg, #15803d, #14532d 70%); }
.act.travel { background: linear-gradient(145deg, #0369a1, #0c4a6e 70%); }

/* —— steps —— */
.steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--ytf-paper);
  border: 1px solid var(--ytf-line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--ytf-red), var(--ytf-red-deep));
  box-shadow: 0 8px 16px rgba(194, 56, 56, 0.28);
}

.step h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.94rem; color: var(--ytf-muted); }

/* —— hub cards —— */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 720px) {
  .hub-grid { grid-template-columns: 1fr; }
}

.hub-card {
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ytf-line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(26, 31, 43, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(26, 31, 43, 0.1);
}

.hub-card .viz {
  height: 120px;
  background: var(--viz, linear-gradient(135deg, #3a1d24, #1a1f2b));
  position: relative;
}

.hub-card .viz::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.hub-card .body { padding: 1rem 1.1rem 1.15rem; }
.hub-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ytf-ink);
}
.hub-card p {
  margin: 0;
  color: var(--ytf-muted);
  font-size: 0.92rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.25rem;
}

.pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--ytf-sand);
  color: var(--ytf-ink-soft);
}

.note {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0dfb0;
  color: #6b5420;
  font-size: 0.9rem;
}

.foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ytf-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #111;
  font-size: 0.88rem;
}

.foot a,
.foot code {
  color: #111 !important;
  font-weight: 700;
}

/* —— lang picker landing —— */
.picker {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.picker-card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--ytf-line);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(26, 31, 43, 0.08);
  text-align: center;
}

.picker-card h1 {
  font-family: var(--font-display);
  margin: 0.75rem 0 0.5rem;
  font-size: 2rem;
}

.picker-card p { color: var(--ytf-muted); margin: 0 0 1.5rem; }

.picker-links {
  display: grid;
  gap: 0.65rem;
}

.picker-links a {
  text-decoration: none;
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--ytf-line);
  font-weight: 700;
  color: var(--ytf-ink);
  background: var(--ytf-paper);
}

.picker-links a:hover {
  border-color: rgba(194, 56, 56, 0.4);
  background: rgba(194, 56, 56, 0.06);
  color: var(--ytf-red-deep);
}

/* —— login button preview —— */
.auth-sim {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

@media (max-width: 900px) {
  .auth-sim { grid-template-columns: 1fr; }
}

.auth-left {
  position: relative;
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(194, 56, 56, 0.35), transparent 60%),
    linear-gradient(160deg, #2a1518, #1a1f2b 55%, #152033);
  color: #f7f2ec;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.auth-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 14ch;
  margin: 1.5rem 0 0.75rem;
}

.auth-left p { max-width: 40ch; color: rgba(247, 242, 236, 0.82); }

.blog-dock {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
}

.blog-dock a {
  text-decoration: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.blog-dock a:hover {
  background: rgba(194, 56, 56, 0.85);
  border-color: transparent;
}

.auth-right {
  background: #fff;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--ytf-muted);
}

.sc-cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: #1a1f2b;
  color: #f5f5f5;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sc-cookie-banner[hidden] { display: none !important; }
.sc-cookie-banner-text { margin: 0; font-size: 0.85rem; line-height: 1.4; }
.sc-cookie-banner-actions { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; }
.sc-cookie-banner-actions .btn {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
