/* casino.css — reskin to the supplied design system (light/neutral + emerald + amber),
   reimplemented as real CSS on the static multi-page site (no React/Tailwind/SPA).
   Layered over the existing bootstrap/theme CSS. Class names match scripts/sitelib.py. */
:root{
  --lec-bg:#f9fafb;          /* page */
  --lec-card:#ffffff;
  --lec-ink:#171717;         /* neutral-900 */
  --lec-ink2:#0a0a0a;        /* neutral-950 (buttons) */
  --lec-muted:#737373;       /* neutral-500 */
  --lec-line:#e5e5e5;        /* neutral-200 */
  --lec-line2:#f0f0f0;
  --lec-emerald:#047857;     /* emerald-700 */
  --lec-emerald-dark:#065f46;
  --lec-emerald-bg:#ecfdf5;  /* emerald-50 */
  --lec-emerald-bd:#d1fae5;  /* emerald-100 */
  --lec-amber:#f59e0b;
  --lec-red:#991b1b;
}
body.lec{background:var(--lec-bg);color:#262626;-webkit-font-smoothing:antialiased;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6}
.lec a{color:var(--lec-emerald-dark)}
.lec-wrap{max-width:1120px;margin:0 auto;padding:0 16px}
.lec h1,.lec h2,.lec h3{color:var(--lec-ink);line-height:1.25}
.lec h2{font-size:1.55rem;font-weight:800;letter-spacing:-.01em;margin:2.2rem 0 1rem}
.lec h3{font-size:1.18rem;font-weight:700;margin:1.3rem 0 .55rem}
.lec p,.lec li{font-size:1.01rem;color:#3f3f46}
main.lec-wrap{padding-top:1.6rem;padding-bottom:2rem}

/* ---- nav (kept dark, sticky) ---- */
.lec-nav{background:var(--lec-ink2);position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(15,23,42,.25)}
.lec-nav .lec-wrap{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-height:62px;max-width:1240px}
.lec-nav ul{display:flex;flex-wrap:wrap;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.lec-nav li{display:flex;align-items:center}
.lec-nav ul a,.lec-nav .drop-toggle{display:inline-flex;align-items:center;line-height:1;height:38px}
.lec-nav a{color:#e7ecf2;text-decoration:none;padding:.55rem .7rem;font-size:.92rem;font-weight:600;border-radius:6px}
.lec-nav a:hover{background:rgba(255,255,255,.1);color:#fff}
.lec-logo-link{display:inline-flex;align-items:center}
.lec-site-logo{height:42px;width:auto;display:block}
.lec-navcheck{display:none}
.lec-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:40px;margin-left:auto;cursor:pointer;border-radius:8px}
.lec-burger span{display:block;width:25px;height:2px;background:#fff;border-radius:2px;transition:transform .25s,opacity .2s;margin:0 auto}
.lec-nav .has-drop{position:relative}
.lec-nav .drop-toggle{background:none;border:0;color:#e7ecf2;font:inherit;font-size:.92rem;font-weight:600;padding:.55rem .7rem;border-radius:6px;cursor:pointer;gap:.3rem}
.lec-nav .drop-toggle .caret{font-size:.66rem;opacity:.85}
.lec-nav .has-drop:hover .drop-toggle,.lec-nav .has-drop:focus-within .drop-toggle{background:rgba(255,255,255,.1);color:#fff}
.lec-nav .lec-drop{display:none;position:absolute;top:100%;left:0;min-width:230px;background:#fff;border:1px solid var(--lec-line);border-radius:10px;box-shadow:0 10px 28px rgba(15,23,42,.18);padding:.3rem;margin:.2rem 0 0;list-style:none;z-index:60}
.lec-nav .has-drop:hover .lec-drop,.lec-nav .has-drop:focus-within .lec-drop{display:block}
.lec-nav .lec-drop a{display:block;color:var(--lec-ink);padding:.5rem .7rem;border-radius:6px;font-weight:500;font-size:.9rem;height:auto}
.lec-nav .lec-drop a:hover{background:var(--lec-bg);color:var(--lec-emerald-dark)}

/* ---- hero (light, centred) ---- */
.lec-hero{background:transparent;padding:1.8rem 0 .4rem}
.lec-hero .lec-wrap{max-width:820px;text-align:center}
.lec-hero h1{color:var(--lec-ink);font-size:2.1rem;font-weight:800;letter-spacing:-.02em;margin:0 0 .6rem}
.lec-hero p{color:var(--lec-muted);font-weight:500;margin:0 auto;max-width:660px}
.lec-byline{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5rem;color:var(--lec-muted);font-size:.85rem;margin:.7rem 0 0}
.lec-byline span{text-align:left}
.lec-byline-img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 auto;box-shadow:0 1px 4px rgba(20,30,50,.18)}
.lec-byline a{color:var(--lec-emerald-dark);text-decoration:none;font-weight:600}
.lec-upd{display:inline-block;margin-top:.6rem;font-size:.72rem;font-weight:700;letter-spacing:.02em;color:var(--lec-emerald-dark);background:var(--lec-emerald-bg);border:1px solid var(--lec-emerald-bd);padding:.24rem .65rem;border-radius:999px}
/* homepage hero: hero image as background with an opaque dark overlay, white text */
.lec-home .lec-hero{background:linear-gradient(rgba(8,12,20,.72),rgba(8,12,20,.86)),url('/assets/hero.webp') center/cover no-repeat;padding:2.9rem 0}
.lec-home .lec-hero h1{color:#fff}
.lec-home .lec-hero p{color:#e8edf2}
.lec-home .lec-byline{color:#e8edf2}
.lec-home .lec-byline a{color:#fff}
.lec-home .lec-upd{color:#fff;background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.32)}

/* trust banner (emerald) — honest copy, no false SRIJ claim */
.lec-trust{max-width:820px;margin:1.1rem auto 0;background:var(--lec-emerald-bg);border:1px solid var(--lec-emerald-bd);
  border-radius:10px;padding:.85rem 1rem;display:flex;gap:.6rem;align-items:flex-start}
.lec-trust .ico{flex:0 0 auto;font-size:1.05rem;line-height:1.3}
.lec-trust p{margin:0;font-size:.82rem;font-weight:600;color:#065f46;line-height:1.5}

/* breadcrumb */
.lec-crumb{background:transparent;font-size:.82rem;color:var(--lec-muted)}
.lec-crumb .lec-wrap{padding:.6rem 16px 0}
.lec-crumb a{color:var(--lec-emerald-dark);text-decoration:none}

/* ---- section head + filter pills ---- */
.lec-sectionhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem;
  border-bottom:1px solid #ededed;padding-bottom:.7rem;margin:1.6rem 0 1.1rem}
.lec-sectionhead h2{margin:0;font-size:1.5rem;font-weight:900}
.lec-filters{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.lec-filters .lbl{font-size:.62rem;text-transform:uppercase;font-weight:800;letter-spacing:.06em;color:#a3a3a3;margin-right:.2rem}
.lec-pill{padding:.32rem .7rem;font-size:.7rem;font-weight:700;border-radius:7px;border:1px solid var(--lec-line);
  background:#fff;color:#525252;cursor:pointer;transition:.15s}
.lec-pill:hover{background:#fafafa}
.lec-pill.is-active{background:var(--lec-ink2);color:#fff;border-color:var(--lec-ink2)}

/* ---- casino card ---- */
.lec-toplist{display:flex;flex-direction:column;gap:14px;margin:1.1rem 0}
.lec-card{display:grid;grid-template-columns:44px 1fr 244px;align-items:center;gap:18px;background:var(--lec-card);
  border:1px solid var(--lec-line);border-radius:14px;padding:18px 20px;box-shadow:0 1px 2px rgba(16,24,40,.05);transition:.15s}
.lec-card:hover{box-shadow:0 6px 22px rgba(16,24,40,.09);border-color:#dcdcdc}
.lec-card.is-top{border-color:var(--lec-emerald-bd);box-shadow:0 4px 18px rgba(4,120,87,.10)}
.rank-badge{width:34px;height:34px;border-radius:9px;background:#f5f5f5;color:#525252;font-weight:800;
  display:flex;align-items:center;justify-content:center;font-size:1rem;border:1px solid var(--lec-line)}
.lec-card.is-top .rank-badge{background:var(--lec-emerald);color:#fff;border-color:var(--lec-emerald)}
/* uniform logo box — every brand logo sits in the SAME size box, contained + centred */
.lec-chip{width:148px;height:74px;object-fit:contain;border-radius:10px;padding:9px 12px;flex:0 0 auto;box-sizing:border-box}
/* uniform gray box for every logo */
.lec-chip.box-dark,.lec-chip-sm.box-dark,.lec-chip.box-light,.lec-chip-sm.box-light{background:#e9ecef;border:1px solid #dce0e4}
.lec-cell-mid{display:flex;align-items:center;gap:12px;min-width:0}
.lec-cell-txt{min-width:0}
.lec-brand{font-weight:800;font-size:1.12rem;margin:0 0 .2rem;color:var(--lec-ink)}
.lec-feat{margin:0 0 .35rem;color:#525252;font-size:.92rem}
.lec-bonus-label{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:#8a8a8a;margin-bottom:.05rem}
.lec-bonus-val{display:block;font-family:'Baloo 2',system-ui,-apple-system,sans-serif;font-size:1.7rem;font-weight:800;line-height:1.1;color:var(--lec-emerald-dark);letter-spacing:-.01em}
.lec-rating{font-size:.86rem;color:#525252;font-weight:600;margin:0}
.lec-rating .star{color:var(--lec-amber)}
.lec .cta-btn{display:block;background:linear-gradient(135deg,#10b981 0%,#047857 100%);color:#fff !important;
  font-weight:800;text-decoration:none;text-align:center;padding:.9rem .7rem;border-radius:12px;width:100%;font-size:.94rem;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  letter-spacing:.005em;text-shadow:0 1px 2px rgba(0,0,0,.3);transition:transform .18s,box-shadow .18s;
  box-shadow:0 4px 16px rgba(5,150,105,.45),inset 0 1px 0 rgba(255,255,255,.25);animation:lec-glow 2.4s ease-in-out infinite}
.lec .cta-btn:hover,.lec .cta-btn:focus{transform:translateY(-1px);color:#fff !important;
  box-shadow:0 8px 28px rgba(16,185,129,.65),inset 0 1px 0 rgba(255,255,255,.3)}
@keyframes lec-glow{0%,100%{box-shadow:0 4px 16px rgba(5,150,105,.4),inset 0 1px 0 rgba(255,255,255,.25)}
  50%{box-shadow:0 4px 24px rgba(16,185,129,.75),inset 0 1px 0 rgba(255,255,255,.3)}}
@media(prefers-reduced-motion:reduce){.lec .cta-btn{animation:none}}
.cta-secondary{display:block;text-align:center;margin-top:.45rem;font-size:.8rem;font-weight:700;color:#525252;
  text-decoration:none}
.cta-secondary:hover{color:var(--lec-ink)}
.cta-note{display:block;text-align:center;font-size:.72rem;color:#a3a3a3;margin-top:.4rem}

/* comparison table */
.cmp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.1rem 0;border:1px solid var(--lec-line);border-radius:12px}
.cmp-table{width:100%;min-width:680px;border-collapse:collapse;margin:0;font-size:.95rem;background:#fff}
.cmp-table th,.cmp-table td{border-bottom:1px solid var(--lec-line);padding:.7rem .8rem;text-align:left}
.cmp-table thead th{background:#fafafa;color:#404040;font-weight:800;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em}
.cmp-table tbody tr:hover{background:#fafafa}
.lec-chip-sm{width:66px;height:34px;object-fit:contain;vertical-align:middle;border-radius:6px;padding:3px 5px;margin-right:.4rem;box-sizing:border-box}

/* per-operator review block */
.lec-review{background:#fff;border:1px solid var(--lec-line);border-radius:14px;padding:20px 22px;margin:1rem 0}
.lec-review-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:.4rem}
.lec-review-head .lec-chip{width:168px;height:84px}
.lec-facts{background:var(--lec-emerald-bg);border:1px solid var(--lec-emerald-bd);border-radius:8px;padding:.55rem .8rem;font-size:.88rem;color:#065f46;margin:.6rem 0}
.lec-review .cta-btn{max-width:280px}

/* topic touches + faq */
.topic-touch{background:#fff;border:1px solid var(--lec-line);border-left:4px solid var(--lec-emerald);border-radius:10px;padding:14px 16px;margin:.8rem 0}
.faq-item{border-bottom:1px solid var(--lec-line);padding:1rem 0}
.faq-item h3{margin:.1rem 0 .4rem;font-size:1.06rem}

/* bottom CTA card (amber sparkle) */
.lec-bottomcta{background:#fff;border:1px solid var(--lec-line);border-radius:14px;padding:20px 22px;margin:1.6rem 0;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.lec-bottomcta h3{margin:0 0 .2rem;font-size:1rem;font-weight:800}
.lec-bottomcta p{margin:0;font-size:.86rem;color:var(--lec-muted)}
.lec-bottomcta .spark{color:var(--lec-amber)}
.lec-bottomcta a{background:var(--lec-ink2);color:#fff;font-weight:800;text-decoration:none;padding:.7rem 1.1rem;border-radius:10px;font-size:.85rem;white-space:nowrap}
.lec-bottomcta a:hover{background:#262626}

/* hero manchete banner */
.lec-herobanner{margin:.2rem 0 1.3rem;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(16,24,40,.12)}
.lec-herobanner img{display:block;width:100%;height:auto}

/* #1 pick featured card */
.lec-pick{background:#ffffff;border:2px solid var(--lec-emerald);border-radius:16px;
  padding:18px 20px;margin:1.1rem 0;display:grid;grid-template-columns:1fr 244px;gap:18px;align-items:center;
  box-shadow:0 10px 30px rgba(4,40,28,.28)}
.lec-pick-tag{display:inline-block;background:var(--lec-emerald);color:#fff;font-weight:800;font-size:.74rem;
  padding:.26rem .7rem;border-radius:999px;letter-spacing:.03em}
.lec-pick-body{display:flex;align-items:center;gap:14px;margin-top:.65rem}
.lec-pick-brand{font-weight:800;font-size:1.18rem;margin:0 0 .12rem;color:var(--lec-ink)}
.lec-pick-text{margin:0;color:#3f3f46;font-size:.96rem;line-height:1.5}
/* pick seated inside the hero (instant visibility on landing) */
.lec-hero .lec-pick{margin:1.3rem auto 0;text-align:left;max-width:760px}
/* keep pick text dark/readable even inside the dark homepage hero (beats .lec-home .lec-hero p) */
.lec-hero .lec-pick .lec-pick-brand{color:#171717}
.lec-hero .lec-pick .lec-pick-text{color:#3f3f46}
.lec-hero .lec-pick .lec-pick-tag{color:#fff}

/* operator screenshot inside a review */
.op-shot{margin:.7rem 0;border:1px solid var(--lec-line);border-radius:12px;overflow:hidden;background:#fff}
.op-shot img{display:block;width:100%;height:auto;max-height:430px;object-fit:cover;object-position:top}
.op-shot figcaption{font-size:.78rem;color:var(--lec-muted);padding:.45rem .7rem;background:#fafafa}

/* author pages */
.lec-author-portrait{width:124px;height:124px;border-radius:50%;display:block;margin:0 0 1rem;box-shadow:0 3px 12px rgba(20,30,50,.12)}
.lec-author-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:1.2rem 0}
.lec-author-card{background:#fff;border:1px solid var(--lec-line);border-radius:14px;padding:18px;display:flex;gap:14px;align-items:center}
.lec-author-card img{width:72px;height:72px;border-radius:50%;flex:0 0 auto}
.lec-author-card h3{margin:.1rem 0 .2rem;font-size:1.08rem}
.lec-author-card p{margin:0;color:var(--lec-muted);font-size:.9rem}

/* ---- footer (dark) ---- */
.lec-foot{background:var(--lec-ink2);color:#a3a3a3;margin-top:2.5rem;padding:2.2rem 0 1.3rem}
.lec-foot a{color:#d4d4d4;text-decoration:none}
.lec-foot a:hover{color:#fff;text-decoration:underline}
.lec-foot .lec-foot-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.lec-foot h4{color:#fff;font-size:.92rem;margin:0 0 .6rem}
.lec-foot ul{list-style:none;margin:0;padding:0}
.lec-foot li{margin:.28rem 0;font-size:.9rem}
.lec-foot-base{border-top:1px solid rgba(255,255,255,.1);margin-top:1.5rem;padding-top:1rem;font-size:.82rem;color:#8a8a8a}
.lec-18{display:inline-block;border:2px solid #c44;color:#f3b0b0;border-radius:50%;width:34px;height:34px;line-height:30px;text-align:center;font-weight:700;margin-right:.5rem}

/* ---- responsive ---- */
@media(max-width:860px){
  .lec-card{grid-template-columns:40px 1fr;grid-template-areas:"r mid" "cta cta";gap:12px}
  .lec-card .rank-badge{grid-area:r}
  .lec-card .lec-cell-mid{grid-area:mid}
  .lec-card .lec-cell-cta{grid-area:cta;margin-top:.5rem}
  .lec-chip{width:120px;height:62px;padding:7px 9px}
  .lec-review-head .lec-chip{width:140px;height:70px}
  .lec-bonus-val{font-size:1.4rem}
  .lec-pick{grid-template-columns:1fr}
  .lec-hero h1{font-size:1.7rem}
  .lec h2{font-size:1.35rem}
  .lec-sectionhead{align-items:flex-start}
  .lec-foot .lec-foot-cols{grid-template-columns:1fr 1fr}
  .lec-burger{display:flex}
  .lec-nav ul{display:none;order:3;width:100%;flex-direction:column}
  .lec-navcheck:checked ~ ul{display:flex}
  .lec-navcheck:checked ~ .lec-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .lec-navcheck:checked ~ .lec-burger span:nth-child(2){opacity:0}
  .lec-navcheck:checked ~ .lec-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .lec-nav .has-drop{width:100%}
  .lec-nav .drop-toggle{width:100%;justify-content:space-between}
  .lec-nav .lec-drop{position:static;box-shadow:none;border:0;min-width:0;width:100%;background:rgba(255,255,255,.06);margin:.15rem 0 .3rem}
  .lec-nav .lec-drop a{color:#dfe6ee}
  /* uniform full-width menu rows when the hamburger is open */
  .lec-nav ul>li{width:100%;border-top:1px solid rgba(255,255,255,.08)}
  .lec-nav ul a{justify-content:flex-start;width:100%;height:auto;padding:.85rem 1.1rem;border-radius:0}
  .lec-nav .lec-drop{padding:0}
  .lec-nav .lec-drop a{padding-left:2.2rem}
  /* comparison table -> stacked label:value cards on mobile */
  .cmp-wrap{overflow:visible;border:0;border-radius:0}
  .cmp-table{min-width:0;border:0;background:transparent}
  .cmp-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .cmp-table tr{display:block;background:#fff;border:1px solid var(--lec-line);border-radius:12px;margin:0 0 12px;padding:6px 12px}
  .cmp-table td{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:0;border-bottom:1px solid var(--lec-line2);padding:.55rem .1rem;text-align:right}
  .cmp-table tr td:last-child{border-bottom:0}
  .cmp-table td::before{content:attr(data-label);font-weight:700;color:#525252;text-align:left;flex:0 0 auto}
  .cmp-table td a{display:inline-block;background:var(--lec-emerald);color:#fff;padding:.4rem .9rem;border-radius:8px;font-weight:700}
  /* any other content table -> horizontal scroll, never breaks the layout */
  .lec main table:not(.cmp-table){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
