/* soybakalim.com: the game's "Nane Şekeri" look (thick outlines, mint and
   butter, Fredoka). Static page, no build step. */
:root {
  --ink: #2b1d12;
  --mint: #2fbf98;
  --mint-l: #78ecc9;
  --mint-d: #1d8f74;
  --butter: #ffd36b;
  --butter-d: #e59d17;
  --cream: #fff4dc;
  --cream-d: #ecd6a8;
  --tomato: #ff6b5a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink);
  font-family: Fredoka, "Baloo 2", system-ui, sans-serif; font-weight: 500;
  background: var(--mint) radial-gradient(circle, rgba(255, 255, 255, 0.22) 2.5px, transparent 3px) 0 0 / 28px 28px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* white text with a thick dark outline, like the game's titles */
.ot { color: #fff; -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) max(16px, calc(50% - 520px)) 10px;
  background: rgba(29, 143, 116, 0.92); border-bottom: 4px solid var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 3px solid var(--ink); }
.chip-link {
  padding: 6px 14px; border-radius: 14px; border: 3px solid var(--ink); background: var(--cream);
  box-shadow: 0 3px 0 var(--ink); font-weight: 700; text-decoration: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 34px 16px 56px;
}
.rays {
  position: absolute; left: 50%; top: 230px; width: 1400px; height: 1400px; margin: -700px 0 0 -700px;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.22) 0 10deg, transparent 10deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 55%); mask: radial-gradient(circle, #000 12%, transparent 55%);
  animation: spin 40s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero > :not(.rays) { position: relative; }
.logo { width: min(560px, 92%); transform: rotate(-3deg); filter: drop-shadow(0 8px 0 rgba(43, 29, 18, 0.25)); }
.mascot-row { position: relative; width: min(320px, 72vw); margin-top: 6px; }
.mascot { width: 100%; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.float { position: absolute; width: 22%; animation: drift 4s ease-in-out infinite; }
.float img { width: 100%; }
.f1 { left: -22%; top: 46%; animation-delay: -1s; }
.f2 { right: -24%; top: 20%; transform: rotate(20deg); animation-delay: -2.5s; }
.f3 { right: -14%; top: 70%; animation-delay: -0.4s; }
@keyframes drift { 50% { translate: 0 -14px; rotate: 12deg; } }
.ribbon {
  margin-top: -6px; padding: 6px 26px 8px; border: 4px solid var(--ink); border-radius: 18px;
  background: var(--butter); box-shadow: inset 0 -6px 0 #eaa923, 0 5px 0 var(--ink);
  font-weight: 700; font-size: clamp(24px, 6vw, 34px); transform: rotate(-2deg);
}
.tagline { margin-top: 26px; font-size: clamp(30px, 7.4vw, 54px); line-height: 1.08; max-width: 820px; }
.lead { margin-top: 14px; max-width: 620px; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.45; font-weight: 600; color: #08372b; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.store {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 190px; padding: 8px 20px 10px;
  border: 4px solid var(--ink); border-radius: 18px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 22px; line-height: 1.1; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
}
.store small { font-size: 13px; font-weight: 600; color: var(--butter); }

/* ---------- sections ---------- */
.block { padding: 40px max(16px, calc(50% - 520px)); }
.section-title { text-align: center; font-size: clamp(30px, 6vw, 42px); margin-bottom: 24px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card {
  padding: 18px 18px 20px; border: 4px solid var(--ink); border-radius: 26px;
  background: linear-gradient(#fffaf0, var(--cream)); box-shadow: inset 0 -8px 0 var(--cream-d), 0 6px 0 var(--ink);
}
.card img { width: 64px; height: 64px; margin-bottom: 8px; }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 16px; line-height: 1.4; }

.shots {
  display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.shots img {
  flex: 0 0 auto; width: 220px; aspect-ratio: 390 / 844; object-fit: cover; scroll-snap-align: center;
  border: 5px solid var(--ink); border-radius: 30px; box-shadow: 0 7px 0 var(--ink);
}

.places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.places li {
  display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px;
  border: 4px solid var(--ink); border-radius: 999px; background: var(--z); box-shadow: 0 4px 0 var(--ink);
  font-weight: 700; font-size: 17px;
}
.places img { width: 40px; height: 40px; }
.note { text-align: center; margin-top: 20px; font-weight: 600; font-size: 17px; color: #08372b; }

.closing { display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing-art { width: 110px; animation: bob 2.6s ease-in-out infinite; }
.big { font-size: clamp(28px, 6vw, 44px); margin-top: 12px; }

.foot {
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center;
  background: var(--ink); color: var(--cream); font-weight: 600;
}
.foot a { color: var(--butter); }
.foot .small { margin-top: 6px; font-size: 13px; opacity: 0.7; }

/* ---------- privacy page ---------- */
.doc {
  max-width: 760px; margin: 32px auto 48px; padding: 28px 22px;
  border: 4px solid var(--ink); border-radius: 28px; background: var(--cream); box-shadow: 0 7px 0 var(--ink);
  line-height: 1.55; font-size: 17px;
}
.doc h1 { font-size: 34px; margin-bottom: 4px; }
.doc h2 { font-size: 22px; margin: 24px 0 6px; }
.doc p, .doc ul { margin: 8px 0; }
.doc .muted { color: #6d5a49; font-size: 15px; }
@media (max-width: 800px) { .doc { margin: 20px 12px 36px; } }

@media (prefers-reduced-motion: reduce) {
  .rays, .mascot, .float, .closing-art { animation: none; }
}

/* phones: icon beside the text so the four cards stay short */
@media (max-width: 600px) {
  .card { display: grid; grid-template-columns: 56px 1fr; gap: 2px 14px; align-items: start; padding: 14px 16px 18px; }
  .card img { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .card h3 { font-size: 20px; margin-bottom: 2px; }
  .shots img { width: 190px; }
}
