/* Casino list module (clean slate) */
.summary-table-section {
  max-width: 1280px;
  margin: 0 auto 16px;
  padding: 0 20px;
}

.summary-table-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.summary-table-header {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.summary-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.summary-tab.is-active {
  background: #111827;
  color: #f9fafb;
}

.summary-table-scroll {
  max-height: 260px;
  overflow-x: auto;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.summary-table thead {
  background: #f3f4f6;
}

.summary-table th,
.summary-table td {
  padding: 8px 14px;
  text-align: left;
  white-space: nowrap;
}

.summary-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.summary-table tbody tr:hover {
  background: #eef2ff;
}

.article-hero-section {
  max-width: 1280px;
  margin: 16px auto 0;
  padding: 0 20px;
}

.article-hero-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.article-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-hero-figure figcaption {
  padding: 8px 12px 10px;
  font-size: 13px;
  color: #6b7280;
}

.article-content {
  max-width: 960px;
  margin: 20px auto 8px;
  padding: 0 20px 8px;
}

.article-block {
  margin-bottom: 24px;
}

.article-block h2 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 800;
  color: #0f172a;
}

.article-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.article-block--table {
  margin-top: 28px;
}

.article-metrics-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.article-metrics-table th,
.article-metrics-table td {
  padding: 8px 14px;
  font-size: 14px;
}

.article-metrics-table th {
  width: 40%;
  text-align: left;
  background: #f9fafb;
  color: #6b7280;
}

.article-metrics-table td {
  color: #111827;
}

.casino-list-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 72px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
}

.casino-list-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 28px;
  text-align: left;
}

.casino-card {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.casino-card:last-child {
  margin-bottom: 0;
}

/* reduce spacing between modules */
.casino-list-wrapper {
  padding-bottom: 10px;
}

.brand-block {
  background: #111827;
  color: #ffffff;
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 12px;
  align-items: center;
  text-align: center;
  min-height: 150px;
}

.brand-logo {
  width: 100%;
  height: 70px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.brand-license {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 600;
  color: #e5e7eb;
  font-size: 14px;
}

.offer-block h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
}

.offer-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.offer-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #111827;
}

.offer-points .icon {
  color: #16a34a;
  font-size: 18px;
  line-height: 1;
}

.meta-block {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.casino-name {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  margin: 0;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0f172a;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #f8fafc;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(34, 197, 94, 0.32);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: label-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes label-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

/* Game detail hero module */
.game-hero {
  max-width: 1280px;
  margin: 10px auto 48px;
  padding: 0 20px;
}

.game-hero-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}

.game-hero-banner {
  position: relative;
  min-height: 320px;
  background: transparent;
  display: flex;
  align-items: flex-end;
  padding: 32px 32px 72px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* default banner image (can be overridden inline via style=background-image:...) */
.game-hero-banner {
  background-image: url("https://www.bestfortunetiger.com/backgroud1.jpg");
}

/* banner image is applied via CSS background-image; no <img> required */

.game-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.05) 60%);
}

.game-hero-content {
  position: absolute;
  left: 32px;
  bottom: 28px;
  color: #ffffff;
  max-width: 680px;
  z-index: 1;
}

.game-hero-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
}

.game-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
}

.game-hero-rating .stars {
  color: #fbbf24;
}

.game-hero-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 18px 26px 22px;
  align-items: start;
}

.game-thumb {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 4px solid #ffffff;
  margin-top: -54px; /* overlap banner like reference */
  position: relative;
  z-index: 2;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}

.game-meta-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 18px;
}

.meta-item {
  display: grid;
  gap: 4px;
  font-size: 15px;
  color: #0f172a;
  align-content: start;
  min-width: 0;
}

.meta-label {
  font-weight: 700;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.meta-value {
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.game-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #f8fafc;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  animation: label-pulse 2.4s ease-in-out infinite;
}

.game-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(34, 197, 94, 0.32);
}

.platform-icons {
  display: inline-flex;
  gap: 10px;
  color: #6b7280;
  font-size: 18px;
  opacity: 0.9;
}

.game-description {
  padding: 0 26px 24px;
  color: #111827;
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}

/* ========================================
   Pros & Cons section
======================================== */
.pros-cons-section {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.pros-cons-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  padding: 22px 24px 26px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 18px;
  color: #0f172a;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.column-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
}

.column-title.positive {
  color: #16a34a;
}

.column-title.negative {
  color: #dc2626;
}

.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #111827;
}

.pros-list li::before {
  content: "✔";
  color: #16a34a;
  margin-right: 6px;
}

.cons-list li::before {
  content: "✖";
  color: #dc2626;
  margin-right: 6px;
}

/* ========================================
   Gallery grid
======================================== */
.gallery-section {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   FAQ accordion
======================================== */
.faq-section {
  max-width: 1280px;
  margin: 32px auto 48px;
  padding: 0 20px 48px;
}

.faq-list {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.faq-item + .faq-item {
  border-top: 1px solid #e5e7eb;
}

.faq-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
}

.faq-header:hover {
  background: #f9fafb;
}

.faq-question {
  font-weight: 600;
  color: #0f172a;
}

.faq-icon {
  font-weight: 700;
  color: #6b7280;
  transition: transform 0.18s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.is-open .faq-body {
  padding-bottom: 12px;
}

.faq-body p {
  margin: 0;
  padding: 0 0 4px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .game-hero-banner {
    min-height: 240px;
  }

  .game-hero-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .game-hero-body {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .game-thumb {
    margin-top: -34px;
    width: 110px;
    height: 110px;
  }

  .game-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-cta-row {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .game-meta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .casino-card {
    grid-template-columns: 240px 1fr;
    grid-template-areas:
      "brand offer"
      "meta meta";
  }

  .brand-block { grid-area: brand; }
  .offer-block { grid-area: offer; }
  .meta-block { grid-area: meta; width: 100%; }
}

@media (max-width: 720px) {
  .casino-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "offer"
      "meta";
    padding: 18px;
  }

  .offer-block h3 {
    font-size: 22px;
  }

  .offer-points li {
    font-size: 15px;
  }
}
