*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  background: #000;
  color: #999;
}
img {
  display: block;
  width: 100%;
}
/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 12px;
  max-width: 860px;
  margin: 0 auto;
  border-bottom: 3px solid #333;
  position: relative;
}
.header__burger {
  display: none;
  width: 42px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  z-index: 20;
}

.header__burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ccc;
  margin: 5px 0;
  border-radius: 2px;
}
.header__burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__burger span {
  transition: 0.3s;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.header__nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 0.95em;
}
/* footer */
.footer {
  padding: 20px 12px;
  max-width: 860px;
  margin: 0 auto;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 3px solid #333;
  border-top: 3px solid #333;
}
.footer__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer__nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 0.95em;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 0.85em;
  color: #777;
}
/* Article content styles */
.article-body {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0 60px;
  box-sizing: border-box;
}
.article-body h1 {
  font-size: 2.1em;
  line-height: 1.2;
  margin-bottom: 10px;
  margin-top: 0;
  color: #fff;
}
.article-body h2 {
  font-size: 1.45em;
  margin-top: 48px;
  margin-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  color: #fff;
}
.article-body h3 {
  font-size: 1.1em;
  margin-top: 32px;
  margin-bottom: 8px;
  color: #fff;
}
.article-body p {
  margin-bottom: 18px;
}
.article-body ul {
  margin-bottom: 18px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body .meta {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 32px;
  font-family: Arial, sans-serif;
}
.article-body .faq-q {
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 4px;
}
.article-body .faq-a {
  color: #444;
  margin-bottom: 14px;
}

/* Responsive table wrapper */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0 28px;
}
.article-body .table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86em;
  margin: 0;
}
.article-body .table-wrap table th {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px 10px;
  text-align: left;
  font-weight: bold;
  color: #333;
}
.article-body .table-wrap table td {
  border: 1px solid #eee;
  padding: 9px 10px;
  color: #999;
}
.article-body .table-wrap table tr:nth-child(even) td {
  background: #fafafa;
}

/* Fallback for tables without wrapper */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86em;
  font-family: Arial, sans-serif;
  margin: 24px 0 28px;
}
.article-body table th {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px 10px;
  text-align: left;
  font-weight: bold;
  color: #333;
}
.article-body table td {
  border: 1px solid #eee;
  padding: 9px 10px;
  color: #444;
}
.article-body table tr:nth-child(even) td {
  background: #fafafa;
}

/* Casino listing cards */
.casino-listings {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.casino-card {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 0 16px;
  border: 1.5px solid #d6d6d6;
  border-radius: 6px;
  padding: 20px;
  background: #fff;
  transition: border-color 0.2s;
}
.casino-card:hover {
  border-color: #999;
}
.casino-card--top {
  border-color: #4a4a4a;
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.casino-rank {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4a4a4a;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.casino-card--top .casino-rank {
  background: #1a1a1a;
}

.casino-info {
  min-width: 0;
}
.casino-label {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #4a4a4a;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.casino-card--top .casino-label {
  background: #1a1a1a;
}
.casino-name {
  font-family: Georgia, serif;
  font-size: 1.2em;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.casino-bonus {
  font-family: Arial, sans-serif;
  font-size: 0.88em;
  color: #555;
  margin: 0 0 6px;
}
.casino-bonus strong {
  color: #222;
}
.casino-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
  font-size: 0.76em;
  color: #777;
}
.casino-meta-row span {
  white-space: nowrap;
}

.casino-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
}
.casino-rating-num {
  font-family: Arial, sans-serif;
  font-size: 1.05em;
  font-weight: bold;
  color: #1a1a1a;
}
.casino-stars {
  color: #c8a415;
  font-size: 12px;
  letter-spacing: 1px;
}

.casino-cta a {
  display: inline-block;
  padding: 11px 22px;
  background: #4a4a4a;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}
.casino-cta a:hover {
  background: #1a1a1a;
}
.casino-card--top .casino-cta a {
  background: #1a1a1a;
}
.casino-card--top .casino-cta a:hover {
  background: #333;
}

/* Tablet: 601-900px */
@media (max-width: 900px) {
  .article-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .article-body h1 {
    font-size: 1.7em;
  }

  .casino-card {
    grid-template-columns: 36px 1fr auto;
    grid-template-rows: auto auto;
    padding: 16px;
    gap: 8px 14px;
  }
  .casino-rank {
    grid-row: 1;
    grid-column: 1;
  }
  .casino-info {
    grid-row: 1;
    grid-column: 2 / 3;
  }
  .casino-rating {
    grid-row: 1;
    grid-column: 3;
    padding: 0 4px;
  }
  .casino-cta {
    grid-row: 2;
    grid-column: 1 / 4;
    margin-top: 4px;
  }
  .casino-cta a {
    width: 100%;
    display: block;
    text-align: center;
  }
}

/* Mobile: <=600px */
@media (max-width: 600px) {
  .article-body {
    font-size: 15px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .article-body h1 {
    font-size: 1.4em;
  }
  .article-body h2 {
    font-size: 1.15em;
    margin-top: 32px;
  }
  .article-body h3 {
    font-size: 1.02em;
  }

  .casino-card {
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto auto;
    padding: 14px;
    gap: 6px 10px;
  }
  .casino-rank {
    grid-row: 1;
    grid-column: 1;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .casino-info {
    grid-row: 1;
    grid-column: 2;
  }
  .casino-name {
    font-size: 1.05em;
  }
  .casino-bonus {
    font-size: 0.82em;
  }
  .casino-meta-row {
    font-size: 0.7em;
    gap: 4px 8px;
  }
  .casino-rating {
    grid-row: 2;
    grid-column: 2;
    flex-direction: row;
    gap: 6px;
    justify-content: flex-start;
    padding: 2px 0 0;
  }
  .casino-rating-num {
    font-size: 0.92em;
  }
  .casino-stars {
    font-size: 11px;
  }
  .casino-cta {
    grid-row: 3;
    grid-column: 1 / 3;
    margin-top: 4px;
  }
  .casino-cta a {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.82em;
  }

  .table-wrap table {
    min-width: 0;
  }
  .table-wrap tr {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #fff;
  }
  .table-wrap tr:nth-child(even) td {
    background: transparent;
  }
  .table-wrap td {
    border: none;
    padding: 5px 0 5px 46%;
    text-align: left;
    position: relative;
    font-size: 0.88em;
  }
}

@media (max-width: 768px) {
  .header__logo {
    max-width: 120px;
  }
  .header__burger {
    display: block;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    padding: 20px;
    z-index: 10;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .header__nav.active {
    display: flex;
  }

  .header__nav ul {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .header__nav ul li a {
    display: block;
    padding: 8px 0;
  }

  .header__lang {
    width: 100%;
  }
  .footer__top {
    flex-direction: column;
  }
  .footer__top .footer__logo {
    max-width: 120px;
  }
  .footer__bottom img {
    max-width: 120px;
  }
}
