/* style/news-platform-update-announcement.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #E0B75D;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --card-bg-light: #ffffff;
  --card-bg-dark-transparent: rgba(255, 255, 255, 0.1);
}

.page-news-platform-update-announcement {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
}

.page-news-platform-update-announcement__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news-platform-update-announcement__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-news-platform-update-announcement__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 30px;
}

.page-news-platform-update-announcement__hero-title {
  font-size: 3.2em;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news-platform-update-announcement__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-news-platform-update-announcement__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  overflow: hidden;
}

.page-news-platform-update-announcement__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-news-platform-update-announcement__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-news-platform-update-announcement__content-area,
.page-news-platform-update-announcement__security-section,
.page-news-platform-update-announcement__game-section,
.page-news-platform-update-announcement__experience-section,
.page-news-platform-update-announcement__promotions-section,
.page-news-platform-update-announcement__access-section,
.page-news-platform-update-announcement__faq-section,
.page-news-platform-update-announcement__conclusion-section {
  padding: 60px 0;
}

.page-news-platform-update-announcement__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-news-platform-update-announcement__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

.page-news-platform-update-announcement__btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news-platform-update-announcement__btn-primary:hover {
  background-color: #cfa84e;
  transform: translateY(-2px);
}

.page-news-platform-update-announcement__cta-button {
  margin-top: 30px;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news-platform-update-announcement__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-platform-update-announcement__feature-card {
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-news-platform-update-announcement__feature-card:hover {
  transform: translateY(-5px);
}

.page-news-platform-update-announcement__feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-news-platform-update-announcement__security-content,
.page-news-platform-update-announcement__experience-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-news-platform-update-announcement__security-text,
.page-news-platform-update-announcement__experience-text {
  flex: 1;
  min-width: 300px;
}

.page-news-platform-update-announcement__security-image-wrapper,
.page-news-platform-update-announcement__experience-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-news-platform-update-announcement__security-image,
.page-news-platform-update-announcement__experience-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-news-platform-update-announcement__game-gallery {
  margin-top: 40px;
  text-align: center;
}

.page-news-platform-update-announcement__game-image,
.page-news-platform-update-announcement__promotion-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-news-platform-update-announcement__faq-list {
  margin-top: 40px;
}

.page-news-platform-update-announcement__faq-item {
  background-color: var(--card-bg-dark-transparent);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-news-platform-update-announcement__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

.page-news-platform-update-announcement__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-news-platform-update-announcement__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news-platform-update-announcement__faq-item.active .page-news-platform-update-announcement__faq-toggle {
  transform: rotate(45deg);
}

.page-news-platform-update-announcement__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #e0e0e0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-news-platform-update-announcement__faq-item.active .page-news-platform-update-announcement__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-platform-update-announcement__hero-title {
    font-size: 2.8em;
  }
  .page-news-platform-update-announcement__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-news-platform-update-announcement {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news-platform-update-announcement__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news-platform-update-announcement__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-news-platform-update-announcement__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-news-platform-update-announcement__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-news-platform-update-announcement__content-area,
  .page-news-platform-update-announcement__security-section,
  .page-news-platform-update-announcement__game-section,
  .page-news-platform-update-announcement__experience-section,
  .page-news-platform-update-announcement__promotions-section,
  .page-news-platform-update-announcement__access-section,
  .page-news-platform-update-announcement__faq-section,
  .page-news-platform-update-announcement__conclusion-section {
    padding: 40px 0;
  }
  .page-news-platform-update-announcement__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-news-platform-update-announcement img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news-platform-update-announcement__hero-image-wrapper,
  .page-news-platform-update-announcement__security-image-wrapper,
  .page-news-platform-update-announcement__experience-image-wrapper,
  .page-news-platform-update-announcement__game-gallery,
  .page-news-platform-update-announcement__promotion-banner-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-news-platform-update-announcement__btn-primary,
  .page-news-platform-update-announcement__btn-secondary,
  .page-news-platform-update-announcement a[class*="button"],
  .page-news-platform-update-announcement 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: 12px 15px !important;
    font-size: 1em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-news-platform-update-announcement__cta-button {
    display: block;
  }
  .page-news-platform-update-announcement__features-grid {
    grid-template-columns: 1fr;
  }

  .page-news-platform-update-announcement__security-content,
  .page-news-platform-update-announcement__experience-content {
    flex-direction: column;
  }

  .page-news-platform-update-announcement__security-text,
  .page-news-platform-update-announcement__experience-text {
    order: 2;
  }
  .page-news-platform-update-announcement__security-image-wrapper,
  .page-news-platform-update-announcement__experience-image-wrapper {
    order: 1;
  }

  .page-news-platform-update-announcement__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-news-platform-update-announcement__faq-answer {
    padding: 0 15px;
  }
  .page-news-platform-update-announcement__faq-item.active .page-news-platform-update-announcement__faq-answer {
    padding: 10px 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-news-platform-update-announcement__hero-title {
    font-size: 1.8em;
  }
  .page-news-platform-update-announcement__section-title {
    font-size: 1.6em;
  }
}