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

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

p {
  font-size: 1.2em;
  line-height: 1.5;
  margin: 20px 5px;
}

.custom-header {
  background-color: #2b2b2b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.site-name {
  margin-left: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav li a {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.main-nav li a:hover {
  text-decoration: none;
  color: #b31942;
}

@media (min-width: 769px) {
  .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: static;
  }
}

.menu-button {
  display: none;
  cursor: pointer;
}

.hamburger-icon {
  width: 25px;
  height: 3px;
  background-color: #fff;
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #fff;
  left: 0;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

@media (max-width: 768px) {
  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: #2b2b2b;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    align-items: center;
    text-align: center;
  }

  .main-nav ul.active {
    display: flex;
  }

  .main-nav li {
    margin: 10px 0;
  }

  .menu-button {
    display: block;
  }
}

.custom-paragraph {
  font-size: 1.1em;
  margin: 20px 0;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 3px solid #b31942;
}

.bullet-list-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #b31942;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.bullet-list-section h2 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 15px;
  font-size: 1.8em;
}

.custom-bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-bullet-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
  line-height: 1.5;
}

.custom-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #b31942;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .bullet-list-section {
    margin: 20px;
    padding: 15px;
  }

  .bullet-list-section h2 {
    font-size: 1.6em;
  }

  .custom-bullet-list li {
    font-size: 0.95em;
  }
}

.step-by-step-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #b31942;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.step-by-step-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #111;
}

.step-guide {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.step-guide li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.step-number {
  flex: 0 0 40px;
  height: 40px;
  background-color: #b31942;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2em;
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0;
  font-size: 1.4em;
  font-family: "Montserrat", sans-serif;
  color: #111;
}

.step-content p {
  margin: 5px 0 0;
  font-size: 1em;
  line-height: 1.5;
  color: #333;
}

@media (max-width: 768px) {
  .step-guide li {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 1em;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

.table-section {
  margin: 40px 20px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.review-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ccc;
  font-family: "Montserrat", sans-serif;
}

.review-table th,
.review-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

.review-table th {
  background-color: #b31942;
  color: #fff;
}

.review-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

@media (max-width: 768px) {
  .review-table th,
  .review-table td {
    padding: 8px;
  }
}

.custom-footer {
  background-color: #2b2b2b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-nav li a {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav li a:hover {
  text-decoration: none;
  color: #b31942;
}

.footer-copy {
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .custom-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .footer-logo {
    margin-bottom: 15px;
  }
  .footer-copy {
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  nav,
  main {
    padding: 15px;
  }
  .custom-paragraph {
    font-size: 1em;
  }
  .custom-bullet-list,
  .custom-numbered-list {
    padding-left: 30px;
  }
}

.hero-section {
  max-width: 1000px;
  margin: 40px auto;
  background: linear-gradient(90deg, #0a3161 0%, #3b2b5c 50%, #b31942 100%);
  color: #fff;
  padding: 70px 20px;
  text-align: center;
  border-radius: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2em;
  line-height: 1.5;
}

.pros-cons-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px 20px;
  gap: 20px;
}

.pros-block,
.cons-block {
  background-color: #fff;
  padding: 20px;
  width: 48%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.pros-block {
  border-left: 5px solid #0a3161;
}

.cons-block {
  border-left: 5px solid #b31942;
}

.pros-block h2,
.cons-block h2 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 15px;
}

.pros-block ul,
.cons-block ul {
  list-style: none;
  padding-left: 0;
}

.pros-block ul li::before {
  content: "✔️";
  margin-right: 8px;
  color: #0a3161;
}

.cons-block ul li::before {
  content: "❌";
  margin-right: 8px;
  color: #b31942;
}

.pros-block ul li,
.cons-block ul li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .pros-cons-section {
    flex-direction: column;
  }
  .pros-block,
  .cons-block {
    width: 100%;
  }
}

.faq-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #b31942;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.faq-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #111;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  color: #b31942;
  cursor: pointer;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.faq-item[open] .faq-question {
  background-color: #e6f7ff;
}

.faq-answer {
  margin-top: 10px;
  font-size: 1em;
  color: #333;
  padding-left: 10px;
}

@media (max-width: 768px) {
  .faq-section {
    margin: 20px;
    padding: 15px;
  }

  .faq-section h2 {
    font-size: 1.6em;
  }

  .faq-question {
    font-size: 1.1em;
    padding: 8px;
  }

  .faq-answer {
    font-size: 0.95em;
  }
}

.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #b31942;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.to-top:hover {
  background-color: #0a3161;
}

@media (max-width: 768px) {
  .to-top {
    display: none;
  }
}

.casino-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.casino-card {
  position: relative;
  display: flex;
  flex-direction: row;
  background: #212936;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  border-left: 4px solid #0a3161;
}

.rank {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  background: #0a3161;
  color: #ffffff;
  border-radius: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.card-image {
  flex: 0 0 20%;
  max-width: 240px;
  min-width: 120px;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .card-image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 1rem;
  }
}

.card-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 180px 200px;
  align-items: center;
  padding: 1rem;
  gap: 2rem;
}

.casino-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.casino-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffffff;
}

.rating {
  margin-top: 0.25rem;
  display: flex;
}

.rating .star {
  color: #ffd700;
  font-size: 1rem;
  margin-right: 2px;
}

.offers {
  width: 180px;
  padding: 1rem 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10, 49, 97, 0.1);
  border: 1px solid #0a3161;
  border-radius: 4px;
  justify-self: center;
}

.offers .bonus,
.offers .freespins {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.offers .bonus::before,
.offers .freespins::before {
  content: attr(data-label);
  font-size: 1.25rem;
  font-weight: bold;
  color: #0a3161;
  margin-bottom: 0.25rem;
}

.offers .amount {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-self: center;
}

.btn-primary,
.btn-secondary {
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: linear-gradient(45deg, #0a3161, #5b7db1);
  color: #ffffff;
  animation: earthquake 4s ease-in-out infinite;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #5b7db1, #0a3161);
}

.btn-secondary {
  width: 160px;
  padding: 0.75rem;
  font-size: 0.85rem;
  background: #212936;
  color: #5b7db1;
  border: 1px solid #5b7db1;
}

.btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.disclaimer {
  font-size: 0.75rem;
  color: #ffffff;
  margin-top: 0.5rem;
  text-align: center;
}

@keyframes earthquake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  2% {
    transform: translate(-2px, 1px) rotate(-1deg);
  }
  4% {
    transform: translate(-2px, -1px) rotate(1deg);
  }
  6% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  8% {
    transform: translate(2px, -1px) rotate(1deg);
  }
  10% {
    transform: translate(-2px, 1px) rotate(-1deg);
  }
  11%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@media (max-width: 768px) {
  .casino-card {
    flex-direction: column;
  }
  .card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .casino-info {
    align-items: center;
    text-align: center;
  }
  .offers {
    width: 80%;
    margin: 0 auto 1rem;
  }
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 48%;
  }
  .disclaimer {
    order: 1;
    width: 100%;
    margin-top: 0.75rem;
  }
}

.section-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #212936;
  text-align: center;
  margin: 2rem 0 1rem;
}

.pros-cons-section .custom-bullet-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}

.pros-cons-section .custom-bullet-list li {
  list-style: none !important;
}

.pros-cons-section .custom-bullet-list li::marker {
  content: "" !important;
}


/* Footer look like screenshot (layout + typography + badges). */

.custom-footer#footer{
  width:100%;
  color:#fff;
  background: linear-gradient(180deg,#0b0b0b 0%, #060606 100%);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px clamp(16px, 4vw, 40px);
  box-sizing: border-box;

  display:grid;
  grid-template-columns: 320px 1fr auto;
  align-items:center;
  column-gap: clamp(16px, 3vw, 36px);
}

.custom-footer#footer a{
  color: inherit;
  text-decoration: none;
}

.custom-footer#footer p{
  margin: 0;
}

.custom-footer#footer .footer-top{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-width: 0;
}

.custom-footer#footer .footer-logo{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.custom-footer#footer .footer-logo-img{
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  display:block;
}

.custom-footer#footer .site-name{
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-footer#footer .footer-trust{
  display: contents;
}

.custom-footer#footer .footer-copy{
  grid-column: 1 / 2;
  align-self: end;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}

.custom-footer#footer .footer-disclaimer{
  grid-column: 2 / 3;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.82);
  max-width: 760px;
}

.custom-footer#footer .footer-new-trust{
  grid-column: 3 / 4;
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content:flex-end;
}

.custom-footer#footer .footer-new-trust a,
.custom-footer#footer .footer-new-age{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.custom-footer#footer .footer-new-trust img{
  height: 34px;
  width: auto;
  display:block;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 4px 6px;
  box-sizing: border-box;
}

.custom-footer#footer .footer-new-age img{
  height: 34px;
  width: auto;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  border: 0;
}

/* Responsive */
@media (max-width: 900px){
  .custom-footer#footer{
    grid-template-columns: 1fr;
    row-gap: 14px;
    align-items: start;
  }

  .custom-footer#footer .footer-copy{
    grid-column: 1;
    margin-top: 0;
  }

  .custom-footer#footer .footer-disclaimer{
    grid-column: 1;
    max-width: none;
  }

  .custom-footer#footer .footer-new-trust{
    grid-column: 1;
    justify-content:flex-start;
    flex-wrap: wrap;
  }
}
html,
body {
  overflow-x: hidden;
}

.casino-image-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}

.casino-image {
  display: block;
  width: 100%;
  max-width: 1024px; /* десктоп норм розмір */
  height: auto;
  border-radius: 8px;
}

.custom-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

.custom-table td,
.custom-table th {
  border: 1px solid #ccc;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.custom-table td:first-child,
.custom-table th:first-child {
  width: 34%;
}

.custom-table td:last-child,
.custom-table th:last-child {
  width: 66%;
}

@media (max-width: 768px) {
  main {
    padding: 15px;
  }

  p {
    font-size: 1rem;
    margin: 16px 0;
    overflow-wrap: break-word;
  }

  .casino-image {
    max-width: 100%;
  }

  .custom-table td,
  .custom-table th {
    padding: 10px;
    font-size: 0.95rem;
  }

  .custom-table td:first-child,
  .custom-table th:first-child {
    width: 40%;
  }

  .custom-table td:last-child,
  .custom-table th:last-child {
    width: 60%;
  }
}

html, body {
  overflow-x: hidden;
}
.btn-primary {
  background: #28a745;
  color: #fff;
}

.btn-primary:hover {
  background: #218838;
}

.btn-secondary {
  background: #ffc107;
  color: #000;
}

.btn-secondary:hover {
  background: #e0a800;
}