/* style/casino-table-games-deep-dive.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-casino-table-games-deep-dive {
  color: var(--text-main-color, #F3F8FF); /* Light text for dark background */
  background-color: var(--deep-navy-color, #08162B);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino-table-games-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-casino-table-games-deep-dive__section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--gold-color, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino-table-games-deep-dive__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary-color, #AFC4E8);
  text-align: center;
}

/* Hero Section */
.page-casino-table-games-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-navy-color, #08162B);
}

.page-casino-table-games-deep-dive__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-casino-table-games-deep-dive__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: 20px;
}

.page-casino-table-games-deep-dive__main-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--gold-color, #F2C14E);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-casino-table-games-deep-dive__hero-description {
  font-size: 1.3rem;
  color: var(--text-main-color, #F3F8FF);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Buttons */
.page-casino-table-games-deep-dive__btn-primary,
.page-casino-table-games-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino-table-games-deep-dive__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-right: 15px;
}

.page-casino-table-games-deep-dive__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino-table-games-deep-dive__btn-secondary {
  background: var(--card-bg-color, #10233F);
  color: var(--text-main-color, #F3F8FF);
  border: 2px solid var(--border-color, #244D84);
}

.page-casino-table-games-deep-dive__btn-secondary:hover {
  background: var(--border-color, #244D84);
  color: #ffffff;
}

/* Section backgrounds and text colors */
.page-casino-table-games-deep-dive__dark-bg {
  background-color: var(--deep-navy-color, #08162B);
  color: var(--text-main-color, #F3F8FF);
}

.page-casino-table-games-deep-dive__light-bg {
  background-color: var(--card-bg-color, #10233F); /* Card BG color as light background for contrast */
  color: var(--text-main-color, #F3F8FF);
}

/* Introduction Section */
.page-casino-table-games-deep-dive__introduction-section {
  padding: 80px 0;
  text-align: center;
}

.page-casino-table-games-deep-dive__introduction-section .page-casino-table-games-deep-dive__section-title {
  color: var(--gold-color, #F2C14E);
}

.page-casino-table-games-deep-dive__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Games Types Section */
.page-casino-table-games-deep-dive__games-types {
  padding: 80px 0;
  text-align: center;
}

.page-casino-table-games-deep-dive__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino-table-games-deep-dive__game-card {
  background-color: var(--card-bg-color, #10233F);
  border: 1px solid var(--border-color, #244D84);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-table-games-deep-dive__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-casino-table-games-deep-dive__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino-table-games-deep-dive__card-title {
  font-size: 1.5rem;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino-table-games-deep-dive__card-description {
  font-size: 1rem;
  color: var(--text-secondary-color, #AFC4E8);
  margin-bottom: 20px;
}

/* Strategy Guide Section */
.page-casino-table-games-deep-dive__strategy-guide {
  padding: 80px 0;
  text-align: center;
}

.page-casino-table-games-deep-dive__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-casino-table-games-deep-dive__strategy-list li {
  background-color: var(--card-bg-color, #10233F);
  border: 1px solid var(--border-color, #244D84);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-main-color, #F3F8FF);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games-deep-dive__strategy-list li strong {
  color: var(--gold-color, #F2C14E);
}

/* Why 58vin Section */
.page-casino-table-games-deep-dive__why-58vin {
  padding: 80px 0;
  text-align: center;
}

.page-casino-table-games-deep-dive__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino-table-games-deep-dive__feature-item {
  background-color: var(--card-bg-color, #10233F);
  border: 1px solid var(--border-color, #244D84);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-table-games-deep-dive__feature-title {
  font-size: 1.4rem;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino-table-games-deep-dive__feature-description {
  font-size: 1rem;
  color: var(--text-secondary-color, #AFC4E8);
}

/* FAQ Section */
.page-casino-table-games-deep-dive__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-casino-table-games-deep-dive__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-casino-table-games-deep-dive__faq-item {
  background-color: var(--card-bg-color, #10233F);
  border: 1px solid var(--border-color, #244D84);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main-color, #F3F8FF);
  cursor: pointer;
  background-color: var(--deep-navy-color, #08162B);
  border-bottom: 1px solid var(--divider-color, #1B3357);
  transition: background-color 0.3s ease;
}

.page-casino-table-games-deep-dive__faq-item[open] .page-casino-table-games-deep-dive__faq-question {
  background-color: var(--border-color, #244D84);
}

.page-casino-table-games-deep-dive__faq-question:hover {
  background-color: var(--border-color, #244D84);
}

.page-casino-table-games-deep-dive__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color, #F2C14E);
}

.page-casino-table-games-deep-dive__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary-color, #AFC4E8);
  line-height: 1.7;
  background-color: var(--card-bg-color, #10233F);
}

/* CTA Section */
.page-casino-table-games-deep-dive__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-navy-color, #08162B);
}

.page-casino-table-games-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-table-games-deep-dive__hero-image {
    max-width: 100%;
  }
  .page-casino-table-games-deep-dive__main-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
  }
  .page-casino-table-games-deep-dive__hero-description {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games-deep-dive__container {
    padding: 0 15px;
  }
  .page-casino-table-games-deep-dive__hero-section,
  .page-casino-table-games-deep-dive__introduction-section,
  .page-casino-table-games-deep-dive__games-types,
  .page-casino-table-games-deep-dive__strategy-guide,
  .page-casino-table-games-deep-dive__why-58vin,
  .page-casino-table-games-deep-dive__faq-section,
  .page-casino-table-games-deep-dive__cta-section {
    padding: 50px 0;
  }

  .page-casino-table-games-deep-dive__hero-image,
  .page-casino-table-games-deep-dive__image-content,
  .page-casino-table-games-deep-dive__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-casino-table-games-deep-dive__hero-section,
  .page-casino-table-games-deep-dive__introduction-section,
  .page-casino-table-games-deep-dive__games-types,
  .page-casino-table-games-deep-dive__strategy-guide,
  .page-casino-table-games-deep-dive__why-58vin,
  .page-casino-table-games-deep-dive__faq-section,
  .page-casino-table-games-deep-dive__cta-section,
  .page-casino-table-games-deep-dive__game-card,
  .page-casino-table-games-deep-dive__feature-item,
  .page-casino-table-games-deep-dive__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-casino-table-games-deep-dive__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-casino-table-games-deep-dive__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-casino-table-games-deep-dive__hero-description {
    font-size: 1rem;
  }
  .page-casino-table-games-deep-dive__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-casino-table-games-deep-dive__btn-primary,
  .page-casino-table-games-deep-dive__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0;
  }

  .page-casino-table-games-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino-table-games-deep-dive__game-grid,
  .page-casino-table-games-deep-dive__feature-grid {
    grid-template-columns: 1fr;
  }
}