/* penguenoyunu.tr — Pengu vs Lava tanıtım sitesi.
   Tek stil dosyası; yazı tipleri sitenin kendi sunucusundan yüklenir,
   dış kaynak (CDN, Google Fonts vb.) kullanılmaz. */
@import url("../fonts/fonts.css");

:root {
  --bg: #061827;
  --bg-2: #0a2338;
  --panel: rgba(9, 34, 54, 0.86);
  --line: #23506a;
  --text: #e6f5ff;
  --muted: #a9c7d9;
  --ice: #62d8ff;
  --ice-2: #2aa8f0;
  --lava: #ff7a45;
  --lava-2: #ffb347;
  --ok: #79f2b5;
  --warn: #ff8f8f;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 8, 20, 0.45);
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(98, 216, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 122, 69, 0.12), transparent 60%),
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice); text-underline-offset: 3px; }
a:hover { color: #b9efff; }
:focus-visible { outline: 3px solid var(--lava-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: #fff; }
h1 { font-size: clamp(30px, 6vw, 52px); margin: 0 0 14px; }
h2 { font-size: clamp(24px, 4vw, 34px); margin: 2.2em 0 0.6em; }
h3 { font-size: clamp(19px, 3vw, 23px); margin: 1.6em 0 0.4em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; color: #000; padding: 8px 12px; }

/* --- header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 24, 39, 0.92);
  border-bottom: 1px solid rgba(98, 216, 255, 0.14);
  backdrop-filter: blur(8px);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.brand b { color: var(--lava); font-weight: 700; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  white-space: nowrap; text-decoration: none; color: var(--muted);
  font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(98, 216, 255, 0.12); }
.nav a.nav-cta { color: #04131f; background: linear-gradient(180deg, #7ee2ff, var(--ice-2)); }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; border: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  text-decoration: none; cursor: pointer;
}
.btn-play { color: #04131f; background: linear-gradient(180deg, #7ee2ff, var(--ice-2)); box-shadow: 0 8px 0 #1478c0, 0 16px 30px rgba(0,0,0,.35); }
.btn-play:hover { color: #04131f; filter: brightness(1.06); }
.btn-play svg { width: 22px; height: 22px; flex: none; }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.btn-small { font-size: 15px; padding: 10px 16px; }

/* --- hero -------------------------------------------------------------- */
.hero { padding: 48px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lava-2); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 700; color: #cfefff; background: rgba(98,216,255,.1); border: 1px solid rgba(98,216,255,.25); padding: 5px 12px; border-radius: 999px; }
.hero-art img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 2 / 3; object-fit: cover; }

/* --- sections & cards -------------------------------------------------- */
.section { padding: 34px 0; }
.section-head { max-width: 60ch; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0; }
.card .icon { font-size: 28px; line-height: 1; margin-bottom: 10px; display: block; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 64px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #04131f; background: var(--ice);
}
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 390 / 844; object-fit: cover; width: 100%; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }

.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; }
.post-card img { aspect-ratio: 40 / 21; object-fit: cover; width: 100%; }
.post-card .post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 20px; margin: 0; color: #fff; }
.post-card p { font-size: 15px; }
.post-card .meta { margin-top: auto; }
.post-card:hover h3 { color: var(--ice); }
.meta { font-size: 14px; color: #8fb3c8; }

.cta-band {
  margin: 40px 0; padding: 30px; border-radius: 24px;
  background: linear-gradient(120deg, rgba(42,168,240,.22), rgba(255,122,69,.18)), var(--bg-2);
  border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.cta-band h2, .cta-band h3 { margin: 0 0 4px; }
.cta-band p { margin: 0; color: var(--muted); }

/* --- FAQ (details/summary: no JavaScript) ------------------------------ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--ice); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* --- articles ---------------------------------------------------------- */
.breadcrumb { font-size: 14px; color: #8fb3c8; margin: 24px 0 8px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #5d86a0; }
.breadcrumb a { color: #8fb3c8; }
.article { max-width: 760px; margin: 0 auto 30px; }
.article header .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.article .cover { border-radius: 22px; margin: 22px 0; border: 1px solid var(--line); aspect-ratio: 40 / 21; object-fit: cover; width: 100%; }
.article figure { margin: 26px 0; }
.article figure img { border-radius: 18px; border: 1px solid var(--line); margin-inline: auto; }
.article figure.phone img { max-width: 300px; }
.article figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: .35em 0; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: rgba(98,216,255,.08); color: #fff; }
.takeaways { background: rgba(98,216,255,.08); border: 1px solid rgba(98,216,255,.3); border-radius: 16px; padding: 18px 22px; margin: 18px 0 26px; }
.takeaways h2 { margin: 0 0 8px; font-size: 20px; }
.takeaways ul { margin: 0; }
.tip { border-left: 4px solid var(--lava-2); background: rgba(255,179,71,.08); padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.related { max-width: 1120px; }
.legal { max-width: 820px; margin: 0 auto 40px; }
.legal h2 { font-size: 24px; }
.legal .notice { background: rgba(98,216,255,.08); border-left: 4px solid var(--ice); padding: 14px 18px; border-radius: 0 12px 12px 0; }
.legal .version { color: #8fb3c8; font-size: 14px; }

/* --- footer ------------------------------------------------------------ */
.site-footer { margin-top: 60px; border-top: 1px solid rgba(98,216,255,.14); background: #04121e; padding: 36px 0 28px; font-size: 15px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.site-footer h2 { font-size: 16px; margin: 0 0 10px; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer .fineprint { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; color: #7f9fb3; }

.site-footer .no-cookie { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 12px 16px; border: 1px solid rgba(98,216,255,.25); background: rgba(98,216,255,.07); border-radius: 14px; font-size: 14px; color: #cfe6f3; }
.site-footer .no-cookie a { white-space: nowrap; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header .wrap { flex-wrap: wrap; gap: 6px; padding: 8px 0; }
  .nav { margin-left: 0; width: 100%; justify-content: space-between; }
  .nav a { padding-inline: 10px; }
  .nav a:first-child { display: none; } /* logo zaten ana sayfaya gider */
  .breadcrumb li[aria-current] { display: none; } /* başlık hemen altında */
  .breadcrumb li:nth-last-child(2)::after { content: ""; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots figure:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .cta-band { padding: 22px; }
  .btn { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
