/* style/game-guides.css */

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

.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-game-guides-text-main); /* Default text color for the page */
  background-color: var(--page-game-guides-background); /* Default background for the page */
}

.page-game-guides a {
  color: var(--page-game-guides-secondary-color);
  text-decoration: none;
}

.page-game-guides a:hover {
  text-decoration: underline;
  color: var(--page-game-guides-glow-color);
}

/* Sections */
.page-game-guides__section {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-guides__dark-bg {
  background-color: var(--page-game-guides-background);
  color: var(--page-game-guides-text-main);
}

.page-game-guides__light-bg {
  background-color: var(--page-game-guides-text-main);
  color: #333333; /* Darker text for light background */
}

.page-game-guides__light-bg .page-game-guides__section-title,
.page-game-guides__light-bg .page-game-guides__description-intro,
.page-game-guides__light-bg .page-game-guides__text-block h3,
.page-game-guides__light-bg .page-game-guides__game-card-title,
.page-game-guides__light-bg .page-game-guides__faq-qtext,
.page-game-guides__light-bg .page-game-guides__faq-answer p {
  color: #333333;
}

.page-game-guides__light-bg .page-game-guides__game-card-title a {
  color: var(--page-game-guides-primary-color);
}

.page-game-guides__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-game-guides__section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  color: inherit;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-game-guides__description-intro {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-game-guides-text-secondary);
}

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

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-game-guides__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--page-game-guides-text-main);
  letter-spacing: -0.03em;
}

.page-game-guides__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--page-game-guides-text-secondary);
}

/* CTA Button */
.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-game-guides-button-gradient);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-game-guides__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.page-game-guides__cta-button--centered {
  margin-top: 30px;
}

/* About VL88 Code Section */
.page-game-guides__about-vl88 .page-game-guides__container {
  text-align: left;
}

.page-game-guides__grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-game-guides__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: inherit;
}

.page-game-guides__image-wrapper {
  text-align: center;
}

.page-game-guides__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* How to Use Section */
.page-game-guides__how-to-use .page-game-guides__description-intro {
  color: var(--page-game-guides-text-secondary);
}

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

.page-game-guides__step-card {
  background-color: var(--page-game-guides-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-game-guides__step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  background-color: var(--page-game-guides-deep-green);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__step-icon img {
  
  
  max-width: 100%;
  height: auto;
  display: block;
}

.page-game-guides__step-title {
  font-size: 22px;
  color: var(--page-game-guides-text-main);
  margin-bottom: 15px;
}

.page-game-guides__step-card p {
  font-size: 16px;
  color: var(--page-game-guides-text-secondary);
}

/* Game Types Section */
.page-game-guides__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__game-card {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-game-guides__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.page-game-guides__game-card-title {
  font-size: 22px;
  margin: 20px 20px 10px 20px;
  color: var(--page-game-guides-primary-color);
}

.page-game-guides__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-game-guides__game-card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__game-card p {
  font-size: 16px;
  color: var(--page-game-guides-text-secondary);
  padding: 0 20px 20px 20px;
}

/* Benefits Section */
.page-game-guides__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__benefit-item {
  background-color: var(--page-game-guides-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-game-guides__benefit-title {
  font-size: 22px;
  color: var(--page-game-guides-text-main);
  margin-bottom: 15px;
}

.page-game-guides__benefit-item p {
  font-size: 16px;
  color: var(--page-game-guides-text-secondary);
}

/* FAQ Section */
.page-game-guides__faq-section .page-game-guides__container {
  text-align: left;
}

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

.page-game-guides__faq-item {
  background-color: var(--page-game-guides-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-game-guides-text-main);
  cursor: pointer;
  background-color: var(--page-game-guides-deep-green);
  border-bottom: 1px solid var(--page-game-guides-border-color);
  list-style: none;
}

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

.page-game-guides__faq-question:hover {
  background-color: var(--page-game-guides-primary-color);
}

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

.page-game-guides__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--page-game-guides-text-main);
}

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

.page-game-guides__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--page-game-guides-text-secondary);
  border-top: 1px solid var(--page-game-guides-divider-color);
  background-color: var(--page-game-guides-card-bg);
}

.page-game-guides__faq-answer p {
  margin: 0;
  color: inherit;
}

/* Conclusion Section */
.page-game-guides__conclusion p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: var(--page-game-guides-text-secondary);
}

.page-game-guides__conclusion p a {
  color: var(--page-game-guides-gold-color);
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__grid-two-col {
    grid-template-columns: 1fr;
  }
  .page-game-guides__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-game-guides__about-vl88 .page-game-guides__container {
    text-align: center;
  }
  .page-game-guides__text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 15px;
  }
  .page-game-guides__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-game-guides__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-game-guides__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }
  .page-game-guides__description {
    font-size: 17px;
  }
  .page-game-guides__cta-button {
    font-size: 18px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-guides__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-game-guides__description-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-game-guides__step-grid,
  .page-game-guides__game-card-grid,
  .page-game-guides__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__game-card-image {
    height: 180px;
  }
  .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__game-card,
  .page-game-guides__step-card,
  .page-game-guides__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .page-game-guides__game-card-title,
  .page-game-guides__game-card p {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__faq-question,
  .page-game-guides__faq-answer {
    padding: 15px 20px;
  }
  .page-game-guides__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(24px, 9vw, 36px);
  }
  .page-game-guides__description {
    font-size: 16px;
  }
  .page-game-guides__section-title {
    font-size: clamp(22px, 8vw, 32px);
  }
  .page-game-guides__cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
}