/* Lucky Cerol 500 — neon noir stage.
   Midnight violet, magenta neon, flame orange, gold reel frames.
   Big Shoulders Display for condensed, serious headlines; Manrope for reading. */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --night: #07040f;
  --night-2: #0d0819;
  --panel: #120b22;
  --panel-2: #1a102e;
  --line: rgba(240, 180, 58, .26);
  --line-neon: rgba(255, 47, 209, .34);
  --text: #efe9fb;
  --text-dim: #a89cc2;
  --gold: #f0b43a;
  --gold-hot: #ffe08a;
  --magenta: #ff2fd1;
  --flame: #ff5a1f;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--night);
  background-image: linear-gradient(180deg, rgba(7,4,15,.55), rgba(7,4,15,.94) 700px), url("../images/background.webp");
  background-size: auto, cover;
  background-position: 0 0, center top;
  background-attachment: scroll, fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hot); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--magenta); }
h1, h2, h3 { font-family: var(--display); color: var(--text); line-height: 1.02; margin: 0 0 .5em; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--gold); font-weight: 700; }
p { margin: 0 0 1.05em; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 4px; }

/* Header: a slim bar with a flame line that moves */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,4,15,.94); backdrop-filter: blur(6px); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--flame), var(--magenta), var(--gold), var(--flame), var(--magenta));
  background-size: 200% 100%; animation: flow 6s linear infinite;
}
@keyframes flow { to { background-position: -200% 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 260px; height: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { font-family: var(--display); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); text-decoration: none; white-space: nowrap; padding: 4px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--magenta); transition: right .25s ease; }
.nav a:hover, .nav a.is-active { color: var(--gold-hot); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.nav-slot { color: var(--night); background: linear-gradient(100deg, var(--gold-hot), var(--gold)); padding: 8px 14px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.nav a.nav-slot::after { display: none; }
.nav a.nav-slot:hover, .nav a.nav-slot.is-active { color: var(--night); filter: brightness(1.08); }
.burger { display: none; background: transparent; border: 1px solid var(--line); width: 46px; height: 46px; cursor: pointer; color: var(--gold); }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1160px) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 22px 18px; background: var(--night-2); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav a::after { display: none; }
  .nav a.nav-slot { clip-path: none; text-align: center; margin-top: 12px; border: 0; }
}

/* Hero: headline on the left, a gold reel frame on the right */
.opening { padding: 70px 0 56px; position: relative; overflow: hidden; }
.opening::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(255,47,209,.22), transparent 70%);
  pointer-events: none;
}
.opening-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); margin: 0 0 20px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.lede { font-size: 1.1rem; color: #d9d0ee; max-width: 62ch; }
.frame {
  position: relative; margin: 0; padding: 14px;
  background: linear-gradient(160deg, #3a2412, #120b22 45%, #2a1408);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
  animation: glow 4.5s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255,47,209,.25)); }
  50% { filter: drop-shadow(0 0 34px rgba(255,47,209,.5)); }
}
.frame img.slot-thumb { width: 100%; aspect-ratio: 952 / 525; object-fit: cover; }
.frame::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
}
.frame figcaption { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--gold-hot); margin-top: 12px; text-align: center; }
.specs { margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.specs div { background: var(--panel); padding: 12px 14px; }
.specs dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.specs dd { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--gold-hot); line-height: 1.1; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 960px) {
  .opening { padding-top: 40px; }
  .opening-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) { .specs { grid-template-columns: repeat(2, 1fr); } }

/* Buttons: chamfered, with a light sweep on hover */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
  min-height: 52px; padding: 12px 28px; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; text-align: center;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: transform .18s ease, filter .2s;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transition: left .6s ease;
}
.btn:hover::after { left: 120%; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-flame { background: linear-gradient(100deg, var(--flame), var(--magenta)); color: #fff; }
.btn-flame:hover { color: #fff; filter: brightness(1.1); }
.btn-gold { background: linear-gradient(100deg, var(--gold-hot), var(--gold)); color: var(--night); }
.btn-gold:hover { color: var(--night); }
.btn-line { background: transparent; color: var(--gold-hot); box-shadow: inset 0 0 0 2px var(--gold); clip-path: none; }
.btn-line:hover { color: var(--night); background: var(--gold); }
.btn .spin { display: inline-block; transition: transform .6s ease; }
.btn:hover .spin { transform: rotate(360deg); }

/* Layout */
.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 46px; padding: 30px 0 90px; align-items: start; }
.toc { position: sticky; top: 104px; }
.toc-title { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; border-left: 2px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 6px 12px; font-size: .9rem; color: var(--text-dim); text-decoration: none; position: relative; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--display); font-weight: 700; color: #6e5e91; margin-right: 8px; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--gold-hot); background: linear-gradient(90deg, rgba(255,47,209,.14), transparent); }
.toc a.is-active::before { color: var(--magenta); }
.toc summary { list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
@media (min-width: 1001px) {
  .toc summary { pointer-events: none; cursor: default; }
  .toc details { display: block; }
}
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; background: var(--panel); border: 1px solid var(--line); margin-bottom: 28px; }
  .toc-title { padding: 16px 18px; margin: 0; cursor: pointer; font-size: 1.1rem; }
  .toc summary { list-style: none; cursor: pointer; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.4rem; line-height: 1; }
  .toc[open] summary::after { content: "−"; }
  .toc ol { border: 0; padding: 0 10px 12px; }
  .toc a { padding: 8px 10px; }
  .toc a.is-active { background: rgba(255,47,209,.12); }
}

article { min-width: 0; max-width: 100%; }

/* Sections: panels with a slanted top edge and an outlined number */
.panel {
  position: relative; padding: 0; margin-bottom: 56px;
  scroll-margin-top: 104px;
}
.panel h2 { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.panel h2 .num { font-family: var(--display); font-weight: 900; font-size: 1.1em; color: transparent; -webkit-text-stroke: 1px var(--magenta); }
.panel h3 { margin-top: 1.5em; }
.panel > h3:first-of-type { margin-top: 0; }

ul.styled { padding-left: 0; list-style: none; }
ul.styled li { position: relative; padding-left: 26px; margin-bottom: .55em; }
ul.styled li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; background: var(--magenta); transform: rotate(45deg); box-shadow: 0 0 8px var(--magenta); }
ol.styled { padding-left: 0; list-style: none; counter-reset: st; }
ol.styled li { position: relative; padding-left: 52px; margin-bottom: .7em; counter-increment: st; }
ol.styled li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--gold); }

.figure { margin: 30px 0; padding: 10px; background: #060311; border: 1px solid var(--line); position: relative; }
.figure::before, .figure::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--gold); }
.figure::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.figure::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.figure img { border-radius: 2px; }
.figure figcaption { font-size: .85rem; color: var(--text-dim); margin-top: 10px; }
.wilds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.wilds figure { margin: 0; background: #060311; border: 1px solid var(--line); padding: 12px; text-align: center; }
.wilds img { margin: 0 auto; width: 100%; max-width: 260px; }
.wilds figcaption { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--gold-hot); font-size: 1.1rem; margin-top: 8px; letter-spacing: .04em; }
@media (max-width: 760px) { .wilds { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; background: rgba(7,4,15,.5); }
caption { text-align: left; font-size: .8rem; color: var(--text-dim); padding: 10px 14px 0; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(240,180,58,.12); vertical-align: top; }
th { font-family: var(--display); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--night); background: linear-gradient(90deg, var(--gold-hot), var(--gold)); }
tbody tr:nth-child(even) td { background: rgba(255,47,209,.04); }
td.num { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--gold-hot); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  table.responsive thead { display: none; }
  table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { display: block; width: 100%; }
  table.responsive tr { border: 1px solid var(--line); margin-bottom: 12px; padding: 6px 14px; background: var(--panel); }
  table.responsive td { border: 0; padding: 6px 0; display: flex; justify-content: space-between; gap: 12px; }
  table.responsive td::before { content: attr(data-label); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); align-self: center; }
  table.responsive td.num { text-align: right; }
  table.responsive tr:nth-child(even) td { background: transparent; }
}

/* Demo: a neon-edged screen (demo is a fallback block until a demo URL is verified) */
.demo-box { position: relative; padding: 26px; background: #060311; border: 1px solid var(--magenta); box-shadow: inset 0 0 40px rgba(255,47,209,.12); }
.demo-box p { max-width: 64ch; }
.demo-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #000; border: 1px solid var(--gold); margin-top: 20px; overflow: hidden; }
.demo-frame[hidden] { display: none; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) { .demo-frame { aspect-ratio: 4 / 5; } }

/* Casino plates: stacked strips with a number tab */
.casino-list { display: grid; gap: 14px; margin-top: 20px; }
.casino-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 16px 18px; background: #0a0615; border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.casino-row:hover { border-color: var(--magenta); transform: translateX(3px); }
.casino-num {
  display: grid; place-items: center; height: 100%; min-height: 64px;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold)); color: var(--night);
  font-family: var(--display); font-weight: 900; font-size: 1.8rem;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}
.casino-name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; color: var(--text); margin: 0 0 4px; }
.bonus-text { color: var(--gold-hot); font-weight: 700; margin: 0 0 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-family: var(--display); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border: 1px solid; }
.badge-bonus { color: var(--gold-hot); border-color: var(--gold); }
.badge-fs { color: #ff8aa8; border-color: var(--magenta); }
.badge-18 { color: var(--text); border-color: var(--text-dim); }
.cta-col { display: grid; gap: 6px; justify-items: end; min-width: 180px; }
.disclaimer { font-size: .75rem; color: var(--text-dim); margin: 0; text-align: right; max-width: 30ch; line-height: 1.45; }
@media (max-width: 720px) {
  .casino-row { grid-template-columns: 1fr; gap: 12px; }
  .casino-num { min-height: 44px; height: 44px; width: 64px; clip-path: none; }
  .cta-col { justify-items: stretch; min-width: 0; }
  .cta-col .btn { width: 100%; }
  .disclaimer { text-align: left; max-width: none; }
}

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding-right: 38px; font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; color: var(--text); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -4px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--magenta); color: #fff; font-family: var(--body); font-size: 1.2rem; font-weight: 700; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-top: 10px; }
.faq details > div p { color: #cfc5e6; margin-bottom: 0; }

/* Responsible gambling */
.warn { border-left: 4px solid var(--flame); background: rgba(255,90,31,.08); padding: 18px 22px; }

/* Footer */
.site-footer { background: #040209; border-top: 1px solid var(--line); padding: 54px 0 130px; font-size: .9rem; color: var(--text-dim); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.2fr 1fr 1fr; }
.footer-grid h3 { font-size: 1.15rem; color: var(--gold); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid p { margin: 0 0 8px; }
.footer-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(240,180,58,.14); font-size: .83rem; line-height: 1.6; }
.footer-legal p { max-width: 96ch; margin-bottom: 8px; }
.age { display: inline-grid; place-items: center; width: 50px; height: 50px; font-family: var(--display); font-weight: 900; font-size: 1.2rem; color: var(--flame); border: 2px solid var(--flame); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, 8px 8px, calc(100% - 8px) 8px, calc(100% - 8px) calc(100% - 8px), 8px calc(100% - 8px), 8px 8px); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky CTA: a flame bar on phones */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: rgba(7,4,15,.97); border-top: 2px solid var(--magenta); box-shadow: 0 -10px 30px rgba(255,47,209,.2); transition: transform .3s ease, opacity .3s ease; }
.sticky-cta.is-hidden { opacity: 0; transform: translateY(100%); pointer-events: none; }
.sticky-cta .label { font-family: var(--display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.sticky-cta .label strong { color: var(--gold-hot); }
.sticky-cta .btn { min-height: 44px; padding: 8px 18px; font-size: 1rem; white-space: nowrap; }
@media (max-width: 900px) { .sticky-cta { display: flex; } }

/* Reveal: staggered entrance; respects reduced motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.opening .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .frame, .site-header::after { animation: none; }
  * { transition: none !important; }
}
