/* General Page Styles */
.page-casino-table-games {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - Body background from shared */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino-table-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-casino-table-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-casino-table-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #F2C14E, #4FA8FF);
  border-radius: 2px;
}

.page-casino-table-games__section-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-casino-table-games__text-block {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-casino-table-games__dark-section {
  background-color: #10233F; /* Card BG */
  padding: 60px 0;
  margin-bottom: 30px;
}

.page-casino-table-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Buttons */
.page-casino-table-games__btn-primary,
.page-casino-table-games__btn-secondary,
.page-casino-table-games__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-casino-table-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  margin-right: 15px;
}

.page-casino-table-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-casino-table-games__btn-secondary {
  background: #1D5FD1; /* Auxiliary Color */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #1D5FD1;
}

.page-casino-table-games__btn-secondary:hover {
  background: transparent;
  border-color: #4FA8FF;
  color: #4FA8FF;
  transform: translateY(-2px);
}

.page-casino-table-games__btn-tertiary {
  background: #244D84; /* Border Color */
  color: #F3F8FF; /* Text Main */
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
}

.page-casino-table-games__btn-tertiary:hover {
  background: #1D5FD1;
  transform: translateY(-1px);
}

/* Hero Section */
.page-casino-table-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body padding-top handled by shared */
  margin-bottom: 40px;
}

.page-casino-table-games__hero-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.page-casino-table-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-casino-table-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino-table-games__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino-table-games__hero-description {
  font-size: 20px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-table-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Games Showcase Section */
.page-casino-table-games__games-showcase {
  padding: 60px 0;
  margin-bottom: 30px;
}

.page-casino-table-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-casino-table-games__game-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
}

.page-casino-table-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-casino-table-games__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-casino-table-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin: 20px 20px 10px;
}

.page-casino-table-games__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino-table-games__game-title a:hover {
  color: #4FA8FF; /* Glow */
}

.page-casino-table-games__game-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px;
  flex-grow: 1;
}

.page-casino-table-games__game-card .page-casino-table-games__btn-tertiary {
  margin: 20px;
  width: calc(100% - 40px);
}

/* Why Choose Us Section (Features) */
.page-casino-table-games__why-choose-us {
  padding: 60px 0;
}

.page-casino-table-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-casino-table-games__feature-item {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-casino-table-games__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino-table-games__feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-casino-table-games__feature-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
}

/* Getting Started Section (Steps) */
.page-casino-table-games__getting-started {
  padding: 60px 0;
  margin-bottom: 30px;
}

.page-casino-table-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-casino-table-games__step-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  position: relative;
  padding-top: 60px;
}

.page-casino-table-games__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 3px solid #08162B;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.page-casino-table-games__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-casino-table-games__step-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
}

/* FAQ Section */
.page-casino-table-games__faq-section {
  padding: 60px 0;
}

details.page-casino-table-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

details.page-casino-table-games__faq-item summary.page-casino-table-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-casino-table-games__faq-item summary.page-casino-table-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-casino-table-games__faq-item summary.page-casino-table-games__faq-question:hover {
  background: rgba(29, 95, 209, 0.1);
}

.page-casino-table-games__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-casino-table-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-casino-table-games__faq-item .page-casino-table-games__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 15px;
}

/* SEO Article Section */
.page-casino-table-games__seo-article {
  padding: 60px 0;
}

.page-casino-table-games__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-casino-table-games__article-body h3.page-casino-table-games__article-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-casino-table-games__article-body p {
  margin-bottom: 20px;
}

.page-casino-table-games__article-body strong {
  color: #F3F8FF;
}

.page-casino-table-games__game-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #AFC4E8;
}

.page-casino-table-games__game-list li {
  margin-bottom: 10px;
}

.page-casino-table-games__article-cta {
  margin-top: 50px;
}

/* General Image Styles for Responsiveness */
.page-casino-table-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-image {
    height: 500px;
  }

  .page-casino-table-games__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

  .page-casino-table-games__hero-description {
    font-size: 18px;
  }

  .page-casino-table-games__container {
    padding: 20px 30px;
  }
}

@media (max-width: 768px) {
  /* Hero Section Mobile */
  .page-casino-table-games__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-casino-table-games__hero-image {
    height: auto !important;
    aspect-ratio: 16/9;
  }
  .page-casino-table-games__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    width: 100% !important;
    height: auto !important;
  }
  .page-casino-table-games__hero-content {
    padding: 30px 15px;
  }
  .page-casino-table-games__main-title {
    font-size: clamp(28px, 8vw, 40px) !important;
  }
  .page-casino-table-games__hero-description {
    font-size: 16px !important;
  }
  .page-casino-table-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }
  .page-casino-table-games__btn-primary, 
  .page-casino-table-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* General Sections and Containers Mobile */
  .page-casino-table-games__section-title {
    font-size: clamp(24px, 7vw, 36px) !important;
    margin-bottom: 30px !important;
    padding-bottom: 10px !important;
  }
  .page-casino-table-games__section-description,
  .page-casino-table-games__text-block {
    font-size: 15px !important;
    padding: 0 15px;
  }
  .page-casino-table-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-casino-table-games__dark-section,
  .page-casino-table-games__games-showcase,
  .page-casino-table-games__why-choose-us,
  .page-casino-table-games__getting-started,
  .page-casino-table-games__faq-section,
  .page-casino-table-games__seo-article {
    padding: 40px 0 !important;
    margin-bottom: 20px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Game Showcase Mobile */
  .page-casino-table-games__games-grid {
    grid-template-columns: 1fr !important; /* Single column */
    gap: 20px !important;
  }
  .page-casino-table-games__game-card img {
    height: 200px !important;
  }
  .page-casino-table-games__game-title {
    font-size: 20px !important;
  }
  .page-casino-table-games__game-description {
    font-size: 14px !important;
  }
  .page-casino-table-games__game-card .page-casino-table-games__btn-tertiary {
    width: calc(100% - 40px) !important;
    margin: 15px auto !important;
  }

  /* Why Choose Us & Getting Started Mobile */
  .page-casino-table-games__features-grid,
  .page-casino-table-games__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-casino-table-games__feature-item,
  .page-casino-table-games__step-card {
    padding: 40px 20px 20px !important;
  }
  .page-casino-table-games__step-number {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    top: -20px !important;
  }

  /* FAQ Section Mobile */
  details.page-casino-table-games__faq-item summary.page-casino-table-games__faq-question {
    padding: 15px 20px !important;
  }
  .page-casino-table-games__faq-qtext {
    font-size: 16px !important;
  }
  .page-casino-table-games__faq-toggle {
    font-size: 24px !important;
    margin-left: 15px !important;
  }
  details.page-casino-table-games__faq-item .page-casino-table-games__faq-answer {
    padding: 0 20px 20px !important;
  }

  /* SEO Article Section Mobile */
  .page-casino-table-games__article-body {
    font-size: 15px !important;
    padding: 0 15px;
  }
  .page-casino-table-games__article-body h3.page-casino-table-games__article-subtitle {
    font-size: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
  }
  .page-casino-table-games__game-list {
    margin-left: 15px !important;
  }

  /* All images mobile */
  .page-casino-table-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* All button containers mobile */
  .page-casino-table-games__cta-buttons,
  .page-casino-table-games__button-group,
  .page-casino-table-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}