/* style/resources-e-games-updates.css */
:root {
  --w69-primary-color: #0A2342;
  --w69-secondary-color: #E5A000;
  --w69-text-light: #ffffff;
  --w69-text-dark: #333333;
  --w69-bg-dark: #0a0a0a; /* From body background */
}

.page-resources-e-games-updates {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--w69-text-light); /* Default text color for dark body background */
  background-color: var(--w69-bg-dark);
}

.page-resources-e-games-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-e-games-updates__dark-bg {
  background-color: var(--w69-primary-color);
  color: var(--w69-text-light);
}

.page-resources-e-games-updates__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
  box-sizing: border-box;
}

.page-resources-e-games-updates__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-e-games-updates__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-e-games-updates__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-e-games-updates__hero-title {
  font-size: 3.5em;
  color: var(--w69-text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-e-games-updates__hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

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

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

.page-resources-e-games-updates__introduction-section,
.page-resources-e-games-updates__technology-section,
.page-resources-e-games-updates__guide-section,
.page-resources-e-games-updates__responsible-gaming-section,
.page-resources-e-games-updates__cta-section {
  padding: 80px 0;
  background-color: var(--w69-text-light);
  color: var(--w69-text-dark);
}

.page-resources-e-games-updates__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-e-games-updates__text-block a {
  color: var(--w69-primary-color);
  text-decoration: underline;
}

.page-resources-e-games-updates__text-block a:hover {
  color: var(--w69-secondary-color);
}

.page-resources-e-games-updates__featured-games-section,
.page-resources-e-games-updates__promotions-section,
.page-resources-e-games-updates__video-section,
.page-resources-e-games-updates__faq-section {
  padding: 80px 0;
  background-color: var(--w69-primary-color);
  color: var(--w69-text-light);
}

.page-resources-e-games-updates__game-grid,
.page-resources-e-games-updates__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-e-games-updates__game-card,
.page-resources-e-games-updates__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-e-games-updates__game-card:hover,
.page-resources-e-games-updates__promo-card:hover {
  transform: translateY(-5px);
}

.page-resources-e-games-updates__game-image,
.page-resources-e-games-updates__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources-e-games-updates__game-title,
.page-resources-e-games-updates__promo-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: var(--w69-secondary-color);
}

.page-resources-e-games-updates__game-title a,
.page-resources-e-games-updates__promo-title a {
  color: var(--w69-secondary-color);
  text-decoration: none;
}

.page-resources-e-games-updates__game-title a:hover,
.page-resources-e-games-updates__promo-title a:hover {
  text-decoration: underline;
}

.page-resources-e-games-updates__game-description,
.page-resources-e-games-updates__promo-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 15px 20px;
}

.page-resources-e-games-updates__feature-list,
.page-resources-e-games-updates__guide-list,
.page-resources-e-games-updates__safety-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-resources-e-games-updates__feature-list li,
.page-resources-e-games-updates__safety-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--w69-secondary-color);
  border-radius: 5px;
  font-size: 1.05em;
  color: var(--w69-text-light);
}

.page-resources-e-games-updates__guide-list li {
  background-color: var(--w69-primary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--w69-secondary-color);
  border-radius: 5px;
  font-size: 1.05em;
  color: var(--w69-text-light);
}

.page-resources-e-games-updates__guide-list li strong {
  color: var(--w69-secondary-color);
}

.page-resources-e-games-updates__guide-list li a {
  color: var(--w69-secondary-color);
  text-decoration: underline;
}

.page-resources-e-games-updates__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-e-games-updates__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-e-games-updates__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-resources-e-games-updates__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-e-games-updates__faq-list {
  margin-top: 40px;
}

.page-resources-e-games-updates__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-resources-e-games-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--w69-text-light);
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-e-games-updates__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-e-games-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-e-games-updates__faq-item.active .page-resources-e-games-updates__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-e-games-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-e-games-updates__faq-item.active .page-resources-e-games-updates__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-resources-e-games-updates__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-resources-e-games-updates__faq-answer a {
  color: var(--w69-secondary-color);
  text-decoration: underline;
}

.page-resources-e-games-updates__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-resources-e-games-updates__btn-primary,
.page-resources-e-games-updates__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-resources-e-games-updates__btn-primary {
  background-color: var(--w69-secondary-color);
  color: var(--w69-primary-color);
  border: 2px solid var(--w69-secondary-color);
}

.page-resources-e-games-updates__btn-primary:hover {
  background-color: darken(var(--w69-secondary-color), 10%);
  border-color: darken(var(--w69-secondary-color), 10%);
}

.page-resources-e-games-updates__btn-secondary {
  background-color: transparent;
  color: var(--w69-secondary-color);
  border: 2px solid var(--w69-secondary-color);
}

.page-resources-e-games-updates__btn-secondary:hover {
  background-color: var(--w69-secondary-color);
  color: var(--w69-primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-e-games-updates__hero-title {
    font-size: 2.8em;
  }
  .page-resources-e-games-updates__hero-description {
    font-size: 1.1em;
  }
  .page-resources-e-games-updates__section-title {
    font-size: 2em;
  }
  .page-resources-e-games-updates__game-grid,
  .page-resources-e-games-updates__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-resources-e-games-updates__introduction-section,
  .page-resources-e-games-updates__technology-section,
  .page-resources-e-games-updates__guide-section,
  .page-resources-e-games-updates__responsible-gaming-section,
  .page-resources-e-games-updates__cta-section,
  .page-resources-e-games-updates__featured-games-section,
  .page-resources-e-games-updates__promotions-section,
  .page-resources-e-games-updates__video-section,
  .page-resources-e-games-updates__faq-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-resources-e-games-updates {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-e-games-updates__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not covered */
  }
  .page-resources-e-games-updates__hero-title {
    font-size: 2em;
  }
  .page-resources-e-games-updates__hero-description {
    font-size: 1em;
  }
  .page-resources-e-games-updates__section-title {
    font-size: 1.8em;
  }
  .page-resources-e-games-updates__game-grid,
  .page-resources-e-games-updates__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-e-games-updates__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources-e-games-updates__btn-primary,
  .page-resources-e-games-updates__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-e-games-updates__container {
    padding: 0 15px;
  }
  .page-resources-e-games-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-e-games-updates__section,
  .page-resources-e-games-updates__card,
  .page-resources-e-games-updates__container,
  .page-resources-e-games-updates__game-card,
  .page-resources-e-games-updates__promo-card,
  .page-resources-e-games-updates__video-section,
  .page-resources-e-games-updates__video-container,
  .page-resources-e-games-updates__video-wrapper,
  .page-resources-e-games-updates__cta-buttons,
  .page-resources-e-games-updates__button-group,
  .page-resources-e-games-updates__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-e-games-updates__video-wrapper {
    margin-left: auto;
    margin-right: auto;
  }
  .page-resources-e-games-updates__faq-question,
  .page-resources-e-games-updates__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-e-games-updates__hero-title {
    font-size: 1.8em;
  }
  .page-resources-e-games-updates__hero-description {
    font-size: 0.9em;
  }
  .page-resources-e-games-updates__section-title {
    font-size: 1.5em;
  }
  .page-resources-e-games-updates__introduction-section,
  .page-resources-e-games-updates__technology-section,
  .page-resources-e-games-updates__guide-section,
  .page-resources-e-games-updates__responsible-gaming-section,
  .page-resources-e-games-updates__cta-section,
  .page-resources-e-games-updates__featured-games-section,
  .page-resources-e-games-updates__promotions-section,
  .page-resources-e-games-updates__video-section,
  .page-resources-e-games-updates__faq-section {
    padding: 40px 0;
  }
  .page-resources-e-games-updates__feature-list li,
  .page-resources-e-games-updates__guide-list li,
  .page-resources-e-games-updates__safety-list li {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-resources-e-games-updates__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-resources-e-games-updates__faq-item.active .page-resources-e-games-updates__faq-answer {
    padding: 10px 15px;
  }
}