/* style/resources-what-is-990k-game.css */

/* Base styles for the page content */
.page-resources-what-is-990k-game {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#111), so text should be light */
  background-color: transparent; /* Inherit from body, or shared.css */
}

.page-resources-what-is-990k-game__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-what-is-990k-game__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 80px;
  text-align: center;
  background-color: #26A9E0; /* Primary brand color as background */
  color: #ffffff; /* White text for contrast */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-resources-what-is-990k-game__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-what-is-990k-game__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-resources-what-is-990k-game__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Section titles */
.page-resources-what-is-990k-game__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  padding-bottom: 10px;
  position: relative;
}

.page-resources-what-is-990k-game__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

/* Buttons */
.page-resources-what-is-990k-game__btn-primary,
.page-resources-what-is-990k-game__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-what-is-990k-game__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #000000; /* Changed to black for better contrast with orange */
  border: 2px solid #EA7C07;
}

.page-resources-what-is-990k-game__btn-primary:hover {
  background-color: #d46f06; /* Darken #EA7C07 by 10% */
  border-color: #d46f06;
  color: #000000; /* Keep text black */
  transform: translateY(-2px);
}

.page-resources-what-is-990k-game__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-what-is-990k-game__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0; /* Primary brand color for text */
  transform: translateY(-2px);
}

/* Content Area */
.page-resources-what-is-990k-game__content-area {
  padding: 60px 0;
  background-color: #111; /* Use body background for main content area to ensure contrast with light text */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-what-is-990k-game__content-area p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-resources-what-is-990k-game__content-area a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-resources-what-is-990k-game__content-area a:hover {
  color: #4dc2f0; /* Lighten #26A9E0 by 10% */
}

/* Images in content */
.page-resources-what-is-990k-game__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-what-is-990k-game__image--center {
  margin-left: auto;
  margin-right: auto;
}

/* Grid layout for cards */
.page-resources-what-is-990k-game__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-what-is-990k-game__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff; /* White text for cards */
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-what-is-990k-game__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-what-is-990k-game__card-title {
  font-size: 1.5em;
  color: #26A9E0; /* Brand color for card titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources-what-is-990k-game__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Game Categories */
.page-resources-what-is-990k-game__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-what-is-990k-game__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-what-is-990k-game__game-card:hover {
  transform: translateY(-5px);
}

.page-resources-what-is-990k-game__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources-what-is-990k-game__game-card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 20px 10px;
  line-height: 1.3;
}

.page-resources-what-is-990k-game__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-what-is-990k-game__game-card-title a:hover {
  text-decoration: underline;
}

.page-resources-what-is-990k-game__game-card p {
  padding: 0 20px 20px;
  color: #f0f0f0;
  flex-grow: 1; /* Allow paragraph to take available space */
}

/* Process Steps */
.page-resources-what-is-990k-game__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-what-is-990k-game__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-resources-what-is-990k-game__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* Video Section */
.page-resources-what-is-990k-game__video-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for video section */
  color: #ffffff;
  text-align: center;
}

.page-resources-what-is-990k-game__video-wrapper {
  max-width: 960px; /* Max width for video */
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-resources-what-is-990k-game__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it's treated as a block element */
  cursor: pointer; /* Indicate it's clickable */
}

.page-resources-what-is-990k-game__video-caption {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-top: 15px;
}

/* FAQ Section */
.page-resources-what-is-990k-game__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-what-is-990k-game__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-resources-what-is-990k-game__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0; /* Primary brand color for question background */
  transition: background-color 0.3s ease;
}

.page-resources-what-is-990k-game__faq-question:hover {
  background-color: #1d88b4; /* Darken #26A9E0 by 10% */
}

.page-resources-what-is-990k-game__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources-what-is-990k-game__faq-item.active .page-resources-what-is-990k-game__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-resources-what-is-990k-game__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-what-is-990k-game__faq-item.active .page-resources-what-is-990k-game__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 20px 25px;
}

.page-resources-what-is-990k-game__faq-answer p {
  color: #f0f0f0;
  margin-bottom: 0;
}

/* Bottom CTA Buttons */
.page-resources-what-is-990k-game__cta-buttons--bottom {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-what-is-990k-game__hero-title {
    font-size: 2.8em;
  }
  .page-resources-what-is-990k-game__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-what-is-990k-game__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure offset is applied */
    padding-bottom: 60px;
    min-height: 400px;
  }
  .page-resources-what-is-990k-game__hero-title {
    font-size: 2.2em;
  }
  .page-resources-what-is-990k-game__hero-description {
    font-size: 1em;
    padding: 0 10px;
  }
  .page-resources-what-is-990k-game__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-resources-what-is-990k-game__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-what-is-990k-game__btn-primary,
  .page-resources-what-is-990k-game__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-what-is-990k-game__content-area {
    padding: 40px 0;
  }
  .page-resources-what-is-990k-game__container {
    padding: 0 15px; /* Add horizontal padding for content */
  }
  .page-resources-what-is-990k-game img,
  .page-resources-what-is-990k-game__image,
  .page-resources-what-is-990k-game__card-image,
  .page-resources-what-is-990k-game__game-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Ensure padding/border is included in width */
  }
  .page-resources-what-is-990k-game__video,
  .page-resources-what-is-990k-game__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-what-is-990k-game__video-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-resources-what-is-990k-game__card,
  .page-resources-what-is-990k-game__game-card,
  .page-resources-what-is-990k-game__step-card {
    padding: 20px;
  }
}