/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style-position: inside;
}

/* Обычная ссылка: синяя, без подчеркивания */
a {
    color: blue;
    text-decoration: none;
}

/* Ссылка при наведении */
a:hover {
    color: blue;
    text-decoration: underline; /* Подчеркнуть при наведении */
}


/* ===================================
   LAYOUT
   =================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  min-height: 60vh;
}

/* ===================================
   HEADER
   =================================== */
/* Complete header redesign to match screenshot layout */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* Logo centered at top */
.header-logo-wrapper {
  display: flex;
  justify-content: center;
}

.header-logo {
  display: block;
  transition: opacity 0.2s;
}

.header-logo:hover {
  opacity: 0.8;
}

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

/* Separator line */
.header-separator {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  max-width: 800px;
}

/* Navigation row centered */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  color: #2563eb;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  font-size: 14px;
  font-weight: 500;
  color: #dc2626;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: opacity 0.2s;
}

.nav-dropdown-trigger:hover {
  opacity: 0.8;
}

.caret {
  font-size: 10px;
  line-height: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 320px;
  max-width: 400px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 110;
}

.nav-dropdown.active .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.5;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #f9fafb;
}

/* Mobile menu toggle - positioned absolute on mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  top: 24px;
  right: 20px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: #1f2937;
  transition: all 0.3s;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: #1f2937;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
}

.language-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-link {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.2s;
}

.lang-link:hover {
  color: #2563eb;
}

.separator {
  color: #d1d5db;
  font-size: 14px;
}

/* ===================================
   MOBILE MENU
   =================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 90%;
  height: 100%;
  background: #ffffff;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  padding: 14px 16px;
  font-size: 16px;
  color: #1f2937;
  border-radius: 8px;
  transition: background-color 0.2s;
  display: block;
}

.mobile-nav-link:hover {
  background-color: #f3f4f6;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 16px;
}

h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 16px;
}

.intro-text {
  font-size: 18px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================
   RANKINGS SECTION
   =================================== */
.rankings-section {
  padding: 40px 0;
}

.casino-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  flex-wrap: wrap;
}

.rank-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.casino-logo {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 20px;
}

.casino-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.casino-info {
  flex: 1;
  min-width: 200px;
}

.casino-name {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stars {
  color: #fbbf24;
  font-size: 16px;
}

.rating-text {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

.casino-bonus {
  color: #cbd5e1;
  font-size: 15px;
}

.casino-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #475569;
}

.btn-secondary:hover {
  background: #334155;
  border-color: #64748b;
}

/* ===================================
   Таблицы
   =================================== */
/* Table */
.table {
    text-align: center;
    background: #FCFCFC;
    border-radius: 1.5rem;
    -webkit-box-shadow: 0 0 8rem rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 8rem rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.table:not(:last-child) {
    margin-bottom: 4rem;
}

.table table {
    width: 100%;
    min-width: 100rem;
    border-radius: inherit;
    background: #ffffff;
    border-collapse: collapse;
}

.table table tbody tr:not(:last-child) {
    border-bottom: 0.1rem solid #e3e4ed;
}

.table table th:first-child,
.table table td:first-child {
    width: 4.2rem;
}

.table table th {
    padding: 2rem 0.5rem;
    border-bottom: 0.3rem solid #e1e2eb;
    font-size: 1.6rem;
}

.table table td {
    padding: 1.5rem 0.5rem;
    font-size: 1.8rem;
    line-height: 1.4;
}

.table table td:first-child {
    background: #FCFCFC;
}

.table table img {
    max-width: 5.7rem;
}

.table table .button {
    width: 13.5rem;
    margin: 0 auto;
    padding: 1.5rem 0.5rem;
}

.table--alt table th:first-child,
.table--alt table td:first-child {
    width: auto;
}

.table--alt table th {
    padding: 2.65rem 0.5rem;
}

.table--alt table td {
    padding: 2.1rem 0.5rem;
}

.table--alt table td:first-child {
    background: #ffffff;
}

.table--small table {
    min-width: 70rem;
}

.table--info table td {
    text-align: left;
}

.table--info table td:first-child {
    width: 20rem;
    padding-left: 4rem;
    border-right: 0.1rem solid #e3e4ed;
}

.table--info table td:not(:first-child) {
    padding-left: 2.8rem;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

th,
td {
    padding: 1em;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #2c3e50;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
}

tr:hover td {
    background: #ecf0f1;
}


/* ===================================
   CONTENT SECTION
   =================================== */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  margin-top: 40px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
  margin-top: 32px;
}

.content-section h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
  margin-top: 20px;
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.content-section ul,
.content-section ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #4b5563;
}

.content-section strong {
  color: #1f2937;
  font-weight: 600;
}

.info-box {
  background: #f0f9ff;
  border-left: 4px solid #2563eb;
  padding: 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.info-box h4 {
  margin-top: 0;
  color: #1e40af;
}

.info-box ul {
  margin-bottom: 0;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
  padding: 60px 0 80px;
  background: #f9fafb;
}

.faq-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 40px;
  text-align: center;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: #2563eb;
  font-weight: 400;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background-color: #f9fafb;
}

.faq-content {
  padding: 0 24px 20px;
}

.faq-content p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

.faq-content a {
  color: #2563eb;
  text-decoration: underline;
}

.faq-content a:hover {
  color: #1d4ed8;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  text-align: center;
}

.footer-text {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 13px;
  color: #94a3b8;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  h1 {
    font-size: 56px;
  }

  .intro-text {
    font-size: 20px;
  }

  .casino-card {
    flex-wrap: nowrap;
  }

  .casino-actions {
    flex-direction: row;
    min-width: 280px;
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  /* Show mobile menu on small screens and hide desktop nav */
  .site-header {
    padding: 16px 0;
  }

  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .logo-image {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: 32px;
  }

  .hero-section {
    padding: 40px 0 30px;
  }

  .casino-card {
    padding: 80px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .rank-badge {
    top: 20px;
    left: 20px;
  }

  .casino-logo {
    margin-left: 0;
    width: 80px;
    height: 80px;
  }

  .casino-info {
    width: 100%;
  }

  .casino-actions {
    width: 100%;
  }

  .casino-actions .btn {
    width: 100%;
  }

  .content-section h2 {
    font-size: 28px;
  }

  .faq-section h2 {
    font-size: 28px;
  }

  .faq-item summary {
    font-size: 16px;
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .intro-text {
    font-size: 16px;
  }
}

/* блок с фоном */
.warning-box {
  background: #eaaeb9;
  border-left: 4px solid #d80027;
  padding: 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.warning-box h4 {
  margin-top: 0;
  color: #d80027;
}

.warning-box ul {
  margin-bottom: 0;
}

/* блок с фоном */
.info-card {
  background: #ffffff;
  border-left: 4px solid #d80027;
  padding: 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.info-card h4 {
  margin-top: 0;
  color: #d80027;
}

.info-card ul {
  margin-bottom: 0;
}

/* блок большой зеленый для плюсов */
.plus-card {
  background: #00922950;
  border-left: 4px solid #009229;
  padding: 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.plus-card h4 {
  margin-top: 0;
  color: #009229;
}

.plus-card ul {
  margin-bottom: 0;
}

.pros-cons{margin:24px 0;}
.pros-cons__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}

.pc-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px 18px 16px;box-shadow:0 4px 12px rgba(0,0,0,.06);}
.pc-card__title{margin:0 0 12px;font-size:18px;line-height:1.2;font-weight:700;color:#111827;}

.pc-card--pros{border-left:4px solid #16a34a;}
.pc-card--cons{border-left:4px solid #dc2626;}

.pc-list{margin:0;padding:0;list-style:none;display:grid;gap:10px;}
.pc-list__item{position:relative;padding-left:30px;line-height:1.6;color:#4b5563;}

.pc-list__item::before{position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;}

.pc-list--pros .pc-list__item::before{content:"✓";background:rgba(22,163,74,.12);border:1px solid rgba(22,163,74,.25);color:#166534;}
.pc-list--cons .pc-list__item::before{content:"✕";background:rgba(220,38,38,.10);border:1px solid rgba(220,38,38,.22);color:#991b1b;}

@media (max-width:767px){
  .pros-cons__grid{grid-template-columns:1fr;}
  .pc-card{padding:16px;}
  .pc-card__title{font-size:17px;}
}

