/* LusoPlay — portal de comparação de casinos legais (Portugal) */

:root {
  --bg: #070d18;
  --bg-2: #0c1526;
  --surface: #121c30;
  --surface-2: #18263f;
  --surface-3: #1d2d4a;
  --line: rgba(226, 232, 244, 0.1);
  --text: #f4f7fb;
  --text-soft: #d5deee;
  --muted: #a9b6cc;
  --gold: #f0c14b;
  --gold-deep: #c9962a;
  --green: #2fdb84;
  --green-deep: #149454;
  --green-ink: #062414;
  --red: #ff6b81;
  --blue: #8ebfff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --header: 74px;
  --max: 1180px;
  --font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Poppins", "Inter", "Segoe UI", sans-serif;
  --table-cols: 46px minmax(168px, 1.15fr) minmax(148px, 0.9fr) minmax(210px, 1.3fr) 104px 158px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(240, 193, 75, 0.08), transparent 50%),
    radial-gradient(900px 480px at -10% 0%, rgba(47, 219, 132, 0.07), transparent 46%),
    var(--bg);
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffe29a;
}

button,
input {
  font: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: #1a1404;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1404;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.section,
.review-hero {
  scroll-margin-top: 90px;
}

.section {
  padding: 28px 0 64px;
}

.section__head {
  max-width: 720px;
  margin-bottom: 22px;
}

.section h2,
.hero h1,
.page-hero h1,
.review-hero h1 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0;
}

.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.lede,
.prose p,
.section__head p,
.page-hero p {
  color: var(--text-soft);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 24, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 13, 24, 0.92);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.logo svg {
  width: 36px;
  height: 36px;
  flex: none;
}

.logo strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 10px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.has-sub {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 230px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(16, 24, 40, 0.98);
  box-shadow: var(--shadow);
}

.submenu a {
  display: block;
  border-radius: 10px;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  display: grid;
}

/* Hero */

.hero {
  position: relative;
  padding: 36px 0 12px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}

.hero__grid,
.page-hero__grid {
  position: relative;
  display: grid;
  gap: 22px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  margin: 8px 0 12px;
}

.srij-badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 219, 132, 0.35);
  background: rgba(47, 219, 132, 0.12);
  color: #c8f8df;
  font-size: 0.82rem;
  font-weight: 700;
}

.srij-badge i,
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 219, 132, 0.7);
  animation: pulse 2.2s infinite;
}

.updated {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-card,
.panel,
.casino-card,
.offer-card,
.faq-item,
.metric,
.guide-card,
.verdict,
.pay,
.pros,
.cons {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-card {
  padding: 18px;
}

.hero-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.hero-card strong.score-xl {
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.hero-card .score-xl span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.disclosure {
  position: relative;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-cta {
  color: var(--green-ink);
  background: linear-gradient(180deg, #67f3aa, #1fba68);
  box-shadow: 0 8px 24px rgba(47, 219, 132, 0.28);
}

.btn-cta:hover {
  color: var(--green-ink);
  box-shadow: 0 12px 32px rgba(47, 219, 132, 0.48), 0 0 0 4px rgba(47, 219, 132, 0.12);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(240, 193, 75, 0.55);
  box-shadow: 0 0 0 4px rgba(240, 193, 75, 0.1);
}

.btn-gold {
  color: #241a04;
  background: linear-gradient(180deg, #ffe08a, #e0a72b);
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.fineprint {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fineprint:hover {
  color: var(--text-soft);
}

/* Comparison */

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.filter-btn[aria-selected="true"] {
  background: var(--text);
  color: #121820;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-head {
  display: none;
}

.casino-list {
  display: grid;
  gap: 12px;
}

.casino-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "rank brand"
    "bonus bonus"
    "features features"
    "score score"
    "actions actions";
  gap: 14px;
  padding: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.casino-card.is-in {
  animation: rise 0.4s ease both;
}

.casino-card[hidden] {
  display: none !important;
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 193, 75, 0.45);
  box-shadow: var(--shadow), 0 0 0 1px rgba(240, 193, 75, 0.12);
}

.casino-card.is-editor {
  background:
    linear-gradient(180deg, rgba(240, 193, 75, 0.07), rgba(255, 255, 255, 0.02)),
    var(--surface);
  border-color: rgba(240, 193, 75, 0.38);
}

.rank {
  grid-area: rank;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  font-family: var(--display);
  font-weight: 700;
}

.rank[data-place="1"] {
  background: linear-gradient(180deg, #ffe08a, #e0a72b);
  color: #2a1c00;
}

.rank[data-place="2"] {
  background: linear-gradient(180deg, #f7f8fb, #b7c0d0);
  color: #1c2430;
}

.rank[data-place="3"] {
  background: linear-gradient(180deg, #f3c7a6, #b6744a);
  color: #2a1408;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 92px;
  height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.brand-mark--betclic { background: linear-gradient(145deg, #102454, #e10600); }
.brand-mark--solverde { background: linear-gradient(145deg, #06331d, #1faa63); }
.brand-mark--betano { background: linear-gradient(145deg, #1a1a1a, #ff5a1f); }
.brand-mark--casinoportugal { background: linear-gradient(145deg, #14213d, #d4a017); }
.brand-mark--esconline { background: linear-gradient(145deg, #0c3b66, #3db7ff); }
.brand-mark--bwin { background: linear-gradient(145deg, #111, #ffcc00); color: #111; }
.brand-mark--casino888 { background: linear-gradient(145deg, #041c12, #18c37d); }
.brand-mark--luckia { background: linear-gradient(145deg, #2a0a12, #ff4d6d); }

.brand h3 {
  margin: 0;
  font-size: 1rem;
}

.brand a {
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.tag {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(240, 193, 75, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.bonus {
  grid-area: bonus;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(5, 10, 20, 0.35);
}

.bonus strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--green);
}

.bonus div:nth-child(2) strong {
  color: var(--blue);
}

.bonus span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.features {
  grid-area: features;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.features li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 219, 132, 0.14);
}

.score {
  grid-area: score;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.score b {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.score span {
  color: var(--muted);
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.score .stars {
  color: var(--gold);
}

.score-line {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.actions {
  grid-area: actions;
}

.actions .btn {
  width: 100%;
}

.empty-state {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state[hidden] {
  display: none !important;
}

/* Methodology + guide */

.metrics,
.guide-grid,
.proscons,
.pay-grid,
.bonus-grid,
.related,
.split {
  display: grid;
  gap: 14px;
}

.pay-grid,
.pros ul,
.cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pros li,
.cons li {
  position: relative;
  padding-left: 1.35rem;
}

.pros li::before,
.cons li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}

.pros li::before {
  content: "+";
  color: var(--green);
}

.cons li::before {
  content: "–";
  color: var(--red);
}

.metric,
.guide-card {
  padding: 18px;
}

.metric span,
.guide-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric strong,
.guide-card h3 {
  display: block;
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.metric p,
.guide-card p {
  margin: 0;
  color: var(--text-soft);
}

.prose {
  max-width: 74ch;
}

.prose h2 {
  font-size: 1.45rem;
}

.prose h3 {
  margin-bottom: 8px;
}

/* FAQ */

.accordion {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 0 16px;
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-item button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.chevron {
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open .chevron {
  transform: rotate(225deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel-inner {
  overflow: hidden;
}

.accordion__panel-inner p {
  margin: 0 0 16px;
  color: var(--text-soft);
}

/* Responsible gambling + footer */

.rg {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(240, 193, 75, 0.38);
  background: linear-gradient(180deg, rgba(240, 193, 75, 0.09), rgba(255, 255, 255, 0.02));
}

.age-badge {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 800;
}

.rg h2 {
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.rg p {
  margin: 0;
  color: var(--text-soft);
}

.rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rg-links a {
  text-decoration: none;
  color: var(--text);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.88rem;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  background: #060b14;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--gold);
}

.legal {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Modal */

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 12px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 14, 0.72);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(540px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 22px 20px 18px;
  border-radius: 22px 22px 16px 16px;
  background: #152238;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.modal__dialog h2 {
  margin: 0 36px 8px 0;
  font-family: var(--display);
  font-size: 1.35rem;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0;
  color: var(--text-soft);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Review */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.review-hero {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.review-hero__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.score-block {
  margin-left: auto;
  text-align: right;
}

.score-block b {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.05em;
}

.license-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(47, 219, 132, 0.08);
  border: 1px dashed rgba(47, 219, 132, 0.4);
}

.license-box strong {
  display: block;
}

.license-box span {
  color: var(--muted);
  font-size: 0.85rem;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meters {
  display: grid;
  gap: 14px;
}

.meter__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-weight: 700;
}

.meter__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.meter__bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-deep), var(--gold));
  transition: width 0.8s ease;
}

.pros,
.cons,
.pay,
.panel {
  padding: 16px;
}

.pros h3,
.cons h3,
.panel h2,
.panel h3 {
  margin-top: 0;
}

.pros li,
.cons li {
  margin: 8px 0;
  color: var(--text-soft);
}

.pros li::marker {
  color: var(--green);
}

.cons li::marker {
  color: var(--red);
}

.pay {
  min-height: 84px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pay--mbway { background: linear-gradient(180deg, #123, #0e7490); }
.pay--mb { background: linear-gradient(180deg, #1e293b, #0f766e); }
.pay--visa { background: linear-gradient(180deg, #172554, #1d4ed8); }
.pay--paypal { background: linear-gradient(180deg, #082f49, #0369a1); }

.verdict {
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--gold);
}

.verdict p:first-child {
  margin-top: 0;
}

.review-panel {
  display: none;
}

html[data-review="betclic"] .review-panel[data-review-panel="betclic"],
html[data-review="solverde"] .review-panel[data-review-panel="solverde"],
html[data-review="betano"] .review-panel[data-review-panel="betano"],
html[data-review="casinoportugal"] .review-panel[data-review-panel="casinoportugal"],
html[data-review="esconline"] .review-panel[data-review-panel="esconline"],
html[data-review="bwin"] .review-panel[data-review-panel="bwin"],
html[data-review="casino888"] .review-panel[data-review-panel="casino888"],
html[data-review="luckia"] .review-panel[data-review-panel="luckia"] {
  display: block;
}

html:not([data-review]) .review-panel[data-review-panel="betclic"] {
  display: block;
}

.related a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
}

.related a:hover {
  border-color: rgba(240, 193, 75, 0.45);
  color: var(--text);
}

.sticky-cta {
  display: none;
}

/* Bonuses */

.page-hero {
  padding: 32px 0 8px;
}

.offer-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.offer-card[hidden] {
  display: none !important;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 219, 132, 0.45);
  box-shadow: 0 16px 36px rgba(47, 219, 132, 0.08);
}

.offer-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.offer-card__brand {
  margin: 0;
  font-weight: 800;
}

.offer-card__extra {
  margin: 0;
  color: var(--blue);
  font-weight: 700;
}

.offer-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.offer-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-card dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--muted);
}

.pill--gold {
  background: rgba(240, 193, 75, 0.12);
  border-color: rgba(240, 193, 75, 0.35);
  color: var(--gold);
}

.code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px dashed rgba(240, 193, 75, 0.55);
  background: rgba(240, 193, 75, 0.06);
  color: var(--gold);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.code small {
  letter-spacing: 0;
  font-weight: 700;
  color: var(--text-soft);
}

.offer-card .text-link {
  text-align: center;
  font-weight: 700;
  text-decoration: none;
}

/* Breakpoints */

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 18px;
    background: rgba(8, 14, 26, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .submenu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-header .logo small {
    display: none;
  }
}

@media (min-width: 640px) {
  .modal {
    place-items: center;
  }

  .modal__dialog {
    border-radius: 22px;
  }

  .metrics,
  .bonus-grid,
  .related {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .guide-grid,
  .proscons,
  .footer-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .rg {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .rg-links {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .pay-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .hero__grid,
  .page-hero__grid {
    grid-template-columns: 1.35fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .table-head {
    display: grid;
    grid-template-columns: var(--table-cols);
    gap: 10px 14px;
    align-items: center;
    position: sticky;
    top: var(--header);
    z-index: 5;
    margin-bottom: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(12, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .casino-card {
    grid-template-columns: var(--table-cols);
    grid-template-areas: "rank brand bonus features score actions";
    align-items: center;
    gap: 10px 14px;
    padding: 16px 18px;
  }

  .casino-card .bonus {
    background: transparent;
    padding: 0;
  }

  .score {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .brand-mark {
    width: 108px;
    height: 64px;
  }
}

@media (min-width: 1020px) {
  .bonus-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .related {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .page-review {
    padding-bottom: 92px;
  }

  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: flex;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 13, 24, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }

  .sticky-cta .btn {
    flex: 1;
  }

  .page-review .to-top {
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .btn:hover,
  .casino-card:hover,
  .offer-card:hover {
    transform: none;
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 219, 132, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(47, 219, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 219, 132, 0); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
