/* =====================================================
   Wild Harlequin — Main Stylesheet
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:        #fdf8f0;
  --clr-bg2:       #f5e9d8;
  --clr-card:      #ffffff;
  --clr-border:    #e6d3ae;
  --clr-accent1:   #7a1130;   /* deep maroon / velvet */
  --clr-accent2:   #c9972f;   /* harlequin gold */
  --clr-accent3:   #1c1a1f;   /* jester black */
  --clr-accent4:   #9c2c46;   /* rose-maroon */
  --clr-text:      #241214;   /* near-black cocoa */
  --clr-muted:     #6f5a52;
  --clr-btn:       linear-gradient(135deg, #7a1130, #59091f);
  --clr-btn-gold:  linear-gradient(135deg, #d9ac47, #c9972f);
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(36,18,20,.10);
  --font:          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-w:         1160px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--clr-accent1); text-decoration: none; }
a:hover { color: #59091f; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  background: rgba(253,248,240,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--clr-text); }
.logo-text span { color: var(--clr-accent1); }

.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  color: var(--clr-muted);
  font-size: .88rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
  font-weight: 600;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--clr-text);
  background: var(--clr-bg2);
}

.header-cta {
  background: var(--clr-btn);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(122,17,48,.4);
}

.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--clr-text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  font-weight: 700; font-size: .95rem;
  cursor: pointer; border: none; transition: all .25s;
  text-decoration: none;
}
.btn-primary { background: var(--clr-btn); color: #fff; box-shadow: 0 4px 18px rgba(122,17,48,.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(122,17,48,.6); color: #fff; }
.btn-gold  { background: var(--clr-btn-gold); color: #241214; box-shadow: 0 4px 18px rgba(201,151,47,.35); }
.btn-gold:hover { transform: translateY(-2px); color: #241214; }
.btn-outline { background: transparent; border: 2px solid var(--clr-accent1); color: var(--clr-accent1); }
.btn-outline:hover { background: var(--clr-accent1); color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; border-radius: 12px; }
.btn-full { width: 100%; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding: 56px 0 48px;
  background: radial-gradient(ellipse at 65% 30%, rgba(122,17,48,.13) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 80%, rgba(201,151,47,.16) 0%, transparent 55%),
              var(--clr-bg);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(122,17,48,.12); border: 1px solid rgba(122,17,48,.32);
  color: #7a1130; padding: 6px 14px; border-radius: 40px;
  font-size: .82rem; font-weight: 700; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.22; margin-bottom: 14px; }
.hero h1 span { color: var(--clr-accent1); }
.hero-desc { color: var(--clr-muted); font-size: 1.03rem; margin-bottom: 26px; max-width: 500px; }

.hero-stats { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.stat-chip {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  min-width: 84px;
  box-shadow: var(--shadow);
}
.stat-chip .val { font-size: 1.2rem; font-weight: 800; color: #a9791b; }
.stat-chip .lbl { font-size: .7rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .5px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--clr-border);
  box-shadow: 0 10px 50px rgba(122,17,48,.25);
  aspect-ratio: 4/3;
  background: var(--clr-card);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ── Section ──────────────────────────────────────── */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--clr-border); }

.section-header { margin-bottom: 34px; }
.section-tag {
  display: inline-block;
  background: rgba(201,151,47,.16); border: 1px solid rgba(201,151,47,.4);
  color: #a9791b; font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: .5px;
  margin-bottom: 10px; text-transform: uppercase;
}
.section-tag.pink { background: rgba(122,17,48,.12); border-color: rgba(122,17,48,.32); color: #7a1130; }
.section-tag.green { background: rgba(28,26,31,.08); border-color: rgba(28,26,31,.24); color: #1c1a1f; }
.section-tag.blue  { background: rgba(156,44,70,.12); border-color: rgba(156,44,70,.32); color: #9c2c46; }

.section-title { font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 800; }
.section-title span { color: var(--clr-accent1); }
.section-subtitle { color: var(--clr-muted); margin-top: 8px; font-size: .97rem; }

/* ── Cards / Grid ─────────────────────────────────── */
.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--clr-accent1); transform: translateY(-3px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Demo Block ───────────────────────────────────── */
.demo-block {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-frame-wrap {
  aspect-ratio: 16/9;
  background: #1a0f10;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.demo-frame-wrap iframe { width: 100%; height: 100%; border: none; }
.demo-frame-wrap img { width: 100%; height: 100%; object-fit: cover; }

.demo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,15,16,.25), rgba(26,15,16,.88));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 20px;
}
.demo-overlay .play-btn {
  width: 72px; height: 72px;
  background: var(--clr-btn);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; cursor: pointer; border: none;
  box-shadow: 0 0 40px rgba(122,17,48,.55);
  transition: transform .2s;
  color: #fff;
}
.demo-overlay .play-btn:hover { transform: scale(1.1); }

.demo-info { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.demo-tag { font-size: .82rem; color: #9c2c46; font-weight: 700; }

/* ── Specs Table ──────────────────────────────────── */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spec-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 14px 18px;
}
.spec-label { color: var(--clr-muted); font-size: .9rem; }
.spec-value { font-weight: 700; color: #a9791b; font-size: .95rem; }

/* ── Pros/Cons ────────────────────────────────────── */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-block { background: rgba(28,26,31,.05); border: 1px solid rgba(28,26,31,.18); border-radius: var(--radius); padding: 22px; }
.cons-block { background: rgba(122,17,48,.06); border: 1px solid rgba(122,17,48,.24); border-radius: var(--radius); padding: 22px; }
.pros-cons-title { font-weight: 700; font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.pros-cons-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pros-cons-list li { display: flex; gap: 10px; font-size: .92rem; }
.pros-cons-list li::before { flex-shrink: 0; margin-top: 2px; }
.pros-block .pros-cons-list li::before { content: "✅"; }
.cons-block .pros-cons-list li::before { content: "❌"; }

/* ── Paytable ─────────────────────────────────────── */
.paytable { width: 100%; border-collapse: collapse; }
.paytable th, .paytable td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
  font-size: .92rem;
}
.paytable th {
  background: var(--clr-bg2);
  color: var(--clr-muted);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.paytable tr:hover td { background: rgba(122,17,48,.04); }
.paytable .sym-name { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.paytable .sym-icon { font-size: 1.3em; }
.paytable .win { color: #a9791b; font-weight: 700; }
.sym-img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.symbols-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-top: 20px; }
.symbol-tile { background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: var(--radius); padding: 16px; text-align: center; box-shadow: var(--shadow); }
.symbol-tile .sym-img { width: 64px; height: 64px; margin: 0 auto 10px; object-fit: cover; }
.symbol-tile.tall .sym-img { width: 56px; height: 96px; border-radius: 8px; }
.symbol-tile h4 { font-size: .95rem; margin-bottom: 4px; }
.symbol-tile p { font-size: .82rem; color: var(--clr-muted); margin: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--clr-border); background: var(--clr-card); box-shadow: var(--shadow); }
.table-wrap .paytable { min-width: 480px; }

/* ── Bonus Blocks ─────────────────────────────────── */
.bonus-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow);
}
.bonus-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(201,151,47,.18);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.bonus-title { font-weight: 700; margin-bottom: 6px; }
.bonus-price { color: #a9791b; font-weight: 800; font-size: .92rem; margin-bottom: 4px; }
.bonus-desc { color: var(--clr-muted); font-size: .9rem; line-height: 1.5; }

/* ── Harlequin feature cards ──────────────────────── */
.piggy-card {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  box-shadow: var(--shadow);
}
.piggy-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 8px; }
.piggy-card.pink { border-top: 4px solid var(--clr-accent1); }
.piggy-card.green { border-top: 4px solid var(--clr-accent3); }
.piggy-card.blue { border-top: 4px solid var(--clr-accent4); }
.piggy-card p { color: var(--clr-muted); font-size: .92rem; }

/* ── Reviews ──────────────────────────────────────── */
.review-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--clr-accent1);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; color: #fff; flex-shrink: 0;
}
.review-author { font-weight: 700; font-size: .92rem; }
.review-date { font-size: .78rem; color: var(--clr-muted); }
.review-stars { color: #a9791b; font-size: .9rem; letter-spacing: 2px; }
.review-text { color: var(--clr-muted); font-size: .9rem; line-height: 1.55; }

/* ── FAQ ──────────────────────────────────────────── */
.faq-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  transition: background .2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: var(--clr-bg2); }
.faq-question .faq-icon { color: var(--clr-accent1); font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 18px;
  color: var(--clr-muted);
  font-size: .92rem;
  line-height: 1.6;
}

/* ── Screenshots ──────────────────────────────────── */
.screenshots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  aspect-ratio: 16/10;
  background: var(--clr-card);
  box-shadow: var(--shadow);
}
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── CTA Banner ───────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(122,17,48,.14), rgba(201,151,47,.16));
  border: 1px solid rgba(122,17,48,.28);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: var(--clr-muted); margin-bottom: 26px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Steps ────────────────────────────────────────── */
.step-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.step-list li { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--clr-accent1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; color: #fff;
  margin-top: 2px;
}
.step-text { font-size: .93rem; }
.step-text strong { display: block; margin-bottom: 2px; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--clr-bg2);
  border-top: 1px solid var(--clr-border);
  padding: 44px 0 26px;
  margin-top: 70px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand p { color: var(--clr-muted); font-size: .88rem; margin-top: 10px; max-width: 280px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: #a9791b; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col a { display: block; color: var(--clr-muted); font-size: .88rem; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--clr-text); }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 22px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-legal { font-size: .78rem; color: var(--clr-muted); max-width: 640px; line-height: 1.55; }
.responsible-logos { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.resp-logo {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .7rem; font-weight: 700;
  color: var(--clr-muted);
}

/* ── Breadcrumb ───────────────────────────────────── */
.breadcrumb { display: flex; gap: 8px; align-items: center; padding: 14px 0; font-size: .82rem; color: var(--clr-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--clr-muted); }
.breadcrumb a:hover { color: var(--clr-text); }
.breadcrumb .sep { color: var(--clr-border); }
.breadcrumb .current { color: var(--clr-text); }

/* ── Sticky CTA bar (mobile) ──────────────────────── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--clr-card);
  border-top: 1px solid var(--clr-border);
  padding: 12px 20px;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(36,18,20,.10);
}

/* ── Utilities ────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--clr-muted); }
.text-accent { color: var(--clr-accent1); }
.text-gold   { color: #a9791b; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--clr-border); margin: 32px 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 700; }
.badge-green { background: rgba(28,26,31,.1); color: #1c1a1f; }
.badge-gold  { background: rgba(201,151,47,.2); color: #a9791b; }
.badge-pink  { background: rgba(122,17,48,.16); color: #7a1130; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner, .pros-cons-grid, .grid-2, .grid-3, .specs-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: var(--clr-card); padding: 16px; border-bottom: 1px solid var(--clr-border); z-index: 99; }
  .burger { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
  .paytable { font-size: .82rem; }
}

@media (max-width: 480px) {
  .screenshots-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 32px 0; }
  section { padding: 36px 0; }
  .cta-banner { padding: 30px 18px; }
}

/* language switch — compact dropdown */
.lang-switch{position:relative;margin:0 8px 0 4px}
.lang-switch>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:5px;padding:6px 10px;border-radius:8px;border:1px solid var(--clr-border);color:var(--clr-text);font-size:.78rem;font-weight:800;letter-spacing:.5px;line-height:1;user-select:none;white-space:nowrap}
.lang-switch>summary::-webkit-details-marker{display:none}
.lang-switch>summary::after{content:"\25BE";font-size:.7rem;opacity:.65}
.lang-switch>summary:hover,.lang-switch[open]>summary{border-color:#7a1130;color:#7a1130}
.lang-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:150px;background:var(--clr-card);border:1px solid var(--clr-border);border-radius:10px;padding:6px;display:flex;flex-direction:column;gap:2px;box-shadow:0 12px 32px rgba(0,0,0,.15);z-index:120}
.lang-menu a{padding:8px 12px;border-radius:7px;color:var(--clr-text);text-decoration:none;font-size:.85rem;font-weight:600;white-space:nowrap}
.lang-menu a:hover{background:var(--clr-bg2)}
.lang-menu a.active{background:#7a1130;color:#fff}
