/* style/resources-king79-1-guide.css */

/* Variables */
:root {
  --primary-color: #0A2463; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212; /* Body background from shared.css */
  --card-bg-dark-mode: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark bg */
  --border-color-dark-mode: rgba(255, 255, 255, 0.15);
}

.page-resources-king79-1-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); /* Ensure consistency, though body bg is from shared.css */
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

/* Responsive padding for main content */
@media (max-width: 768px) {
  .page-resources-king79-1-guide {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }
}

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

.page-resources-king79-1-guide__section {
  padding: 60px 0;
}

.page-resources-king79-1-guide__hero-section {
  background: linear-gradient(135deg, var(--primary-color), #003366);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* This section is the first, so it needs the padding-top for fixed header */
}

@media (max-width: 768px) {
  .page-resources-king79-1-guide__hero-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding: 40px 0;
  }
}

.page-resources-king79-1-guide__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-resources-king79-1-guide__hero-description {
  font-size: 1.25em;
  color: var(--text-light);
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-king79-1-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-king79-1-guide__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-king79-1-guide__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-king79-1-guide__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-king79-1-guide__cta-button--secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-king79-1-guide__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-king79-1-guide__hero-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-king79-1-guide__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-king79-1-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources-king79-1-guide__introduction p,
.page-resources-king79-1-guide__security p,
.page-resources-king79-1-guide__support p,
.page-resources-king79-1-guide__conclusion p {
  font-size: 1.1em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: justify;
  opacity: 0.9;
}

.page-resources-king79-1-guide__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-king79-1-guide__article-card {
  background: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color-dark-mode);
}

.page-resources-king79-1-guide__article-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-resources-king79-1-guide__article-card p {
  color: var(--text-light);
  margin-bottom: 15px;
  opacity: 0.85;
}

.page-resources-king79-1-guide__list-ordered,
.page-resources-king79-1-guide__list-unordered {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
  opacity: 0.85;
}

.page-resources-king79-1-guide__list-ordered li,
.page-resources-king79-1-guide__list-unordered li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-king79-1-guide__list-ordered li strong {
  color: var(--secondary-color);
}

.page-resources-king79-1-guide__btn-primary,
.page-resources-king79-1-guide__btn-secondary,
.page-resources-king79-1-guide__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  margin-top: 15px;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-king79-1-guide__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-king79-1-guide__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-king79-1-guide__btn-secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--secondary-color);
}

.page-resources-king79-1-guide__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-king79-1-guide__btn-link {
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 10px 20px;
}

.page-resources-king79-1-guide__btn-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-resources-king79-1-guide__game-card {
  background: var(--card-bg-dark-mode);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color-dark-mode);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-king79-1-guide__game-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover; /* Cover the area, crop if necessary */
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-king79-1-guide__game-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources-king79-1-guide__game-card p {
  color: var(--text-light);
  opacity: 0.8;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.page-resources-king79-1-guide__promotions {
  background: var(--primary-color); /* Dark section background */
  color: var(--text-light);
}

.page-resources-king79-1-guide__promotions .page-resources-king79-1-guide__section-title {
  color: var(--secondary-color);
}

.page-resources-king79-1-guide__promotions p {
  color: var(--text-light);
  opacity: 0.9;
}

.page-resources-king79-1-guide__promotions .page-resources-king79-1-guide__list-unordered {
  color: var(--text-light);
  opacity: 0.9;
}

.page-resources-king79-1-guide__promotions .page-resources-king79-1-guide__list-unordered li strong {
  color: var(--secondary-color);
}

/* FAQ styles */
.page-resources-king79-1-guide__faq {
  background-color: var(--bg-dark); /* Ensure consistency for this section */
}

.page-resources-king79-1-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-king79-1-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-resources-king79-1-guide__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-resources-king79-1-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color);
  pointer-events: none; /* Prevent h3 from blocking click event on parent */
}

.page-resources-king79-1-guide__faq-toggle {
  font-size: 28px;
  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; /* Prevent icon from blocking click event on parent */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-king79-1-guide__faq-item.active .page-resources-king79-1-guide__faq-toggle {
  transform: rotate(180deg);
  color: var(--text-light);
}

.page-resources-king79-1-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 20px;
  opacity: 0;
  color: var(--text-light);
}

.page-resources-king79-1-guide__faq-item.active .page-resources-king79-1-guide__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border-color-dark-mode);
}

.page-resources-king79-1-guide__faq-answer p {
  margin-bottom: 15px;
  color: var(--text-light);
  opacity: 0.85;
}