/* style/news-latest-platform-updates.css */

/* Base styles for the page */
.page-news-latest-platform-updates {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--neon-dark-bg-1);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

.page-news-latest-platform-updates__section {
  padding: 60px 0;
}

.page-news-latest-platform-updates__dark-bg {
  background-color: #0A2463; /* Main brand dark blue */
  color: #ffffff;
}

.page-news-latest-platform-updates__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-news-latest-platform-updates__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #E1B12C; /* Accent gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news-latest-platform-updates__subtitle {
  font-size: 20px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-news-latest-platform-updates__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E1B12C; /* Accent gold */
  text-align: center;
  margin-bottom: 40px;
}

.page-news-latest-platform-updates__text-block {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-news-latest-platform-updates__text-block a {
  color: #E1B12C;
  text-decoration: underline;
}

/* Hero Section */
.page-news-latest-platform-updates__hero-section {
  padding-top: 70px; /* Adjust for fixed header */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #0A2463, #061536);
  position: relative;
  overflow: hidden;
}

.page-news-latest-platform-updates__hero-image {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-news-latest-platform-updates__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Intro Section */
.page-news-latest-platform-updates__section--intro .page-news-latest-platform-updates__text-block {
    color: #f0f0f0;
}

/* Feature Grid (for Bắn Cá updates) */
.page-news-latest-platform-updates__section--features {
  background-color: var(--neon-dark-bg-1);
}

.page-news-latest-platform-updates__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news-latest-platform-updates__feature-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #0A2463;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-latest-platform-updates__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news-latest-platform-updates__feature-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-news-latest-platform-updates__feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news-latest-platform-updates__feature-content {
  padding: 25px;
}

.page-news-latest-platform-updates__feature-heading {
  font-size: 22px;
  font-weight: 700;
  color: #E1B12C;
  margin-bottom: 15px;
}

.page-news-latest-platform-updates__feature-content .page-news-latest-platform-updates__text-block {
  color: #f0f0f0;
}

/* Slot Grid (for Nổ Hũ updates) */
.page-news-latest-platform-updates__section--slots {
  background-color: var(--neon-dark-bg-1);
}

.page-news-latest-platform-updates__slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news-latest-platform-updates__slot-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #0A2463;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-latest-platform-updates__slot-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news-latest-platform-updates__slot-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-news-latest-platform-updates__slot-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-news-latest-platform-updates__slot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news-latest-platform-updates__slot-title {
  font-size: 22px;
  font-weight: 700;
  color: #E1B12C;
  margin: 20px 25px 15px;
}

.page-news-latest-platform-updates__slot-card .page-news-latest-platform-updates__text-block {
  padding: 0 25px 25px;
  color: #f0f0f0;
}

/* Promotion Section */
.page-news-latest-platform-updates__section--promo {
  background-color: var(--neon-dark-bg-1);
}

.page-news-latest-platform-updates__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news-latest-platform-updates__promo-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #1a3a70; /* Slightly lighter dark blue */
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
}

.page-news-latest-platform-updates__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news-latest-platform-updates__promo-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-news-latest-platform-updates__promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news-latest-platform-updates__promo-content {
  padding: 25px;
}

.page-news-latest-platform-updates__promo-heading {
  font-size: 22px;
  font-weight: 700;
  color: #E1B12C;
  margin-bottom: 15px;
}

.page-news-latest-platform-updates__btn-primary {
  display: inline-block;
  background-color: #E1B12C;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news-latest-platform-updates__btn-primary:hover {
  background-color: #f0c040;
  transform: translateY(-2px);
}

.page-news-latest-platform-updates__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #E1B12C;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #E1B12C;
  cursor: pointer;
}

.page-news-latest-platform-updates__btn-secondary:hover {
  background-color: #E1B12C;
  color: #0A2463;
  transform: translateY(-2px);
}

/* Security & Support Section */
.page-news-latest-platform-updates__section--security {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-news-latest-platform-updates__security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-news-latest-platform-updates__security-text {
  color: #f0f0f0;
}

.page-news-latest-platform-updates__security-heading {
  font-size: 24px;
  font-weight: 700;
  color: #E1B12C;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-news-latest-platform-updates__security-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-news-latest-platform-updates__security-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.page-news-latest-platform-updates__section--faq {
  background-color: var(--neon-dark-bg-1);
}

.page-news-latest-platform-updates__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-news-latest-platform-updates__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0A2463; /* Dark blue background for FAQ item */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-latest-platform-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2463;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news-latest-platform-updates__faq-question:hover {
  background: #1a3a70; /* Slightly lighter on hover */
}

.page-news-latest-platform-updates__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f0f0;
  pointer-events: none;
}

.page-news-latest-platform-updates__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E1B12C;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-news-latest-platform-updates__faq-item.active .page-news-latest-platform-updates__faq-toggle {
  color: #ffffff;
}

.page-news-latest-platform-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #061536; /* Even darker blue for answer background */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-news-latest-platform-updates__faq-item.active .page-news-latest-platform-updates__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-news-latest-platform-updates__faq-answer p {
  color: #f0f0f0;
  margin-bottom: 0;
}

/* Call to Action Section */
.page-news-latest-platform-updates__section--cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(90deg, #0A2463, #061536);
}

.page-news-latest-platform-updates__cta-content {
  max-width: 800px;
}

.page-news-latest-platform-updates__btn-primary--large {
  padding: 15px 40px;
  font-size: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-latest-platform-updates__main-title {
    font-size: 42px;
  }
  .page-news-latest-platform-updates__section-title {
    font-size: 32px;
  }
  .page-news-latest-platform-updates__security-content {
    grid-template-columns: 1fr;
  }
  .page-news-latest-platform-updates__security-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-news-latest-platform-updates {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news-latest-platform-updates__container {
    padding: 0 15px;
  }
  .page-news-latest-platform-updates__section {
    padding: 40px 0;
  }
  .page-news-latest-platform-updates__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-news-latest-platform-updates__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news-latest-platform-updates__hero-section {
    padding-top: 60px; /* Adjust for mobile fixed header */
    padding-bottom: 30px;
  }
  .page-news-latest-platform-updates__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-news-latest-platform-updates__text-block {
    font-size: 15px;
  }
  .page-news-latest-platform-updates__feature-grid,
  .page-news-latest-platform-updates__slot-grid,
  .page-news-latest-platform-updates__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news-latest-platform-updates__feature-heading,
  .page-news-latest-platform-updates__slot-title,
  .page-news-latest-platform-updates__promo-heading,
  .page-news-latest-platform-updates__security-heading {
    font-size: 18px;
  }
  .page-news-latest-platform-updates__feature-image,
  .page-news-latest-platform-updates__slot-image,
  .page-news-latest-platform-updates__promo-image {
    height: 180px;
  }
  .page-news-latest-platform-updates__btn-primary,
  .page-news-latest-platform-updates__btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    font-size: 16px;
  }
  .page-news-latest-platform-updates__btn-primary--large {
    padding: 15px 20px;
    font-size: 18px;
  }
  .page-news-latest-platform-updates__faq-question {
    padding: 15px 20px;
  }
  .page-news-latest-platform-updates__faq-question h3 {
    font-size: 16px;
  }
  .page-news-latest-platform-updates__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-news-latest-platform-updates__faq-answer {
    padding: 0 20px;
  }
  .page-news-latest-platform-updates__faq-item.active .page-news-latest-platform-updates__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images are responsive */
  .page-news-latest-platform-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news-latest-platform-updates__container,
  .page-news-latest-platform-updates__section,
  .page-news-latest-platform-updates__feature-card,
  .page-news-latest-platform-updates__slot-card,
  .page-news-latest-platform-updates__promo-card,
  .page-news-latest-platform-updates__security-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-news-latest-platform-updates__main-title {
    font-size: 28px;
  }
  .page-news-latest-platform-updates__section-title {
    font-size: 22px;
  }
  .page-news-latest-platform-updates__feature-content,
  .page-news-latest-platform-updates__slot-title,
  .page-news-latest-platform-updates__slot-card .page-news-latest-platform-updates__text-block,
  .page-news-latest-platform-updates__promo-content,
  .page-news-latest-platform-updates__faq-question,
  .page-news-latest-platform-updates__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}