/* style/resources-99ok-guide.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f5f5f5;
  --border-color: #e0e0e0;
}

.page-resources-99ok-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark);
}

.page-resources-99ok-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-99ok-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 60px;
  min-height: 600px;
  overflow: hidden;
  color: var(--text-light);
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-99ok-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Overlay to ensure text readability on dark background */
}

.page-resources-99ok-guide__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-99ok-guide__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-99ok-guide__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources-99ok-guide__btn-primary,
.page-resources-99ok-guide__btn-secondary,
.page-resources-99ok-guide__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-99ok-guide__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-99ok-guide__btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-99ok-guide__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-99ok-guide__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-99ok-guide__btn-tertiary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 10px 20px;
  font-size: 0.9em;
  box-shadow: none;
}

.page-resources-99ok-guide__btn-tertiary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* General Section Styling */
.page-resources-99ok-guide__overview-section,
.page-resources-99ok-guide__features-section,
.page-resources-99ok-guide__games-section,
.page-resources-99ok-guide__guide-section,
.page-resources-99ok-guide__promotions-section,
.page-resources-99ok-guide__security-section,
.page-resources-99ok-guide__mobile-section,
.page-resources-99ok-guide__faq-section,
.page-resources-99ok-guide__support-section,
.page-resources-99ok-guide__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-99ok-guide__overview-section,
.page-resources-99ok-guide__games-section,
.page-resources-99ok-guide__promotions-section,
.page-resources-99ok-guide__mobile-section,
.page-resources-99ok-guide__support-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: var(--text-light);
}

.page-resources-99ok-guide__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-99ok-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 60px;
  color: var(--secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-99ok-guide__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Content Grid (Text + Image) */
.page-resources-99ok-guide__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-resources-99ok-guide__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-resources-99ok-guide__text-block {
  flex: 1;
}

.page-resources-99ok-guide__text-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-resources-99ok-guide__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-99ok-guide__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

/* Features Grid */
.page-resources-99ok-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-resources-99ok-guide__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure equal height */
}

.page-resources-99ok-guide__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-99ok-guide__feature-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources-99ok-guide__feature-card p {
  color: #f0f0f0;
}

/* Games Grid */
.page-resources-99ok-guide__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-99ok-guide__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-resources-99ok-guide__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-resources-99ok-guide__game-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-resources-99ok-guide__game-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-resources-99ok-guide__game-title a:hover {
  text-decoration: underline;
}

.page-resources-99ok-guide__game-card p {
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Guide Steps */
.page-resources-99ok-guide__guide-steps {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-resources-99ok-guide__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  max-width: 350px;
  text-align: left;
}

.page-resources-99ok-guide__step-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-resources-99ok-guide__step-item h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources-99ok-guide__step-item p {
  color: #f0f0f0;
}

/* Promotions Grid */
.page-resources-99ok-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-99ok-guide__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  height: 100%;
}

.page-resources-99ok-guide__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-resources-99ok-guide__promo-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-resources-99ok-guide__promo-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-resources-99ok-guide__promo-title a:hover {
  text-decoration: underline;
}

.page-resources-99ok-guide__promo-card p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

/* Full CTA */
.page-resources-99ok-guide__full-cta {
  margin-top: 60px;
  text-align: center;
}

.page-resources-99ok-guide__full-cta--alt .page-resources-99ok-guide__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-99ok-guide__full-cta--alt .page-resources-99ok-guide__btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* FAQ Section */
.page-resources-99ok-guide__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-resources-99ok-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-resources-99ok-guide__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
}

.page-resources-99ok-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-resources-99ok-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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: 28px;
  height: 28px;
}

.page-resources-99ok-guide__faq-item.active .page-resources-99ok-guide__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Optional: Rotate for 'x' effect */
}

.page-resources-99ok-guide__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: #f0f0f0;
}

.page-resources-99ok-guide__faq-item.active .page-resources-99ok-guide__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-resources-99ok-guide__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-99ok-guide__main-title {
    font-size: 3em;
  }
  .page-resources-99ok-guide__description {
    font-size: 1.1em;
  }
  .page-resources-99ok-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-99ok-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-99ok-guide__hero-section {
    padding: 80px 0 40px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-99ok-guide__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-resources-99ok-guide__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources-99ok-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-resources-99ok-guide__btn-primary,
  .page-resources-99ok-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-99ok-guide__overview-section,
  .page-resources-99ok-guide__features-section,
  .page-resources-99ok-guide__games-section,
  .page-resources-99ok-guide__guide-section,
  .page-resources-99ok-guide__promotions-section,
  .page-resources-99ok-guide__security-section,
  .page-resources-99ok-guide__mobile-section,
  .page-resources-99ok-guide__faq-section,
  .page-resources-99ok-guide__support-section,
  .page-resources-99ok-guide__conclusion-section {
    padding: 50px 0;
  }
  .page-resources-99ok-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-resources-99ok-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-resources-99ok-guide__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-resources-99ok-guide__content-grid--reverse {
    flex-direction: column;
  }
  .page-resources-99ok-guide__image-wrapper {
    order: -1; /* Image first on mobile */
  }
  .page-resources-99ok-guide__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-resources-99ok-guide__features-grid,
  .page-resources-99ok-guide__games-grid,
  .page-resources-99ok-guide__promotions-grid,
  .page-resources-99ok-guide__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-99ok-guide__step-item {
    max-width: 100%;
  }
  .page-resources-99ok-guide__game-image,
  .page-resources-99ok-guide__promo-image {
    height: auto; /* Allow height to adjust */
    min-height: 180px; /* Maintain a reasonable minimum height */
  }
  .page-resources-99ok-guide__full-cta {
    margin-top: 40px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-resources-99ok-guide__faq-question {
    padding: 15px 20px;
  }
  .page-resources-99ok-guide__faq-question h3 {
    font-size: 1em;
  }
  .page-resources-99ok-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-resources-99ok-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-99ok-guide__faq-item.active .page-resources-99ok-guide__faq-answer {
    padding: 15px 20px !important;
  }
}