/* style/game-guides.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #DC143C; /* Crimson */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light-card: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark);
  line-height: 1.6;
  padding-bottom: 80px; /* Space for footer */
}

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

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

.page-game-guides__heading,
.page-game-guides__sub-heading {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
}

.page-game-guides__heading {
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 40px;
}

.page-game-guides__sub-heading {
  font-size: 24px;
  color: var(--text-light);
  margin-top: 30px;
  text-align: left;
}

.page-game-guides p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-light);
}

.page-game-guides a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Video Section */
.page-game-guides__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(0,0,0,0.7) 100%);
}

.page-game-guides__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-game-guides__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__video-wrapper {
  position: relative;
  width: 100%;
  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.5);
}

.page-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-game-guides__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-game-guides__video-link:hover .page-game-guides__video-overlay {
  opacity: 1;
}

.page-game-guides__video-click-hint {
  color: var(--text-light);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 8px;
  white-space: nowrap;
}

.page-game-guides__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-game-guides__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-game-guides__play-now-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.5);
}

.page-game-guides__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* Title Section */
.page-game-guides__title-section {
  padding: 80px 20px 40px;
  background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(0,0,0,0.7) 100%);
  text-align: center;
}

.page-game-guides__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 3px 5px rgba(0,0,0,0.3);
}

.page-game-guides__title-description {
  font-size: 19px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-game-guides__cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(220, 20, 60, 0.4);
}

.page-game-guides__cta-button--secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.page-game-guides__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  border-color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

/* General Content Styles */
.page-game-guides__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-game-guides__ordered-list {
  list-style: decimal inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-game-guides__list-item {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--text-light);
}

.page-game-guides__list-item strong {
  color: var(--primary-color);
}

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

/* Card Grid */
.page-game-guides__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__card {
  background: var(--bg-light-card);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-guides__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-game-guides__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-guides__card-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-guides__card-button:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-1px);
}

/* App Download Section */
.page-game-guides__app-download {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-game-guides__download-button {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-game-guides__download-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(220, 20, 60, 0.4);
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 40px;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-light-card);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-game-guides__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-game-guides__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-game-guides__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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: 32px;
  height: 32px;
}

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

.page-game-guides__faq-item.active .page-game-guides__faq-question h3,
.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  color: var(--text-dark);
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 16px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* Brand Introduction */
.page-game-guides__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__brand-item {
  background: var(--bg-light-card);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-game-guides__brand-item p {
  font-size: 16px;
}

/* Blog List */
.page-game-guides__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__blog-item {
  background: var(--bg-light-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-game-guides__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-guides__blog-link {
  display: block;
  padding: 20px;
  color: var(--text-light);
}

.page-game-guides__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-game-guides__blog-item-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.3;
}

.page-game-guides__blog-item-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.page-game-guides__blog-item-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: 40px;
  }
  .page-game-guides__heading {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-guides__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-game-guides__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-game-guides__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    overflow: hidden !important;
  }
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain;
  }
  .page-game-guides__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }
  .page-game-guides__video-cta {
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-game-guides__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__title-section {
    padding: 60px 15px 30px;
  }
  .page-game-guides__main-title {
    font-size: 32px;
  }
  .page-game-guides__title-description {
    font-size: 16px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__section {
    padding: 40px 15px;
  }
  .page-game-guides__container {
    padding: 0;
  }
  .page-game-guides__heading {
    font-size: 28px;
  }
  .page-game-guides__sub-heading {
    font-size: 20px;
  }
  .page-game-guides p,
  .page-game-guides__list-item,
  .page-game-guides__card-description {
    font-size: 15px;
  }
  .page-game-guides__card-grid {
    gap: 20px;
  }
  .page-game-guides__card-image {
    height: 180px;
  }
  .page-game-guides__card-title {
    font-size: 20px;
  }
  .page-game-guides__download-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__app-download {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
  }
  .page-game-guides__faq-question h3 {
    font-size: 16px;
  }
  .page-game-guides__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px 20px !important;
  }
  .page-game-guides__blog-image {
    height: 180px;
  }
  .page-game-guides__blog-item-title {
    font-size: 18px;
  }
  .page-game-guides__blog-item-excerpt {
    font-size: 14px;
  }
  .page-game-guides__blog-item-date {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 28px;
  }
  .page-game-guides__heading {
    font-size: 24px;
  }
  .page-game-guides__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
}

/* Ensure all images are responsive */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all video elements are responsive */
.page-game-guides video,
.page-game-guides__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-game-guides__video-section,
.page-game-guides__video-container,
.page-game-guides__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__faq-list,
  .page-game-guides__brand-content,
  .page-game-guides__blog-list,
  .page-game-guides__app-download,
  .page-game-guides__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-game-guides__play-now-button,
  .page-game-guides__cta-button,
  .page-game-guides__download-button,
  .page-game-guides__card-button {
    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-buttons,
  .page-game-guides__app-download {
    flex-wrap: wrap !important;
    gap: 15px; /* Adjust gap for mobile */
  }
}