:root {
  --nexacasino-bg: #f5ecdc;
  --nexacasino-bg-deep: #ecdfc6;
  --nexacasino-card: #fbf3e3;
  --nexacasino-terracotta: #c2552d;
  --nexacasino-terracotta-soft: #e07757;
  --nexacasino-olive: #7a8c3f;
  --nexacasino-mustard: #d4a017;
  --nexacasino-espresso: #3d2c1e;
  --nexacasino-brown: #6b5040;
  --nexacasino-cream: #fff7eb;
  --nexacasino-shadow: 0 14px 30px rgba(120, 80, 40, 0.18), inset 0 -6px 0 rgba(120, 80, 40, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.7);
  --nexacasino-shadow-strong: 0 18px 36px rgba(120, 80, 40, 0.24), inset 0 -6px 0 rgba(120, 80, 40, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.75);
  --nexacasino-grain: radial-gradient(circle at 1px 1px, rgba(120, 80, 40, 0.05) 1px, transparent 0);
}

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

html {
  background: linear-gradient(180deg, var(--nexacasino-bg) 0%, var(--nexacasino-bg-deep) 100%);
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--nexacasino-espresso);
  background: transparent;
}

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

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

button,
input {
  font: inherit;
}

.nexacasino-page {
  min-height: 100vh;
}

.nexacasino-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nexacasino-grain-section {
  background-image: var(--nexacasino-grain), linear-gradient(180deg, rgba(255, 249, 240, 0.6), rgba(236, 223, 198, 0.2));
  background-size: 5px 5px, auto;
}

.nexacasino-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 10px;
  transition: padding-top 0.2s ease;
}

.nexacasino-cookie-banner[data-nexacasino-cookie-state="visible"] ~ * .nexacasino-header { padding-top: 66px; }

.nexacasino-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(251, 243, 227, 0.96);
  border-radius: 999px;
  box-shadow: var(--nexacasino-shadow);
}

.nexacasino-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 210px;
}

.nexacasino-logo-link img {
  width: 100%;
  height: auto;
}

.nexacasino-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 500;
}

.nexacasino-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--nexacasino-espresso);
}

.nexacasino-nav a:hover,
.nexacasino-nav a:focus-visible,
.nexacasino-nav a[aria-current="page"] {
  background: rgba(212, 160, 23, 0.18);
  outline: none;
}

.nexacasino-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--nexacasino-mustard);
}

.nexacasino-burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 18px;
  background: var(--nexacasino-card);
  box-shadow: var(--nexacasino-shadow);
  cursor: pointer;
}

.nexacasino-burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--nexacasino-espresso);
}

.nexacasino-cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 10px 16px;
  background: rgba(61, 44, 30, 0.95);
  color: var(--nexacasino-cream);
}

.nexacasino-cookie-inner {
  width: min(1160px, calc(100% - 16px));
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.nexacasino-cookie-inner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.nexacasino-cookie-actions,
.nexacasino-age-actions,
.nexacasino-hero-actions,
.nexacasino-card-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nexacasino-button,
.nexacasino-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #e07757 0%, #c2552d 100%);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(194, 85, 45, 0.35), inset 0 -4px 0 rgba(120, 40, 20, 0.25), inset 0 2px 0 rgba(255, 180, 150, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nexacasino-button:hover,
.nexacasino-button:focus-visible,
.nexacasino-cta-btn:hover,
.nexacasino-cta-btn:focus-visible,
.nexacasino-button.nexacasino-is-pressed,
.nexacasino-cta-btn.nexacasino-is-pressed {
  transform: translateY(2px);
  box-shadow: 0 4px 10px rgba(194, 85, 45, 0.3), inset 0 -2px 0 rgba(120, 40, 20, 0.2), inset 0 2px 0 rgba(255, 180, 150, 0.45);
  outline: none;
}

.nexacasino-button-muted {
  background: var(--nexacasino-card);
  color: var(--nexacasino-espresso);
  box-shadow: var(--nexacasino-shadow);
}

.nexacasino-age-card,
.nexacasino-hero-note,
.nexacasino-card,
.nexacasino-method-card,
.nexacasino-team-card,
.nexacasino-result-card,
.nexacasino-calculator,
.nexacasino-faq-item,
.nexacasino-legal-copy,
.nexacasino-table,
.nexacasino-header-inner {
  background: var(--nexacasino-card);
}

.nexacasino-age-card,
.nexacasino-card,
.nexacasino-method-card,
.nexacasino-team-card,
.nexacasino-result-card,
.nexacasino-calculator,
.nexacasino-faq-item,
.nexacasino-hero-note,
.nexacasino-legal-copy {
  border-radius: 26px;
  box-shadow: var(--nexacasino-shadow);
}

.nexacasino-age-card {
  padding: 28px;
  text-align: center;
}

.nexacasino-age-card h2,
.nexacasino-hero h1,
.nexacasino-section-head h1,
.nexacasino-section-head h2,
.nexacasino-card h3,
.nexacasino-method-card h3,
.nexacasino-team-card h3,
.nexacasino-footer h3 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.nexacasino-age-card p {
  margin: 12px 0 0;
  color: var(--nexacasino-brown);
  line-height: 1.6;
}

.nexacasino-age-badge,
.nexacasino-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--nexacasino-terracotta-soft), var(--nexacasino-terracotta));
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 rgba(120, 40, 20, 0.25), inset 0 2px 0 rgba(255, 180, 150, 0.35), 0 8px 16px rgba(120, 80, 40, 0.16);
}

.nexacasino-number-badge {
  flex-shrink: 0;
}

.nexacasino-hero {
  padding: 24px 0 32px;
}

.nexacasino-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 26px;
  align-items: start;
  padding: 20px 0 10px;
}

.nexacasino-quote {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.25;
  max-width: 16ch;
}

.nexacasino-quote-source,
.nexacasino-hero-subline,
.nexacasino-section-head p,
.nexacasino-disclaimer,
.nexacasino-team-role,
.nexacasino-rg-copy p,
.nexacasino-legal-copy p,
.nexacasino-legal-copy li {
  color: var(--nexacasino-brown);
}

.nexacasino-hero h1,
.nexacasino-section-head h1,
.nexacasino-section-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
}

.nexacasino-hero h1 span {
  font-style: italic;
  color: var(--nexacasino-terracotta);
}

.nexacasino-wavy-line {
  width: 240px;
  max-width: 100%;
  margin: 10px 0 12px;
}

.nexacasino-hero-subline {
  margin: 0 0 18px;
  max-width: 62ch;
  font-weight: 500;
  line-height: 1.7;
}

.nexacasino-warm-pill,
.nexacasino-clay-pill,
.nexacasino-feature-pill,
.nexacasino-note-badge,
.nexacasino-kicker,
.nexacasino-bonus-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nexacasino-warm-pill {
  background: var(--nexacasino-olive);
  color: var(--nexacasino-cream);
}

.nexacasino-warm-pill-alt {
  background: rgba(122, 140, 63, 0.18);
  color: var(--nexacasino-olive);
}

.nexacasino-clay-pill,
.nexacasino-kicker,
.nexacasino-bonus-label {
  background: rgba(212, 160, 23, 0.22);
  color: var(--nexacasino-espresso);
}

.nexacasino-note-badge,
.nexacasino-feature-pill {
  background: rgba(224, 119, 87, 0.14);
  color: var(--nexacasino-terracotta);
}

.nexacasino-hero-note {
  padding: 26px;
}

.nexacasino-hero-note h2 {
  font-size: 1.6rem;
  margin: 14px 0 10px;
}

.nexacasino-hero-note p {
  margin: 0;
  line-height: 1.65;
  color: var(--nexacasino-brown);
}

.nexacasino-clay-blob {
  position: absolute;
  right: 32px;
  bottom: -18px;
  width: 180px;
  height: 140px;
  background: linear-gradient(180deg, rgba(224, 119, 87, 0.95), rgba(194, 85, 45, 0.95));
  border-radius: 44% 56% 54% 46% / 42% 34% 66% 58%;
  box-shadow: 0 18px 28px rgba(194, 85, 45, 0.2);
  z-index: -1;
}

.nexacasino-counter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.nexacasino-counter-chip {
  min-width: 160px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(251, 243, 227, 0.9);
  box-shadow: var(--nexacasino-shadow);
}

.nexacasino-counter-chip strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
}

.nexacasino-counter-chip span {
  display: block;
  margin-top: 4px;
  color: var(--nexacasino-brown);
  font-size: 0.92rem;
}

.nexacasino-section {
  padding: 48px 0;
}

.nexacasino-section-head {
  margin-bottom: 22px;
}

.nexacasino-section-head h2,
.nexacasino-section-head h1 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  margin-top: 10px;
}

.nexacasino-section-head p {
  max-width: 64ch;
  margin: 10px 0 0;
  line-height: 1.7;
}

.nexacasino-table-wrap {
  overflow-x: auto;
}

.nexacasino-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 26px;
  box-shadow: var(--nexacasino-shadow);
  overflow: hidden;
}

.nexacasino-table th,
.nexacasino-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(107, 80, 64, 0.12);
}

.nexacasino-table th {
  font-family: "Fraunces", serif;
  cursor: pointer;
  white-space: nowrap;
  background: rgba(224, 119, 87, 0.08);
}

.nexacasino-table tbody tr:last-child td {
  border-bottom: 0;
}

.nexacasino-casino-list,
.nexacasino-grid {
  display: grid;
  gap: 22px;
}

.nexacasino-casino-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nexacasino-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nexacasino-card:hover,
.nexacasino-card:focus-within,
.nexacasino-card.nexacasino-is-pressed {
  transform: translateY(-3px);
  box-shadow: var(--nexacasino-shadow-strong);
}

.nexacasino-card-top,
.nexacasino-card-title-row,
.nexacasino-rating-row,
.nexacasino-pill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nexacasino-card-top {
  align-items: flex-start;
}

.nexacasino-card-heading {
  flex: 1;
  min-width: 0;
}

.nexacasino-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 60px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
}

.nexacasino-rating-dots {
  display: inline-grid;
  grid-template-columns: repeat(5, 18px);
  gap: 6px;
}

.nexacasino-rating-dots span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.28);
}

.nexacasino-rating-96 span,
.nexacasino-rating-86 span {
  background: rgba(212, 160, 23, 0.28);
}

.nexacasino-rating-96 span:nth-child(-n+4),
.nexacasino-rating-86 span:nth-child(-n+4) {
  background: var(--nexacasino-terracotta);
}

.nexacasino-rating-96 span:nth-child(5) {
  background: linear-gradient(90deg, var(--nexacasino-terracotta) 0 80%, rgba(212, 160, 23, 0.28) 80% 100%);
}

.nexacasino-rating-86 span:nth-child(5) {
  background: linear-gradient(90deg, var(--nexacasino-terracotta) 0 30%, rgba(212, 160, 23, 0.28) 30% 100%);
}

.nexacasino-card-review,
.nexacasino-procon-grid li,
.nexacasino-bonus-text {
  margin: 0;
  line-height: 1.7;
  color: var(--nexacasino-brown);
}

.nexacasino-bonus-box {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(224, 119, 87, 0.16), rgba(194, 85, 45, 0.08));
}

.nexacasino-bonus-text {
  margin-top: 8px;
  color: var(--nexacasino-terracotta);
  font-weight: 700;
}

.nexacasino-procon-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nexacasino-procon-grid h4 {
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
}

.nexacasino-procon-grid ul {
  margin: 0;
  padding-left: 18px;
}

.nexacasino-disclaimer {
  margin: 0;
  font-size: 0.93rem;
}

.nexacasino-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.nexacasino-calculator-fields,
.nexacasino-calculator-results,
.nexacasino-methodology-grid,
.nexacasino-team-grid {
  display: grid;
  gap: 18px;
}

.nexacasino-calculator-fields label {
  display: grid;
  gap: 8px;
  color: var(--nexacasino-brown);
}

.nexacasino-calculator-fields input {
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 2px 6px rgba(120, 80, 40, 0.08);
}

.nexacasino-calculator-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nexacasino-result-card,
.nexacasino-method-card,
.nexacasino-team-card {
  padding: 20px;
}

.nexacasino-result-card strong,
.nexacasino-method-icon {
  display: inline-flex;
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
}

.nexacasino-methodology-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nexacasino-method-icon {
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(224, 119, 87, 0.16);
  color: var(--nexacasino-terracotta);
}

.nexacasino-method-card p,
.nexacasino-team-card p,
.nexacasino-faq-panel p {
  margin: 10px 0 0;
  line-height: 1.7;
  color: var(--nexacasino-brown);
}

.nexacasino-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nexacasino-team-role {
  font-weight: 600;
}

.nexacasino-rg-copy,
.nexacasino-legal-copy {
  padding: 26px;
}

.nexacasino-rg-copy p,
.nexacasino-legal-copy p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.nexacasino-rg-copy a,
.nexacasino-legal-copy a,
.nexacasino-footer a {
  color: var(--nexacasino-terracotta);
}

.nexacasino-faq-list {
  display: grid;
  gap: 16px;
}

.nexacasino-faq-item {
  overflow: hidden;
}

.nexacasino-faq-trigger {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--nexacasino-espresso);
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  cursor: pointer;
}

.nexacasino-faq-trigger::after {
  content: "+";
  float: right;
  font-size: 1.4rem;
  color: var(--nexacasino-terracotta);
}

.nexacasino-faq-trigger[aria-expanded="true"]::after {
  content: "−";
}

.nexacasino-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.nexacasino-faq-panel > p {
  overflow: hidden;
  padding: 0 22px 0;
}

.nexacasino-faq-item.nexacasino-faq-open .nexacasino-faq-panel {
  grid-template-rows: 1fr;
}

.nexacasino-faq-item.nexacasino-faq-open .nexacasino-faq-panel > p {
  padding-bottom: 20px;
}

.nexacasino-legal-copy h2 {
  margin: 28px 0 10px;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
}

.nexacasino-footer {
  padding: 24px 0 34px;
}

.nexacasino-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(251, 243, 227, 0.92);
  box-shadow: var(--nexacasino-shadow);
}

.nexacasino-footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.nexacasino-footer-col p {
  margin: 0;
  line-height: 1.7;
  color: var(--nexacasino-brown);
}

.nexacasino-footer-bottom {
  padding-top: 16px;
}

.nexacasino-footer-bottom p {
  margin: 0 0 10px;
  color: var(--nexacasino-brown);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .nexacasino-hero-grid,
  .nexacasino-calculator,
  .nexacasino-casino-list,
  .nexacasino-methodology-grid,
  .nexacasino-team-grid,
  .nexacasino-footer-grid,
  .nexacasino-calculator-results {
    grid-template-columns: 1fr;
  }

  .nexacasino-burger {
    display: inline-block;
  }

  .nexacasino-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--nexacasino-card);
    border-radius: 24px;
    box-shadow: var(--nexacasino-shadow);
  }

  .nexacasino-nav.nexacasino-nav-open {
    display: flex;
  }

  .nexacasino-card-footer {
    justify-content: space-between;
  }
}

@media (max-width: 550px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .nexacasino-page * { max-width: 100%; }
  .nexacasino-casino-list, .nexacasino-grid { grid-template-columns: 1fr !important; }
  .nexacasino-card { flex-direction: column !important; min-width: 0; }
  .nexacasino-card * { min-width: 0; max-width: 100%; }
  .nexacasino-card-top { flex-wrap: wrap; gap: 8px; }
  .nexacasino-logo-wrap { max-width: 120px; height: 36px; }
  .nexacasino-cta-btn, .nexacasino-button {
    width: 100% !important; max-width: 100%;
    white-space: normal; word-break: break-word; overflow-wrap: anywhere;
  }
  h1, h2 { font-size: clamp(1.25rem, 6vw, 2rem) !important; }
  .nexacasino-card:hover { transform: none !important; }
  .nexacasino-nav {
    position: absolute; left: 0; right: 0;
    width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  }
  .nexacasino-header-inner { position: relative; }
  table { table-layout: auto; width: max-content; min-width: 100%; }
  .nexacasino-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  thead th { white-space: nowrap; }
  td { word-break: normal; overflow-wrap: break-word; hyphens: none; }

  .nexacasino-cookie-inner,
  .nexacasino-header-inner,
  .nexacasino-counter-row,
  .nexacasino-hero-actions,
  .nexacasino-card-footer,
  .nexacasino-cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nexacasino-age-card,
  .nexacasino-card,
  .nexacasino-method-card,
  .nexacasino-team-card,
  .nexacasino-result-card,
  .nexacasino-calculator,
  .nexacasino-legal-copy,
  .nexacasino-rg-copy {
    padding: 18px;
  }
}

@media (max-width: 380px) {
  h1 { font-size: clamp(1.1rem, 7vw, 1.5rem) !important; }
  .nexacasino-logo-wrap { max-width: 90px; height: 30px; }
  .nexacasino-bonus-text { font-size: 0.85rem; }
}
