/* =========================================================================
   Lucky Birds (BGaming) — static landing bundle
   Prefix: .lb-
   Visual DNA: 8-bit pixel-art Flappy Bird homage, bright daytime sky,
   green pipes, three risk-coded birds (red/yellow/blue).
   ========================================================================= */

:root {
  /* Bird colors — confirmed official (bgaming.com text + pixel-sampling) */
  --lb-bird-red:      #FF2F00;
  --lb-bird-yellow:   #FFBD41;
  --lb-bird-blue:     #0128FF;

  /* Sky & environment */
  --lb-sky:           #19C6FF;
  --lb-sky-light:     #9CE5FF;
  --lb-field-mid:     #85BF13;
  --lb-field-light:   #93CB1F;
  --lb-ground-dark:   #192B15;
  --lb-cashout-green: #0E7E34;

  /* UI / effects */
  --lb-gold-multiplier:   #FFD806;
  --lb-gold-multiplier-2: #FF9D03;
  --lb-crash-orange:  #FF7A1A;
  --lb-white-outline: #FFFFFF;
  --lb-pixel-black:   #1A1A1A;

  /* Flight path panel */
  --lb-flight-bg: #0F1E10;

  /* Text / surface neutrals */
  --lb-ink:      #16221A;
  --lb-ink-soft: #47543E;
  --lb-paper:    #FFFFFF;
  --lb-paper-alt: #F4FBF6;
  --lb-border:   #D8E9DC;
  --lb-max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  color: var(--lb-ink);
  background: var(--lb-paper);
  line-height: 1.55;
}

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

a { color: var(--lb-cashout-green); text-decoration: underline; }
a:hover { text-decoration: none; }

h1, h2, h3 { font-family: "Segoe UI", Verdana, Arial, sans-serif; line-height: 1.2; color: var(--lb-ink); }

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

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

/* =========================================================================
   Header / Nav / Burger / Language dropdown
   ========================================================================= */

.lb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lb-paper);
  border-bottom: 3px solid var(--lb-pixel-black);
  overflow: visible;
}

.lb-burger-toggle { position: absolute; opacity: 0; pointer-events: none; }

.lb-header-inner {
  max-width: var(--lb-max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lb-brand {
  font-weight: 900;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--lb-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.lb-brand:hover { text-decoration: none; color: var(--lb-cashout-green); }
.lb-brand-dot {
  width: 12px; height: 12px;
  background: var(--lb-bird-yellow);
  border: 2px solid var(--lb-pixel-black);
  display: inline-block;
}

.lb-nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.lb-nav-desktop a {
  color: var(--lb-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.lb-nav-desktop a:hover { color: var(--lb-cashout-green); }

.lb-burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 30px; height: 30px;
  cursor: pointer;
}
.lb-burger-btn span {
  display: block;
  height: 3px;
  background: var(--lb-pixel-black);
  border-radius: 1px;
}

/* Lang selector — details/summary, no JS */
.lb-lang-details { position: relative; }
.lb-lang-details summary {
  list-style: none;
  cursor: pointer;
  border: 2px solid var(--lb-pixel-black);
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--lb-sky-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lb-lang-details summary::-webkit-details-marker { display: none; }
.lb-lang-details summary::after { content: "▾"; font-size: 0.7rem; }
.lb-lang-details[open] summary::after { content: "▴"; }

.lb-lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--lb-paper);
  border: 3px solid var(--lb-pixel-black);
  box-shadow: 5px 5px 0 var(--lb-pixel-black);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 4px;
  min-width: 220px;
  max-height: 60vh;
  overflow-y: auto;
}
.lb-lang-dropdown a {
  display: block;
  padding: 6px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--lb-ink);
  border-radius: 2px;
}
.lb-lang-dropdown a:hover { background: var(--lb-sky-light); }
.lb-lang-dropdown a.lb-lang-active {
  background: var(--lb-bird-yellow);
  color: var(--lb-pixel-black);
}

.lb-mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--lb-paper-alt);
  border-top: 3px solid var(--lb-pixel-black);
  padding: 14px 20px 20px;
}
.lb-mobile-drawer a {
  padding: 10px 4px;
  color: var(--lb-ink);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--lb-border);
}
.lb-mobile-lang-title {
  margin-top: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lb-ink-soft);
  font-weight: 700;
}
.lb-mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.lb-mobile-lang-grid a {
  border: 2px solid var(--lb-pixel-black);
  text-align: center;
  padding: 8px 4px;
  font-size: 0.82rem;
  font-weight: 700;
}
.lb-mobile-lang-grid a.lb-lang-active { background: var(--lb-bird-yellow); }

.lb-burger-toggle:checked ~ .lb-mobile-drawer { display: flex; }

@media (max-width: 860px) {
  .lb-nav-desktop { display: none; }
  .lb-lang-details { display: none; }
  .lb-burger-btn { display: flex; }
}

/* =========================================================================
   Hero
   ========================================================================= */

.lb-hero {
  background: linear-gradient(180deg, var(--lb-sky) 0%, var(--lb-sky-light) 100%);
  position: relative;
  overflow: hidden;
}
.lb-hero-grid {
  max-width: var(--lb-max-width);
  margin: 0 auto;
  padding: 44px 20px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.lb-hero-copy h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin: 0 0 14px;
  font-weight: 900;
}
.lb-hero-copy p { font-size: 1.02rem; color: var(--lb-ink); }
.lb-hero-disambig {
  display: inline-block;
  background: rgba(255,255,255,0.85);
  border: 2px dashed var(--lb-pixel-black);
  padding: 8px 12px;
  font-size: 0.85rem;
  margin: 10px 0 16px;
}
.lb-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.lb-hero-chip {
  background: var(--lb-pixel-black);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
}
.lb-hero-cta {
  display: inline-block;
  background: var(--lb-cashout-green);
  color: #fff;
  font-weight: 800;
  padding: 12px 22px;
  text-decoration: none;
  border: 3px solid var(--lb-pixel-black);
  box-shadow: 4px 4px 0 var(--lb-pixel-black);
  margin-top: 6px;
}
.lb-hero-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--lb-pixel-black); text-decoration: none; }

.lb-hero-picture { position: relative; }
.lb-hero-img {
  width: 100%;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
  object-position: center 40%;
  border: 4px solid var(--lb-pixel-black);
}

.lb-ground-stripe {
  height: 22px;
  background: repeating-linear-gradient(
    115deg,
    var(--lb-ground-dark) 0 18px,
    #22381d 18px 36px
  );
  border-top: 3px solid var(--lb-pixel-black);
  border-bottom: 3px solid var(--lb-pixel-black);
}

@media (max-width: 767px) {
  .lb-hero-grid { grid-template-columns: 1fr; padding-top: 28px; }
  .lb-hero-img {
    aspect-ratio: 16 / 9;
    object-position: center 44%;
  }
  .lb-hero-picture { order: -1; }
}

/* =========================================================================
   Generic panel system: .lb-panel, .lb-panel--sky/--dark/--split/--alt
   ========================================================================= */

.lb-panel { padding: 52px 0; }
.lb-panel--sky { background: linear-gradient(180deg, var(--lb-sky-light) 0%, #EAF9FF 100%); }
.lb-panel--alt { background: var(--lb-paper-alt); }
.lb-panel--dark { background: var(--lb-flight-bg); color: #fff; }
.lb-panel--split { padding: 0; }

.lb-h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 900;
  margin: 0 0 10px;
  text-align: center;
}
.lb-panel--dark .lb-h2 { color: #fff; }
.lb-lede {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--lb-ink-soft);
}
.lb-panel--dark .lb-lede { color: rgba(255,255,255,0.75); }

/* Quick specs (Block 2) */
.lb-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--lb-max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.lb-spec-card {
  background: var(--lb-paper);
  border: 3px solid var(--lb-pixel-black);
  box-shadow: 4px 4px 0 var(--lb-pixel-black);
  padding: 14px 12px;
  text-align: center;
}
.lb-spec-card dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lb-ink-soft);
  margin-bottom: 4px;
}
.lb-spec-card dd { margin: 0; font-weight: 800; font-size: 1.05rem; }
.lb-specs-note {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--lb-ink-soft);
  padding: 0 20px;
}
@media (max-width: 700px) {
  .lb-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* How to Play — vertical zig-zag timeline (Block 3) */
.lb-timeline {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.lb-timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}
.lb-timeline-step:nth-child(even) { margin-left: 32px; }
.lb-timeline-num {
  width: 56px; height: 56px;
  background: var(--lb-gold-multiplier);
  border: 3px solid var(--lb-pixel-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.lb-timeline-body {
  background: var(--lb-paper);
  border: 2px solid var(--lb-border);
  border-left: 4px solid var(--lb-cashout-green);
  padding: 12px 16px;
}
.lb-timeline-body p { margin: 0; }
.lb-howto-explainer { max-width: 720px; margin: 0 auto 30px; padding: 0 20px; }
.lb-howto-note {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 14px 18px;
  background: #FFF7E0;
  border: 2px dashed var(--lb-pixel-black);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .lb-timeline-step, .lb-timeline-step:nth-child(even) { margin-left: 0; grid-template-columns: 44px 1fr; }
  .lb-timeline-num { width: 44px; height: 44px; font-size: 1.05rem; }
}

/* Crash / Win showcase (bonus visual, no generation) */
.lb-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.lb-showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
}
.lb-showcase-card--crash { background: var(--lb-ground-dark); }
.lb-showcase-card--win { background: linear-gradient(180deg, #FFF4D6 0%, #FFE9A8 100%); }
.lb-showcase-visual { animation: lb-showcase-pop 0.6s ease-out; }
@keyframes lb-showcase-pop {
  0%   { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
.lb-showcase-label { font-size: 1.35rem; font-weight: 900; letter-spacing: 0.03em; margin: 0; }
.lb-showcase-label--crash { color: var(--lb-crash-orange); }
.lb-showcase-label--win { color: var(--lb-gold-multiplier-2); }
.lb-showcase-multiplier { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0; }
.lb-showcase-multiplier--win { color: var(--lb-pixel-black); }
.lb-showcase-caption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--lb-ink-soft);
  padding: 10px 20px 0;
}
@media (max-width: 640px) { .lb-showcase-grid { grid-template-columns: 1fr; } }

/* Pick Your Bird (Block 4) */
.lb-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 640px) { .lb-pick-grid { grid-template-columns: 1fr; } }

.lb-pick-card {
  background: #FFFFFF;
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 4px solid var(--lb-pixel-black);
  box-shadow: 6px 6px 0 var(--lb-pixel-black);
}
.lb-pick-card--red    { box-shadow: 6px 6px 0 var(--lb-bird-red); }
.lb-pick-card--yellow { box-shadow: 6px 6px 0 var(--lb-bird-yellow); }
.lb-pick-card--blue   { box-shadow: 6px 6px 0 var(--lb-bird-blue); }

.lb-pick-visual { width: 80px; height: 60px; display: flex; align-items: center; justify-content: center; }
.lb-pick-name { font-weight: 800; font-size: 1rem; }
.lb-pick-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--lb-pixel-black);
}
.lb-pick-badge--red    { background: var(--lb-bird-red); }
.lb-pick-badge--yellow { background: var(--lb-bird-yellow); color: var(--lb-pixel-black); }
.lb-pick-badge--blue   { background: var(--lb-bird-blue); }
.lb-pick-note { font-size: 0.75rem; color: var(--lb-ink-soft); line-height: 1.4; margin: 0; }

.lb-bird-sprite { image-rendering: pixelated; flex-shrink: 0; }
.lb-bird-sprite--red    .lb-bird-body { fill: var(--lb-bird-red); }
.lb-bird-sprite--yellow .lb-bird-body { fill: var(--lb-bird-yellow); }
.lb-bird-sprite--blue   .lb-bird-body { fill: var(--lb-bird-blue); }

/* Flight path (Block 5) */
.lb-flight-wrap { max-width: 420px; margin: 0 auto; padding: 0 20px; }
.lb-flight-svg { width: 100%; height: auto; }
.lb-flight-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 18px auto 0;
  padding: 0 20px;
  line-height: 1.5;
}
.lb-maxwin-copy {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0 20px;
  color: rgba(255,255,255,0.9);
}
.lb-maxwin-copy p { margin: 0 0 10px; }
.lb-maxwin-copy strong { color: var(--lb-gold-multiplier); }

/* Full specs table (Block 6) */
.lb-fullspecs-wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; overflow-x: auto; }
.lb-fullspecs-table { border-collapse: collapse; width: 100%; min-width: 420px; }
.lb-fullspecs-table th, .lb-fullspecs-table td {
  border: 1px solid var(--lb-border);
  padding: 10px 14px;
  text-align: left;
  font-size: 0.92rem;
}
.lb-fullspecs-table th { width: 45%; background: var(--lb-paper-alt); }
.lb-fullspecs-foot {
  max-width: 720px; margin: 16px auto 0; padding: 0 20px;
  font-size: 0.85rem; color: var(--lb-ink-soft);
}

/* Strategy tips (Block 7) */
.lb-tips-list {
  max-width: 720px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.lb-tip-card {
  background: var(--lb-paper);
  border: 2px solid var(--lb-border);
  border-left: 5px solid var(--lb-bird-yellow);
  padding: 14px 18px;
}
.lb-tip-card p { margin: 0; }
.lb-tips-disclaimer {
  max-width: 720px; margin: 20px auto 0; padding: 0 20px;
  font-size: 0.85rem; color: var(--lb-ink-soft); font-style: italic;
}

/* Disambiguation (Block 8) */
.lb-disambig-wrap { max-width: var(--lb-max-width); margin: 0 auto; padding: 0 20px; }
.lb-disambig-tablewrap { overflow-x: auto; margin: 24px 0; border: 3px solid var(--lb-pixel-black); }
.lb-disambig-table { border-collapse: collapse; width: 100%; min-width: 620px; }
.lb-disambig-table caption { caption-side: top; padding: 8px; }
.lb-disambig-table th, .lb-disambig-table td {
  border: 1px solid var(--lb-border);
  padding: 10px 12px;
  text-align: left;
  font-size: 0.85rem;
  vertical-align: top;
}
.lb-disambig-table thead th { background: var(--lb-ground-dark); color: #fff; }
.lb-disambig-table td:first-child, .lb-disambig-table th:first-child { font-weight: 700; background: var(--lb-paper-alt); }
.lb-disambig-table tbody td.lb-disambig-this { background: #FFF7E0; font-weight: 600; }
.lb-disambig-copy { max-width: 760px; margin: 0 auto; }
.lb-disambig-copy p { margin: 0 0 14px; }
.lb-disambig-copy p:last-child { margin-bottom: 0; }

/* Demo (Block 9) */
.lb-demo-box {
  max-width: 640px; margin: 0 auto; padding: 26px 24px;
  background: var(--lb-paper);
  border: 3px dashed var(--lb-pixel-black);
  text-align: center;
}
.lb-demo-box p { margin: 0 0 10px; }
.lb-demo-cta {
  display: inline-block; margin-top: 6px;
  font-weight: 800; padding: 10px 20px;
  border: 3px solid var(--lb-pixel-black);
  background: var(--lb-bird-yellow);
  color: var(--lb-pixel-black);
  text-decoration: none;
}

/* Where to play (Block 10) */
.lb-operators-copy { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.lb-operators-copy p { margin: 0 0 14px; }
.lb-operators-cta {
  display: inline-block; margin-top: 6px;
  font-weight: 800; padding: 12px 22px;
  border: 3px solid #fff;
  background: var(--lb-cashout-green);
  color: #fff;
  text-decoration: none;
}
.lb-operators-cta:hover { text-decoration: none; opacity: 0.9; }

/* FAQ (Block 11) */
.lb-faq-list { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.lb-faq-item {
  border: 1px solid var(--lb-border);
  border-radius: 0;
  margin-bottom: 10px;
  padding: 4px 16px;
  background: var(--lb-paper);
}
.lb-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.lb-faq-item summary::-webkit-details-marker { display: none; }
.lb-faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 10px;
  font-size: 1.3rem; font-weight: 900;
}
.lb-faq-item[open] summary::after { content: "–"; }
.lb-faq-item p { margin: 0 0 14px; color: var(--lb-ink-soft); }

/* Responsible Gambling (Block 12) */
.lb-rg-box {
  max-width: 760px; margin: 0 auto; padding: 0 20px;
}
.lb-rg-box p { margin: 0 0 12px; }
.lb-rg-helplines {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.lb-rg-helplines li {
  border: 2px solid var(--lb-pixel-black);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--lb-paper-alt);
}

/* About provider (Block 13) */
.lb-about-copy { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.lb-about-copy p { margin: 0 0 14px; }

/* Footer (Block 14) */
.lb-footer {
  background: var(--lb-ground-dark);
  color: #E7F3E9;
  padding: 40px 0 24px;
}
.lb-footer-inner {
  max-width: var(--lb-max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.lb-footer-brand { font-weight: 900; font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.lb-footer p { margin: 0 0 10px; font-size: 0.85rem; color: #C4D6C8; }
.lb-footer a { color: #BFE8C8; }
.lb-footer-meta { font-size: 0.78rem; color: #8CA48F; margin-top: 18px; }

.lb-footer-lang { margin: 18px 0; }
.lb-footer-lang-title {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: #8CA48F; margin-bottom: 8px; font-weight: 700;
}
.lb-footer-lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}
.lb-footer-lang-grid a {
  display: block; text-align: center;
  border: 1px solid #3A4F3D;
  padding: 6px 4px;
  font-size: 0.78rem;
  text-decoration: none;
  color: #E7F3E9;
}
.lb-footer-lang-grid a.lb-lang-active { background: var(--lb-bird-yellow); color: var(--lb-pixel-black); border-color: var(--lb-pixel-black); font-weight: 700; }
.lb-footer-lang-grid a:hover { background: #24392a; }

.lb-footer-rg { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
