/* Pirots 5 — pirots5.com.gr */
:root {
  --bg: #100e0c;
  --panel: #1b1815;
  --panel-2: #241f1a;
  --line: #3a322a;
  --gold: #e2a52a;
  --gold-dark: #b3801a;
  --text: #ede8df;
  --muted: #a89e8f;
  --red: #c5402e;
  --green: #4f9c5a;
  --radius: 10px;
  --wrap: 1240px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.4vw, 33px); }
h3 { font-size: clamp(19px, 2.2vw, 22px); }
h4 { font-size: 17px; }
p { margin: 0 0 14px; text-wrap: pretty; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 7px; }
strong { color: #fff; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: #14110f;
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; }
.brand b { font-size: 17px; color: #fff; letter-spacing: 0.2px; }
.brand span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.head-nav { display: none; margin-left: auto; gap: 20px; }
.head-nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.head-nav a:hover { color: var(--gold); text-decoration: none; }
.head-cta { margin-left: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: #191408;
  font-weight: 800; font-size: 16px; letter-spacing: 0.01em;
  padding: 13px 26px; border-radius: 8px; border: 0;
  cursor: pointer; text-align: center;
  box-shadow: 0 2px 0 var(--gold-dark);
  transition: background .15s ease, transform .1s ease;
  user-select: none;
}
.btn:hover { background: #f0b436; text-decoration: none; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--gold-dark); }
.btn.sm { padding: 9px 17px; font-size: 14px; }
.btn.lg { padding: 16px 38px; font-size: 18px; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold-dark); box-shadow: none; }
.btn.ghost:hover { background: rgba(226,165,42,.1); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 34px 0 8px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("/img/pirots-5-hero-banner.webp") center top / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,14,12,.74) 0%, rgba(16,14,12,.88) 55%, var(--bg) 100%);
}
.hero-grid { display: flex; flex-direction: column-reverse; gap: 20px; }
.hero p.lead { font-size: 19px; color: #ded7cb; margin-bottom: 18px; }
.hero-art { display: flex; justify-content: center; }
.hero-logo { width: min(300px, 72vw); filter: drop-shadow(0 14px 26px rgba(0,0,0,.6)); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 20px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; }
.fact span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.fact b { font-size: 17px; color: #fff; }

/* ---------- bonus banner ---------- */
.promo {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
  margin: 26px 0;
  overflow: hidden;
}
.promo-img { flex: 0 0 auto; width: 120px; border-radius: 8px; align-self: flex-start; }
.promo-txt { flex: 1 1 auto; }
.promo-txt b { display: block; font-size: 21px; color: #fff; line-height: 1.25; }
.promo-txt i { display: block; font-style: normal; font-size: 15px; color: var(--muted); margin-top: 4px; }
.promo-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #191408; background: var(--gold);
  padding: 3px 8px; border-radius: 4px; margin-bottom: 8px;
}
.promo-side { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.promo-side small { color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- TOC ---------- */
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 0 30px; }
.toc > summary {
  cursor: pointer; padding: 15px 18px; font-weight: 800; font-size: 17px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; list-style: none;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.toc[open] > summary::after { content: "–"; }
.toc-list { border-top: 1px solid var(--line); padding: 14px 18px 18px; columns: 1; }
.toc-list .toc-ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.toc-list li { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; break-inside: avoid; }
.toc-list li img { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; object-position: center; }
.toc-list a { color: #ded7cb; font-size: 15.5px; }
.toc-list a:hover { color: var(--gold); }

/* ---------- sections ---------- */
section { padding: 26px 0; scroll-margin-top: 80px; }
section > .wrap > h2 { padding-bottom: 10px; border-bottom: 2px solid var(--line); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cards.c2 { grid-template-columns: 1fr; }
.card h3 { margin-bottom: 8px; color: #fff; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card img.icon { width: auto; max-width: 62px; height: 58px; object-fit: contain; object-position: left center; margin-bottom: 10px; }

.note { border-left: 3px solid var(--gold); background: var(--panel); padding: 13px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }
.note.warn { border-left-color: var(--red); }
.note p:last-child { margin-bottom: 0; }

/* ---------- tables ---------- */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
caption { text-align: left; padding: 11px 14px; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line); }
th, td { padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
tbody tr:last-child td { border-bottom: 0; }
td b { color: var(--gold); }
td img.ph { width: auto; max-width: 46px; height: 44px; object-fit: contain; }

/* ---------- figures ---------- */
figure {
  margin: 0 auto 22px; max-width: 940px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
figure img { width: 100%; height: auto; background: #0d0b09; }

/* screenshots: one per row, centered */
.fig-row { display: flex; flex-direction: column; gap: 22px; margin-bottom: 22px; }
.fig-row figure { margin: 0 auto; width: 100%; }

/* image next to text */
.split { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.split-fig { margin: 0; max-width: 100%; }
.split-txt p:last-child { margin-bottom: 0; }

/* symbol strips */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 18px; }
.strip .it { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 8px; text-align: center; }
.strip .it img { width: auto; max-width: 100%; height: 58px; object-fit: contain; margin: 0 auto 8px; }
.strip .it b { display: block; font-size: 14px; color: #fff; }
.strip .it span { display: block; font-size: 12.5px; color: var(--muted); }

.coinrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.coinrow .c { text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 4px; }
.coinrow .c img { width: auto; max-width: 100%; height: 50px; object-fit: contain; margin: 0 auto 6px; }
.coinrow .c b { font-size: 13.5px; color: var(--gold); }

/* birds */
.bird { display: flex; flex-direction: column; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.bird-pic { flex: 0 0 auto; width: 96px; align-self: flex-start; }
.bird h3 { margin-bottom: 6px; }
.bird .tag { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: block; }
.bird p:last-child { margin-bottom: 0; }

/* demo */
.demo-box { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0b0a09; }
.demo-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-ph { position: absolute; inset: 0; overflow: hidden; }
.demo-prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.demo-ph-in {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 20px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(11,10,9,.82) 0%, rgba(11,10,9,.6) 100%);
}
.demo-mark { width: 110px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)); }
.demo-ph-in p { color: #d8d1c6; font-size: 14px; margin: 0; max-width: 420px; }

/* expert */
.expert { display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.expert-av { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--gold-dark); flex: 0 0 auto; }
.expert-name b { display: block; color: #fff; font-size: 17px; }
.expert-name span { font-size: 13.5px; color: var(--muted); }
.expert blockquote { margin: 12px 0 0; padding: 0; font-size: 16.5px; color: #ded7cb; }
.expert blockquote p:last-child { margin-bottom: 0; }

/* reviews */
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.rv-score { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; text-align: center; }
.rv-score b { display: block; font-size: 28px; color: #fff; line-height: 1; }
.rv-score span { font-size: 12.5px; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; }
.stars i {
  width: 19px; height: 19px; display: block; background: #43392e;
  clip-path: polygon(50% 2%, 61% 36%, 97% 36%, 68% 58%, 79% 92%, 50% 71%, 21% 92%, 32% 58%, 3% 36%, 39% 36%);
}
.stars i.on { background: var(--gold); }
.stars i.half { background: linear-gradient(90deg, var(--gold) 0 50%, #43392e 50% 100%); }
.reviews { display: grid; grid-template-columns: 1fr; gap: 14px; }
.rev { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.rev-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.rev-top b { color: #fff; font-size: 15.5px; }
.rev-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 9px; }
.rev p { margin: 0; font-size: 15.5px; }

/* pros cons */
.pc { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }
.pc div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.pc h4 { margin-bottom: 10px; }
.pc .p h4 { color: var(--green); }
.pc .m h4 { color: var(--red); }
.pc ul { margin: 0; padding-left: 20px; }

/* FAQ */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: #fff; font-size: 16.5px; list-style: none; display: flex; gap: 10px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "?"; color: var(--gold); font-weight: 900; flex: 0 0 auto; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .a { padding: 13px 16px 16px 42px; color: #d8d1c6; }
.faq .a p:last-child { margin-bottom: 0; }

/* sticky CTA */
.sticky-cta {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
  background: #14110f; border-top: 1px solid var(--line);
  padding: 10px 14px; display: flex; align-items: center; gap: 12px;
}
.sticky-cta .st-txt { flex: 1 1 auto; min-width: 0; }
.sticky-cta .st-txt b { display: block; color: #fff; font-size: 14.5px; line-height: 1.2; }
.sticky-cta .st-txt span { font-size: 12px; color: var(--muted); }
.sticky-cta img { width: 34px; height: 34px; flex: 0 0 auto; }
.sticky-cta { transform: translateY(110%); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease; }
.sticky-cta.is-visible { transform: none; opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* footer */
.site-foot { background: #14110f; border-top: 1px solid var(--line); padding: 30px 0 96px; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.foot-top { display: flex; flex-direction: column; gap: 18px; margin-bottom: 22px; }
.foot-logo { width: 92px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-21 { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--red); color: var(--red); border-radius: 50%; font-weight: 900; font-size: 14px; flex: 0 0 auto; }
.foot-warn { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 18px; }
.foot-warn p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.foot-warn p:last-child { margin-bottom: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- responsive ---------- */
@media (min-width: 620px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .cards.c2 { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .coinrow { grid-template-columns: repeat(6, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .split { flex-direction: row; align-items: center; gap: 22px; }
  .split-fig { flex: 0 0 42%; }
  .split-txt { flex: 1 1 auto; }
  .pc { grid-template-columns: repeat(2, 1fr); }
  .promo { flex-direction: row; align-items: center; }
  .promo-side { flex: 0 0 auto; width: 220px; }
  .bird { flex-direction: row; }
  .expert { flex-direction: row; }
  .toc-list { columns: 2; column-gap: 26px; }
  .foot-top { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 960px) {
  body { font-size: 17.5px; }
  .head-nav { display: flex; }
  .head-cta { margin-left: 6px; }
  .hero { padding: 48px 0 8px; }
  .hero-grid { flex-direction: row; align-items: center; }
  .hero-col { flex: 1 1 58%; }
  .hero-art { flex: 0 0 38%; }
  .hero-logo { width: min(360px, 100%); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: repeat(7, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .toc-list { columns: 3; }

  /* desktop: floating CTA always in view */
  .sticky-cta {
    left: auto; right: 22px; bottom: 22px; top: auto;
    border: 1px solid var(--gold-dark); border-radius: 12px;
    width: 300px; flex-wrap: wrap; padding: 14px;
  }
  .sticky-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
