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

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

/* Base styles for the page content */
.page-game-strategy-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--spobet-text-main); /* Default text color for dark background */
  background-color: var(--spobet-background); /* Body background is dark */
}

/* Sections */
.page-game-strategy-guides__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-game-strategy-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-game-strategy-guides__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--spobet-gold);
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-strategy-guides__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--spobet-primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-strategy-guides__text-block p {
  margin-bottom: 20px;
  color: var(--spobet-text-secondary);
  font-size: 17px;
}

/* Color themes for sections */
.page-game-strategy-guides__dark-bg {
  background-color: var(--spobet-background);
  color: var(--spobet-text-main);
}

.page-game-strategy-guides__light-bg {
  background-color: #f5f5f5; /* Using a light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-game-strategy-guides__text-contrast-fix {
  color: #333333;
}

/* Hero Section */
.page-game-strategy-guides__hero-section {
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
}

.page-game-strategy-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-game-strategy-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text contrast, not color change */
}

.page-game-strategy-guides__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-game-strategy-guides__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--spobet-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-strategy-guides__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--spobet-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* CTA Button */
.page-game-strategy-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--spobet-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-game-strategy-guides__cta-button--large {
  padding: 20px 40px;
  font-size: 22px;
}

/* Image blocks within content */
.page-game-strategy-guides__image-block {
  margin: 40px auto;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* FAQ Section */
.page-game-strategy-guides__faq-section {
  padding-bottom: 80px;
}

.page-game-strategy-guides__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-game-strategy-guides__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--spobet-text-main);
  background-color: var(--spobet-card-bg);
  list-style: none; /* Hide default marker */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-game-strategy-guides__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-strategy-guides__faq-question:hover {
  background-color: rgba(var(--spobet-primary), 0.1);
}

.page-game-strategy-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-strategy-guides__faq-toggle {
  font-size: 24px;
  margin-left: 10px;
  color: var(--spobet-gold);
}

.page-game-strategy-guides__faq-item[open] .page-game-strategy-guides__faq-toggle {
  content: '−';
}

.page-game-strategy-guides__faq-answer {
  padding: 15px 20px 20px;
  font-size: 16px;
  color: var(--spobet-text-secondary);
  border-top: 1px solid var(--spobet-divider);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-game-strategy-guides__section {
    padding: 30px 10px;
  }

  .page-game-strategy-guides__container {
    padding: 0 10px;
  }

  .page-game-strategy-guides__hero-section {
    min-height: 400px;
  }

  .page-game-strategy-guides__hero-content {
    padding: 15px;
  }

  .page-game-strategy-guides__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-game-strategy-guides__hero-description {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 20px;
  }

  .page-game-strategy-guides__cta-button {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-strategy-guides__cta-button--large {
    padding: 15px 25px;
    font-size: 18px;
  }

  .page-game-strategy-guides__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-game-strategy-guides__sub-title {
    font-size: clamp(20px, 5vw, 26px);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-game-strategy-guides p {
    font-size: 15px;
  }

  /* Force responsive images */
  .page-game-strategy-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategy-guides__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
  }

  .page-game-strategy-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-strategy-guides__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }

  .page-game-strategy-guides__faq-answer {
    padding: 10px 15px 15px;
    font-size: 14px;
  }
}