/* ============================================
   Casino Uden ROFUS — Stylesheet
   Editorial Zen palette, hand-written from
   the original Lovable/Tailwind source.
   ============================================ */

/* ---------- Design tokens ---------- */
:root {
  --radius: 0.75rem;

  /* Editorial Zen palette */
  --sand: oklch(95% 0.01 269);
  --paper: oklch(99% 0.005 269);
  --stone: oklch(35% 0.02 269);
  --ink: oklch(15% 0.01 269);
  --water: oklch(55% 0.13 215);

  --muted-foreground: oklch(45% 0.015 269);
  --border: oklch(35% 0.02 269 / 12%);
  --border-60: oklch(35% 0.02 269 / 7.2%);

  --shadow-card-soft: 0 8px 24px -12px oklch(15% 0.01 269 / 0.12);

  --font-display: "Merriweather", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;

  --container: 80rem; /* max-w-7xl */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  background-color: var(--sand);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background-color: var(--sand);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  margin: 0;
}

h1 { text-wrap: pretty; }

p { margin: 0; }

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 3rem; }
}

.section {
  padding-block: 4rem;
  border-top: 1px solid var(--border-60);
}

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border-60);
}

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .site-header__inner { padding: 1.5rem 3rem; }
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stone);
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .brand { font-size: 1.5rem; }
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .nav { display: flex; }
}

.nav__link {
  color: oklch(35% 0.02 269 / 70%);
  transition: color 0.15s ease;
}

.nav__link:hover { color: var(--stone); }

.nav__link--cta {
  color: var(--stone);
  font-weight: 600;
}

.nav__link--cta:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  padding: 2.5rem 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .hero { padding: 3.5rem 3rem 1.5rem; }
}

.hero__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.hero__content {
  max-width: 56rem;
}

.eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--water);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 1.875rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

@media (min-width: 768px) { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.25rem; } }

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__lead {
  font-size: 1rem;
  color: oklch(15% 0.01 269 / 75%);
  line-height: 1.625;
  max-width: 42rem;
}

@media (min-width: 768px) { .hero__lead { font-size: 1.125rem; } }

/* ---------- Casino card grid ---------- */
.ranking {
  padding: 1.5rem 1.5rem 4rem;
}

@media (min-width: 768px) {
  .ranking { padding: 1.5rem 3rem 5rem; }
}

.ranking__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.ranking__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .ranking__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ---------- Casino card ---------- */
.casino {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-card-soft);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .casino { padding: 2rem; }
}

.casino__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .casino__header {
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

.casino__rank {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: oklch(35% 0.02 269 / 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--stone);
  line-height: 1;
}

@media (min-width: 768px) {
  .casino__rank {
    width: 5rem;
    height: 5rem;
    font-size: 3rem;
  }
}

.casino__logo--mobile {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 5rem;
  border-radius: 0.375rem;
  padding: 0.375rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .casino__logo--mobile { display: none; }
}

.casino__logo--mobile img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.casino__meta {
  flex-grow: 1;
  min-width: 0;
}

.tag {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--water);
  display: block;
  margin-bottom: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .tag {
    font-size: 0.625rem;
    margin-bottom: 0.375rem;
  }
}

.casino__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .casino__name {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.rating__stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  color: var(--water);
}

.rating__stars svg {
  width: 0.75rem;
  height: 0.75rem;
}

.rating__stars svg.is-empty { opacity: 0.25; }

@media (min-width: 768px) {
  .rating__stars svg { width: 0.875rem; height: 0.875rem; }
}

.rating__value {
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

@media (min-width: 768px) { .rating__value { font-size: 0.875rem; } }

.casino__logo--desktop {
  display: none;
  height: 5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.5rem;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .casino__logo--desktop { display: flex; }
}

.casino__logo--desktop img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.casino__bonus { margin-bottom: 1rem; }
@media (min-width: 768px) { .casino__bonus { margin-bottom: 1.5rem; } }

.label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--muted-foreground);
  display: block;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .label { margin-bottom: 0.375rem; }
}

.label--small {
  font-size: 0.5625rem;
}

@media (min-width: 768px) { .label--small { font-size: 0.625rem; } }

.casino__bonus-headline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

@media (min-width: 768px) {
  .casino__bonus-headline { font-size: 1.25rem; }
}

.casino__bonus-sub {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .casino__bonus-sub {
    font-size: 0.875rem;
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
  }
}

.casino__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-60);
}

@media (min-width: 768px) {
  .casino__facts {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: 0;
  }
}

.fact-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 768px) { .fact-value { font-size: 0.875rem; } }

.casino__payments {
  display: none;
}

@media (min-width: 768px) {
  .casino__payments {
    display: block;
    grid-column: span 2;
  }
}

.casino__payments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.payment-pill {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--sand);
  padding: 0.125rem 0.375rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--stone);
  border-radius: 0.25rem;
}

.casino__pros { margin-bottom: 1rem; }

@media (min-width: 768px) {
  .casino__pros { margin-bottom: 1.75rem; }
}

.casino__pros-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: oklch(15% 0.01 269 / 85%);
}

@media (min-width: 768px) {
  .casino__pros-list {
    gap: 0.375rem;
    font-size: 0.875rem;
  }
}

.casino__pros-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.375;
}

@media (min-width: 768px) {
  .casino__pros-list li {
    gap: 0.625rem;
    line-height: 1.625;
  }
}

.casino__pros-list li::before {
  content: "";
  margin-top: 0.375rem;
  height: 0.25rem;
  width: 0.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--water);
}

@media (min-width: 768px) {
  .casino__pros-list li::before { margin-top: 0.5rem; }
}

.casino__pros-list .is-mobile-hidden {
  display: none;
}

@media (min-width: 768px) {
  .casino__pros-list .is-mobile-hidden { display: flex; }
}

.casino__cta-wrap { margin-top: auto; }

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.75rem;
  background: var(--stone);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease;
}

.btn-cta:hover {
  background: oklch(35% 0.02 269 / 90%);
}

@media (min-width: 768px) {
  .btn-cta { height: 3rem; font-size: 1rem; }
}

.casino__terms {
  margin-top: 0.5rem;
  font-size: 0.625rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .casino__terms {
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
  }
}

/* ---------- Method section ---------- */
.method { background: oklch(99% 0.005 269 / 60%); }

.method__grid {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .method__grid { padding-inline: 3rem; }
}

.method__intro { grid-column: span 12; }

@media (min-width: 1024px) {
  .method__intro { grid-column: span 5; }
}

.method__heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .method__heading { font-size: 3rem; } }

.method__intro p {
  font-size: 1rem;
  color: oklch(15% 0.01 269 / 70%);
  line-height: 1.625;
}

.method__cards { grid-column: span 12; }

@media (min-width: 1024px) {
  .method__cards { grid-column: span 7; }
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
}

.criteria-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.criteria-card__num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--water);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.criteria-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.criteria-card__desc {
  font-size: 0.875rem;
  color: oklch(15% 0.01 269 / 70%);
  line-height: 1.625;
}

/* ---------- FAQ ---------- */
.faq__inner {
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .faq__inner { padding-inline: 3rem; }
}

.faq__head {
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .faq__head { margin-bottom: 4rem; }
}

.faq__head .eyebrow { margin-inline: auto; }

.faq__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

@media (min-width: 768px) { .faq__title { font-size: 3rem; } }

.faq__list {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card-soft);
  padding-inline: 0.5rem;
}

@media (min-width: 768px) {
  .faq__list { padding-inline: 1rem; }
}

.faq__item {
  border-bottom: 1px solid var(--border-60);
  padding-inline: 1rem;
}

.faq__item:last-child { border-bottom: 0; }

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  padding: 1.25rem 0;
  gap: 1rem;
  transition: color 0.15s ease;
}

@media (min-width: 768px) { .faq__trigger { font-size: 1.125rem; } }

.faq__trigger:hover { color: var(--stone); }

.faq__chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__chevron { transform: rotate(180deg); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__panel-inner {
  overflow: hidden;
}

.faq__panel p {
  padding-bottom: 1.25rem;
  color: oklch(15% 0.01 269 / 75%);
  line-height: 1.625;
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-60);
  background: var(--stone);
  color: var(--paper);
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__inner { padding: 4rem 3rem; }
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.footer-block { grid-column: span 12; }

@media (min-width: 1024px) {
  .footer-block--lead { grid-column: span 5; }
  .footer-block--links {
    grid-column: span 7;
    padding-left: 2rem;
    border-left: 1px solid oklch(99% 0.005 269 / 15%);
  }
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__copy {
  color: oklch(99% 0.005 269 / 75%);
  line-height: 1.625;
  font-size: 0.875rem;
  max-width: 28rem;
}

.footer__eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: oklch(99% 0.005 269 / 60%);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.footer-pill {
  border-radius: 9999px;
  border: 1px solid oklch(99% 0.005 269 / 25%);
  background: oklch(99% 0.005 269 / 5%);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: oklch(99% 0.005 269 / 85%);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-pill:hover {
  border-color: oklch(99% 0.005 269 / 60%);
  color: var(--paper);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: oklch(99% 0.005 269 / 65%);
  line-height: 1.625;
}

.footer__disclaimer strong { color: var(--paper); font-weight: 700; }

.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid oklch(99% 0.005 269 / 15%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: oklch(99% 0.005 269 / 55%);
}

.badge-18 {
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid oklch(99% 0.005 269 / 40%);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--paper);
}

.site-footer__bottom > div:last-child {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
