/* Pembora — shared stylesheet (static, no build step) */
:root {
  --top: #7A5AF8;
  --mid: #6245E0;
  --bot: #4B2FC9;
  --ink: #2E1680;
  --gold: #FFD23F;
  --gold-deep: #F5A300;
  --pink: #FF9AD5;
  --bg: #F6F3FF;
  --card: #FFFFFF;
  --text: #2B2546;
  --muted: #5A5277;
  --line: #E4DCFF;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(46, 22, 128, .12), 0 2px 6px rgba(46, 22, 128, .08);
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Language switching ----------
   Both languages live in the HTML. Without JS, English is shown.
   lang.js sets html[data-lang] to "tr" or "en". */
html:not([data-lang="tr"]) body [lang="tr"] { display: none !important; }
html[data-lang="tr"] body [lang="en"] { display: none !important; }
html.no-js .lang-switch { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mid); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; font-weight: 600; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 12px;
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; max-width: 1120px; margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-family: var(--head); font-weight: 700; font-size: 1.45rem; letter-spacing: .2px;
}
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 3px 6px rgba(30, 10, 90, .35)); }
.brand:hover { color: #fff; }

.lang-switch {
  display: inline-flex; padding: 4px; gap: 2px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; backdrop-filter: blur(6px);
}
.lang-switch button {
  appearance: none; border: 0; cursor: pointer;
  min-width: 44px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  background: transparent; color: #fff;
  font: 700 .95rem/1 var(--head); letter-spacing: .5px;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(30, 10, 90, .25); }
.lang-switch button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .18); }

/* ---------- Gradient band (hero + page headers) ---------- */
.band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 55% at 18% 30%, rgba(255, 154, 213, .38), transparent 70%),
    radial-gradient(45% 50% at 90% 10%, rgba(255, 210, 63, .14), transparent 70%),
    linear-gradient(180deg, var(--top) 0%, var(--mid) 55%, var(--bot) 100%);
}
.band::after { /* soft wave at the bottom */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 48px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkles i {
  position: absolute; width: 18px; height: 18px; background: #fff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: .85; animation: twinkle 3.6s ease-in-out infinite;
}
.sparkles i:nth-child(1) { left: 8%;  top: 22%; }
.sparkles i:nth-child(2) { left: 86%; top: 18%; width: 26px; height: 26px; background: var(--gold); animation-delay: .8s; }
.sparkles i:nth-child(3) { left: 74%; top: 62%; width: 12px; height: 12px; animation-delay: 1.6s; }
.sparkles i:nth-child(4) { left: 20%; top: 70%; width: 14px; height: 14px; background: var(--pink); animation-delay: 2.2s; }
.sparkles i:nth-child(5) { left: 52%; top: 12%; width: 10px; height: 10px; animation-delay: 1.1s; }
.sparkles i:nth-child(6) { left: 94%; top: 48%; width: 12px; height: 12px; background: var(--pink); animation-delay: 2.8s; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .45; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sparkles i { animation: none; } }

/* Hero */
.hero { text-align: center; padding: 18px 0 96px; position: relative; z-index: 1; }
.hero-emblem {
  width: 148px; height: 148px; margin: 10px auto 6px;
  filter: drop-shadow(0 12px 24px rgba(30, 10, 90, .45));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-emblem { animation: none; } }
.wordmark {
  margin: 0; color: #fff; font-weight: 700; letter-spacing: .5px;
  font-size: clamp(3.2rem, 15vw, 5.6rem); line-height: 1;
  text-shadow: 0 5px 0 var(--ink), 0 12px 28px rgba(30, 10, 90, .45);
}
.subtitle {
  font-family: var(--head); font-weight: 600; color: var(--gold);
  font-size: clamp(1.15rem, 4.4vw, 1.5rem); margin: 14px 0 6px;
}
.tagline { max-width: 600px; margin: 0 auto; font-size: 1.1rem; color: #F2EDFF; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.store-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border-radius: 16px;
  background: rgba(20, 8, 70, .35); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-weight: 700; line-height: 1.2; text-align: left;
}
.store-pill svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.store-pill small { display: block; font-weight: 600; font-size: .75rem; color: var(--gold); text-transform: uppercase; letter-spacing: .6px; }
.soon-note { margin: 14px 0 0; font-size: .95rem; color: #E9E2FF; }

/* Map showcase overlapping the hero */
.showcase { position: relative; z-index: 2; margin-top: -72px; }
.showcase figure {
  margin: 0; background: var(--card); border-radius: 28px; padding: 10px;
  box-shadow: 0 24px 60px rgba(46, 22, 128, .25);
}
.showcase img { border-radius: 20px; width: 100%; aspect-ratio: 2295 / 1313; object-fit: cover; }
.showcase figcaption { text-align: center; color: var(--muted); font-size: .92rem; padding: 10px 8px 4px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0 8px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px;
  background: #EDE6FF; color: var(--mid); font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .8px;
}

.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(6, 1fr); } .features .card { grid-column: span 2; } .features .card.wide { grid-column: span 3; } }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid #EFEAFF;
}
.card img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: #E9E3FF; }
.card .body { padding: 18px 20px 20px; }
.card p { margin: 0; color: var(--muted); }
.card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--top), var(--bot)); color: #fff;
  font-size: 1.5rem; margin-bottom: 10px; box-shadow: 0 6px 14px rgba(98, 69, 224, .35);
}

.places { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 22px 0 0; }
.places li {
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--ink); font-size: .95rem;
}

.duo { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 640px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 8 / 5; object-fit: cover; width: 100%; }

/* Safety block */
.safety {
  margin-top: 8px; border-radius: 28px; padding: 28px 22px;
  background: linear-gradient(160deg, #2E1680, #4B2FC9); color: #EFEAFF;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.safety h2 { color: #fff; }
.safety ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .safety ul { grid-template-columns: repeat(3, 1fr); } .safety { padding: 36px; } }
.safety li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 16px 18px; }
.safety strong { display: block; font-family: var(--head); font-weight: 600; color: var(--gold); font-size: 1.1rem; margin-bottom: 4px; }
.safety a { color: #fff; }

/* Coming soon */
.soon {
  margin: 48px 0 0; text-align: center; padding: 30px 20px; border-radius: 28px;
  background: #fff; border: 2px dashed #D6CAFF;
}
.soon .badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 10px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: var(--ink);
  font-weight: 800; font-size: .85rem; letter-spacing: .5px; text-transform: uppercase;
}
.soon p { color: var(--muted); margin: 0 auto; max-width: 560px; }

/* ---------- Document pages ---------- */
.page-head { text-align: center; padding: 10px 0 72px; position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin: 8px 0 6px; font-size: clamp(2rem, 7vw, 2.9rem); text-shadow: 0 3px 0 rgba(46, 22, 128, .6); }
.page-head p { margin: 0; color: #EDE6FF; }

.doc {
  position: relative; z-index: 2; margin: -44px auto 0;
  background: var(--card); border-radius: 26px; box-shadow: var(--shadow);
  padding: 26px 20px 30px; border: 1px solid #EFEAFF;
}
@media (min-width: 700px) { .doc { padding: 40px 48px 44px; } }
.doc h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; padding-top: .2em; }
.doc h2:first-of-type { margin-top: .4em; }
.doc h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin: .3em 0; }
.doc .updated {
  display: inline-block; background: #F1ECFF; color: var(--ink); font-weight: 700;
  padding: 6px 12px; border-radius: 10px; font-size: .92rem; margin-bottom: 8px;
}
.doc .lead { font-size: 1.08rem; }
.note {
  background: #FFF8DB; border: 1px solid #FBE6A2; border-radius: 16px; padding: 14px 16px; margin: 1em 0;
}
.toc { background: #F7F4FF; border-radius: 16px; padding: 14px 18px; margin: 14px 0 6px; }
.toc ol { margin: 0; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc a { text-decoration: none; font-weight: 700; }
.toc a:hover { text-decoration: underline; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; border-radius: 14px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 480px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: #F1ECFF; color: var(--ink); font-family: var(--head); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li {
  counter-increment: s; position: relative; padding: 12px 14px 12px 58px; margin: 10px 0 !important;
  background: #F7F4FF; border-radius: 16px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 14px; top: 11px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--top), var(--bot)); color: #fff;
  font-family: var(--head); font-weight: 700;
}
.kbd { font-weight: 800; color: var(--ink); background: #EDE6FF; padding: 1px 8px; border-radius: 8px; white-space: nowrap; }

.mail-btn {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 8px;
  padding: 12px 20px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: var(--ink);
  font-weight: 800; box-shadow: 0 6px 16px rgba(245, 163, 0, .35);
  overflow-wrap: anywhere;
}
.mail-btn:hover { color: var(--ink); filter: brightness(1.04); }

details.faq { border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; background: #FBFAFF; }
details.faq summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative;
  font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--mid);
}
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding: 0 16px 14px; }
details.faq > div p:last-child { margin-bottom: 0; }

/* 404 */
.lost { text-align: center; padding: 20px 0 90px; position: relative; z-index: 1; }
.lost .big { font-family: var(--head); font-size: clamp(5rem, 26vw, 9rem); line-height: 1; color: #fff; font-weight: 700; text-shadow: 0 6px 0 var(--ink); margin: 0; }
.lost h1 { color: #fff; }
.lost p { color: #EDE6FF; }
.btn {
  display: inline-block; margin-top: 10px; padding: 12px 22px; border-radius: 16px;
  background: #fff; color: var(--ink); font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 16px rgba(30, 10, 90, .3);
}
.btn:hover { color: var(--mid); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; padding: 34px 0 40px; background: #EDE6FF; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.foot-brand img { width: 34px; height: 34px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.foot-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copy { margin: 6px 0 0; font-size: .88rem; }
