/* ========== ROOT VARIABLES ========== */
:root {
  /* Main buttons */
  --main-buttons-bg: #dc7c1c;
  --main-buttons-hover-bg: #d97706;
  --main-buttons-text: #ffffff;
  --main-buttons-border: transparent;
  
  /* Play buttons */
  --play-buttons-bg: #f59e0b;
  --play-buttons-hover-bg: #d97706;
  --play-buttons-text: #000000;
  
  /* Side bar */
  --side-bar-bg: #1c1c1c;
  --side-bar-width: 180px;
  
  /* Side bar buttons */
  --side-bar-buttons-bg: #1f2d3e;
  --side-bar-buttons-hover-bg: #2d3748;
  --side-bar-buttons-text: #ffffff;
  
  /* Text inside buttons */
  --text-inside-buttons: #ffffff;
  
  /* Page background */
  --page-background: #0f0f0f;
  
  /* Header background */
  --header-background: #1c1c1c;
  
  /* Footer background */
  --footer-background: #1c1c1c;
  
  /* General text color */
  --text-color: #ffffff;
  --text-shadow: 1px 1px 4px rgb(14, 48, 100),
               2px 2px 8px rgb(14, 48, 100),
               3px 3px 12px rgb(14, 48, 100),
               4px 4px 16px rgb(14, 48, 100);
  
  /* Card backgrounds */
  --card-bg: #2d2d2d;
  --bonus-card-bg: #1f2937;
  
  /* Content styles */
  --content-text-color: #d4d4d4;
  --content-heading-color: #ffffff;
  --content-link-color: #f97316;
  --content-link-hover-color: #ea580c;
  
  /* Table styles */
  --table-header-bg: #1f2d3e;
  --table-row-hover-bg: rgba(255, 255, 255, 0.05);
  --table-border-color: #374151;
  --table-text-color: #d4d4d4;
  
  /* FAQ styles */
  --faq-block-bg: #1f2937;
  --faq-block-border: #374151;
  --faq-heading-color: #ffffff;
  --faq-item-border: #374151;
  --faq-question-color: #ffffff;
  --faq-answer-color: #d1d5db;
  
  /* Other elements */
  --border-color: #333;
  --link-color: #f97316;
  --link-hover-color: #ea580c;
}

/* ========== BASE ========== */
body {
  margin: 0;
  overflow-x: hidden;
  font-family: system-ui, sans-serif;
  background-color: var(--page-background);
  color: var(--text-color);
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 0.5rem;
}

/* ========== SIDEBAR ========== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--side-bar-width);
  height: 100vh;
  background-color: var(--side-bar-bg);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

.logo .chip {
  color: var(--main-buttons-bg);
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 5px;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: background 0.2s;
  color: var(--side-bar-buttons-text);
}

.menu a:hover {
  background-color: var(--side-bar-buttons-bg);
}

.icon {
  font-size: 1.2rem;
}

.support-btn {
  display: block;
  width: 150px;
  text-align: center;
  background-color: var(--main-buttons-bg);
  padding: 0.6rem 0;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s;
  color: var(--text-inside-buttons);
}

.support-btn:hover {
  background-color: var(--main-buttons-hover-bg);
}

/* Скрыть sidebar на мобильных */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
}

/* ========== BURGER ========== */
.burger {
  display: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  background: var(--main-buttons-bg);
  color: var(--text-inside-buttons);
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* ========== HEADER / TOPBAR ========== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-background);
  padding: 0.75rem 1rem;
  height: 60px;
  position: relative;
  z-index: 100;
}

/* ====== BURGER (mobile only) ====== */
.subnav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ====== SUBNAV (левое меню) ====== */
.subnav {
  display: flex;
  margin-left: 250px;
  gap: 1rem;
}

/* Стили для ссылок внутри сабменю */
.subnav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  color: var(--text-color);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

/* hover/focus эффект */
.subnav a:hover,
.subnav a:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--main-buttons-bg);
}

/* обёртка для правых кнопок */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-right .btn {
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.4rem;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}

/* Фон и текст для Register */
.topbar-right .btn-register {
  background-color: var(--main-buttons-bg);
  color: var(--main-buttons-text);
  border: 1px solid var(--main-buttons-border);
}

.topbar-right .btn-register:hover {
  background-color: var(--main-buttons-hover-bg);
}

/* Обводка для Log In */
.topbar-right .btn-login {
  background-color: transparent;
  color: var(--main-buttons-bg);
  border: 1px solid var(--main-buttons-bg);
}

.topbar-right .btn-login:hover {
  background-color: rgba(249, 115, 22, 0.1);
}

/* ====== МОБИЛЬНЫЕ СТИЛИ ====== */
@media (max-width: 768px) {
  .topbar {
    justify-content: space-between; /* бургер слева, кнопки справа */
    padding: 0.75rem 1rem;
  }
  
  /* показываем бургер */
  .subnav-toggle {
    display: block;
    order: -1; /* помещаем бургер в начало */
  }
  
  /* скрываем основное меню на мобилке */
  .subnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-background);
    flex-direction: column;
    padding: 1rem;
    margin-left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  /* показываем меню когда активно */
  .subnav.active {
    display: flex;
  }
  
  /* убираем gap для мобильного меню */
  .subnav.active {
    gap: 0;
  }
  
  /* стили ссылок в мобильном меню */
  .subnav a {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .subnav a:last-child {
    border-bottom: none;
  }
  
  /* кнопки остаются справа и видимы */
  .topbar-right {
    margin-left: auto;
  }
}

/* ========== MAIN ========== */
.main {
  padding: 2rem 1rem;
  margin-top: 60px;
  margin-left: 240px;
  width: calc(100% - 240px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .main {
    margin-left: 0;
    width: 100%; 
  }
}

/* ========== HERO ========== */
.hero-section {
  position: relative;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-title {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
  text-shadow: var(--text-shadow);
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5em;
  text-shadow: var(--text-shadow);
}
.hero-btn {
  display: inline-block;
  padding: 0.75em 2em;
  background: var(--main-buttons-bg);
  color: var(--main-buttons-text);
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
@media (max-width: 600px) {
  .hero-section { padding: 80px 0; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* ========== GRID / GAME CARDS ========== */
.grid {
  display: grid;
  gap: 1.25rem;
  padding: 0 2rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.slot-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--card-bg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}

.slot-image-wrapper {
  position: relative;
  width: 100%;
}

.slot-card img {
  border-radius: 0.5rem;
  display: block;
  width: 300px;
  height: 180px;
}

.slot-actions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  gap: 0.5rem;
}

.slot-card:hover .slot-actions {
  opacity: 1;
}

.slot-actions a {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background-color: var(--play-buttons-bg);
  color: var(--play-buttons-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s;
}

.slot-actions a:hover {
  background-color: var(--play-buttons-hover-bg);
}

/* Слот-карусель (только на мобилке) */
@media (max-width: 768px) {
  .slot-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding: 1rem;
  }

  .slot-carousel::-webkit-scrollbar {
    display: none; /* скрыть скроллбар */
  }

  .slot-carousel .slot-card {
    flex: 0 0 auto;
    width: 75%;
    max-width: 300px;
    scroll-snap-align: start;
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 0.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .slot-carousel .slot-image-wrapper {
    width: 100%;
    position: relative;
  }

  .slot-carousel img {
    width: 100%;
    border-radius: 0.5rem;
    display: block;
  }

  .slot-carousel .slot-actions {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease-in-out;
  }

  .slot-carousel .slot-card:hover .slot-actions {
    opacity: 1;
  }

  .slot-carousel .slot-actions a {
    background-color: var(--play-buttons-bg);
    color: var(--play-buttons-text);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
  }

  .slot-carousel .slot-actions a:hover {
    background-color: var(--play-buttons-hover-bg);
  }

  .slot-carousel p {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-color);
    text-align: center;
  }
}

@media (max-width: 768px) {
  .grid {
    display: none !important;
    visibility: hidden !important;
  }
}

@media (min-width: 769px) {
  .slot-carousel {
    display: none !important;
    visibility: hidden !important;
  }
}

/* ========== PROSE ========== */
.prose {
  font-size: 2rem; /* или больше */
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: bold;
}

.bonus-tiles {
  display: grid;
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 0 1rem;

  grid-auto-rows: 1fr;
}

@media (max-width: 768px) {
  .bonus-tiles { grid-template-columns: 1fr; padding: 0 0.5rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .bonus-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .bonus-tiles { grid-template-columns: repeat(3, 1fr); }
}

.bonus-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bonus-card-bg);
  padding: 1.5rem;
  border-radius: 0.75rem;
  color: var(--text-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.bonus-tile:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.bonus-tile .image-wrapper {
  height: 150px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 0.5rem;
}
.bonus-tile .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bonus-tile h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.bonus-tile p {
  margin-bottom: 1rem;
  flex-grow: 1;
}
.bonus-tile a {
  display: inline-block;
  background-color: var(--main-buttons-bg);
  color: var(--main-buttons-text);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.bonus-tile a:hover {
  background-color: var(--main-buttons-hover-bg);
}

/* ========== MOBILE NAVIGATION ========== */

.mobile-nav,
.mobile-menu-panel {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #121828;
    border-top: 1px solid #1e2a3a;
    padding: 0.5rem 0;
    justify-content: space-around;
    z-index: 999;
  }
.mobile-menu-panel.open {
  display: flex !important;
}

  .mobile-nav a {
    color: var(--text-color);
    font-size: 0.7rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: var(--main-buttons-bg);
  }

  .mobile-menu-panel {
    display: none;
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background-color: #121828;
    padding: 1rem;
    border-top: 1px solid #1e2a3a;
    z-index: 999;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mobile-menu-panel a {
    display: block;
    color: white;
    padding: 0.75rem 1rem;
    background: #1e2a3a;
    border-radius: 0.5rem;
    text-align: center;
  }
  
}

/* ========== TOP NAVIGATION (MOBILE ONLY) ========== */

.topnav {
  background-color: #121828;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid #1e2a3a;
}

/* Показываем только на мобилке */
@media (min-width: 769px) {
  .topnav {
    display: none;
  }
}

.topnav-visible {
  display: flex;
  gap: 0.2rem;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto;
}

.topnav-visible a {
  flex: 1 1 18%;
  min-width: 48px;
  background-color: #1e2a3a;
  border-radius: 0.5rem;
  color: white;
  text-align: center;
  font-size: 0.65rem;
  padding: 0.4rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.topnav-visible a i {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.topnav-hidden {
  display: none;
}

.topnav-hidden.open {
  display: flex; /* или block, в зависимости от вашего оформления */
  flex-wrap: wrap; /* если нужны многорядные кнопки */
}

.mobile-logo {
  display: none;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.mobile-logo .chip {
  color: var(--main-buttons-bg);
}

/* ==== Показываем логотип и ограничиваем его размер на мобилке ==== */
@media (max-width: 768px) {
  .mobile-logo {
    display: block !important;
    text-align: center;    /* чтобы картинка была по центру */
    margin-bottom: 0.5rem; /* небольшой отступ вниз */
  }
  .mobile-logo img {
    max-width: 120px !important; /* желаемая ширина */
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
  }
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px; /* или подогнать под ваш topbar */
}

.logo img {
  height: 36px; /* можно подстроить */
  object-fit: contain;
}

/* ====== FOOTER STYLES ====== */
.footer {
  background-color: var(--footer-background);
  color: var(--text-color);
  margin-top: auto;
  border-top: 1px solid var(--border-color);
}

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

/* Основная сетка футера */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Брендинг */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
}

.footer-description {
  color: #a1a1aa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Колонки навигации */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--link-color);
}

/* Контактная информация */
.footer-contact p {
  margin: 0.5rem 0;
  color: #a1a1aa;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--link-color);
}

/* Нижняя часть футера */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-logo {
  height: 24px;
  width: auto;
}

.footer-copyright {
  margin: 0;
  font-size: 0.875rem;
  color: #71717a;
}

.footer-text {
  margin: 0;
  font-size: 0.875rem;
  color: #71717a;
}

/* Tablet стили */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
}

/* Мобильные стили */
@media (max-width: 768px) {
  .footer-container {
    padding: 1.5rem 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    grid-column: 1;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom-left {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-logo {
    height: 32px;
  }
  
  .footer-title {
    font-size: 1.25rem;
  }
}

/* ========== TRUSTPILOT WIDGET IN FOOTER ========== */

/* Контейнер виджета в футере */
.footer .trustpilot-widget {
  margin: 1.5rem 0;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Если хотите добавить заголовок над виджетом */
.trustpilot-section {
  margin: 2rem 0;
  text-align: center;
}

.trustpilot-heading {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

/* Стили для iframe виджета */
.trustpilot-widget iframe {
  border-radius: 8px !important;
  max-width: 100% !important;
}

/* Fallback ссылка (если виджет не загрузился) */
.trustpilot-widget a {
  color: var(--link-color) !important;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(249, 115, 22, 0.1);
  border-radius: 0.5rem;
  border: 1px solid var(--link-color);
  transition: all 0.3s ease;
}

.trustpilot-widget a:hover {
  background-color: var(--link-color);
  color: #000 !important;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .footer .trustpilot-widget {
    margin: 1rem 0;
    max-width: 100%;
  }
  
  .trustpilot-heading {
    font-size: 1rem;
  }
  
  /* Уменьшаем высоту на мобильных */
  .trustpilot-widget[data-style-height="52px"] {
    height: 40px !important;
  }
}

/* Интеграция в footer-content grid */
.footer-content .trustpilot-section {
  grid-column: 1 / -1; /* занимает всю ширину */
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Если хотите разместить в отдельной колонке */
.footer-trustpilot-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .footer-content .trustpilot-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

/* ========== PROSE ========== */
.prose {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--content-text-color);
  margin-top: 3rem;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--content-heading-color);
}

.prose a {
  color: var(--content-link-color);
  text-decoration: none;
}

.prose a:hover {
  color: var(--content-link-hover-color);
}

#TableOfContents {
  background-color: var(--bonus-card-bg);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--table-border-color);
  font-size: 1.6rem;
  margin: 2rem 0;
  color: var(--content-text-color);
}

#TableOfContents ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#TableOfContents li {
  margin-bottom: 1rem;
}

#TableOfContents a {
  color: var(--content-link-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* ========== FAQ STYLES ========== */
.faq-block {
  margin: 3rem 0;
  background-color: var(--faq-block-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--faq-block-border);
}

.faq-heading {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--faq-heading-color);
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--faq-item-border);
}

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

.faq-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--faq-question-color);
}

.faq-item [itemprop="text"] {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--faq-answer-color);
}

/* ========== TABLE STYLES (Mobile First) ========== */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow-x: auto;
  display: block;
  font-size: 0.9rem;
  color: var(--table-text-color);
}

.prose table th,
.prose table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--table-border-color);
}

.prose table th {
  background-color: var(--table-header-bg);
  font-weight: 600;
  color: var(--text-color);
}

.prose table tr:hover {
  background-color: var(--table-row-hover-bg);
}

/* For larger screens, tables can be displayed normally */
@media (min-width: 769px) {
  .prose table {
    display: table;
    font-size: 1rem;
  }
}