/* style/game-guides.css */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

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

.page-game-guides .page-game-guides__section:nth-of-type(even) {
  background-color: #f1f1f1;
}

.page-game-guides .page-game-guides__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-game-guides .page-game-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-game-guides .page-game-guides__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-game-guides .page-game-guides__text-link {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
}

.page-game-guides .page-game-guides__text-link:hover {
  color: #FFD700;
}

.page-game-guides .page-game-guides__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-game-guides .page-game-guides__btn--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
  font-size: 1.1em;
}

.page-game-guides .page-game-guides__btn--primary:hover {
  background-color: #0A2463;
  color: #FFD700;
  border-color: #0A2463;
}

.page-game-guides .page-game-guides__btn--secondary {
  background-color: #0A2463;
  color: #FFD700;
  border: 2px solid #0A2463;
  font-size: 1em;
}

.page-game-guides .page-game-guides__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  border-color: #FFD700;
}

.page-game-guides .highlight {
  color: #0A2463;
  font-weight: bold;
}

/* Hero Section */
.page-game-guides__hero {
  background: linear-gradient(135deg, #0A2463 0%, #1A3F80 100%);
  color: #fff;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 500px;
}

.page-game-guides__hero-content {
  max-width: 600px;
  text-align: left;
}

.page-game-guides__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__hero-title .highlight {
  color: #FFD700;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-game-guides__hero-image-wrapper {
  flex-shrink: 0;
  width: 500px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Why Guides Section */
.page-game-guides__why-guides h2 {
  margin-top: 0;
}

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

.page-game-guides__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-game-guides__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}

.page-game-guides__feature-item h3 {
  color: #0A2463;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-game-guides__feature-item p {
  color: #666;
  font-size: 1em;
}

/* Game Categories Section */
.page-game-guides__game-categories h2 {
  margin-top: 0;
}

.page-game-guides__guide-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}

.page-game-guides__guide-item {
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-guides__guide-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.page-game-guides__guide-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.page-game-guides__guide-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-game-guides__guide-description {
  font-size: 1em;
  color: #555;
  flex-grow: 1;
}

.page-game-guides__guide-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.page-game-guides__guide-features li {
  color: #666;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-game-guides__guide-features li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Onbet Advantages Section */
.page-game-guides__onbet-advantages {
  background-color: #0A2463;
  color: #fff;
}

.page-game-guides__onbet-advantages .page-game-guides__section-title {
  color: #FFD700;
}

.page-game-guides__onbet-advantages .page-game-guides__section-title::after {
  background-color: #fff;
}

.page-game-guides__onbet-advantages .page-game-guides__text-content {
  color: #e0e0e0;
}

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

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

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

.page-game-guides__advantage-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

.page-game-guides__advantage-item h3 {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-game-guides__advantage-item p {
  color: #f0f0f0;
  font-size: 1em;
}

.page-game-guides__onbet-advantages .highlight {
  color: #FFD700;
}

.page-game-guides__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-game-guides__cta-text {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

/* Get Started Section */
.page-game-guides__get-started h2 {
  margin-top: 0;
}

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

.page-game-guides__step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 90px;
}

.page-game-guides__step-item::before {
  content: attr(data-step);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0A2463;
  color: #FFD700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFD700;
  z-index: 1;
}

.page-game-guides__step-item:nth-child(1)::before { content: '1'; }
.page-game-guides__step-item:nth-child(2)::before { content: '2'; }
.page-game-guides__step-item:nth-child(3)::before { content: '3'; }
.page-game-guides__step-item:nth-child(4)::before { content: '4'; }

.page-game-guides__step-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
}

.page-game-guides__step-item h3 {
  color: #0A2463;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-game-guides__step-item p {
  color: #666;
  font-size: 1em;
}

/* FAQ Section */
.page-game-guides__faq h2 {
  margin-top: 0;
}

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

.page-game-guides__faq-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  font-size: 1.25em;
  color: #0A2463;
  padding: 20px 30px;
  margin: 0;
  cursor: pointer;
  position: relative;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-game-guides__faq-question:hover {
  background-color: #efefef;
}

.page-game-guides__faq-question::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-game-guides__faq-answer {
  font-size: 1em;
  color: #555;
  padding: 0 30px 20px 30px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 200px; /* Adjust based on expected content length */
  padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-guides__hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-game-guides__hero-content {
    text-align: center;
    max-width: 100%;
  }

  .page-game-guides__hero-title {
    font-size: 2.8em;
  }

  .page-game-guides__hero-image-wrapper {
    width: 100%;
    height: 300px;
    margin-top: 40px;
  }

  .page-game-guides__guide-item {
    flex-direction: column;
  }

  .page-game-guides__guide-image {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section-title {
    font-size: 2em;
  }

  .page-game-guides__hero-title {
    font-size: 2.2em;
  }

  .page-game-guides__hero-description {
    font-size: 1.1em;
  }

  .page-game-guides__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-game-guides__feature-item,
  .page-game-guides__advantage-item,
  .page-game-guides__step-item {
    padding: 25px;
  }

  .page-game-guides__guide-content {
    padding: 20px;
  }

  .page-game-guides__guide-title {
    font-size: 1.5em;
  }

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

  .page-game-guides__faq-question::after {
    right: 20px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero {
    padding: 40px 15px;
  }

  .page-game-guides__hero-title {
    font-size: 1.8em;
  }

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

  .page-game-guides__hero-image-wrapper {
    height: 200px;
  }

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

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

  .page-game-guides__text-content {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-game-guides__guide-image {
    height: 180px;
  }

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

  .page-game-guides__guide-title {
    font-size: 1.3em;
  }

  .page-game-guides__faq-question {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-game-guides__faq-question::after {
    font-size: 1.2em;
    right: 15px;
  }
}