:root {
  --bg: #0a0c12;
  --bg-elevated: #12151f;
  --bg-card: #161a27;
  --bg-card-hover: #1b2030;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0f6;
  --text-muted: #9aa3b8;
  --accent: #d4a72c;
  --accent-bright: #f0c14d;
  --accent-glow: rgba(212, 167, 44, 0.25);
  --purple: #7c5cff;
  --purple-glow: rgba(124, 92, 255, 0.18);
  --success: #3ecf8e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --container: 1120px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--purple-glow), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(212, 167, 44, 0.08), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

code {
  font-size: 0.9em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8deea;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.logo__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #9a6f12);
  color: #1a1204;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__name {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.logo__tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: none;
  gap: 20px;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a:hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 40px 0 28px;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__intro {
  display: grid;
  gap: 14px;
  color: #c5ccda;
}

.hero__intro p {
  margin: 0;
}

/* Rating section */

.rating {
  padding: 12px 0 48px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.casino-grid {
  display: grid;
  gap: 16px;
}

.casino-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.casino-card:hover {
  border-color: rgba(212, 167, 44, 0.28);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.casino-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.casino-card__logo-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.casino-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casino-card__meta {
  min-width: 0;
}

.casino-card__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0d2618;
  background: linear-gradient(135deg, #7dffb8, var(--success));
}

.casino-card__name {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.casino-card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.casino-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.btn--primary {
  color: #1a1204;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn--primary:hover {
  color: #000;
  box-shadow: 0 14px 34px rgba(212, 167, 44, 0.35);
}

/* Content blocks */

.content-block {
  padding: 40px 0;
}

.content-block--alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.content-block h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
}

.content-block p {
  margin: 0 0 14px;
  color: #c5ccda;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #c5ccda;
}

.check-list li + li {
  margin-top: 8px;
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq__item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin: 0;
  padding: 0 18px 16px;
}

/* Footer */

.site-footer {
  margin-top: 24px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.site-footer__inner {
  display: grid;
  gap: 24px;
}

.site-footer__brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.site-footer__brand p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.92rem;
}

.site-footer__nav a {
  color: var(--text-muted);
}

.site-footer__copy {
  margin: 0;
  color: #6f7a90;
  font-size: 0.85rem;
}

/* Tablet+ */

@media (min-width: 640px) {
  .site-nav {
    display: flex;
  }

  .casino-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 56px;
  }
}

@media (min-width: 960px) {
  .casino-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

/* Review page */

.hero--review {
  padding-bottom: 20px;
}

.review-hero {
  display: grid;
  gap: 24px;
}

.review-hero__back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs {
  margin-bottom: 16px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: rgba(154, 163, 184, 0.55);
}

.breadcrumbs__item a {
  color: var(--text-muted);
}

.breadcrumbs__item a:hover {
  color: var(--accent-bright);
}

.breadcrumbs__item--current {
  color: #c5ccda;
}

.review-hero__back:hover {
  color: var(--accent-bright);
}

.review-hero__brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-hero__logo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.review-hero__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  z-index: 1;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0d2618;
  background: linear-gradient(135deg, #7dffb8, var(--success));
  white-space: nowrap;
}

.review-hero__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-hero__heading {
  min-width: 0;
}

.review-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.review-hero__intro {
  margin: 0 0 20px;
  color: #c5ccda;
}

.review-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--lg {
  min-height: 48px;
  padding-inline: 22px;
}

.review-layout {
  padding: 8px 0 48px;
}

.review-layout__grid {
  display: grid;
  gap: 28px;
}

.review-layout__main .content-block--flat {
  padding: 28px 0 0;
}

.review-layout__main .content-block--flat h2 {
  margin-bottom: 12px;
}

.review-layout__main .content-block--flat p {
  color: #c5ccda;
}

.review-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.review-facts__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-facts__item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.review-facts__item--highlight {
  padding: 18px 20px;
}

.review-facts__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
}

.review-facts__item p {
  margin: 0;
  color: #c5ccda;
}

.review-facts__item p.review-facts__value {
  font-size: 1.625rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.review-facts__value--code {
  letter-spacing: 0.14em;
}

.review-bottom-cta {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid rgba(212, 167, 44, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212, 167, 44, 0.08), rgba(124, 92, 255, 0.06));
}

.review-bottom-cta h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.review-bottom-cta p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.review-layout__aside--desktop {
  display: none;
}

/* Top widget */

.top-widget {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.top-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.top-widget__title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.top-widget__all {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.top-widget__all:hover {
  color: var(--accent-bright);
}

.top-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.top-list__item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}

.top-list__item:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.top-list__rank {
  width: 22px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-bright);
  text-align: center;
}

.top-list__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.top-list__body {
  min-width: 0;
}

.top-list__name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-list__name:hover {
  color: var(--accent-bright);
}

.top-list__badge {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.top-list__play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #1a1204;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  font-weight: 800;
}

.top-list__play:hover {
  color: #000;
  transform: scale(1.05);
}

@media (min-width: 960px) {
  .review-layout__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .review-layout__aside--desktop {
    display: block;
    position: sticky;
    top: 84px;
  }

}
