:root {
  --primary-color: #DAA520; /* Gold */
  --secondary-color: #1E1E1E; /* Dark */
  --accent-color: #CC0000; /* Deep Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --background-white: #ffffff;
  --border-light: #e0e0e0;
}

.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--secondary-color); /* From shared.css body background */
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 20px 60px; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
}

.page-game-guides__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-game-guides__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-game-guides__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  color: var(--text-light);
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-guides__cta-button:hover {
  background: #C4911E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-guides__section {
  padding: 60px 20px;
}

.page-game-guides__light-bg {
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-game-guides__dark-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

.page-game-guides__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-dark);
}

.page-game-guides__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__text-white {
  color: var(--text-light);
}

.page-game-guides__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

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

.page-game-guides__card {
  background: var(--background-white);
  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;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

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

.page-game-guides__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-game-guides__mt-40 {
  margin-top: 40px;
}

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

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

.page-game-guides__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-guides__game-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__game-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-game-guides__game-button {
  padding: 10px 25px;
  font-size: 16px;
}

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

.page-game-guides__info-card {
  background: var(--background-light);
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  border-left: 5px solid var(--primary-color);
  color: var(--text-dark);
}

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

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

.page-game-guides__mt-20 {
  margin-top: 20px;
}

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

.page-game-guides__rg-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-game-guides__rg-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-game-guides__rg-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

.page-game-guides__faq-list {
  margin-top: 30px;
}

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

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

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--background-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-game-guides__faq-question:hover {
  background: var(--background-light);
  border-color: #d0d0d0;
}

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

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

.page-game-guides__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 32px;
  height: 32px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 40px;
  }

  .page-game-guides__hero-description {
    font-size: 18px;
  }

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

  .page-game-guides__section-description {
    font-size: 16px;
  }

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

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 140px 15px 40px; /* Adjusted padding-top for fixed header */
  }

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

  .page-game-guides__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-game-guides__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

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

  .page-game-guides__section-title {
    font-size: 28px;
  }

  .page-game-guides__section-description {
    font-size: 15px;
  }

  .page-game-guides__card, .page-game-guides__game-card, .page-game-guides__info-card, .page-game-guides__rg-item {
    padding: 20px;
  }

  .page-game-guides__card-image, .page-game-guides__game-image {
    max-width: 250px;
  }

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

  .page-game-guides__game-title {
    font-size: 18px;
  }

  .page-game-guides__game-description {
    font-size: 14px;
  }

  .page-game-guides__game-button {
    padding: 8px 20px;
    font-size: 14px;
  }

  .page-game-guides__info-title {
    font-size: 18px;
  }

  .page-game-guides__info-text {
    font-size: 14px;
  }

  .page-game-guides__rg-icon {
    width: 80px;
    height: 80px;
  }

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

  .page-game-guides__rg-text {
    font-size: 15px;
  }

  .page-game-guides__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-game-guides__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-game-guides__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-game-guides__faq-answer {
    padding: 0 15px;
  }
  
  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 28px;
  }

  .page-game-guides__hero-description {
    font-size: 15px;
  }

  .page-game-guides__section-title {
    font-size: 24px;
  }

  .page-game-guides__card-image, .page-game-guides__game-image {
    max-width: 200px;
  }
}