.page-resources-latest-gaming-trends {
  color: #333333; /* Dark text for light body background */
}

.page-resources-latest-gaming-trends__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset for PC */
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.page-resources-latest-gaming-trends__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-resources-latest-gaming-trends__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-resources-latest-gaming-trends__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-resources-latest-gaming-trends__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-latest-gaming-trends__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1.1em;
}

.page-resources-latest-gaming-trends__register-button {
  background-color: #000000; /* Main color for register button background */
  color: #FFFFFF; /* White text for register button */
  border: 2px solid #FFFFFF;
}

.page-resources-latest-gaming-trends__register-button:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-latest-gaming-trends__login-button {
  background-color: #FCBC45; /* Specific color for login button */
  color: #000000; /* Dark text for login button */
  border: 2px solid #FCBC45;
}

.page-resources-latest-gaming-trends__login-button:hover {
  background-color: #E0A83D;
  color: #000000;
}

.page-resources-latest-gaming-trends__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-resources-latest-gaming-trends__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-latest-gaming-trends__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  gap: 40px;
}

.page-resources-latest-gaming-trends__table-of-contents {
  flex: 0 0 280px;
  padding: 20px;
  background-color: #F8F8F8;
  border-radius: 8px;
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px);
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-latest-gaming-trends__table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-latest-gaming-trends__table-of-contents li {
  margin-bottom: 10px;
}

.page-resources-latest-gaming-trends__table-of-contents a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.page-resources-latest-gaming-trends__table-of-contents a:hover {
  color: #FCBC45;
}

.page-resources-latest-gaming-trends__article-container {
  flex-grow: 1;
  max-width: 800px; /* Content width for comfortable reading */
}

.page-resources-latest-gaming-trends__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 25px;
  color: #000000;
  line-height: 1.3;
}

.page-resources-latest-gaming-trends__subsection-title {
  font-size: 1.7em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #333333;
  line-height: 1.4;
}

.page-resources-latest-gaming-trends__article-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444444;
}

.page-resources-latest-gaming-trends__article-image {
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-latest-gaming-trends__cta-bottom {
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
}

.page-resources-latest-gaming-trends__cta-text {
  font-size: 1.4em;
  margin-bottom: 25px;
  line-height: 1.5;
}

.page-resources-latest-gaming-trends__cta-bottom .page-resources-latest-gaming-trends__button {
  margin: 0 10px;
}

.page-resources-latest-gaming-trends__back-link-wrapper {
  margin-top: 50px;
  text-align: center;
}

.page-resources-latest-gaming-trends__back-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F0F0F0;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-resources-latest-gaming-trends__back-link:hover {
  background-color: #E0E0E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-gaming-trends__content-wrapper {
    flex-direction: column;
    padding: 40px 15px;
  }

  .page-resources-latest-gaming-trends__table-of-contents {
    position: static;
    width: 100%;
    margin-bottom: 30px;
  }

  .page-resources-latest-gaming-trends__article-container {
    max-width: 100%;
  }

  .page-resources-latest-gaming-trends__hero-title {
    font-size: 2.8em;
  }

  .page-resources-latest-gaming-trends__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-gaming-trends__hero-title {
    font-size: 2.2em;
  }

  .page-resources-latest-gaming-trends__hero-description {
    font-size: 1em;
  }

  .page-resources-latest-gaming-trends__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-latest-gaming-trends__button {
    width: 100%;
    max-width: 280px;
  }

  .page-resources-latest-gaming-trends__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-gaming-trends__subsection-title {
    font-size: 1.4em;
  }

  .page-resources-latest-gaming-trends__article-text {
    font-size: 0.95em;
  }

  .page-resources-latest-gaming-trends__cta-text {
    font-size: 1.2em;
  }

  .page-resources-latest-gaming-trends__article-image {
    max-width: 100%;
    height: auto; /* Ensure images scale correctly */
    min-width: 200px;
    min-height: 200px;
  }
  
  /* Critical: Prevent horizontal overflow on mobile */
  .page-resources-latest-gaming-trends {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-resources-latest-gaming-trends__hero-title {
    font-size: 1.8em;
  }

  .page-resources-latest-gaming-trends__hero-description {
    font-size: 0.9em;
  }

  .page-resources-latest-gaming-trends__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-latest-gaming-trends__cta-bottom .page-resources-latest-gaming-trends__button {
    margin: 10px 0;
  }
}