/* Pasta Yapma Oyunu — site styles. Fonts are self-hosted (no Google Fonts request). */
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('../fonts/baloo2-800-latin.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: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('../fonts/baloo2-800-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 600 800; font-display: swap; src: url('../fonts/nunito-600-latin.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: 'Nunito'; font-weight: 600 800; font-display: swap; src: url('../fonts/nunito-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --pink: #ff6f91;
  --pink-deep: #d6406a;
  --pink-soft: #ffe3ec;
  --plum: #3d315b;
  --purple: #604686;
  --lavender: #f5edff;
  --cream: #fff8f1;
  --yellow: #ffd166;
  --mint: #7bdcb5;
  --text: #2f2742;
  --muted: #6b5d82;
  --line: #eadff3;
  --card: #ffffff;
  --bg: #fffafc;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(96, 70, 134, .12);
  --font-head: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.7 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; color: var(--plum); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: .2em 0 .35em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.3rem; margin: 1.5em 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .3em 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 252, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); font: 800 1.25rem/1 var(--font-head); white-space: nowrap; }
.brand img { border-radius: 12px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; font-family: var(--font-ui); font-weight: 800; }
.main-nav a { color: var(--purple); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--lavender); color: var(--plum); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 800 1.02rem/1.2 var(--font-ui); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #ff7b9b, var(--pink-deep)); color: #fff; box-shadow: 0 8px 20px rgba(214, 64, 106, .28); }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: #fff; color: var(--plum); border: 2px solid var(--line); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(circle at 12% 18%, #ffe0b3 0 120px, transparent 121px),
  radial-gradient(circle at 92% 30%, #d4efe6 0 140px, transparent 141px),
  radial-gradient(circle at 8% 95%, #ead7ff 0 110px, transparent 111px),
  linear-gradient(180deg, #fff1f6, #ffe3ec); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 56px 0 64px; }
.eyebrow { display: inline-block; font: 800 .9rem/1 var(--font-ui); color: var(--pink-deep); background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.badges li { margin: 0; font: 800 .88rem/1 var(--font-ui); color: var(--purple); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; }
.hero-phone { justify-self: center; width: min(320px, 80vw); border-radius: 34px; border: 8px solid #fff; box-shadow: 0 24px 60px rgba(96, 70, 134, .25); transform: rotate(2deg); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; padding: 0; counter-reset: s; }
.steps li { margin: 0; background: var(--card); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pink-soft); color: var(--pink-deep); font: 800 1.15rem/1 var(--font-head); margin-bottom: 10px; }
.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; font-size: .97rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .emoji { font-size: 1.8rem; line-height: 1; display: block; margin-bottom: 8px; }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.shots figure { margin: 0; }
.shots img { border-radius: 18px; box-shadow: var(--shadow); }
.shots figcaption { text-align: center; font: 800 .9rem/1.3 var(--font-ui); color: var(--purple); margin-top: 8px; }
.safe { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.check { list-style: none; padding: 0; }
.check li { padding-left: 34px; position: relative; margin: .7em 0; }
.check li::before { content: '✓'; position: absolute; left: 0; top: .05em; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }

/* Blog list */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s ease; }
.post-card:hover { transform: translateY(-3px); color: inherit; }
.post-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.post-card div { padding: 18px 20px 22px; }
.post-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.post-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.tag { display: inline-block; font: 800 .78rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--pink-deep); margin-bottom: 8px; }

/* Article */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 22px 0 0; font: 700 .9rem/1.4 var(--font-ui); color: var(--muted); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: #b9a9cf; }
.breadcrumb a { color: var(--purple); text-decoration: none; }
.article-head { padding-bottom: 8px; }
.meta { font: 700 .92rem/1.5 var(--font-ui); color: var(--muted); }
.article-cover { border-radius: var(--radius); box-shadow: var(--shadow); margin: 18px 0 8px; width: 100%; }
.prose h2 { scroll-margin-top: 90px; }
.prose img { border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .97rem; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--lavender); color: var(--plum); font-family: var(--font-ui); }
.table-scroll { overflow-x: auto; }
.summary { background: var(--lavender); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.summary p.summary-title { font: 800 1.1rem/1.2 var(--font-head); color: var(--plum); margin-bottom: 6px; }
.summary ul { margin: 0; }
.note { border-left: 5px solid var(--yellow); background: #fffaf0; padding: 14px 18px; border-radius: 0 14px 14px 0; margin: 1.4em 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; margin: 22px 0; }
.toc p { font: 800 1rem/1.2 var(--font-ui); color: var(--plum); margin-bottom: 4px; }
.toc ol { margin: 0; }
.cta-box { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, #fff0f5, #f5edff); border: 2px solid #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 24px; margin: 36px 0; }
.cta-box img { border-radius: 22px; flex: none; }
.cta-box p { margin: 0 0 12px; }
.cta-title { font: 800 1.35rem/1.2 var(--font-head); color: var(--plum); }
.related { margin: 40px 0 10px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.related li { margin: 0; }
.related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font: 800 1rem/1.4 var(--font-ui); text-decoration: none; color: var(--plum); }
.related a:hover { border-color: var(--pink); }
.sources { font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; }
.faq summary { cursor: pointer; padding: 16px 20px; font: 800 1.05rem/1.4 var(--font-ui); color: var(--plum); list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--pink-deep); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 20px 6px; }

/* Legal */
.legal h2 { font-size: 1.45rem; }
.legal .updated { color: var(--muted); font-family: var(--font-ui); font-weight: 700; }

/* Footer */
.site-footer { background: var(--plum); color: #e9e2f5; margin-top: 64px; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding: 44px 0 28px; }
.footer-brand { font: 800 1.4rem/1.2 var(--font-head); color: #fff; }
.footer-title { font: 800 1rem/1.2 var(--font-ui); color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.no-cookie { background: rgba(255, 255, 255, .08); padding: 10px 12px; border-radius: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 16px 0 24px; font-size: .88rem; color: #cbbfe0; }
.footer-bottom p { margin: 0; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.e404 { text-align: center; padding: 80px 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-phone { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .safe { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header-row { flex-wrap: wrap; gap: 6px 12px; padding: 8px 0; }
  .header-cta { margin-left: auto; }
  .main-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
  .main-nav a { padding: 6px 8px; white-space: nowrap; font-size: .9rem; }
  .brand span { font-size: 1.05rem; }
  .brand img { width: 34px; height: 34px; }
  .hide-sm { display: none; }
  .main-nav a[href="/"] { display: none; } /* the logo already links home */
  html { scroll-padding-top: 116px; }
}
@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .steps, .cards, .post-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .section { padding: 48px 0; }
  .lead { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.blog-head { margin-top: 12px; }
.e404-emoji { font-size: 4rem; margin: 0; line-height: 1; }
