/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6);
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: var(--text-main);
  padding: 20px;
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-game-guides__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-game-guides__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-game-guides__introduction-section,
.page-game-guides__detailed-guides,
.page-game-guides__promotions,
.page-game-guides__conclusion-section {
  background-color: var(--light-bg);
  color: #333333;
}

.page-game-guides__games-overview,
.page-game-guides__account-management,
.page-game-guides__faq-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

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

.page-game-guides__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-game-guides__section-description {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-game-guides__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-game-guides__text-block {
  line-height: 1.7;
}

.page-game-guides__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-game-guides__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-guides__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

.page-game-guides__card--small {
  padding: 30px 20px;
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-game-guides__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
  color: var(--text-main);
}

.page-game-guides__card p {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-secondary);
}

.page-game-guides__btn-read-more {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  margin-top: auto;
  align-self: center;
}

.page-game-guides__btn-read-more:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-game-guides__guide-block {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-game-guides__guide-block p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-game-guides__btn-learn-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--deep-green);
  color: var(--text-main);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-game-guides__btn-learn-more:hover {
  background-color: #0c6a3c;
}

.page-game-guides__grid-three-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-game-guides__promo-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-game-guides__promo-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #11A84E;
}

.page-game-guides__promo-item p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-game-guides__btn-view-all {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--gold);
  color: #333333;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-game-guides__btn-view-all:hover {
  background-color: #e0b03e;
}

.page-game-guides__cta-center {
  text-align: center;
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--divider);
  list-style: none;
}

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-game-guides__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-game-guides__conclusion-section .page-game-guides__cta-buttons {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-game-guides__section-title {
    font-size: 2.2rem;
  }
  .page-game-guides__grid-two-cols,
  .page-game-guides__grid-three-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-game-guides__hero-content {
    padding: 15px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-game-guides__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-game-guides__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-game-guides__sub-title {
    font-size: 1.5rem;
  }
  .page-game-guides__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__card {
    padding-bottom: 15px;
  }
  .page-game-guides__card-image {
    height: 180px;
  }
  .page-game-guides__card-title {
    font-size: 1.3rem;
  }
  .page-game-guides__card p {
    font-size: 0.95rem;
  }
  .page-game-guides__guide-block {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-game-guides__content-image {
    max-height: 300px;
  }
  .page-game-guides__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__promo-item {
    padding: 25px;
  }
  .page-game-guides__promo-title {
    font-size: 1.4rem;
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-game-guides__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }
  /* All images responsive */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__introduction-section,
  .page-game-guides__games-overview,
  .page-game-guides__detailed-guides,
  .page-game-guides__account-management,
  .page-game-guides__promotions,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-game-guides__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-game-guides__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-game-guides__cta-center {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

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