/* style/casino-game-strategies.css */
:root {
  --primary-color: #B80F0A;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #1a1a1a;
  --border-light: #e0e0e0;
}

.page-casino-game-strategies {
  color: var(--text-light); /* Body background is dark, so main text should be light */
  background-color: #000000; /* Inherited from body */
}

/* Ensure main content sections have a contrasting background */
.page-casino-game-strategies__intro-section,
.page-casino-game-strategies__section {
  padding: 60px 20px;
  background-color: var(--bg-light); /* Light background for content sections */
  color: var(--text-dark); /* Dark text on light background */
}

/* Fixed navigation bar spacing */
.page-casino-game-strategies__intro-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-casino-game-strategies__section--dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-casino-game-strategies__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino-game-strategies__main-heading {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino-game-strategies__sub-heading {
  font-size: 18px;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-casino-game-strategies__sub-heading a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino-game-strategies__sub-heading a:hover {
  text-decoration: underline;
}

.page-casino-game-strategies__intro-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-casino-game-strategies__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.page-casino-game-strategies__cta-button:hover {
  background: #a00d08;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-game-strategies__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--secondary-color);
}

.page-casino-game-strategies__cta-button--secondary:hover {
  background: #e6c200;
  color: var(--text-dark);
}

.page-casino-game-strategies__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-casino-game-strategies__section-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-casino-game-strategies__section-title a:hover {
  text-decoration: underline;
}

.page-casino-game-strategies__section-description {
  font-size: 17px;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-casino-game-strategies__section--dark-bg .page-casino-game-strategies__section-description,
.page-casino-game-strategies__section--dark-bg .page-casino-game-strategies__section-title {
  color: var(--text-light);
}

.page-casino-game-strategies__section--dark-bg .page-casino-game-strategies__section-title a {
  color: var(--text-light);
}

.page-casino-game-strategies__content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-casino-game-strategies__content-block p {
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  color: inherit; /* Inherit color from parent section */
  max-width: 900px;
}

.page-casino-game-strategies__content-block p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino-game-strategies__section--dark-bg .page-casino-game-strategies__content-block p a {
  color: var(--secondary-color);
}

.page-casino-game-strategies__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  max-width: 800px; /* Example max width */
}

.page-casino-game-strategies__image--large {
  max-width: 1000px;
}

.page-casino-game-strategies__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-game-strategies__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.page-casino-game-strategies__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino-game-strategies__card-image {
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-game-strategies__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-casino-game-strategies__card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-casino-game-strategies__card-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino-game-strategies__game-strategy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-casino-game-strategies__game-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-casino-game-strategies__game-icon-large {
  width: 150px;
  height: auto;
  border-radius: 8px;
  margin-right: 30px;
  flex-shrink: 0;
}

.page-casino-game-strategies__game-details {
  flex-grow: 1;
}

.page-casino-game-strategies__game-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-casino-game-strategies__game-strategy-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-casino-game-strategies__game-strategy-text a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino-game-strategies__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-casino-game-strategies__criteria-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.page-casino-game-strategies__criteria-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-casino-game-strategies__criteria-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-casino-game-strategies__criteria-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino-game-strategies__cta-box {
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-casino-game-strategies__cta-box p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.5;
  color: var(--text-light);
}

.page-casino-game-strategies__cta-box p a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-casino-game-strategies__cta-box p a:hover {
  text-decoration: underline;
}

.page-casino-game-strategies__cta-box .page-casino-game-strategies__cta-button {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--secondary-color);
}

.page-casino-game-strategies__cta-box .page-casino-game-strategies__cta-button:hover {
  background: #e6c200;
  color: var(--text-dark);
}

.page-casino-game-strategies__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
}

.page-casino-game-strategies__tips-list li {
  background: #ffffff;
  border-left: 5px solid var(--primary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-casino-game-strategies__tips-list li p {
  margin: 0;
  color: var(--text-dark);
  text-align: left;
}

.page-casino-game-strategies__tips-list li p strong {
  color: var(--primary-color);
}

.page-casino-game-strategies__tips-list li p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino-game-strategies__tips-list li p a:hover {
  text-decoration: underline;
}

.page-casino-game-strategies__faq-section {
  padding: 60px 20px;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-casino-game-strategies__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-casino-game-strategies__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-casino-game-strategies__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-casino-game-strategies__faq-item.active .page-casino-game-strategies__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-casino-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-casino-game-strategies__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-casino-game-strategies__faq-question:active {
  background: #eeeeee;
}

.page-casino-game-strategies__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-casino-game-strategies__faq-question h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-casino-game-strategies__faq-question h3 a:hover {
  text-decoration: underline;
}

.page-casino-game-strategies__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-casino-game-strategies__faq-item.active .page-casino-game-strategies__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-casino-game-strategies__faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-casino-game-strategies__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino-game-strategies__faq-answer p a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-game-strategies__main-heading {
    font-size: 38px;
  }

  .page-casino-game-strategies__section-title {
    font-size: 32px;
  }

  .page-casino-game-strategies__game-card {
    flex-direction: column;
    text-align: center;
  }

  .page-casino-game-strategies__game-icon-large {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  /* Mobile specific padding-top for fixed header */
  .page-casino-game-strategies__intro-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino-game-strategies__section {
    padding: 40px 15px;
  }

  .page-casino-game-strategies__main-heading {
    font-size: 30px;
  }

  .page-casino-game-strategies__sub-heading {
    font-size: 16px;
  }

  .page-casino-game-strategies__cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-casino-game-strategies__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-casino-game-strategies__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .page-casino-game-strategies__content-block {
    gap: 20px;
  }

  .page-casino-game-strategies__content-block p {
    font-size: 15px;
  }

  .page-casino-game-strategies__card-grid,
  .page-casino-game-strategies__criteria-grid {
    gap: 20px;
  }

  .page-casino-game-strategies__card,
  .page-casino-game-strategies__criteria-item {
    padding: 20px;
  }

  .page-casino-game-strategies__card-image {
    max-width: 200px;
  }

  .page-casino-game-strategies__card-title {
    font-size: 20px;
  }

  .page-casino-game-strategies__game-icon-large {
    width: 100px;
  }

  .page-casino-game-strategies__game-title {
    font-size: 22px;
  }

  .page-casino-game-strategies__game-strategy-text {
    font-size: 15px;
  }

  .page-casino-game-strategies__cta-box {
    padding: 30px;
  }

  .page-casino-game-strategies__cta-box p {
    font-size: 18px;
  }

  .page-casino-game-strategies__tips-list li {
    font-size: 15px;
    padding: 15px;
  }

  .page-casino-game-strategies__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-casino-game-strategies__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-casino-game-strategies__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-casino-game-strategies__faq-answer {
    padding: 0 15px;
  }
  
  .page-casino-game-strategies__faq-item.active .page-casino-game-strategies__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image responsive fix */
  .page-casino-game-strategies img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino-game-strategies__section,
  .page-casino-game-strategies__card,
  .page-casino-game-strategies__container,
  .page-casino-game-strategies__content-block,
  .page-casino-game-strategies__game-card,
  .page-casino-game-strategies__criteria-item,
  .page-casino-game-strategies__cta-box,
  .page-casino-game-strategies__faq-section,
  .page-casino-game-strategies__faq-list,
  .page-casino-game-strategies__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino-game-strategies__faq-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-casino-game-strategies__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
}