/* style/game-strategies-tips.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color-page: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-game-strategies-tips {
  background-color: var(--background-color-page);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-game-strategies-tips__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-strategies-tips__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

/* Hero Section */
.page-game-strategies-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles padding-top */
  background-color: var(--background-color-page);
  overflow: hidden;
}

.page-game-strategies-tips__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-game-strategies-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-game-strategies-tips__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-game-strategies-tips__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-game-strategies-tips__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

/* Buttons */
.page-game-strategies-tips__btn-primary,
.page-game-strategies-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-game-strategies-tips__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategies-tips__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-tips__btn-secondary {
  background: none;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-game-strategies-tips__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* Intro Section */
.page-game-strategies-tips__intro-section {
  padding: 80px 0;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider-color);
}

.page-game-strategies-tips__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main-color);
}

/* Strategy Sections */
.page-game-strategies-tips__strategy-section,
.page-game-strategies-tips__casino-section,
.page-game-strategies-tips__game-tactics-section,
.page-game-strategies-tips__risk-psychology-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-game-strategies-tips__image-content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-game-strategies-tips__image-content-grid.reverse {
  flex-direction: row-reverse;
}

.page-game-strategies-tips__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure images don't get too small on larger screens */
}

.page-game-strategies-tips__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-tips__text-content {
  flex: 1;
}

/* FAQ Section */
.page-game-strategies-tips__faq-section {
  padding: 80px 0;
  background-color: var(--background-color-page);
}

.page-game-strategies-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-strategies-tips__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-strategies-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* For details/summary */
}

.page-game-strategies-tips__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-strategies-tips__faq-item[open] > .page-game-strategies-tips__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-game-strategies-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

.page-game-strategies-tips__faq-item[open] .page-game-strategies-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-game-strategies-tips__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--text-secondary-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-game-strategies-tips__faq-item[open] .page-game-strategies-tips__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 20px;
  padding-bottom: 20px;
}

/* CTA Section */
.page-game-strategies-tips__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-game-strategies-tips__cta-section .page-game-strategies-tips__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-strategies-tips__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-game-strategies-tips__section-title {
    font-size: 2em;
  }

  .page-game-strategies-tips__image-content-grid {
    flex-direction: column;
  }

  .page-game-strategies-tips__image-content-grid.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-game-strategies-tips__container {
    padding: 0 15px !important;
  }

  .page-game-strategies-tips__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-game-strategies-tips__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-game-strategies-tips__hero-description {
    font-size: 1em;
  }

  .page-game-strategies-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-game-strategies-tips__text-block {
    font-size: 0.95em;
  }

  .page-game-strategies-tips__btn-primary,
  .page-game-strategies-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-game-strategies-tips__intro-section,
  .page-game-strategies-tips__strategy-section,
  .page-game-strategies-tips__casino-section,
  .page-game-strategies-tips__game-tactics-section,
  .page-game-strategies-tips__risk-psychology-section,
  .page-game-strategies-tips__faq-section,
  .page-game-strategies-tips__cta-section {
    padding: 40px 0;
  }

  .page-game-strategies-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategies-tips__hero-image-wrapper,
  .page-game-strategies-tips__image-wrapper,
  .page-game-strategies-tips__image-content-grid,
  .page-game-strategies-tips__text-content,
  .page-game-strategies-tips__faq-list,
  .page-game-strategies-tips__cta-section .page-game-strategies-tips__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-game-strategies-tips__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-game-strategies-tips__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-game-strategies-tips__hero-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }

  .page-game-strategies-tips__section-title {
    font-size: 1.6em;
  }
}