/* -------------------- Fixed Trial Game CSS (as per prompt's JSON example, despite non-homepage context) -------------------- */
@media (max-width: 1023px) {
  .page-game-guides__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__hero-brand,
  .page-game-guides__hero-jackpot {
    display: none !important;
  }
  .page-game-guides__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-topbar,
  .page-game-guides__game-trial-bottombar {
    display: none !important;
  }
  .page-game-guides__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-game-guides__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-game-guides__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-game-guides__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-game-guides__hero-brand,
  .page-game-guides__hero-jackpot,
  .page-game-guides__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-game-guides__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-game-guides__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-game-guides__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* General trial game related styles for overlay/modal (as per JSON example) */
.page-game-guides__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
}
.page-game-guides__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-game-guides__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-game-guides__game-trial-shell {
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 10px;
  overflow: hidden;
}
.page-game-guides__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-game-guides__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.page-game-guides__reward-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  position: relative;
}
.page-game-guides__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* -------------------- End Fixed Trial Game CSS -------------------- */

/* Base styles for page-game-guides */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

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

/* Hero Section */
.page-game-guides__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 15px 20px;
  background: linear-gradient(135deg, #017439, #005a2e);
  color: #FFFFFF;
  text-align: center;
  gap: 20px;
}

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

.page-game-guides__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFF00; /* Register/Login font color for main title */
  margin-bottom: 15px;
}

.page-game-guides__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
}

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

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* General Section Styling */
.page-game-guides__section {
  padding: 60px 0;
}

.page-game-guides__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-game-guides__section-title--white {
  color: #FFFFFF;
}

.page-game-guides__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-game-guides__section-description--white {
  color: #f0f0f0;
}

/* Introduction Section */
.page-game-guides__introduction p {
  margin-bottom: 15px;
  font-size: 17px;
  text-align: justify;
}

/* Game Types Section */
.page-game-guides__game-types {
  background-color: #017439;
  color: #FFFFFF;
}

.page-game-guides__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-game-guides__card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__card--dark {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  font-size: 22px;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #017439;
}

.page-game-guides__card--dark .page-game-guides__card-title {
  color: #FFFF00;
}

.page-game-guides__card-text {
  font-size: 16px;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__card-button {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
}

/* Strategies Section */
.page-game-guides__strategies {
  background-color: #f9f9f9;
}

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

.page-game-guides__strategy-list li {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #017439;
}

.page-game-guides__strategy-list h3 {
  font-size: 20px;
  color: #017439;
  margin-bottom: 10px;
}

.page-game-guides__strategy-list p {
  font-size: 16px;
  text-align: justify;
}

.page-game-guides__strategy-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Registration Section */
.page-game-guides__registration {
  background-color: #017439;
  color: #FFFFFF;
  padding-bottom: 80px;
}

.page-game-guides__registration-content {
  text-align: center;
}

.page-game-guides__registration-steps {
  list-style: none;
  padding: 0;
  margin: 40px auto 60px;
  max-width: 900px;
  text-align: left;
}

.page-game-guides__registration-steps li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #FFFF00;
}

.page-game-guides__registration-steps h3 {
  font-size: 20px;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-game-guides__registration-steps p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-game-guides__cta-buttons--center {
  margin-top: 30px;
}

.page-game-guides__registration-image {
  width: 100%;
  max-width: 700px;
  margin: 40px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: #f9f9f9;
  padding-bottom: 80px;
}

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: #f5f5f5;
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-game-guides__faq-image {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Conclusion Section */
.page-game-guides__conclusion {
  background-color: #017439;
  color: #FFFFFF;
  padding-top: 80px;
}

.page-game-guides__conclusion-content {
  text-align: center;
}

/* Button Styles */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-game-guides__btn-primary:hover {
  background: #005a2e;
  border-color: #005a2e;
}

.page-game-guides__btn-primary--yellow {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border-color: #C30808;
}

.page-game-guides__btn-primary--yellow:hover {
  background: #a10707;
  border-color: #a10707;
}

.page-game-guides__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-game-guides__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-game-guides__btn-secondary--white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-game-guides__btn-secondary--white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFF00;
  border-color: #FFFF00;
}

/* Image sizing for all content images */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: 38px;
  }
  .page-game-guides__section-title {
    font-size: 30px;
  }
  .page-game-guides__section-description {
    font-size: 16px;
  }
  .page-game-guides__hero-description {
    font-size: 16px;
  }
  .page-game-guides__strategy-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-guides__container {
    padding: 15px;
  }
  .page-game-guides__hero-section {
    padding: 30px 15px 15px;
  }
  .page-game-guides__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-game-guides__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-game-guides__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-game-guides__grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__card-title {
    font-size: 20px;
  }
  .page-game-guides__card-text {
    font-size: 15px;
  }
  .page-game-guides__strategy-list li {
    padding: 20px;
  }
  .page-game-guides__strategy-list h3 {
    font-size: 18px;
  }
  .page-game-guides__strategy-list p {
    font-size: 15px;
  }
  .page-game-guides__registration-steps {
    margin: 30px auto 40px;
  }
  .page-game-guides__registration-steps li {
    padding: 15px;
  }
  .page-game-guides__registration-steps h3 {
    font-size: 18px;
  }
  .page-game-guides__registration-steps p {
    font-size: 15px;
  }
  details.page-game-guides__faq-item summary.page-game-guides__faq-question { padding: 15px; }
  .page-game-guides__faq-qtext { font-size: 15px; }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Additional mobile specific styles for promo/hot-games as per prompt */
@media (max-width: 768px) {
  .page-game-guides__promo-strip-track {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: hidden;
    display: grid;
    gap: 10px;
    padding: 0 15px;
  }
  .page-game-guides__promo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
  }
  .page-game-guides__promo-card-image {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 5px;
  }
  .page-game-guides__promo-card-title {
    font-size: 14px;
    line-height: 1.3;
  }
  .page-game-guides__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-game-guides__hot-game-card {
    text-align: center;
    padding: 10px;
  }
  .page-game-guides__hot-game-image {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin: 0 auto 10px;
  }
  .page-game-guides__hot-game-name,
  .page-game-guides__hot-game-rtp,
  .page-game-guides__hot-game-desc {
    display: none; /* Hide for mobile as per requirement */
  }
  .page-game-guides__brand-intro {
    padding: 30px 15px;
    text-align: center;
  }
  .page-game-guides__brand-intro h2 {
    font-size: 24px;
  }
  .page-game-guides__brand-intro p {
    font-size: 15px;
  }
  .page-game-guides__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #017439;
    color: #fff;
    padding: 10px 15px;
    z-index: 999;
    display: block;
  }
  body {
    padding-bottom: 50px; /* Adjust for fixed ticker */
  }
  .page-game-guides__promo-strip {
    margin-top: 16px;
  }
}