:root {
  --bg: #f7f0e4;
  --bg-accent: #fff7ec;
  --panel: rgba(255, 252, 246, 0.92);
  --panel-strong: rgba(255, 250, 242, 0.98);
  --panel-soft: rgba(255, 244, 225, 0.76);
  --line: rgba(121, 89, 40, 0.14);
  --line-strong: rgba(121, 89, 40, 0.26);
  --text: #23303b;
  --muted: #6d7783;
  --accent: #0f9a86;
  --accent-strong: #ff9f43;
  --accent-soft: rgba(255, 159, 67, 0.12);
  --danger-soft: rgba(198, 86, 86, 0.1);
  --shadow: 0 26px 52px rgba(120, 96, 60, 0.14);
  --radius: 22px;
  --radius-lg: 34px;
  --font-display: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 159, 67, 0.2), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(15, 154, 134, 0.18), transparent 28%),
    linear-gradient(180deg, #fff9ef 0%, #f7f0e4 38%, #f2eadc 100%);
}

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

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

code,
textarea,
input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.site-shell,
.admin-shell {
  min-height: 100vh;
}

.site-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.hero,
.content-card,
.admin-panel,
.admin-sidebar,
.login-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px 28px 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 159, 67, 0.22), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(15, 154, 134, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 252, 245, 0.98), rgba(255, 244, 225, 0.94));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(145, 104, 39, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(145, 104, 39, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 22px;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 159, 67, 0.26), rgba(15, 154, 134, 0.22));
  transform: rotate(14deg);
  pointer-events: none;
}

.hero__top,
.hero__actions,
.panel-head,
.action-row,
.meta-chip-row,
.site-nav,
.card-meta,
.facts-row,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__top,
.panel-head,
.action-row {
  justify-content: space-between;
}

.hero__top {
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  row-gap: 18px;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  width: auto;
  max-width: min(100%, 560px);
  text-align: left;
}

.brand-logo {
  max-height: var(--logo-max-height, 180px);
  max-width: min(100%, 460px);
  width: auto;
  border-radius: 0;
}

.site-nav {
  width: auto;
  justify-content: flex-end;
}

.site-nav a {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  border-radius: 18px;
  color: #44515d;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(121, 89, 40, 0.08);
  box-shadow: 0 10px 18px rgba(122, 98, 62, 0.06);
}

.site-nav a:hover {
  color: #17242f;
  border-color: var(--line);
}

.hero__body {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 28px 0 8px;
}

.hero h1,
.admin-panel h1,
.content-card h1,
.feature-hero h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy,
.section-head p,
.muted,
.site-footer,
.card-meta,
.summary-item span,
.quick-link small {
  color: var(--muted);
}

.kairos-links {
  margin-top: 14px;
}

.kairos-links center {
  display: block;
}

.eyebrow,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 800;
  color: #cf6d0a;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

.button,
button {
  appearance: none;
  border: 1px solid rgba(121, 89, 40, 0.12);
  background: #fffefb;
  color: #1d2a34;
  border-radius: 16px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(122, 98, 62, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 28px rgba(122, 98, 62, 0.12);
}

.button--primary,
button.button--primary {
  background: linear-gradient(135deg, #ffb347, #ff8d3b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(255, 141, 59, 0.24);
}

.button--block {
  width: 100%;
  justify-content: center;
  display: inline-flex;
}

.main-content {
  padding-top: 24px;
}

.home-grid,
.review-layout,
.admin-shell,
.card-grid,
.stats-grid,
.form-grid,
.pros-cons-grid,
.report-grid,
.media-grid,
.snapshot-list {
  display: grid;
  gap: 18px;
}

.home-grid,
.review-layout {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.78fr);
  align-items: start;
}

.home-main,
.home-side {
  display: grid;
  gap: 20px;
}

.feature-hero,
.review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  border-radius: 30px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 243, 220, 0.94));
  border: 1px solid rgba(121, 89, 40, 0.12);
}

.feature-hero__copy,
.review-hero__copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.feature-hero__copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0;
}

.feature-hero__media,
.review-hero__media {
  display: block;
}

.feature-hero__media img,
.review-hero__media img,
.review-card__media img,
.page-cover img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 768 / 450;
  object-fit: cover;
  border: 1px solid rgba(121, 89, 40, 0.08);
}

.post-cover {
  margin: 18px 0 24px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.post-cover img {
  display: block;
  visibility: visible;
  opacity: 1;
  width: 100%;
  max-width: 768px;
  aspect-ratio: 768 / 450;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid #dbe5ef;
  box-shadow: 0 18px 38px rgba(122, 140, 160, 0.14);
}

.demo-embed {
  margin: 0 0 28px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #dbe5ef;
  box-shadow: 0 16px 32px rgba(122, 140, 160, 0.12);
}

.demo-embed h2 {
  margin: 0 0 12px;
}

.demo-embed p {
  margin: 0 0 16px;
  color: #5f7690;
}

.demo-embed__frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #dbe5ef;
  background: #edf4fb;
}

.demo-embed__frame iframe {
  width: 100%;
  min-height: 640px;
  border: 0;
  display: block;
  background: #ffffff;
}

.facts-row {
  gap: 10px;
}

.fact-pill,
.meta-chip {
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(121, 89, 40, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(122, 98, 62, 0.06);
}

.content-card,
.admin-panel {
  border-radius: var(--radius);
  padding: 24px;
}

.home-editorial {
  padding: 28px;
}

.home-editorial--intro {
  margin-bottom: 4px;
}

.home-editorial--intro h1 {
  margin-bottom: 14px;
}

.home-editorial--intro p:last-child {
  margin-bottom: 0;
}

.author-box {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 32px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #dbe5ef;
  box-shadow: 0 16px 34px rgba(121, 140, 162, 0.12);
}

.author-box__media {
  width: 96px;
}

.author-box__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid #dbe5ef;
}

.author-box__content {
  display: grid;
  gap: 10px;
}

.author-box__content h2 {
  margin: 0;
  color: #18324a;
}

.author-box__content p {
  margin: 0;
  color: #4f6984;
}

.author-box__meta {
  font-size: 0.92rem;
  color: #73879c;
}

.review-index,
.section-grid {
  display: grid;
  gap: 16px;
}

.pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe5ef;
  color: #1f3851;
  box-shadow: 0 10px 20px rgba(121, 140, 162, 0.08);
}

.pagination__link--active {
  background: linear-gradient(135deg, #5ea0e2, #3f77c2);
  color: #ffffff;
  border-color: transparent;
}

.section-head--wide {
  max-width: 840px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid--featured {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-grid--portal {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
  overflow: hidden;
  padding: 0;
}

.review-card--editorial {
  display: grid;
  gap: 0;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 248, 234, 0.94));
}

.review-card--portal {
  border-radius: 24px;
  display: grid;
  align-content: start;
}

.review-card__media {
  display: block;
  padding: 16px 16px 0;
}

.review-card__content {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.review-card__content h2,
.review-card__content h3,
.side-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.08;
}

.card-meta {
  justify-content: space-between;
  border-top: 1px solid rgba(121, 89, 40, 0.08);
  padding-top: 12px;
  font-size: 0.92rem;
}

.feature-hero--slot-portal {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 249, 236, 0.98), rgba(255, 235, 194, 0.96));
  box-shadow: 0 20px 40px rgba(122, 98, 62, 0.12);
}

.feature-hero--slot-portal .feature-hero__copy {
  gap: 16px;
  padding: 10px 8px 10px 8px;
}

.feature-hero--slot-portal .feature-hero__copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.feature-hero--slot-portal .feature-hero__media {
  height: 100%;
}

.feature-hero--slot-portal .feature-hero__media img {
  height: 100%;
  min-height: 100%;
}

.side-panel {
  display: grid;
  gap: 16px;
}

.side-panel--sticky {
  position: sticky;
  top: 18px;
}

.snapshot-list {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.snapshot-list div,
.summary-item,
.quick-link {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(121, 89, 40, 0.08);
}

.snapshot-list strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-display);
}

.quick-links,
.summary-stack {
  display: grid;
  gap: 12px;
}

.quick-link {
  display: grid;
  gap: 6px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.summary-item strong {
  text-align: right;
}

.article {
  max-width: none;
}

.article--review {
  padding: 22px;
  background: linear-gradient(180deg, #fffdfa, #fff7ea);
  border-color: rgba(121, 89, 40, 0.12);
  box-shadow: 0 18px 38px rgba(122, 98, 62, 0.12);
}

.article-body {
  line-height: 1.78;
  font-size: 1.02rem;
  color: #36424d;
}

.article-body--review {
  padding-top: 18px;
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: #1f2b35;
}

.article-body h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 2rem;
}

.article-body h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body table {
  margin-top: 0;
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 20px;
}

.article-body blockquote {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid #ff9f43;
  background: #fff4e6;
  border-radius: 0 18px 18px 0;
}

.article-body table,
.slot-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(121, 89, 40, 0.12);
  background: #fffefb;
}

.article-body table th,
.article-body table td,
.slot-table th,
.slot-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(121, 89, 40, 0.09);
  text-align: left;
  color: #33404b;
}

.article-body table th,
.slot-table th {
  background: linear-gradient(180deg, #fff4e6, #ffe7c7);
  color: #1d2a34;
}

.casino-compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(121, 89, 40, 0.12);
  background: #fffefb;
  box-shadow: 0 18px 36px rgba(122, 98, 62, 0.08);
}

.casino-compare-table th,
.casino-compare-table td {
  padding: 18px 18px;
  border-bottom: 1px solid rgba(121, 89, 40, 0.08);
  text-align: left;
  vertical-align: middle;
  color: #33404b;
}

.casino-compare-table th {
  background: linear-gradient(180deg, #fff7eb 0%, #ffeacc 100%);
  color: #1d2a34;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.casino-compare-table tr:last-child td {
  border-bottom: 0;
}

.casino-compare-table tbody tr:hover td {
  background: #fff8ee;
}

.casino-compare-table__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.casino-compare-table__logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(121, 89, 40, 0.09);
  padding: 7px;
}

.casino-compare-table__name {
  font-weight: 700;
  color: #1f2b35;
  font-size: 1rem;
}

.casino-compare-table__meta {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  color: #7a8088;
}

.casino-compare-table__note {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2df;
  border: 1px solid rgba(255, 159, 67, 0.24);
  color: #9f5f10;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

.casino-compare-table__text {
  color: #4a5662;
  font-size: 0.96rem;
  line-height: 1.65;
}

.casino-compare-table__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 11px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #0f9a86 0%, #0fb3a2 100%);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 22px rgba(15, 154, 134, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.casino-compare-table__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 154, 134, 0.24);
}

.toc-block {
  margin: 24px 0 28px;
  border: 1px solid rgba(121, 89, 40, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, #fffaf2 0%, #fff1dd 100%);
  box-shadow: 0 14px 28px rgba(122, 98, 62, 0.08);
  overflow: hidden;
}

.toc-block summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f2b35;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-block summary::-webkit-details-marker {
  display: none;
}

.toc-block summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: 12px;
  font-size: 1.15rem;
  color: #d4770d;
}

.toc-block[open] summary::after {
  content: "−";
}

.toc-block__nav {
  padding: 0 20px 18px;
}

.toc-block__list,
.toc-block__sublist {
  margin: 0;
  padding-left: 18px;
}

.toc-block__sublist {
  margin-top: 10px;
  padding-left: 18px;
}

.toc-block__item {
  margin: 0 0 10px;
  color: #54606b;
}

.toc-block__item:last-child {
  margin-bottom: 0;
}

.toc-block__item a {
  color: #2f4656;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.toc-block__item a:hover {
  color: #13232f;
  border-bottom-color: rgba(19, 35, 47, 0.18);
}

.toc-block__item--h3 {
  font-size: 0.96rem;
  color: #79818b;
}

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

.pros-cons-grid,
.manual-pros-cons,
.report-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pros-box,
.manual-pros,
.cons-box,
.manual-cons,
.media-card,
.faq-item {
  border-radius: 22px;
  padding: 18px;
  background: #fffefb;
  border: 1px solid rgba(121, 89, 40, 0.1);
  box-shadow: 0 14px 28px rgba(122, 98, 62, 0.08);
}

.cons-box,
.manual-cons {
  border-color: rgba(198, 86, 86, 0.16);
  background: linear-gradient(180deg, rgba(198, 86, 86, 0.06), transparent), #fffefb;
}

.icon-list,
.manual-pros-list,
.manual-cons-list,
.simple-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.icon-list--pros li::marker {
  color: var(--accent);
}

.manual-pros-list li::marker {
  color: var(--accent);
}

.icon-list--cons li::marker {
  color: #cf7f7f;
}

.manual-cons-list li::marker {
  color: #cf7f7f;
}

.manual-pros h2,
.manual-pros h3,
.manual-cons h2,
.manual-cons h3,
.pros-box h2,
.pros-box h3,
.cons-box h2,
.cons-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.manual-pros p:last-child,
.manual-cons p:last-child,
.pros-box p:last-child,
.cons-box p:last-child,
.manual-pros-list:last-child,
.manual-cons-list:last-child {
  margin-bottom: 0;
}

.review-hero,
.side-panel,
.summary-item,
.fact-pill {
  background: #fffefb;
  color: #33404b;
  border-color: rgba(121, 89, 40, 0.1);
  box-shadow: 0 14px 28px rgba(122, 98, 62, 0.08);
}

.review-hero {
  background: linear-gradient(180deg, #fffdfa, #fff0d7);
  padding: 20px 22px;
  gap: 12px;
  border-radius: 26px;
}

.review-hero--portal {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: stretch;
  gap: 20px;
  padding: 18px;
}

.review-hero--portal .review-hero__copy {
  padding: 8px 6px 8px 6px;
}

.review-hero--portal .review-hero__media {
  display: block;
}

.review-hero--portal .review-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 20px;
  aspect-ratio: 768 / 450;
  object-fit: cover;
  border: 1px solid rgba(121, 89, 40, 0.08);
}

.review-hero .hero-copy,
.summary-item span,
.card-meta {
  color: #707a84;
}

.review-hero__copy {
  gap: 10px;
}

.review-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1;
}

.review-hero .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.review-hero .hero-copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
  max-width: 760px;
}

.review-hero .facts-row {
  gap: 8px;
}

.side-panel h3,
.summary-item strong,
.fact-pill {
  color: #1f2b35;
}

.review-hero .fact-pill {
  padding: 7px 10px;
  font-size: 0.86rem;
  box-shadow: none;
}

.faq-list,
.generator-result {
  display: grid;
  gap: 16px;
}

.media-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.media-card {
  display: grid;
  gap: 12px;
}

.media-card img {
  aspect-ratio: 768 / 430;
  object-fit: cover;
  border-radius: 16px;
}

.report-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer {
  margin-top: 26px;
  padding: 20px 6px 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(121, 89, 40, 0.1);
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(121, 89, 40, 0.08);
}

.admin-body,
.login-body {
  min-height: 100vh;
  padding: 20px;
}

.admin-shell {
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  border-radius: 28px;
  padding: 24px;
}

.brand--admin {
  display: inline-block;
  margin-bottom: 28px;
}

.admin-nav {
  display: grid;
  gap: 10px;
}

.admin-nav a {
  padding: 10px 12px;
  border-radius: 14px;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.admin-main {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-card {
  border-radius: 22px;
  padding: 18px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  font-size: 2.2rem;
  font-family: var(--font-display);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: top;
}

.table-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-actions form {
  margin: 0;
}

.content-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(13, 21, 40, 0.72);
  padding: 12px 14px;
  font-size: 0.98rem;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.flash {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(202, 165, 92, 0.1);
  border: 1px solid rgba(202, 165, 92, 0.16);
}

.login-body {
  display: grid;
  place-items: center;
}

.login-card {
  width: min(520px, 100%);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 16px;
}

.admin-body,
.login-body {
  color: #203144;
  background:
    radial-gradient(circle at 14% 0%, rgba(239, 185, 88, 0.18), transparent 20%),
    radial-gradient(circle at 92% 10%, rgba(103, 157, 221, 0.16), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}

.admin-body .admin-sidebar,
.admin-body .admin-panel,
.login-body .login-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(207, 219, 232, 0.92);
  box-shadow: 0 18px 40px rgba(114, 135, 159, 0.16);
  backdrop-filter: blur(8px);
}

.admin-body .brand--admin,
.login-body .login-card h1,
.admin-body .admin-panel h1,
.admin-body .stat-card strong {
  color: #18324f;
}

.admin-body .admin-nav a {
  color: #35506b;
}

.admin-body .admin-nav a:hover {
  background: #eef4fb;
  color: #15314d;
}

.admin-body .stat-card,
.admin-body .media-card,
.admin-body .faq-item {
  background: #f8fbff;
  border-color: #d9e4ef;
}

.admin-body .admin-table th,
.admin-body .admin-table td {
  border-bottom-color: #d9e4ef;
  color: #2a4159;
}

.admin-body .admin-table th {
  color: #17324d;
  background: #f6f9fc;
}

.admin-body .muted,
.login-body .muted {
  color: #6f8398;
}

.admin-body label,
.login-body label {
  color: #21364c;
}

.admin-body input,
.admin-body textarea,
.login-body input,
.login-body textarea {
  color: #1e3146;
  background: #ffffff;
  border-color: #d4dfeb;
}

.admin-body input::placeholder,
.admin-body textarea::placeholder,
.login-body input::placeholder,
.login-body textarea::placeholder {
  color: #8ea0b2;
}

.admin-body .button,
.admin-body button,
.login-body .button,
.login-body button {
  color: #22415f;
  background: #ffffff;
  border-color: #d0dbe8;
}

.admin-body .button--primary,
.admin-body button.button--primary,
.login-body .button--primary,
.login-body button.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #5ea0e2, #3f77c2);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(63, 119, 194, 0.2);
}

.admin-body .flash,
.login-body .flash {
  color: #23425f;
  background: #edf6ff;
  border-color: #cfe1f3;
}

.custom-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

.custom-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  max-width: 100%;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f9a86 0%, #10b0a0 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 14px 28px rgba(15, 154, 134, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.custom-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 154, 134, 0.26);
}

.custom-cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 154, 134, 0.18), 0 18px 34px rgba(15, 154, 134, 0.24);
}

.custom-cta-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(15, 154, 134, 0.18);
}

@media (max-width: 1080px) {
  .hero__top {
    justify-content: center;
    flex-direction: column;
  }

  .site-nav {
    justify-content: center;
  }

  .brand {
    justify-content: center;
    max-width: 100%;
  }

  .brand-logo {
    max-height: calc(var(--logo-max-height, 180px) * 0.78);
    max-width: min(100%, 520px);
  }

  .home-grid,
  .review-layout,
  .feature-hero,
  .review-hero,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .feature-hero--slot-portal,
  .review-hero--portal {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .side-panel--sticky {
    position: static;
    height: auto;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1320px);
  }

  .hero {
    padding: 22px 18px 24px;
  }

  .hero__body {
    padding-top: 22px;
  }

  .hero h1,
  .admin-panel h1,
  .content-card h1,
  .feature-hero h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .content-card,
  .admin-panel,
  .feature-hero,
  .review-hero {
    padding: 18px;
  }

  .author-box {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .author-box__media {
    width: 84px;
    max-width: 84px;
  }

  .demo-embed {
    padding: 18px;
  }

  .demo-embed__frame iframe {
    min-height: 480px;
  }

  .review-card__media {
    padding: 12px 12px 0;
  }

  .casino-compare-table,
  .casino-compare-table thead,
  .casino-compare-table tbody,
  .casino-compare-table tr,
  .casino-compare-table th,
  .casino-compare-table td {
    display: block;
    width: 100%;
  }

  .casino-compare-table thead {
    display: none;
  }

  .casino-compare-table tr {
    padding: 14px;
    border-bottom: 1px solid rgba(121, 89, 40, 0.09);
  }

  .casino-compare-table tr:last-child {
    border-bottom: 0;
  }

  .casino-compare-table td {
    padding: 8px 0;
    border: 0;
  }

  .casino-compare-table__logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-logo {
    max-height: calc(var(--logo-max-height, 180px) * 0.62);
    max-width: min(100%, 360px);
  }
}
