/* style/casino-game-strategy.css */

/* Base styles for the page */
.page-casino-game-strategy {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Fixed navigation bar spacing for the first content module */
.page-casino-game-strategy__hero-banner {
    padding-top: 120px; /* Desktop spacing */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-casino-game-strategy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-casino-game-strategy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-casino-game-strategy__hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text readability */
    border-radius: 10px;
}

.page-casino-game-strategy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  font-weight: bold;
}

.page-casino-game-strategy__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-casino-game-strategy__section {
  padding: 60px 0;
  background: #1A1A1A; /* Dark background for sections */
}

.page-casino-game-strategy__section--intro {
    background: #121212; /* Match body background */
}

.page-casino-game-strategy__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino-game-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-casino-game-strategy__container--center {
    text-align: center;
}

.page-casino-game-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: justify;
}

/* Buttons */
.page-casino-game-strategy__btn-primary,
.page-casino-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
  border: 2px solid transparent;
}

.page-casino-game-strategy__btn-primary {
  background: #FFD700;
  color: #1A1A1A;
  border-color: #FFD700;
}

.page-casino-game-strategy__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-casino-game-strategy__btn-secondary {
  background: transparent;
  color: #FFD700;
  border-color: #FFD700;
  margin-left: 15px;
}

.page-casino-game-strategy__btn-secondary:hover {
  background: #FFD700;
  color: #1A1A1A;
}

.page-casino-game-strategy__btn-primary--large,
.page-casino-game-strategy__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-casino-game-strategy__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Grid for general strategies */
.page-casino-game-strategy__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Card styles */
.page-casino-game-strategy__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-casino-game-strategy__card-image-wrapper {
    width: 100%;
    max-width: 250px; /* Constraint image size within card */
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #FFD700;
}

.page-casino-game-strategy__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-casino-game-strategy__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino-game-strategy__card-text {
  font-size: 1em;
  color: #f0f0f0;
  text-align: justify;
}

/* Game specific strategies grid */
.page-casino-game-strategy__game-strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-casino-game-strategy__game-card {
    background: rgba(255, 255, 255, 0.08); /* Slightly darker transparent white for game cards */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.page-casino-game-strategy__game-card-image-wrapper {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #FFD700;
}

.page-casino-game-strategy__game-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-casino-game-strategy__game-card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.page-casino-game-strategy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-casino-game-strategy__list li {
  margin-bottom: 10px;
  font-size: 1em;
}

/* FAQ Section */
.page-casino-game-strategy__faq-list {
  margin-top: 30px;
}

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

.page-casino-game-strategy__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-strategy__faq-item.active .page-casino-game-strategy__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority, value large enough */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for answers */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-casino-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for questions */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-casino-game-strategy__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-casino-game-strategy__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-casino-game-strategy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-casino-game-strategy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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-strategy__faq-item.active .page-casino-game-strategy__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .page-casino-game-strategy__main-title {
        font-size: 2.8em;
    }
    .page-casino-game-strategy__hero-description {
        font-size: 1.1em;
    }
    .page-casino-game-strategy__section-title {
        font-size: 2em;
    }
    .page-casino-game-strategy__text-block {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-casino-game-strategy__hero-banner {
        padding-top: 100px; /* Mobile spacing */
        min-height: 400px;
    }
    .page-casino-game-strategy__hero-overlay {
        padding: 15px;
    }
    .page-casino-game-strategy__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-casino-game-strategy__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-casino-game-strategy__btn-primary,
    .page-casino-game-strategy__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        margin-left: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .page-casino-game-strategy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino-game-strategy__section {
        padding: 40px 0;
    }
    .page-casino-game-strategy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-casino-game-strategy__container {
        padding: 0 15px;
    }
    .page-casino-game-strategy__grid-3-cols,
    .page-casino-game-strategy__game-strategy-grid {
        gap: 20px;
    }
    .page-casino-game-strategy__card,
    .page-casino-game-strategy__game-card {
        padding: 20px;
    }
    .page-casino-game-strategy__card-title,
    .page-casino-game-strategy__game-card-title {
        font-size: 1.3em;
    }
    .page-casino-game-strategy__list {
        margin-left: 15px;
    }
    .page-casino-game-strategy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-casino-game-strategy__faq-question h3 {
        font-size: 1.05em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-casino-game-strategy__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-casino-game-strategy__faq-answer {
        padding: 0 15px;
    }
    .page-casino-game-strategy__faq-item.active .page-casino-game-strategy__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images and containers are responsive */
    .page-casino-game-strategy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-casino-game-strategy__hero-banner,
    .page-casino-game-strategy__section,
    .page-casino-game-strategy__container,
    .page-casino-game-strategy__card,
    .page-casino-game-strategy__game-card,
    .page-casino-game-strategy__card-image-wrapper,
    .page-casino-game-strategy__game-card-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino-game-strategy__hero-banner {
        padding-left: 0;
        padding-right: 0;
    }
    .page-casino-game-strategy__hero-overlay {
        width: calc(100% - 30px);
    }
}