:root {
  --page-background: #f3f4f7;
  --surface-background: #fff;
  --primary-color: #34edb8;
  --text-color: #174433;
  --muted-color: #688b83;
  --border-color: #e1e4ed;
  --container-width: 1120px;
  --content-width: 1060px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page-background);
  font:
    15px/1.65 Arial,
    Helvetica,
    sans-serif;
  color: var(--text-color);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #178448;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: min(calc(100% - 36px), var(--container-width));
  margin-inline: auto;
}
header {
  background: #183b1f;
  color: #fff;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
}
header nav,
.account {
  display: flex;
  gap: 22px;
  align-items: center;
}
header a {
  color: white;
  font-size: 13px;
}
.account a:last-child,
.primary-link,
.ranking li > a,
.hero-copy a {
  display: inline-block;
  background: #34eee8;
  color: #fff;
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 700;
  text-align: center;
}
.account a:first-child {
  border: 1px solid #0aaf46;
  padding: 8px 15px;
  border-radius: 4px;
}
.logo img {
  display: block;
  max-width: 155px;
}
main {
  padding-bottom: 38px;
}
main > section:not(.hero) {
  margin: 24px auto;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  margin-top: 18px;
  background: linear-gradient(110deg, #16bda4, #088b59 72%, #03502b);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
}
.hero > img {
  width: 48%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}
.hero-copy {
  padding: 28px 36px;
  flex: 1;
  z-index: 1;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.12;
  margin: 10px 0;
}
.hero-copy > span {
  font-size: 11px;
  letter-spacing: 2px;
}
.hero-copy p {
  color: #fff;
}
.byline {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  color: var(--muted-color);
  font-size: 12px;
}
.byline img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.byline time {
  margin-left: auto;
}
.intro {
  text-align: center;
  max-width: 850px;
}
.intro p {
  margin: 8px 0;
}
.intro .primary-link {
  margin-top: 12px;
}
.ranking h2 {
  text-align: center;
}
.ranking ol {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 8px;
}
.ranking li {
  display: grid;
  grid-template-columns:
    30px 90px minmax(120px, 1fr) 95px minmax(180px, 1.2fr)
    160px;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-left: 4px solid #3cf08a;
  border-radius: 4px;
  font-size: 13px;
}
.ranking li img {
  width: 85px;
  height: 45px;
  object-fit: contain;
  background: #121832;
  border-radius: 3px;
}
.ranking .rank {
  font-weight: 800;
  color: #34ef5d;
}
.ranking .rating {
  color: #13ec5b;
  font-weight: 700;
}
.ranking .offer {
  color: #0bbe29;
  font-weight: 700;
}
.ranking li > a {
  font-size: 12px;
  padding: 9px;
}
.ranking + section {
  margin-top: 20px;
}
main > section:not(.ranking):not(.intro):not(.hero) {
  max-width: var(--content-width);
}
section h2 {
  font-size: 23px;
  line-height: 1.3;
  color: #1e5108;
  border-bottom: 2px solid #345534;
  padding-bottom: 8px;
  margin: 30px 0 15px;
}
section h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 24px 0 12px;
  color: #164b17;
}
section h4 {
  font-size: 16px;
  color: #29bca6;
  margin: 20px 0 8px;
}
section p {
  margin: 10px 0;
}
section ul,
section ol {
  padding-left: 24px;
}
section li {
  margin: 5px 0;
}
section > img {
  max-width: 180px;
  display: block;
  margin: 12px 0;
}
section strong {
  font-weight: 700;
}
.table-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  margin: 18px 0;
  border-radius: 5px;
}
.table-wrap::-webkit-scrollbar {
  display: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
  background: #fff;
  font-size: 13px;
}
th {
  background: #276d31;
  color: #fff;
  text-align: left;
}
th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid #e4e6ed;
}
tbody tr:nth-child(even) {
  background: #f0f1f5;
}
section > h3 ~ p {
  max-width: 100%;
}
section details {
  background: white;
  border: 1px solid #dddfe6;
  margin: 7px 0;
  border-radius: 5px;
  padding: 12px 16px;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  margin-bottom: 0;
}
footer {
  background: #172c0b;
  color: #ddd;
  padding: 30px 0;
  font-size: 12px;
}
footer .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
}
footer p {
  max-width: 740px;
  margin: 0;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
footer a {
  color: #fff;
}
@media (max-width: 800px) {
  header .container {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px;
  }
  header nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    white-space: nowrap;
  }
  .account {
    margin-left: auto;
    gap: 6px;
  }
  .account a {
    font-size: 11px;
    padding: 7px 9px !important;
  }
  .hero {
    min-height: 200px;
  }
  .hero-copy {
    padding: 20px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero > img {
    height: 220px;
    width: 42%;
  }
  .ranking li {
    grid-template-columns: 24px 70px 1fr 120px;
    gap: 8px;
  }
  .ranking li img {
    width: 70px;
  }
  .ranking .rating {
    grid-column: 3;
  }
  .ranking .offer {
    grid-column: 2/4;
  }
  .ranking li > a {
    grid-column: 4;
    grid-row: 1/4;
  }
  .byline {
    flex-wrap: wrap;
  }
  .byline time {
    margin-left: 0;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 14px;
  }
  .container {
    width: calc(100% - 24px);
  }
  header nav {
    font-size: 12px;
  }
  .logo img {
    max-width: 110px;
  }
  .hero {
    display: block;
  }
  .hero > img {
    width: 100%;
    height: 135px;
    object-fit: cover;
  }
  .hero-copy {
    padding: 20px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .ranking li {
    grid-template-columns: 22px 62px minmax(0, 1fr) 95px;
    padding: 8px 6px;
    font-size: 11px;
    gap: 5px;
  }
  .ranking li img {
    width: 62px;
    height: 38px;
  }
  .ranking li > a {
    font-size: 10px;
    padding: 8px 4px;
  }
  .ranking .offer {
    font-size: 11px;
  }
  .ranking .rating {
    font-size: 11px;
  }
  section h2 {
    font-size: 20px;
  }
  section h3 {
    font-size: 17px;
  }
  .byline {
    font-size: 11px;
  }
}
/* Casino review cards: editorial layout */
.casino-review {
  margin: 34px 0 44px;
  max-width: 100%;
}
.casino-review > h3 {
  color: #306b3e;
  font-size: 22px;
  font-weight: 750;
  border-left: 4px solid #59dc57;
  padding: 7px 0 7px 16px;
  margin: 0 0 24px;
}
.review-panel {
  background: var(--surface-background);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(22, 24, 49, 0.08);
}
.review-banner {
  background: linear-gradient(105deg, #34fab1 0%, #2d9b89 38%, #237b38 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 118px;
  color: white;
}
.review-banner .casino-logo {
  background: white;
  border-radius: 12px;
  flex: 0 0 130px;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
}
.review-banner .casino-logo img {
  display: block;
  width: 112px;
  max-height: 65px;
  object-fit: contain;
  background: #07151f;
  border-radius: 4px;
}
.review-offer {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.review-offer span {
  font-size: 12px;
  color: #1e3d08;
  letter-spacing: 1.5px;
}
.review-offer strong {
  font-size: 19px;
  line-height: 1.3;
  color: #fff;
}
.review-banner .review-button {
  flex-shrink: 0;
  background: #0db92c;
  border-radius: 10px;
  padding: 15px 26px;
  color: #102806;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.review-banner .review-button:hover {
  background: #14c314;
}
.review-body {
  padding: 20px 24px 25px;
}
.review-body > p:first-child {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 20px;
}
.review-specs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid #dfe2ec;
  border-radius: 11px;
  overflow: hidden;
  margin: 0 0 22px;
}
.review-specs > div {
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid #dfe2ec;
}
.review-specs > div:last-child {
  border-right: 0;
}
.review-specs dt {
  font-size: 11px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #7b7d9a;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}
.review-specs dd {
  margin: 0;
  font-size: 14px;
  color: #213120;
  overflow-wrap: anywhere;
}
.review-body h4 {
  color: #24d138;
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.3px;
  margin: 22px 0 10px;
}
.review-body h4 ~ p,
.review-body li {
  line-height: 1.75;
}
@media (max-width: 900px) {
  .review-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .review-specs > div:nth-child(3) {
    border-right: 0;
  }
  .review-specs > div:nth-child(-n + 3) {
    border-bottom: 1px solid #dfe2ec;
  }
  .review-banner {
    gap: 14px;
  }
  .review-banner .casino-logo {
    flex-basis: 105px;
  }
  .review-banner .review-button {
    padding: 13px 16px;
  }
}
@media (max-width: 600px) {
  .casino-review > h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .review-banner {
    flex-wrap: wrap;
    padding: 14px;
    gap: 10px;
  }
  .review-banner .casino-logo {
    flex: 0 0 80px;
    min-height: 62px;
    padding: 6px;
  }
  .review-banner .casino-logo img {
    width: 68px;
    max-height: 55px;
  }
  .review-offer {
    flex: 1 1 calc(100% - 100px);
  }
  .review-offer strong {
    font-size: 15px;
  }
  .review-offer span {
    font-size: 10px;
  }
  .review-banner .review-button {
    width: 100%;
    font-size: 13px;
    padding: 12px;
  }
  .review-body {
    padding: 15px;
  }
  .review-body > p:first-child {
    font-size: 14px;
  }
  .review-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-specs > div,
  .review-specs > div:nth-child(3) {
    border-right: 1px solid #dfe2ec;
    border-bottom: 1px solid #dfe2ec;
    padding: 11px;
  }
  .review-specs > div:nth-child(2n) {
    border-right: 0;
  }
  .review-specs > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .review-specs dt {
    font-size: 10px;
  }
  .review-specs dd {
    font-size: 12px;
  }
  .review-body h4 {
    font-size: 15px;
  }
}

.hero {
  background:
    linear-gradient(
      90deg,
      rgba(14, 181, 64, 0.96) 0%,
      rgba(12, 133, 22, 0.88) 55%,
      rgba(41, 74, 8, 0.35) 100%
    ),
    url("/images/banner.webp") center / cover no-repeat;

  color: #fff;
  border-radius: 6px;
  padding: 60px 36px;
  min-height: 275px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1 {
  color: #fff;
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero p {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 0 12px;
}

.hero a {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 22px;
  background: #a128ed;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .hero {
    min-height: 260px;
    padding: 32px 20px;
    background-position: center;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero a {
    padding: 12px 18px;
    font-size: 14px;
  }
}
