:root {
  --bg: #0a1315;
  --header: #0c1719;
  --panel: #0f1c1f;
  --panel-2: #132428;
  --panel-3: #183034;
  --text: #e6f0ef;
  --muted: #8ea4a5;
  --accent: #3fd6ac;
  --accent-2: #2bb892;
  --accent-ink: #052019;
  --gold: #f0bb4a;
  --red: #ff5f6d;
  --blue: #5aa8ff;
  --border: #1b2e31;
  --radius: 12px;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }
.ic { width: 16px; height: 16px; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(12,23,25,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 24px;
  max-width: 1360px;
  margin: 0 auto;
}
.logo {
  font-family: "Michroma", var(--display);
  color: #fff;
  font-size: 21px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
  flex: none;
}
.logo:hover { text-decoration: none; }

.quick { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.pill .ic { width: 14px; height: 14px; }
.pill:hover { text-decoration: none; filter: brightness(1.2); }
.pill-gold  { color: var(--gold);   border-color: rgba(240,187,74,.4); background: rgba(240,187,74,.08); }
.pill-green { color: var(--accent); border-color: rgba(63,214,172,.4); background: rgba(63,214,172,.08); }
.pill-red   { color: var(--red);    border-color: rgba(255,95,109,.4); background: rgba(255,95,109,.08); }
.pill-blue  { color: var(--blue);   border-color: rgba(90,168,255,.4); background: rgba(90,168,255,.08); }

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-login, .btn-signup {
  padding: 7px 14px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1.2;
}
.btn-login { color: #fff; border: 1px solid var(--border); background: var(--panel); }
.btn-signup { color: var(--accent-ink); background: var(--accent); border: 1px solid var(--accent); }
.btn-login:hover, .btn-signup:hover { text-decoration: none; filter: brightness(1.12); }

.lang-switch {
  display: flex;
  padding: 2px;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
  font-size: 12px;
  font-weight: 700;
}
.lang-switch a { color: var(--muted); padding: 4px 8px; border-radius: 5px; line-height: 1.2; }
.lang-switch a[aria-current="true"] { color: #fff; background: var(--panel-3); }
.lang-switch a:hover { text-decoration: none; color: #fff; }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: #fff;
  cursor: pointer;
}
.nav-toggle .ic { width: 18px; height: 18px; }

/* ---------- Layout ---------- */
.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 24px 48px;
  max-width: 1360px;
  margin: 0 auto;
}
.main { min-width: 0; }

/* ---------- Sidebar ---------- */
.sidebar { min-width: 0; }
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 8px;
  margin-bottom: 14px;
}
.panel-title {
  margin: 4px 10px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.35;
}
.side-list a:hover { background: var(--panel-2); text-decoration: none; }
.side-list a[aria-current="page"] { background: var(--panel-3); }
.side-list a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.ic-box {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  background: var(--panel-2);
  color: var(--accent);
}
.ic-box .ic { width: 14px; height: 14px; }
.side-list a[aria-current="page"] .ic-box { background: rgba(63,214,172,.16); }
.side-list.small a { font-size: 13px; font-weight: 500; color: var(--text); padding: 5px 10px; }

/* ---------- Announce + search ---------- */
.announce {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.announce .ic { color: var(--accent); width: 15px; height: 15px; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 5px 5px 14px;
  margin: 0 0 16px;
}
.search-bar label { display: grid; place-items: center; color: var(--muted); padding-right: 10px; border-right: 1px solid var(--border); }
.search-bar input[type="search"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 6px 4px;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar button {
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--panel-3);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.search-bar button:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- Hero ---------- */
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  margin-bottom: 14px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 28px 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 50%, rgba(63,214,172,.22), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(240,187,74,.08), transparent 40%),
    linear-gradient(135deg, #0b1d1c 0%, #081311 60%, #0b1a17 100%);
}
.hero-brand {
  display: block;
  font-family: "Michroma", var(--display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.hero-title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.hero-title small { display: block; font-size: .5em; margin-bottom: 4px; color: #cfe0dd; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, #7ff0cf, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 0 0 6px;
  line-height: 1.2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-desc { margin: 0 0 2px; font-size: 15px; line-height: 1.55; color: #cddcda; }
.hero-note { margin: 0 0 18px; font-size: 13.5px; font-weight: 600; color: #fff; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px 9px 18px;
  border-radius: 9px;
  background: linear-gradient(180deg, #52e2ba, var(--accent-2));
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .3px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(63,214,172,.2);
}
.hero-cta .ic { width: 18px; height: 18px; }
.hero-cta:hover { text-decoration: none; filter: brightness(1.08); }
.hero-art { justify-self: center; width: 100%; max-width: 280px; }
.hero-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(63,214,172,.2)); }

.hero-tiles { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 70px 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
  color: var(--text);
  overflow: hidden;
}
.tile:hover { text-decoration: none; border-color: rgba(63,214,172,.45); }
.tile-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}
.tile-desc { font-size: 13.5px; color: #b9cbc9; margin-top: 3px; line-height: 1.4; }
.tile-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.tile-ic {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  color: var(--accent);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 10px rgba(63,214,172,.45));
}

/* ---------- Content ---------- */
.content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  min-width: 0;
}
.content h1 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: #fff;
}
.content h2 {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.2;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin: 30px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #fff;
}
.content > h2:first-of-type { border-top: 0; padding-top: 0; }
.content h3 { font-size: 17px; margin: 20px 0 6px; color: var(--accent); }
.content p { margin: 0 0 12px; }
.content ul, .content ol { padding-left: 20px; margin: 0 0 12px; }
.content .post-list { padding: 0; }
.content > :first-child { margin-top: 0; }
.content li { margin: 3px 0; }
.content li::marker { color: var(--accent); }
.content strong { color: #fff; }
.meta { color: var(--muted); font-size: 13px; margin: -6px 0 16px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 10px;
  margin: 14px 0;
}
.card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color .15s;
}
.card:hover { border-color: rgba(63,214,172,.35); }
.card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: .3px;
  font-family: var(--display);
  text-transform: uppercase;
  color: #fff;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.notice {
  border: 1px solid rgba(63,214,172,.25);
  border-left: 3px solid var(--accent);
  background: rgba(63,214,172,.05);
  padding: 11px 15px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: 15px;
}
.notice p { margin: 0; }

details {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 8px 0;
}
details[open] { border-color: rgba(63,214,172,.35); }
summary { cursor: pointer; font-weight: 600; font-size: 15px; color: #fff; }
summary::marker { color: var(--accent); }
details p { margin: 8px 0 2px; font-size: 15px; color: #cddcda; }

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 12px;
}
.content .post-list li {
  margin: 0;
  padding: 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.content .post-list li:hover { border-color: rgba(63,214,172,.45); }
.content .post-list h2 { border: 0; padding: 0; margin: 0 0 4px; font-size: 18px; }
.post-list h2 a { color: #fff; }
.post-list .meta { margin: 0; }
.post-list p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.btn {
  display: inline-block;
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--panel-3);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--header);
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  max-width: 1312px;
  margin: 0 auto;
}
.footer-grid p { margin: 0 0 6px; max-width: 760px; }
.age-badge {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.footer-links { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--text); }

/* Tablolar */
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: 10px; }
.content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.content th, .content td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.content th { background: var(--panel-2); color: var(--muted); font-weight: 600; width: 38%; }
.content tr:last-child th, .content tr:last-child td { border-bottom: 0; }

/* Ana sayfa kartları */
.card h3 a { color: #fff; }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.cards-wide { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card-links { margin: 6px 0 0; padding-left: 16px; font-size: 14px; line-height: 1.45; }
.card-links li { margin: 5px 0; }

/* Güncel giriş adresi kutusu */
.address-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  background: rgba(240,187,74,.05); border: 1px dashed rgba(240,187,74,.5); border-radius: 10px;
  padding: 10px 14px; margin: 14px 0;
}
.address-box span { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.address-box a { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: .3px; color: var(--gold); word-break: break-all; }

.hero-addr { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.hero-addr a { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: .3px; color: var(--gold); margin-left: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-tiles { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) {
  .quick { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 15.5px; }
  .header-row { padding: 10px 14px; gap: 10px; }
  .logo { font-size: 16px; letter-spacing: 1px; }
  .header-right { gap: 6px; }
  .btn-login { display: none; }
  .nav-toggle { display: inline-grid; }
  .layout { grid-template-columns: 1fr; padding: 12px 12px 32px; gap: 12px; }
  .sidebar { display: none; }
  .sidebar.open { display: block; }
  .announce { font-size: 12px; margin-bottom: 10px; padding-bottom: 8px; }
  .hero { grid-template-columns: minmax(0, 1fr) 96px; padding: 18px 16px; gap: 8px; border-radius: 14px; }
  .hero-art { max-width: 96px; align-self: start; }
  .hero-brand { font-size: 11px; margin-bottom: 6px; }
  .hero-title { font-size: 25px; margin-bottom: 8px; }
  .hero-sub { font-size: 14.5px; }
  .hero-desc { font-size: 14px; }
  .hero-note { font-size: 12.5px; margin-bottom: 14px; }
  .hero-cta { font-size: 15px; padding: 8px 12px 8px 14px; }
  .hero-text { grid-column: 1 / -1; grid-row: 1; }
  .hero-text { position: relative; z-index: 1; }
  .hero-art { grid-column: 2; grid-row: 1; opacity: .35; }
  .hero-row { gap: 10px; margin-bottom: 10px; }
  .hero-tiles { gap: 10px; }
  .tile { padding: 12px 52px 12px 14px; border-radius: 12px; }
  .tile-title { font-size: 16px; }
  .tile-desc { font-size: 12.5px; }
  .tile-foot { display: none; }
  .tile-ic { width: 28px; height: 28px; right: 14px; }
  .search-bar { margin-bottom: 12px; }
  .content { padding: 18px 15px; border-radius: 14px; }
  .content h1 { font-size: 24px; }
  .content h2 { font-size: 19px; margin: 24px 0 8px; padding-top: 18px; }
  .content h3 { font-size: 16px; }
  .cards { gap: 8px; }
  .card { padding: 11px 13px; }
  .card h3 { font-size: 15px; }
  .card p { font-size: 13.5px; }
  .address-box a { font-size: 19px; }
  .site-footer { padding: 22px 14px; }
}
@media (max-width: 560px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art, .hero-brand { display: none; }
  .cards, .cards-wide { grid-template-columns: 1fr; }
  .lang-switch a { padding: 4px 6px; }
  .btn-signup { padding: 7px 10px; font-size: 12px; }
}
@media (max-width: 380px) {
  .hero-tiles { grid-template-columns: 1fr; }
}

/* AMP mobil menü */
.mnav { display: none; }
@media (max-width: 900px) {
  .mnav { display: block; border-top: 1px solid var(--border); padding: 8px 12px 12px; background: var(--header); }
  .nav-toggle { cursor: pointer; }
}
