/* Скидання ширини для пунктів меню на десктопі */
@media (min-width: 1024px) {
  .main-nav li {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}
/* Algemene reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basis styling */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #d4d0d0;
  color: #333;
}

/* Main container: beperkte breedte op desktop */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

p {
  font-size: 1.2em;
  line-height: 1.5;
  margin: 20px 5px;
}

/* Header styling */


/* ----- HEADER STYLING ----- */
.custom-header {
  background-color: #111; /* Dark background */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 10px 20px;
  position: relative;
}

/* Logo container: left side */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  object-fit: contain;
  display: block;
  max-width: 100%;
  height: auto;
}

.site-name {
  margin-left: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Navigation: center links on desktop */
.main-nav ul {
  list-style: none;
}

@media (min-width: 769px) {
  .main-nav ul {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .main-nav li {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .main-nav a {
    font-size: 1.1em;
    padding: 8px 16px;
    transition: color 0.2s;
    white-space: nowrap;
    overflow-wrap: normal;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .main-nav a:hover {
    color: #007bff;
    text-decoration: underline;
  }
  .menu-button {
    display: none;
  }
}


.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: #AE1C28; /* Red from the Dutch flag */
}

/* Position nav in the center on desktop */
@media (min-width: 769px) {
  .custom-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .logo-container {
    margin-right: 32px;
  }
  .main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .main-nav ul {
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
    margin-left: 0;
  }
  .main-nav li {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .main-nav a {
    font-size: 1.1em;
    padding: 8px 16px;
    transition: color 0.2s;
    white-space: nowrap;
    overflow-wrap: normal;
    color: #fff;
  }
  .main-nav a:hover {
    color: #007bff;
    text-decoration: underline;
  }
  .menu-button {
    display: none;
  }
}

@media (max-width: 1200px) {
  .main-nav ul {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .main-nav ul.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #111;
    z-index: 1000;
  }
}


/* On mobile, reset nav positioning */
@media (max-width: 768px) {
  .main-nav {
    position: static;
  }
}

/* Menu button (hamburger) on the right */
.menu-button {
  display: none; /* Hidden on desktop by default */
  cursor: pointer;
}

/* Hamburger icon styling */
.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;
}

/* ----- RESPONSIVE RULES ----- */
@media (max-width: 768px) {
  /* Hide horizontal nav, show hamburger icon */
  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    align-items: center; /* Center the items horizontally */

  /* Додаткові стилі для ПК-меню */
  @media (min-width: 1024px) {
    .main-nav ul {
      display: flex;
      gap: 32px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .main-nav li {
      list-style: none;
    }
    .main-nav a {
      font-size: 1.1em;
      padding: 8px 16px;
      transition: color 0.2s;
    }
    .main-nav a:hover {
      color: #007bff;
      text-decoration: underline;
    }
    .menu-button {
      display: none;
    }
  }
    text-align: center;
  }

  /* Show nav when active */
  .main-nav ul.active {
    display: flex;
  }

  .main-nav li {
    margin: 10px 0;
  }
  
  .menu-button {
    display: block;
  }
}





/* Custom paragraaf stijl */

/* Оптимізація логотипу */
.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.logo-image {
  display: block;
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

/* --- ПК: 5 пунктів меню, решта у бургері --- */
@media (min-width: 1024px) {
  .main-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
  }
  .main-nav li {
    display: none;
  }
  .main-nav li:nth-child(-n+5) {
    display: block;
  }
  .main-nav__more {
    display: block;
    position: relative;
  }
  .main-nav__more .main-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    min-width: 180px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .main-nav__more:hover .main-nav__dropdown {
    display: block;
  }
  .main-nav__more > a::after {
    content: "\2630";
    margin-left: 8px;
    font-size: 1.2em;
    vertical-align: middle;
  }
  .main-nav__dropdown li a {
    color: #fff;
    padding: 8px 16px;
    display: block;
    white-space: nowrap;
  }
  .main-nav__dropdown li a:hover {
    background: #222;
    color: #007bff;
  }
}
.custom-paragraph {
  font-size: 1.1em;
  margin: 20px 0;

}

/* Responsive afbeelding stijl */
.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 3px solid #d80027;
}

/* Unieke stijl voor bullet-lijsten */
/* Ð¡Ñ‚Ð¸Ð»Ñ–Ð·Ð°Ñ†Ñ–Ñ ÑÐµÐºÑ†Ñ–Ñ— Ð´Ð»Ñ Ð±ÑƒÐ»Ñ–Ñ‚-ÑÐ¿Ð¸ÑÐºÑƒ */
.bullet-list-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #d80027;
  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: #d80027; /* ÐšÐ¾Ð»Ñ–Ñ€ Ð¼Ð°Ñ€ÐºÐµÑ€Ð° */
  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;
  }
}




/* Unieke stijl voor genummerde lijsten */
/* Ð Ð¾Ð·Ð´Ñ–Ð» Ð¿Ð¾ÐºÑ€Ð¾ÐºÐ¾Ð²Ð¾Ð³Ð¾ Ð¿Ð¾ÑÑ–Ð±Ð½Ð¸ÐºÐ° */
.step-by-step-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #d80027;
  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: #d80027;
  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;
  }
}



/* Tabel Sectie */
.table-section {
  margin: 40px 20px;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Review Tabel Styling */
.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: #d80027;
  color: #fff;
}

.review-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .review-table th,
  .review-table td {
    padding: 8px;
  }
}


/* Footer styling */
.custom-footer {
  background-color: #4f081b; /* Same dark background as header */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 20px;
  flex-wrap: wrap; /* Allows items to stack on smaller screens */
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-logo-img {
  object-fit: contain;
  display: block;
  max-width: 100%;
  height: auto;
}

.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: #AE1C28; /* Red from the Dutch flag */
}

.footer-copy {
  font-size: 0.9em;
}

/* Mobile adjustments for footer */
@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;
  }
}

/* Responsive regels */
@media (max-width: 768px) {
nav, main {
    padding: 15px;
  }
  .custom-paragraph {
    font-size: 1em;
  }
  .custom-bullet-list, .custom-numbered-list {
    padding-left: 30px;
  }

  ul,
  .casino-list,
  .footer-nav ul {
    padding-left: 0;
    margin-left: 0;
    width: 100%;
  }
  li {
    word-break: break-word;
    font-size: 1em;
    padding: 8px 0;
  }
  .casino-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* Адаптивність списків у review-section */
  .review-section ul,
  .review-section ol {
    padding-left: 18px;
    margin-left: 0;
    width: 100%;
  }
  .review-section li {
    word-break: break-word;
    font-size: 1em;
    
    line-height: 1.5;
  }
}


.hero-section {
  background: #3f0410;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.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 */
.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;
}

/* Distinct left border colors for a visual cue */
.pros-block {
  border-left: 5px solid #d80027;
}

.cons-block {
  border-left: 5px solid #ff9933;
}

/* Headings for both blocks */
.pros-block h2,
.cons-block h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
}

/* Remove default list styles */
.pros-block ul,
.cons-block ul {
  list-style: none;
  padding-left: 0;
}

/* Custom bullet icons for each list item */
.pros-block ul li::before {
  content: "âœ”ï¸";
  margin-right: 8px;
  color: #d80027;
}

.cons-block ul li::before {
  content: "âŒ";
  margin-right: 8px;
  color: #ff9933;
}

.pros-block ul li,
.cons-block ul li {
  margin-bottom: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .pros-cons-section {
    flex-direction: column;
  }
  .pros-block,
  .cons-block {
    width: 100%;
  }
}



/* FAQ Ð¡ÐµÐºÑ†Ñ–Ñ */
.faq-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #d80027;
  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 Ð•Ð»ÐµÐ¼ÐµÐ½Ñ‚Ð¸ */
.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: #d80027;
  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: #d80027;
  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: #0088cc;
}


@media (max-width: 768px) {
  .to-top {
    display: none;
  }
}


/* 1) Casino TOP Styles */

/* 2) Wrapper */
.casino-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 3) Card */
.casino-card {
  position: relative;              /* for rank badge */
  display: flex;
  flex-direction: row;
  background: #180540;             /* card background */
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  border-left: 4px solid #06822c;  /* accent border */
}

/* 4) Rank badge */
.rank {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  background: #06822c;             /* primary accent */
  color: #ffffff;
  border-radius: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* 5) Image column and responsive tweaks */
.card-image {
  flex: 0 0 20%;                   /* ~20% of card width */
  max-width: 240px;                /* desktop limit */
  min-width: 120px;                /* mobile limit */
  aspect-ratio: 1 / 1;             /* square */
  background: #f7f7f7;             /* neutral frame */
  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;
  }
}

/* 6) Main content area - FIXED: Using CSS Grid for consistent layout */
.card-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 180px 200px; /* casino-info | offers | actions */
  align-items: center;
  padding: 1rem;
  gap: 8rem;
}

/* 7) Casino info (title + rating) */
.casino-info {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Allow text to wrap/truncate if needed */
}
.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;
}

/* 8) Offers block - FIXED: Removed auto margins */
.offers {
  width: 250px;
  padding: 1rem 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(140, 172, 229, 0.1);
  border: 1px solid #4e80ee;
  border-radius: 4px;
  justify-self: center; /* Center within its grid cell */
  text-align: 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: #4e80ee;
  margin-bottom: 0.25rem;
}
.offers .amount {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

/* 9) Actions (buttons + disclaimer) - FIXED: Positioned in grid */
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-self: center; /* Center within its grid cell */
}
.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 3.5rem;
  font-size: 23px;
  background: linear-gradient(45deg, #4e80ee, #8cace5);
  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, #8cace5, #4e80ee);
}
.btn-secondary {
  width: 160px;
  padding: 0.75rem;
  font-size: 0.85rem;
  background: #212936;
  color: #8cace5;
  border: 1px solid #8cace5;
}
.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;
}

/* 10) Shake animation */
@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); }
}

/* 11) Mobile adaptation - FIXED: Better responsive grid */
@media (max-width: 768px) {
  .casino-card {
    flex-direction: column;
  }
  .card-content {
    display: flex; /* Switch back to flexbox on mobile */
    flex-direction: column;
    gap: 1rem;
  }
  .casino-info {
    align-items: center;
    text-align: center;
  }
  .offers {
    width: 80%;
    margin: 0 auto 1rem;
  }
  .actions {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 80%;
  }
  .disclaimer {
    order: 1;
    width: 100%;
    margin-top: 0.75rem;
  }
}

/* Section title */
.section-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #212936;
  text-align: center;
  margin: 2rem 0 1rem;
}


/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #4f081b;
    padding: 1rem 1rem;
    position: relative;
    z-index: 1000;
}
header .logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Nav Links (desktop) */
header .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1rem;
}
header .nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s;
}
header .nav-links a:hover {
    color: #22C55E;
}

/* Burger button (hidden on desktop) */
.burger { display: none; }
.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* MOBILE AND TABLET STYLES */
@media (max-width: 768px) {
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        z-index: 1100;
    }

    /* Hide the normal nav by default */
    header .nav-links {
        display: none;
        flex-direction: column;
        background: #4f081b;
        position: absolute;
        top: 100%;
        left: -16px;
        width: 100%;
        padding: 1rem 0;
        gap: 0;
    }
    /* When nav has .open, show it */
    header .nav-links.open { display: flex; }

    /* Stack links vertically and add padding */
    header .nav-links.open a {
        padding: 0.75rem 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    header .nav-links a {
        padding: 0.75rem 1.5rem;
        color: #fff;
        font-size: 1rem;
    }
    header .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Responsive header layout */
    header { flex-direction: column; align-items: center; text-align: center; }
    header nav { flex-direction: column; gap: 10px; }
}

/* Dropdown-container */
.dropdown { position: relative; }

/* Кнопка з піктограмою ▼ через ::after */
.drop-btn {
    position: relative;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-block;
    transition: opacity 0.2s ease;
}
.drop-btn::after {
    content: ">"; /* <— тут некоректне кодування, див. примітки нижче */
    font-size: 0.6rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    color: #fff;
}
.drop-btn:hover { opacity: 0.8; }

/* Dropdown-контент (desktop) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #4f081b;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1200;
    padding: 0.5rem 0;
    max-height: 300px;
    overflow-y: auto;
}
.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: #F9FAFB;
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-content a:hover {
    background: #4f081b;
    color: #4E8CFF;
}

/* Показ dropdown на hover (desktop) */
.dropdown:hover .dropdown-content { display: block; }

/* Scrollbar для dropdown */
.dropdown-content::-webkit-scrollbar { width: 6px; }
.dropdown-content::-webkit-scrollbar-thumb {
    background: #4f081b;
    border-radius: 3px;
}
.dropdown-content::-webkit-scrollbar-track { background: transparent; }

/* Mobile-варіанти dropdown */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #4f081b;
        max-height: none;
    }
    .dropdown-content.collapsed { display: none; }
    .dropdown-content.expanded { display: block; }
    .dropdown-content a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        color: #F9FAFB;
    }
}
/* Burger button (hidden on desktop) */
.burger {
    display: none;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* MOBILE AND TABLET STYLES */
@media (max-width: 768px) {
    /* Show burger icon */
    .burger {
        display: flex;                 
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;             
        z-index: 1100;                 
    }
}
ol {
  counter-reset: custom-counter;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

ol li {
  counter-increment: custom-counter;
  position: relative;
  padding: 12px 16px 12px 55px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  color: #333;
  line-height: 1.4;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 5px;
  top: 40%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #07356a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(74, 144, 226, 0.25);
  
}

/* Мобільна оптимізація */
@media (max-width: 480px) {
  ol li {
    /* display: list-item; */
    padding-left: 40px;
    gap: 0;
  }

  ol li a {
     display: inline; 
    background: none;
    color: #1a2a3a;
    margin: 0;
    word-break: break-word;
    text-decoration: underline;
  }
  ol li a:active,
  ol li a:focus {
    color: #0056b3;
    background: none;
  }
}

/* Bullet List (окремий блок, не конфліктує з ol) */
ul.custom-bullet-list {
  list-style: none;
  margin: 1.5rem 0;
  padding-left: 0;
  max-width: 700px;
}

ul.custom-bullet-list li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.75rem;
  font-size: 1rem;
  color: #1F2937;
  line-height: 1.6;
}

ul.custom-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #3e0be6; /* фіолетовий bullet */
  border-radius: 50%;
}

ul.custom-bullet-list li:last-child {
  margin-bottom: 0;
}



  table {
    display: block; /* Перетворюємо таблицю на блочний елемент */
    overflow-x: auto; /* Додаємо горизонтальний скрол, якщо вміст не поміщається */
    white-space: nowrap; /* Запобігаємо перенесенню тексту на новий рядок */
  }

  /* Додаткові стилі для кращого вигляду */
  table th,
  table td {
    padding: 8px;
    border: 1px solid #1b1919;
    text-align: left;
  }

  table th {
    background-color: #f2f2f2;
  }
