:root {
  --bg: #FFFFFF;
  --card-bg: #FFFFFF;
  --tile-gradient: linear-gradient(270deg, #1D3357 0%, #14213D 100%);
  --header-bg: #14213D;
  --dark: #14213D;
  --border: #D7DEE8;
  --surface: #FFFFFF;
  --accent: #2563EB;
  --table-head: #14213D;
  --cta: #2563EB;
  --cta-text: #FFFFFF;
  --green-label: #027A0E;
  --red-label: #B50606;
  --check: #2563EB;
  --text: #1F2933;
  --white: #FFFFFF;

  --font-main: 'Open Sans', Arial, sans-serif;

  --container-pad: 260px; 
  --section-pad-y: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 22px;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  color: var(--text);
  margin-bottom: 15px;
}

.section-desc {
  font-size: 16px;
  line-height: 22px;
  color: var(--text);
  margin-bottom: 20px;
}

.sub-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 33px;
  color: var(--text);
  margin: 30px 0 15px;
}

.content-section {
  padding: var(--section-pad-y) 0;
}

.content h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 33px;
  color: var(--text);
  margin: 25px 0 10px;
}

.content p {
  font-size: 16px;
  line-height: 22px;
  color: var(--text);
  margin-bottom: 12px;
}

.content p:last-child { margin-bottom: 0; }

.content .table-wrap { margin: 15px 0 10px; }

.dot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 12px;
}

.dot-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
}

.dot-list li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.dot-list--green li::before { background: var(--green-label); }
.dot-list--red li::before { background: var(--red-label); }

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  height: 100px;
  background: var(--header-bg);
  position: relative;
  z-index: 2;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo-img {
  height: 64px;
  width: auto;
}

.hero {
  position: relative;
  margin-top: -100px; 
  padding-top: 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--header-bg);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 21px;
  padding-bottom: 20px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.hero__title {
  font-weight: 600;
  font-size: 36px;
  line-height: 49px;
  color: var(--white);
}

.hero__desc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--white);
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__updated {
  font-size: 14px;
  line-height: 19px;
  color: var(--white);
}

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

.hero__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.hero__author-name {
  font-size: 14px;
  line-height: 19px;
  color: var(--white);
}

.toplist {
  padding: var(--section-pad-y) 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.cat-grid .casino-card__logo-box {
  height: auto;
  aspect-ratio: 16 / 9;
}

.cat-grid .casino-card__name {
  min-height: 54px;
}

.casino-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  border-radius: 15px;
}

.casino-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.casino-card__logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 120px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
}

.casino-card__name {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  text-align: center;
  color: var(--text);
}

.casino-card__cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}


.casino-card__pluses {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.casino-card__pluses li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
}

.casino-card__pluses li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background-color: var(--check);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M7.2 12.4l3.1 3.1 6.2-6.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M7.2 12.4l3.1 3.1 6.2-6.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn-play {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  background: var(--cta);
  border-radius: 10px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  color: var(--cta-text);
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-play:hover {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%);
}

.btn-play:active {
  background: linear-gradient(180deg, #1D4ED8 0%, #2563EB 100%);
}

.toc {
  padding: var(--section-pad-y) 0;
}

.toc__toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  line-height: 22px;
  color: var(--white);
  transition: background 0.15s ease;
}

.toc__toggle:hover {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%);
}

.toc__dropdown.is-open .toc__toggle {
  border-radius: 10px 10px 0 0;
}

.toc__dropdown.is-open .toc__toggle .chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.toc__panel {
  background: #F1F5F9;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 16px 20px;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 24px;
  color: var(--text);
}

.toc__list a {
  font-size: 14px;
  line-height: 19px;
  color: #1D4ED8;
  text-decoration: none;
}

.toc__list a:hover { text-decoration: underline; }

.chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.15s ease;
}

.chevron--up {
  width: 16px;
  height: 16px;
  border-width: 2px;
  transform: rotate(225deg);
  margin-top: 6px;
}

.reviews {
  padding: var(--section-pad-y) 0;
}

.reviews__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  border-radius: 15px;
}

.review {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.review--last {
  padding-bottom: 0;
  border-bottom: none;
}

.review__logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 295px;
  height: 170px;
  background: var(--tile-gradient);
  border-radius: 15px;
  overflow: hidden;
}

.review__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.review__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.review__name {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  color: var(--text);
}

.review__text p {
  font-size: 16px;
  line-height: 22px;
  color: var(--text);
}

.review__text .review__stats {
  font-size: 14px;
  line-height: 19px;
  color: var(--check);
}

.review__pc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 6px 0;
}

.review__pc-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 8px;
}

.review__pc-title--pros { color: #15803D; }
.review__pc-title--cons { color: #DC2626; }

.review__pc .dot-list { margin: 0; }

.review__text .review__verdict {
  font-size: 14px;
  line-height: 19px;
}

.comparison {
  padding: var(--section-pad-y) 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow-x: auto;
  margin-bottom: 40px;
}

.license-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
}

.license-table th,
.license-table td {
  padding: 10px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
}

.license-table th { color: var(--white); }

.license-table th {
  font-weight: 700;
  background: var(--table-head);
  height: 50px;
  white-space: nowrap;
}

.license-table td {
  height: 40px;
  font-weight: 400;
}

.license-table tbody tr:nth-child(odd) { background: #F1F5F9; }
.license-table tbody tr:nth-child(even) { background: #FFFFFF; }

.striped-list {
  list-style: none;
  border-radius: 15px;
  margin: 10px 0 20px;
}

.striped-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
}

.striped-list li:nth-child(odd) { background: #F1F5F9; }
.striped-list li:nth-child(even) { background: #FFFFFF; }
.striped-list li:not(:first-child) { border-top: none; }
.striped-list li:first-child { border-radius: 15px 15px 0 0; }
.striped-list li:last-child { border-radius: 0 0 15px 15px; }

.striped-list li::before {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin: 6.5px 5px 0;
  border-radius: 50%;
  background: #2563EB;
}

.proscons {
  padding: var(--section-pad-y) 0;
}

.proscons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.pc-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  border-radius: 15px;
}

.pc-card__title {
  padding: 4px 20px;
  font-weight: 700;
  font-size: 20px;
  line-height: 27px;
  color: var(--white);
}

.pc-card--pros .pc-card__title {
  background: linear-gradient(90deg, #027A0E 0%, rgba(2, 122, 14, 0) 100%);
}

.pc-card--cons .pc-card__title {
  background: linear-gradient(90deg, #B50606 0%, rgba(181, 6, 6, 0) 100%);
}

.pc-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
}

.pc-card__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 26px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
}

.pc-card__list li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pc-card--pros .pc-card__list li::before { background: var(--green-label); }
.pc-card--cons .pc-card__list li::before { background: var(--red-label); }

.pc-card__list strong { font-weight: 700; }
.pc-card__list span { font-weight: 600; }

.faq {
  padding: var(--section-pad-y) 0 40px;
}

.faq .section-title { margin-bottom: 12px; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: background 0.15s ease;
}

.faq__item:nth-child(odd) { background: #F8FAFC; }
.faq__item:nth-child(even) { background: #FFFFFF; }

.faq__item:hover { background: #EFF6FF; }
.faq__item.is-open { background: #EFF6FF; }

.faq__heading { margin: 0; }

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: var(--text);
}

.faq__icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: #2563EB;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.faq__item:hover .faq__icon,
.faq__item.is-open .faq__icon { background: #1D4ED8; }

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: opacity 0.15s ease; }

.faq__item.is-open .faq__icon::after { opacity: 0; }

.faq__answer {
  padding: 0 20px 16px;
}

.faq__answer p {
  padding-top: 12px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
}

.scroll-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--cta);
  border: none;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%);
}

.scroll-top .chevron--up { border-color: var(--cta-text); }

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 20px;
  background: var(--header-bg);
  border-radius: 10px 10px 0 0;
  font-family: var(--font-main);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__logo-img {
  height: 56px;
  width: auto;
}

.footer__tagline {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #D4D4D4;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footer__warning {
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: #FF2727;
}

.footer__copy {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: var(--white);
}

@media (max-width: 1600px) {
  :root { --container-pad: 40px; }
}

@media (max-width: 1100px) {
  :root { --container-pad: 20px; --section-pad-y: 15px; }

  .hero__title { font-size: 28px; line-height: 38px; }

  .section-title { font-size: 24px; line-height: 33px; }
    .sub-title,
  .content h3 { font-size: 20px; line-height: 27px; }

  
  .casino-card__logo-box { height: 100px; border-radius: 16px; }

  
  .review {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .review__logo-box {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .review__name { text-align: center; }
}

@media (max-width: 600px) {
  :root { --section-pad-y: 10px; }

  .header { height: 64px; padding: 10px; }
  .header__logo-img { height: 48px; }

  .hero { margin-top: -64px; padding-top: 64px; }
  .hero__title { font-size: 24px; line-height: 33px; }

  .section-title { font-size: 20px; line-height: 27px; }

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

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

  .casino-card__logo-box { height: 80px; }

  .license-table { min-width: 560px; }
  .license-table th { height: 81px; white-space: normal; }
  .license-table td { height: 58px; }
  .license-table th,
  .license-table td { padding: 10px; }

  
  .license-table--fit { min-width: 0; table-layout: fixed; }
  .license-table--fit th,
  .license-table--fit td { overflow-wrap: break-word; hyphens: auto; }

  .table-wrap { margin-bottom: 30px; }

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

  .faq__question { font-size: 18px; line-height: 25px; padding: 16px 20px; }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .chevron--up { width: 12px; height: 12px; margin-top: 4px; }

  .footer { padding: 20px; gap: 20px; }
  .footer__logo-img { height: 44px; }
  .footer__warning { font-size: 14px; line-height: 19px; }
  .footer__copy { font-size: 14px; line-height: 19px; }
}
