/* style/guides.css */
.page-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

/* Fixed navigation bar spacing for the first content module */
.page-guides__hero-banner {
  padding-top: 120px; /* Desktop spacing */
}

@media (max-width: 768px) {
  .page-guides__hero-banner {
    padding-top: 100px; /* Mobile spacing */
  }
}

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

.page-guides__dark-bg {
  background-color: #0A2E36;
  color: #ffffff;
}

.page-guides__section {
  padding: 60px 0;
}

.page-guides__section--padded {
  padding: 60px 0;
}

.page-guides__main-title {
  font-size: 3.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-guides__hero-description {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-guides__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-guides__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-guides__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-guides__paragraph {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-guides__paragraph--center {
  text-align: center;
}

.page-guides__text--golden {
  color: #FFD700;
  font-weight: bold;
}

.page-guides__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-guides__list-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1.05em;
}

.page-guides__list--ordered {
  list-style-type: decimal;
  padding-left: 25px;
  margin: 20px 0;
}

.page-guides__list--ordered .page-guides__list-item {
  background: none;
  border-left: none;
  padding: 5px 0;
  margin-bottom: 5px;
}

.page-guides__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1em;
}

.page-guides__btn--primary {
  background-color: #FFD700;
  color: #0A2E36;
}

.page-guides__btn--primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-guides__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-guides__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2E36;
}

.page-guides__btn--view-more {
  background-color: #0A2E36;
  color: #FFD700;
  border-color: #FFD700;
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-guides__btn--view-more:hover {
  background-color: #FFD700;
  color: #0A2E36;
}

.page-guides__btn--read-more {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-guides__btn--read-more:hover {
  background-color: #FFD700;
  color: #0A2E36;
}

.page-guides__link--highlight {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-guides__link--highlight:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-guides__link--blog-title {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-guides__link--blog-title:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-guides__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-guides__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-guides__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-guides__step-item .page-guides__paragraph {
  color: #e0e0e0;
  flex-grow: 1;
}

.page-guides__image--full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-guides__image--spacing {
  margin-top: 40px;
}

.page-guides__content-block {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-guides__game-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-guides__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-guides__game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-guides__game-description {
  color: #e0e0e0;
  font-size: 0.95em;
  flex-grow: 1;
}

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

.page-guides__promo-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-guides__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-guides__promo-description {
  color: #e0e0e0;
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-guides__process-step {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-guides__info-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-guides__info-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

/* FAQ styles */
.page-guides__faq-list {
  margin-top: 40px;
}

.page-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2E36;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-guides__faq-question:hover {
  background: #1a3e46;
  border-color: #FFD700;
}

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

.page-guides__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-guides__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.page-guides__faq-item.active .page-guides__faq-toggle {
  color: #ffffff;
  transform: rotate(180deg);
}

.page-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 25px;
  opacity: 0;
  color: #e0e0e0;
  font-size: 1em;
}

.page-guides__faq-item.active .page-guides__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
}

.page-guides__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

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

.page-guides__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-guides__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-guides__blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-guides__blog-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-guides__blog-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-guides__blog-title a:hover {
  text-decoration: underline;
}

.page-guides__blog-excerpt {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-guides__main-title {
    font-size: 2.8em;
  }
  .page-guides__section-title {
    font-size: 2em;
  }
  .page-guides__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-guides__container {
    padding: 0 15px;
  }
  .page-guides__main-title {
    font-size: 2.2em;
  }
  .page-guides__section-title {
    font-size: 1.8em;
  }
  .page-guides__hero-description {
    font-size: 1em;
  }
  .page-guides__section {
    padding: 40px 0;
  }
  .page-guides__section--padded {
    padding: 40px 0;
  }
  .page-guides__step-item, .page-guides__game-card, .page-guides__promo-card, .page-guides__process-step, .page-guides__info-card, .page-guides__blog-card {
    padding: 20px;
  }
  .page-guides__step-title, .page-guides__game-title, .page-guides__promo-title, .page-guides__info-title {
    font-size: 1.3em;
  }
  .page-guides__paragraph, .page-guides__list-item, .page-guides__game-description, .page-guides__promo-description, .page-guides__blog-excerpt {
    font-size: 0.95em;
  }
  .page-guides__faq-question {
    padding: 15px 20px;
  }
  .page-guides__faq-question h3 {
    font-size: 1em;
  }
  .page-guides__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-guides__faq-item.active .page-guides__faq-answer {
    padding: 15px 20px !important;
  }
  .page-guides__game-image, .page-guides__blog-image {
    height: 180px;
  }

  /* Mobile image responsive styles */
  .page-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-guides__container,
  .page-guides__section,
  .page-guides__step-by-step,
  .page-guides__game-showcase,
  .page-guides__promo-grid,
  .page-guides__transaction-process,
  .page-guides__info-grid,
  .page-guides__faq-list,
  .page-guides__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-guides__step-item, .page-guides__game-card, .page-guides__promo-card, .page-guides__process-step, .page-guides__info-card, .page-guides__blog-card {
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-guides__main-title {
    font-size: 1.8em;
  }
  .page-guides__section-title {
    font-size: 1.5em;
  }
  .page-guides__hero-description {
    font-size: 0.95em;
  }
  .page-guides__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-guides__faq-question h3 {
    font-size: 0.95em;
  }
  .page-guides__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-guides__game-image, .page-guides__blog-image {
    height: 150px;
  }
}