/* Base styles for the page */
.page-resources-latest-updates-99ok {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: #0a0a0a; /* Inherited from shared.css, explicitly set for context */
}

.page-resources-latest-updates-99ok__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-latest-updates-99ok__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-latest-updates-99ok__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Hero Section */
.page-resources-latest-updates-99ok__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 600px;
  background-color: #0a0a0a;
  gap: 40px;
}

.page-resources-latest-updates-99ok__hero-content {
  flex: 1;
  padding-left: 20px;
  text-align: left;
  z-index: 1;
}

.page-resources-latest-updates-99ok__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-resources-latest-updates-99ok__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-latest-updates-99ok__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-resources-latest-updates-99ok__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.page-resources-latest-updates-99ok__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Buttons */
.page-resources-latest-updates-99ok__btn-primary,
.page-resources-latest-updates-99ok__btn-secondary,
.page-resources-latest-updates-99ok__read-more-link,
.page-resources-latest-updates-99ok__btn-play-now {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-resources-latest-updates-99ok__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-resources-latest-updates-99ok__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-resources-latest-updates-99ok__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-latest-updates-99ok__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-resources-latest-updates-99ok__read-more-link {
  color: #26A9E0;
  text-decoration: underline;
  padding: 0;
  border: none;
  background: none;
}

.page-resources-latest-updates-99ok__read-more-link:hover {
  color: #1a8cc4;
}

.page-resources-latest-updates-99ok__btn-play-now {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-resources-latest-updates-99ok__btn-play-now:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

/* Updates Section */
.page-resources-latest-updates-99ok__updates-section,
.page-resources-latest-updates-99ok__promotions-section,
.page-resources-latest-updates-99ok__features-section,
.page-resources-latest-updates-99ok__games-section,
.page-resources-latest-updates-99ok__support-section,
.page-resources-latest-updates-99ok__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-resources-latest-updates-99ok__updates-grid,
.page-resources-latest-updates-99ok__promotions-grid,
.page-resources-latest-updates-99ok__features-grid,
.page-resources-latest-updates-99ok__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-latest-updates-99ok__update-card,
.page-resources-latest-updates-99ok__promo-card,
.page-resources-latest-updates-99ok__game-card {
  background-color: #1a1a1a; /* Darker background for cards */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.page-resources-latest-updates-99ok__update-card:hover,
.page-resources-latest-updates-99ok__promo-card:hover,
.page-resources-latest-updates-99ok__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-updates-99ok__update-image,
.page-resources-latest-updates-99ok__promo-image,
.page-resources-latest-updates-99ok__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources-latest-updates-99ok__update-content,
.page-resources-latest-updates-99ok__promo-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-resources-latest-updates-99ok__update-title,
.page-resources-latest-updates-99ok__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-resources-latest-updates-99ok__update-title a,
.page-resources-latest-updates-99ok__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-latest-updates-99ok__update-title a:hover,
.page-resources-latest-updates-99ok__promo-title a:hover {
  color: #1a8cc4;
  text-decoration: underline;
}

.page-resources-latest-updates-99ok__update-text,
.page-resources-latest-updates-99ok__promo-text {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources-latest-updates-99ok__view-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.page-resources-latest-updates-99ok__feature-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-resources-latest-updates-99ok__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-latest-updates-99ok__feature-text {
  font-size: 1em;
  color: #cccccc;
}

/* Games Section */
.page-resources-latest-updates-99ok__game-card {
    text-align: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.page-resources-latest-updates-99ok__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-resources-latest-updates-99ok__game-card:hover .page-resources-latest-updates-99ok__game-image {
    transform: scale(1.05);
}

.page-resources-latest-updates-99ok__game-title {
    font-size: 1.3em;
    color: #FFFFFF;
    margin-top: 15px;
    padding: 0 10px;
}

.page-resources-latest-updates-99ok__game-card .page-resources-latest-updates-99ok__btn-play-now {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-resources-latest-updates-99ok__game-card:hover .page-resources-latest-updates-99ok__btn-play-now {
    opacity: 1;
    visibility: visible;
}

/* Support Section */
.page-resources-latest-updates-99ok__support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-latest-updates-99ok__support-text {
  flex: 2;
  color: #cccccc;
  font-size: 1.1em;
}

.page-resources-latest-updates-99ok__support-text p {
  margin-bottom: 15px;
}

.page-resources-latest-updates-99ok__support-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FAQ Section */
.page-resources-latest-updates-99ok__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-updates-99ok__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-resources-latest-updates-99ok__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333333;
}

.page-resources-latest-updates-99ok__faq-question:hover {
  background-color: #222222;
}

.page-resources-latest-updates-99ok__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-latest-updates-99ok__faq-item.active .page-resources-latest-updates-99ok__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-latest-updates-99ok__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-resources-latest-updates-99ok__faq-item.active .page-resources-latest-updates-99ok__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

/* Media Queries for Responsiveness */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-resources-latest-updates-99ok__hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Apply offset if shared.css doesn't do it for body */
  }

  .page-resources-latest-updates-99ok__hero-content {
    padding: 20px;
    text-align: center;
  }

  .page-resources-latest-updates-99ok__hero-image-wrapper {
    width: 100%;
    justify-content: center;
  }

  .page-resources-latest-updates-99ok__hero-image {
    max-width: 80%;
  }

  .page-resources-latest-updates-99ok__hero-buttons {
    justify-content: center;
  }

  .page-resources-latest-updates-99ok__section-title {
    font-size: 2em;
  }

  .page-resources-latest-updates-99ok__updates-grid,
  .page-resources-latest-updates-99ok__promotions-grid,
  .page-resources-latest-updates-99ok__features-grid,
  .page-resources-latest-updates-99ok__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-resources-latest-updates-99ok__support-content {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-latest-updates-99ok__support-buttons {
    width: 100%;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-resources-latest-updates-99ok {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-latest-updates-99ok__container {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-resources-latest-updates-99ok__hero-section {
    padding-top: 0 !important; /* Assuming shared.css handles body padding-top */
    min-height: auto;
    gap: 20px;
  }

  .page-resources-latest-updates-99ok__hero-content {
    padding: 20px 15px !important;
  }

  .page-resources-latest-updates-99ok__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-latest-updates-99ok__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-latest-updates-99ok__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-latest-updates-99ok__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-resources-latest-updates-99ok__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
  }

  /* 产品展示图区域 & 通用图片 */
  .page-resources-latest-updates-99ok__updates-grid,
  .page-resources-latest-updates-99ok__promotions-grid,
  .page-resources-latest-updates-99ok__features-grid,
  .page-resources-latest-updates-99ok__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-latest-updates-99ok img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Ensure minimum size */
  }

  .page-resources-latest-updates-99ok__update-card,
  .page-resources-latest-updates-99ok__promo-card,
  .page-resources-latest-updates-99ok__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-latest-updates-99ok__update-image,
  .page-resources-latest-updates-99ok__promo-image,
  .page-resources-latest-updates-99ok__game-image {
    height: 200px; /* Adjust height for mobile card images */
  }

  /* 按钮与按钮容器 */
  .page-resources-latest-updates-99ok__btn-primary,
  .page-resources-latest-updates-99ok__btn-secondary,
  .page-resources-latest-updates-99ok__read-more-link,
  .page-resources-latest-updates-99ok__btn-play-now,
  .page-resources-latest-updates-99ok a[class*="button"],
  .page-resources-latest-updates-99ok 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 !important;
    padding-right: 15px !important;
  }

  .page-resources-latest-updates-99ok__hero-buttons,
  .page-resources-latest-updates-99ok__support-buttons,
  .page-resources-latest-updates-99ok__view-all-button-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important;
  }

  /* 其他内容模块 */
  .page-resources-latest-updates-99ok__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-updates-99ok__section-description {
    font-size: 1em;
  }

  .page-resources-latest-updates-99ok__update-content,
  .page-resources-latest-updates-99ok__promo-content,
  .page-resources-latest-updates-99ok__feature-item,
  .page-resources-latest-updates-99ok__support-text {
    padding: 15px;
  }

  .page-resources-latest-updates-99ok__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-resources-latest-updates-99ok__faq-answer {
    padding: 0 15px;
  }

  .page-resources-latest-updates-99ok__faq-item.active .page-resources-latest-updates-99ok__faq-answer {
    padding: 10px 15px !important;
  }
}