
:root {
  --primary: #FF6B6B;
  --secondary: #FFD93D;
  --accent: #6BCB77;
  --dark: #2D3436;
  --light: #ffffff;
  --gradient: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--light);
}

header {
  position: -webkit-sticky; /* для Safari */
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(45, 52, 54, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  padding: 1rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 120px;
  height: auto;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.auth-btn {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--primary);
  color: var(--light);
  text-align: center;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.content-container {
  max-width: 1200px;
  margin: 100px auto 2rem;
  padding: 0 2rem;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('media/hero-bg.webp');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center; /* Added to center horizontally */
  position: relative;
  padding: 4rem 1rem;
  text-align: center;
}


.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Кнопки */
.cta-button {
  background: var(--gradient);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: var(--light);
  display: inline-block;
  margin: 0.5rem;
  text-align: center;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}

.cta-button.secondary {
  background: var(--secondary);
  color: var(--dark);
}

/* Додатковий блок для відцентровання кнопок */
.action-box {
  text-align: center;
}

/* Карточки */
.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  margin: 2rem 0;
  position: relative;
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
}

/* Переваги та демо списки */
.advantages-list,
.demo-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.advantages-list li,
.demo-list li {
  padding: 1rem;
  margin: 0.5rem 0;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

/* Features секція */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* DEMO секція - фон: лише градієнт */
#demo {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
}

/* Контейнер для iframe гри */
#iframeContainer {
  position: relative;
  width: 100%;
  height: 800px;
  margin-bottom: 1rem;
  background: url('media/hero-bg.webp') center/cover no-repeat;
}

#iframeContainer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

#iframeContainer iframe {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  #iframeContainer {
    height: 600px;
  }
}

/* About секція - Про гру Sweet Bonanza */
.about-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}
.about-details {
  flex: 1;
  min-width: 280px;
}
.game-screen {
  max-width: 400px; /* Обмеження розміру зображення */
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.tech-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.tech-specs th,
.tech-specs td {
  padding: 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.tech-specs th {
  text-align: left;
  background: rgba(255,255,255,0.1);
}

/* На мобільних - стек для секції "Про гру" */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
}

/* Секція "Переваги казино" */
#casino-advantages .advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
#casino-advantages .advantage-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
#casino-advantages .advantage-item img {
  width: 36px; /* Обмеження розміру до 36x36 */
  height: 36px;
  object-fit: cover;
}

/* Додаткові секції */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
/* Секція "Топ ігри" - контейнер */
#top-games {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#top-games h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

#top-games h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Сітка ігор - мобільна версія */
.game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* На десктопі (ширина екрана 1024px і більше) встановлюємо 3 колонки */
@media (min-width: 1024px) {
  .game-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

//* ===== Games Similar Section ===== */

#best-vortex-games {
  padding: 20px;
}

#best-vortex-games h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Grid Layout */
.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* 2 columns on desktop */
@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Game Card */
.game-card {
  display: flex;
  gap: 15px;
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  align-items: flex-start;
}

/* Hover effect */
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Image */
.game-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

/* Game info */
.game-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.game-info p {
  margin: 6px 0;
  line-height: 1.45;
}

.game-info p strong {
  color: #555;
}

.games-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
}

.game-card {
  flex: 1 1 calc(50% - 20px) !important;
  min-width: calc(50% - 20px);
}

@media (max-width: 767px) {
  .game-card {
    flex: 1 1 100% !important;
    min-width: 100%;
  }
}

/* Payment таблиця */
.payment-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.payment-table, .payment-table th, .payment-table td {
  border: 1px solid rgba(255,255,255,0.2);
}
.payment-table th, .payment-table td {
  padding: 0.75rem;
  text-align: left;
}
.payment-table th {
  background: rgba(255,255,255,0.1);
}
.deposit-button {
  display: inline-block;
  background: var(--gradient);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  color: var(--light);
  text-transform: uppercase;
}

#best-vortex-games {
  padding: 20px;
  color: #e6e6e6;
}

#best-vortex-games h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

/* GRID LAYOUT */
#best-vortex-games .games-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* 2 columns on desktop */
@media (min-width: 768px) {
  #best-vortex-games .games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* CARD — dark mode */
#best-vortex-games .game-card {
  display: flex;
  gap: 15px;
  background: #151515;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#best-vortex-games .game-card:hover {
  transform: translateY(-4px);
  border-color: #444;
  box-shadow: 0 0 18px rgba(255,255,255,0.07);
}

/* IMAGE */
#best-vortex-games .game-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #333;
}

/* TEXT */
#best-vortex-games .game-info h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

#best-vortex-games .game-info p {
  margin: 6px 0;
  line-height: 1.45;
  color: #cccccc;
}

#best-vortex-games .game-info p strong {
  color: #e0e0e0;
}


/* Стилі для секції "Провайдери програмного забезпечення" */
#providers {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#providers h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

#providers h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Налаштування для логотипів провайдерів */
.provider-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.provider-logos img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.provider-logos img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}


/* Футер */
.site-footer {
  background: #1a1e1f;
  padding: 4rem 0;
  color: var(--light);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.footer-col h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}
.site-footer a {
  color: var(--light);
  text-decoration: none;
  font-weight: bold;
}

/* Center images in game-card on mobile */
@media (max-width: 768px) {
  .game-card img {
    margin: 0 auto;
    display: block;
  }
}

/* Center game-cards on mobile */
@media (max-width: 768px) {
  .game-cards {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* For smaller mobile screens */
@media (max-width: 480px) {
  .game-cards {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 300px;
    margin: 0 auto;
  }
}


/* Мобільні стилі */
@media (max-width: 768px) {
  .header-container {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .about-content {
    flex-direction: column;
  }
  .about-content img {
    max-width: 100%;
    height: auto;
  }
  .payment-table {
    display: block;
    overflow-x: auto;
  }
  .site-footer {
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 1rem;
  }

  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
}
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-button {
    width: 100%;
    padding: 1rem;
  }
  .logo span {
    font-size: 1.5rem;
  }
}
.demo-box .cta-button {
  display: block;
  margin: 1rem auto 0;
  text-align: center;
}


.advantage-item img {
  max-width: 18px;
  max-height: 18px;
}

/* Секція "Дізнайтеся більше" - двоколонна розкладка */
#know-more .two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Стилі для блоку з додатком */
.app-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.store-logos {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-logos img {
  max-width: 100px;
  height: auto;
}

/* Таблиця з характеристиками додатку */
.app-specs-container h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.app-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.app-specs th,
.app-specs td {
  padding: 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.app-specs th {
  text-align: left;
  background: rgba(255,255,255,0.1);
}

/* На мобільних - перехід у стек */
@media (max-width: 768px) {
  #know-more .two-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .store-logos {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .store-logos img {
    margin: 0 auto;
  }
}

/* Apply box-sizing globally for better layout control */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Стилі для секції "Плюси та мінуси" */
#pros-cons {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.5s ease-out;
  margin: 2rem 0;
}

#pros-cons h2 {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

#pros-cons h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Make sure columns wrap if needed */
#pros-cons .two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

/* Заголовки блоків "Плюси" та "Мінуси" */
#pros-cons h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 10px;
}

#pros-cons h3::before {
  content: none;
}

/* Списки */
#pros-cons ul {
  list-style: none;
  padding-left: 1rem;
  margin: 0; /* reset default margins if necessary */
}

/* Apply word wrapping to list items */
#pros-cons ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

/* Іконки для пунктів списку */
#pros-cons ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--accent);
}

/* Для списку мінусів - використання іншої іконки */
#pros-cons .minus li::before {
  content: "✕";
  color: #FF6B6B;
}

/* Стилі для секції FAQ */
#faq {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 2rem 0;
}

#faq h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

#faq .faq-item {
  margin-bottom: 1rem;
}

#faq details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  transition: background 0.3s ease;
}

#faq details[open] {
  background: rgba(255, 255, 255, 0.1);
}

#faq summary {
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem;
  list-style: none;
  outline: none;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq details[open] summary:after {
  transform: rotate(180deg);
}

#faq p {
  padding: 0.5rem 1rem;
  border-left: 3px solid var(--primary);
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.trust-badges {
  margin-top: 20px;
  text-align: center;
}

.trust-badges a {
  margin: 0 10px;
  display: inline-block;
}

.trust-badges img {
  width: 100px; /* Adjust size as needed */
  height: 50px;
}

.footer-bottom {
  padding: 10px 20px;
  text-align: center;
  font-size: 0.9em;
}

/* ---------- Text–link colour scheme ---------- */
/* Exclude anything that already has a custom button / tile style */
a:not(.cta-button):not(.auth-btn):not(.game-card):not(.logo-link) {
  color: #e67e22;                 /* main brand colour (adjust to taste)   */
  text-decoration: underline;     /* keep it obvious it’s a link           */
  transition: color .2s ease;
}

a:not(.cta-button):not(.auth-btn):not(.game-card):not(.logo-link):hover,
a:not(.cta-button):not(.auth-btn):not(.game-card):not(.logo-link):focus {
  color: #ffb347;                 /* slightly lighter on hover/focus       */
  text-decoration: none;          /* subtle UX cue                         */
}

#top-apps {
  max-width: 1150px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.05); /* subtle translucent layer */
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  padding: 2rem 1.5rem;
  color: var(--light);
}

#top-apps h2 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
  color: var(--secondary);
  text-align: center;
}

#top-apps p {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
}

.offer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s, transform 0.2s;
  gap: 1.3rem;
}

.offer-card:hover {
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.offer-text {
  flex: 1 1 auto;
  font-size: 1.05rem;
  line-height: 1.5;
}

.offer-card img {
  width: 110px;
  height: auto;
  display: block;
  max-width: 40vw;
  filter: brightness(1.1) drop-shadow(0 0 3px rgba(255,255,255,0.2));
}

@media (min-width: 600px) {
  .offer-grid {
    flex-direction: column;
  }
  .offer-card {
    flex-direction: row;
    padding: 1.1rem 2rem;
  }
}

@media (max-width: 599px) {
  .offer-card {
    flex-direction: column-reverse;
    align-items: flex-start;
    text-align: left;
    gap: 0.6rem;
    padding: 1rem 0.6rem;
  }
  .offer-card img {
    width: 95px;
    margin-bottom: 0.1rem;
  }
}

/* Casino Comparison Table */
.casino-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.casino-comparison-table th,
.casino-comparison-table td {
  padding: 1rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-comparison-table th {
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  color: var(--secondary);
}

.casino-comparison-table td:last-child {
  text-align: center;
}

/* Tutorial Steps */
.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.step {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
}

.step h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.step figure {
  margin: 1rem 0;
  text-align: center;
}

.step figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step figcaption {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Strategy Tables */
.strategy-table,
.risk-calculator,
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.strategy-table th,
.strategy-table td,
.risk-calculator th,
.risk-calculator td,
.legal-table th,
.legal-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-table th,
.risk-calculator th,
.legal-table th {
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  color: var(--secondary);
}

/* Strategy Details */
.strategy-details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
}

.strategy-details h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Streamer Cards */
.streamer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.streamer-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.streamer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.streamer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.streamer-info {
  padding: 1.5rem;
}

.streamer-info h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.streamer-info p {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Verification Steps */
.verification-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Code Blocks */
.code-block {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent);
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  color: #f8f8f2;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
}

.code-block code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* Glossary */
.glossary-list {
  margin: 2rem 0;
}

.glossary-list dt {
  font-weight: 700;
  color: var(--secondary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.glossary-list dd {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Grid */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.cta-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.cta-item:hover {
  transform: translateY(-5px);
}

.cta-item h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.cta-item p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Legal Disclaimer */
.legal-disclaimer {
  background: rgba(255, 193, 7, 0.1);
  border: 2px solid #ffc107;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.legal-disclaimer p {
  margin: 0;
  font-weight: 600;
  color: #ffc107;
}

/* Final Note */
.final-note {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  font-style: italic;
  border-left: 4px solid var(--accent);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .casino-comparison-table,
  .strategy-table,
  .risk-calculator,
  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .casino-comparison-table th,
  .casino-comparison-table td,
  .strategy-table th,
  .strategy-table td,
  .risk-calculator th,
  .risk-calculator td,
  .legal-table th,
  .legal-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .streamer-cards {
    grid-template-columns: 1fr;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
  }
  
  .tutorial-steps {
    gap: 1rem;
  }
  
  .step {
    padding: 1rem;
  }
  
  .code-block {
    padding: 1rem;
    font-size: 0.8rem;
  }
}

/* Additional Table Responsiveness */
@media (max-width: 480px) {
  .casino-comparison-table th,
  .casino-comparison-table td {
    min-width: 100px;
  }
  
  .casino-comparison-table .cta-button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

/* Footer Enhancements */
.footer-bottom .legal-notice {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced providers list */
.providers-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.providers-list li {
  padding: 1rem;
  margin: 0.5rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid var(--accent);
}

.providers-list li strong {
  color: var(--secondary);
}

/* === Collapsible TOC === */
/* Hide list by default */
.toc ul {
  display: none;
}

/* Cursor on header, with arrow indicator */
.toc h2 {
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
}

/* Arrow icons */
.toc h2::after {
  content: "▶";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
}

/* When open, show list and flip arrow */
.toc.open ul {
  display: block;
}

.toc.open h2::after {
  content: "▼";
}

/* === Updated Hamburger & Menu Styling === */

/* 1. Hamburger button */
.nav-toggle {
  background: none;
  border: none;
  padding: 0.5rem;          /* tappable area */
  font-size: 2rem;          /* bigger icon */
  color: #fff;              /* white on dark header */
  cursor: pointer;
  position: relative;
  z-index: 200;
  text-indent: 0;           /* undo any resets */
}

/* fallback glyph in case entity doesn’t render */
.nav-toggle::before {
  content: "\2630";         /* Unicode “hamburger” */
  font-size: inherit;
  line-height: 1;
  display: inline-block;
}

/* 2. Collapsible menu */
.nav-menu {
  display: none;            /* hidden by default */
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0.5rem;
  background: #2D3436;       /* your dark bg */
  border-radius: 4px;
  padding: 0.5rem 1rem;
  list-style: none;
  z-index: 100;
}

.nav-menu.open {
  display: block;
}

.nav-menu li + li {
  margin-top: 0.5rem;
}

.nav-menu li a {
  color: #fff;              /* links in white */
  text-decoration: none;
  font-weight: 500;
}

/* 3. Desktop fallback: inline menu, hide hamburger */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    display: flex;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
  }
  .nav-menu li + li {
    margin: 0 0 0 1rem;
  }
  .nav-menu li a {
    color: #333;            /* dark links on light header */
  }
}

.mobile-panel-download {
  position: fixed;
  bottom: -100px;              /* hide below viewport */
  left: 0;
  width: 100%;
  background-color: #170808;   /* dark background */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #3e414c;
  gap: 16px;
  transition: bottom 0.3s ease-in-out;
  z-index: 1000;
}

.mobile-panel-download.active {
  bottom: 0;                   /* slide into view */
}

/* Common “button” style for both <a> or <button>, all link states */
.mobile-panel-download .btn,
.mobile-panel-download .btn:link,
.mobile-panel-download .btn:visited,
.mobile-panel-download .btn:hover,
.mobile-panel-download .btn:active,
.mobile-panel-download .btn:focus {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none !important;  /* remove any underlines */
  color: inherit !important;         /* inherit color from specific rules */
  outline: none;
}

/* Wrapper to center icon + text */
.mobile-panel-download .btn .button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px; /* space between icon and text */
}

/* Play button */
.mobile-panel-download .play-game {
  background-color: #E50539;
  color: #fff !important;
  border: none;
}
.mobile-panel-download .play-game:hover {
  background-color: #BF042F;
}

/* Download button */
.mobile-panel-download .download-app-white {
  background: transparent;
  border: 1px solid #fff;
  color: #fff !important;
  text-align: center;
}
.mobile-panel-download .download-app-white svg {
  flex-shrink: 0;
}
.mobile-panel-download .download-app-white:hover {
  background: rgba(255, 255, 255, 0.1);
}
