/* ============================================================
   Legaro Casino Review — retro-industrial dark theme
   Inspired by the "The Spark" one-pager: dark workshop palette,
   VT323 terminal type, ember/copper accents, scroll reveals.
   ============================================================ */

:root {
  --ink:        #0b0908;
  --ink-2:      #121010;
  --panel:      #171413;
  --panel-2:    #1f1a18;
  --line:       #33291f;
  --line-2:     #4a3a29;
  --text:       #ded4c6;
  --text-dim:   #9a8d7d;
  --brass:      #e0a34a;
  --ember:      #ff6b2c;
  --copper:     #c8763c;
  --steel:      #7d8a94;
  --good:       #7bc47f;
  --mono:       'VT323', 'Courier New', monospace;
  --sans:       'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --r:          4px;
  --shadow:     0 18px 40px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  background-image:
    radial-gradient(900px 480px at 78% -8%, rgba(255,107,44,.16), transparent 62%),
    radial-gradient(700px 420px at 8% 4%, rgba(224,163,74,.09), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--ember); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }

h1, h2, h3, h4 {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: .5px;
  color: #f3e8d8;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(25px, 3.2vw, 38px); }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p  { margin: 0 0 1.05em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--copper); flex: none;
}

/* ---------- age chip ---------- */
.age {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 22px; padding: 0 7px;
  border: 1px solid var(--ember); border-radius: 999px;
  font-family: var(--mono); font-size: 15px; line-height: 1;
  color: var(--ember); letter-spacing: .5px; flex: none;
  background: rgba(255,107,44,.08);
}
.age.lg { min-width: 46px; height: 30px; font-size: 20px; }

/* ---------- top strip ---------- */
.strip {
  background: #0a0807;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 16px; letter-spacing: .6px;
  color: var(--text-dim);
}
.strip .wrap {
  display: flex; align-items: center; gap: 14px;
  min-height: 34px; flex-wrap: wrap; justify-content: center; text-align: center;
}

/* ---------- header ---------- */
header.shell {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,9,8,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.shell .wrap {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand .mark {
  width: 34px; height: 34px; flex: none; position: relative;
  border: 1px solid var(--line-2); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, rgba(255,107,44,.35), transparent 68%);
}
.brand .mark span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 12px 3px rgba(255,107,44,.75);
  animation: flick 3.2s ease-in-out infinite;
}
@keyframes flick { 0%,100%{opacity:1;transform:scale(1)} 45%{opacity:.55;transform:scale(.82)} }
.brand b {
  font-family: var(--mono); font-weight: 400; font-size: 25px;
  color: #f3e8d8; letter-spacing: 1px; line-height: 1;
}
.brand small {
  display: block; font-family: var(--sans); font-size: 10px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--text-dim);
}

nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a {
  font-family: var(--mono); font-size: 19px; letter-spacing: .8px;
  color: var(--text-dim); padding: 7px 11px; border-radius: var(--r);
  border: 1px solid transparent;
}
nav.main a:hover { color: #f3e8d8; background: var(--panel); }
nav.main a.on { color: var(--brass); border-color: var(--line); background: var(--panel); }

.burger {
  display: none; width: 42px; height: 38px; border: 1px solid var(--line-2);
  background: var(--panel); border-radius: var(--r); cursor: pointer; padding: 9px 10px;
}
.burger i { display: block; height: 1.5px; background: var(--text); margin: 4px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 20px; letter-spacing: 1px;
  padding: 11px 22px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--panel-2); color: #f3e8d8;
  cursor: pointer; transition: .18s ease; text-align: center;
}
.btn:hover { border-color: var(--brass); color: #fff; transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(180deg, var(--ember), #d8481a);
  border-color: #ff8043; color: #1a0d06; font-weight: 700;
  box-shadow: 0 8px 26px rgba(255,107,44,.28);
}
.btn.primary:hover { color: #1a0d06; box-shadow: 0 12px 34px rgba(255,107,44,.42); }
.btn.ghost { background: transparent; }
.btn.sm { font-size: 17px; padding: 8px 15px; }
.btn.block { display: flex; width: 100%; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 90px);
}
.hero .wrap {
  position: relative; z-index: 2;
  padding: 68px 22px 62px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center;
}
.hero h1 { font-size: clamp(30px, 3.9vw, 46px); margin-bottom: 14px; }
.hero .lede { color: var(--text-dim); font-size: 15px; max-width: 44ch; margin-bottom: 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts {
  display: flex; gap: 26px; margin-top: 30px; padding-top: 22px;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.hero .facts div span {
  display: block; font-family: var(--mono); font-size: 30px; color: var(--brass); line-height: 1;
}
.hero .facts div small {
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim);
}

/* gauge panel */
.gauge {
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel);
  box-shadow: var(--shadow); overflow: hidden;
}
.gauge .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-bottom: 1px solid var(--line);
  background: #0e0c0b; font-family: var(--mono); font-size: 16px; color: var(--text-dim);
  letter-spacing: 1px;
}
.gauge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.gauge .dot.live { background: var(--good); box-shadow: 0 0 8px var(--good); }
.gauge .rows { padding: 6px 0; }
.grow {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 13px; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid rgba(51,41,31,.5);
}
.grow:last-child { border-bottom: 0; }
.grow img { width: 34px; height: 34px; object-fit: contain; filter: brightness(1.12); }
.grow b { font-family: var(--mono); font-weight: 400; font-size: 20px; color: #f3e8d8; display: block; line-height: 1.15; }
.grow em { font-style: normal; font-size: 11.5px; color: var(--text-dim); }
.grow .sc {
  font-family: var(--mono); font-size: 24px; color: var(--brass);
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 1px 9px; line-height: 1.3;
}

/* ---------- sections ---------- */
section { padding: 74px 0; border-bottom: 1px solid var(--line); }
section.alt { background: rgba(23,20,19,.5); }
section.tight { padding-top: 44px; }
.head { max-width: 700px; margin-bottom: 40px; }
.head p { color: var(--text-dim); margin: 0; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  padding: 26px; position: relative; transition: .2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14.5px; margin: 0; }
.card .num {
  font-family: var(--mono); font-size: 15px; color: var(--copper);
  letter-spacing: 2px; display: block; margin-bottom: 12px;
}

/* ---------- brand cards ---------- */
.bcard {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  display: flex; flex-direction: column; transition: .2s ease;
}
.bcard:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard .top {
  padding: 24px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  background: #0e0c0b;
}
.bcard .logo {
  width: 62px; height: 62px; flex: none; border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 8px;
}
.bcard .logo img { max-height: 100%; object-fit: contain; }
.bcard .top h3 { margin: 0 0 2px; font-size: 25px; }
.bcard .stars { font-family: var(--mono); font-size: 16px; color: var(--brass); letter-spacing: 1px; }
.bcard .mid { padding: 22px 24px; flex: 1; }
.bcard .mid p { font-size: 14.5px; color: var(--text-dim); }
.bcard .lic {
  font-family: var(--mono); font-size: 15px; letter-spacing: .5px;
  color: var(--text-dim); border-top: 1px dashed var(--line);
  padding-top: 14px; margin-top: 4px;
}
.bcard .lic a { word-break: break-word; }
.bcard .acts { padding: 0 24px 24px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }

.badge {
  display: inline-block; font-family: var(--mono); font-size: 15px;
  letter-spacing: 1px; padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--copper); background: rgba(200,118,60,.08);
}

/* ---------- score bars ---------- */
.sbar { margin-bottom: 15px; }
.sbar .lab {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13.5px; color: var(--text-dim); margin-bottom: 6px;
}
.sbar .lab b { font-family: var(--mono); font-size: 19px; color: var(--brass); font-weight: 400; }
.sbar .track { height: 6px; background: #0c0a09; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.sbar .fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--copper), var(--ember));
  transition: width 1.1s cubic-bezier(.2,.8,.25,1);
}

/* ---------- lists ---------- */
ul.tick, ul.cross { list-style: none; padding: 0; margin: 0; }
ul.tick li, ul.cross li {
  position: relative; padding-left: 27px; margin-bottom: 11px;
  font-size: 14.5px; color: var(--text-dim);
}
ul.tick li::before  { content: '+'; position: absolute; left: 0; top: -2px; color: var(--good);  font-family: var(--mono); font-size: 22px; }
ul.cross li::before { content: '-'; position: absolute; left: 0; top: -2px; color: var(--ember); font-family: var(--mono); font-size: 22px; }

/* ---------- table ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--panel); }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
th {
  font-family: var(--mono); font-weight: 400; font-size: 17px; letter-spacing: 1px;
  color: var(--copper); background: #0e0c0b; text-transform: uppercase;
}
tr:last-child td { border-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.faq { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 22px;
  font-family: var(--mono); font-size: 21px; color: #f3e8d8;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ember); font-size: 26px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '-'; }
.faq details[open] summary { color: var(--brass); }
.faq .ans { padding: 0 22px 20px; color: var(--text-dim); font-size: 14.5px; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- prose (legal pages) ---------- */
.prose h2 { margin-top: 42px; }
.prose h3 { margin-top: 28px; font-size: 21px; }
.prose ul { padding-left: 20px; color: var(--text-dim); }
.prose li { margin-bottom: 9px; }
.prose .updated {
  font-family: var(--mono); font-size: 16px; color: var(--copper);
  border-left: 2px solid var(--copper); padding-left: 13px; margin-bottom: 30px;
}

/* ---------- notice box ---------- */
.notice {
  border: 1px solid var(--line-2); border-left: 3px solid var(--ember);
  background: rgba(255,107,44,.06); border-radius: var(--r);
  padding: 20px 22px; display: flex; gap: 15px; align-items: flex-start;
}
.notice p { margin: 0; font-size: 14.5px; color: var(--text-dim); }
.notice strong { color: #f3e8d8; }

/* ---------- forms ---------- */
label { display: block; font-family: var(--mono); font-size: 18px; color: var(--text); margin-bottom: 6px; letter-spacing: .6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: #0e0c0b; color: var(--text);
  font-family: var(--sans); font-size: 15px; margin-bottom: 18px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); }
textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.check input { width: auto; margin: 4px 0 0; flex: none; }
.check label { font-family: var(--sans); font-size: 13.5px; color: var(--text-dim); margin: 0; }

/* ---------- footer ---------- */
footer.shell { background: #080706; padding: 62px 0 0; border-top: 1px solid var(--line); }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 42px; }
footer.shell h4 {
  font-size: 17px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--copper); margin-bottom: 15px;
}
footer.shell ul { list-style: none; padding: 0; margin: 0; }
footer.shell li { margin-bottom: 9px; }
footer.shell a { color: var(--text-dim); font-size: 14px; }
footer.shell a:hover { color: var(--brass); }
footer.shell p { font-size: 13.5px; color: var(--text-dim); }

.orglogos {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.orgtitle {
  font-family: var(--mono); font-size: 17px; letter-spacing: 2px;
  color: var(--copper); text-transform: uppercase; margin-right: 6px;
}
.orglogos a {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 16px; background: #f2ece3; transition: .18s;
}
.orglogos a:hover { border-color: var(--brass); background: #fff; }
.orglogos img { display: block; height: 24px; width: auto; }
/* these two marks ship as white-on-transparent, so flip them for the light tile */
.orglogos img.inv { filter: invert(1); }
.orglogos a.helpline {
  flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 7px 16px; background: var(--panel);
}
.orglogos a.helpline:hover { background: var(--panel-2); }
.orglogos a.helpline b {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-dim);
}
.orglogos a.helpline em {
  font-style: normal; font-family: var(--mono); font-size: 19px;
  color: var(--brass); line-height: 1;
}

.fbot {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 24px 0 34px; flex-wrap: wrap;
}
.fbot p { margin: 0; font-size: 12.5px; }
.fbot .age { --x: 0; }

/* ---------- cookie modal ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200;
  max-width: 470px; border: 1px solid var(--line-2); border-radius: 8px;
  background: rgba(18,16,16,.97); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
  padding: 22px 24px;
  transform: translateY(140%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.9,.3,1), opacity .35s;
}
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie h4 { margin: 0 0 8px; font-size: 22px; display: flex; align-items: center; gap: 9px; }
.cookie p { font-size: 13.5px; color: var(--text-dim); margin: 0 0 16px; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .row .btn { flex: 1; justify-content: center; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; padding: 48px 22px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  nav.main {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0e0c0b; border-bottom: 1px solid var(--line); padding: 8px;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 14px; }
  .burger { display: block; }
  header.shell .wrap { position: relative; }
}
@media (max-width: 620px) {
  section { padding: 52px 0; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .bcard .acts { grid-template-columns: 1fr; }
}
