/* Dark gothic-fantasy interface: ash, iron, stone, ember and antique gold. */

:root {
  --bg: #0d0f10;
  --bg-2: #141719;
  --stone: #22272a;
  --stone-2: #2d3336;
  --text: #e6e0d2;
  --muted: #aaa393;
  --line: #3c4245;
  --ember: #a54f2b;
  --ember-light: #d0773d;
  --gold: #b9a26d;
  --gold-2: #d2bd87;
  --green: #556354;
  --content: 1180px;
  --shadow: 0 18px 42px rgba(0,0,0,.32);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(165,79,43,.11), transparent 34rem),
    linear-gradient(180deg, #0b0d0e, #111415 30%, #0d0f10);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.72;
}

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

a {
  color: inherit;
}

.header-inner,
.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: .5rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: .6rem .85rem;
  color: #fff;
  background: #000;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent),
    #111416;
  border-bottom: 1px solid #4a4336;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
}

.logo img,
.footer-logo img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(.7rem, 1.5vw, 1.25rem);
}

.desktop-nav a,
.footer-nav a {
  color: #c8c1b2;
  font: 700 .82rem/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.desktop-nav a:hover,
.footer-nav a:hover {
  color: var(--gold-2);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .68rem 1rem;
  color: #f8f1df;
  font: 900 .83rem/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
  border: 1px solid #7e6840;
  background: linear-gradient(#794126, #4e2819);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.48)),
    radial-gradient(circle at 74% 24%, rgba(165,79,43,.16), transparent 20rem),
    #181b1d;
  border-bottom: 1px solid #403829;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner {
  position: relative;
  padding: clamp(2.1rem, 5vw, 4.8rem) 0 clamp(2rem, 4vw, 3.7rem);
}

.sigil {
  position: absolute;
  right: 1%;
  top: 8%;
  color: rgba(185,162,109,.09);
  font-size: clamp(8rem, 18vw, 14rem);
  line-height: 1;
  transform: rotate(-4deg);
}

.kicker,
.section-label,
.label {
  margin: 0 0 .35rem;
  color: var(--gold);
  font: 900 .72rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-shadow: 0 4px 14px rgba(0,0,0,.4);
}

.hero-intro {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-top: .95rem;
  color: #cfc8ba;
  font-size: 1.05rem;
}

.hero-intro p {
  margin: 0;
}

.author {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .7rem;
  background: rgba(0,0,0,.28);
  border: 1px solid #454035;
}

.author img,
.author-bio img {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.author-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: Arial, Helvetica, sans-serif;
}

.author p {
  margin: .08rem 0 0;
  color: var(--muted);
  font: .77rem/1.3 Arial, Helvetica, sans-serif;
}

.verified {
  padding: .08rem .42rem;
  color: #e6eddc;
  background: #35403a;
  border: 1px solid #687469;
  font-size: .65rem;
  font-weight: 900;
}

.listing {
  padding: clamp(1.3rem, 3.5vw, 3rem) 0 clamp(2rem, 4vw, 4rem);
}

.listing-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid #403c34;
}

.listing-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.rune {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #1a1711;
  background: var(--gold);
  border: 1px solid #e0d1a2;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(185,162,109,.12);
}

.casino-list {
  display: grid;
  gap: .85rem;
}

.casino-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(180px,.9fr) minmax(240px,1.15fr) minmax(230px,1fr) 165px;
  align-items: center;
  gap: .9rem;
  padding: .95rem;
  background:
    linear-gradient(90deg, rgba(185,162,109,.035), transparent 28%),
    #171a1c;
  border: 1px solid #353a3c;
  border-left: 4px solid #474e50;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.casino-card.featured {
  border-left-color: var(--ember);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}

.rank {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #eee7d6;
  background: #0b0d0e;
  border: 1px solid #6a5d43;
  font: 900 .88rem/1 Arial, Helvetica, sans-serif;
}

.brand {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.brand img {
  width: 80px;
  height: 52px;
  padding: .25rem;
  object-fit: contain;
  background: #f5f2e9;
  border: 1px solid #474c4e;
}

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

.stars {
  margin-top: .18rem;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .84rem;
}

.bonus p {
  margin: .14rem 0 0;
  font: 900 .92rem/1.35 Arial, Helvetica, sans-serif;
}

.features {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .3rem;
  list-style: none;
  color: #c9c3b7;
  font: .78rem/1.35 Arial, Helvetica, sans-serif;
}

.features li {
  display: flex;
  gap: .4rem;
  align-items: flex-start;
}

.check-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: .08rem;
  fill: none;
  stroke: #7d927d;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta {
  display: grid;
  gap: .3rem;
  text-align: center;
}

.cta small {
  color: #847d70;
  font: .63rem/1.3 Arial, Helvetica, sans-serif;
}

.content {
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow-wrap: anywhere;
}

.anchor-target {
  display: block;
  height: 0;
  scroll-margin-top: 90px;
}

.content h2 {
  margin: 2.7rem 0 .8rem;
  color: #f0eadf;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.22;
}

.content h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: .55rem;
  background: linear-gradient(90deg, var(--ember), var(--gold));
}

.content h3 {
  margin: 1.6rem 0 .5rem;
  color: #d9cfbb;
  font-size: clamp(1.14rem, 2vw, 1.42rem);
  line-height: 1.3;
}

.content p {
  margin: .62rem 0 1rem;
  color: #c7c2b6;
}

.content ul,
.content ol {
  padding-left: 1.4rem;
  color: #c7c2b6;
}

.content li + li {
  margin-top: .34rem;
}

/* Tables scroll independently on small screens; the page itself never scrolls horizontally. */
.content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0 1.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  border: 1px solid #363b3d;
  background: #151819;
  font: .86rem/1.42 Arial, Helvetica, sans-serif;
}

.content table tbody {
  display: table;
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.content table tr:first-child td {
  color: #f1e8d4;
  background: #24292b;
  font-weight: 900;
}

.content td,
.content th {
  min-width: 140px;
  padding: .72rem .8rem;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #343a3c;
  border-bottom: 1px solid #343a3c;
}

.content td:last-child,
.content th:last-child {
  border-right: 0;
}

.content tr:last-child td {
  border-bottom: 0;
}

.content table p {
  margin: 0;
  color: inherit;
}

.author-bio {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  background: #171a1c;
  border: 1px solid #3f4240;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.author-bio h2 {
  margin: 0 0 .25rem;
  font-size: 1.18rem;
}

.author-bio h2::after {
  display: none;
}

.author-bio p {
  margin: 0;
}

.site-footer {
  color: #c9c1b1;
  background: #090b0c;
  border-top: 1px solid #4a4132;
}

.footer-inner {
  padding: 2rem 0;
}

.footer-logo img {
  height: 42px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.1rem;
  margin: 1rem 0;
}

.responsible {
  max-width: 850px;
  padding: .9rem;
  background: #121516;
  border: 1px solid #34383a;
}

.responsible strong {
  color: var(--gold-2);
  font-family: Arial, Helvetica, sans-serif;
}

.responsible p,
.copyright {
  margin: .4rem 0 0;
  color: #9d9688;
  font: .8rem/1.55 Arial, Helvetica, sans-serif;
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: .65rem;
  }

  .desktop-nav a {
    font-size: .76rem;
  }

  .casino-card {
    grid-template-columns: 52px minmax(175px,.9fr) minmax(220px,1.05fr) minmax(210px,1fr);
  }

  .cta {
    grid-column: 2 / -1;
    grid-template-columns: 190px 1fr;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 68px;
  }

  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, var(--content));
  }

  .header-inner {
    min-height: 58px;
    grid-template-columns: 1fr auto;
    gap: .65rem;
  }

  .desktop-nav {
    display: none;
  }

  .logo img {
    height: 32px;
  }

  .header-cta {
    min-height: 38px;
    padding: .46rem .65rem;
    font-size: .75rem;
  }

  .hero-inner {
    padding: .88rem 0 .72rem;
  }

  .kicker {
    margin-bottom: .15rem;
    font-size: .63rem;
  }

  .hero h1 {
    max-width: 88%;
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }

  .hero-intro {
    max-width: 96%;
    margin-top: .38rem;
    font-size: .79rem;
    line-height: 1.42;
  }

  .sigil {
    top: 2%;
    right: -3%;
    font-size: 6.5rem;
  }

  .author {
    width: 100%;
    margin-top: .45rem;
    padding: .34rem .45rem;
  }

  .author img {
    width: 38px;
    height: 38px;
  }

  .author-row {
    font-size: .8rem;
  }

  .author p {
    font-size: .68rem;
  }

  .listing {
    padding: .68rem 0 1.8rem;
  }

  .listing-head {
    margin-bottom: .55rem;
    padding-bottom: .45rem;
  }

  .listing-head h2 {
    font-size: 1.18rem;
  }

  .section-label,
  .rune {
    display: none;
  }

  .casino-card {
    grid-template-columns: 40px 1fr;
    gap: .5rem .65rem;
    padding: .65rem;
  }

  .rank {
    width: 36px;
    height: 36px;
    font-size: .8rem;
  }

  .brand {
    grid-template-columns: 64px 1fr;
  }

  .brand img {
    width: 64px;
    height: 42px;
  }

  .bonus,
  .features,
  .cta {
    grid-column: 1 / -1;
  }

  .bonus p {
    font-size: .84rem;
  }

  .features {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .28rem;
    font-size: .67rem;
  }

  .cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta small {
    display: none;
  }

  .content table tbody {
    min-width: 690px;
  }
}

@media (max-width: 520px) {
  .header-cta span:last-child {
    max-width: 105px;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .content table tbody {
    min-width: 640px;
  }

  .content td,
  .content th {
    min-width: 132px;
    padding: .64rem;
  }

  .author-bio {
    grid-template-columns: 1fr;
  }
}

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