/* style/news-new-game-launch-announcement.css */
.page-news-new-game-launch-announcement {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-main: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;

  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-news-new-game-launch-announcement__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-news-new-game-launch-announcement__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-news-new-game-launch-announcement__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure minimum size */
}

.page-news-new-game-launch-announcement__hero-content {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
  position: relative; /* Ensure content is above the image if needed, but not overlapping */
  z-index: 2; 
}

.page-news-new-game-launch-announcement__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news-new-game-launch-announcement__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-news-new-game-launch-announcement__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-news-new-game-launch-announcement__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-news-new-game-launch-announcement__text-block {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 25px;
  text-align: justify;
}

.page-news-new-game-launch-announcement__text-block a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-news-new-game-launch-announcement__btn-primary,
.page-news-new-game-launch-announcement__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-news-new-game-launch-announcement__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-news-new-game-launch-announcement__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-news-new-game-launch-announcement__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-news-new-game-launch-announcement__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(var(--primary-color), 0.5);
}

.page-news-new-game-launch-announcement__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-news-new-game-launch-announcement__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-new-game-launch-announcement__card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-main);
  min-height: 450px;
}

.page-news-new-game-launch-announcement__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-news-new-game-launch-announcement__card-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news-new-game-launch-announcement__card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-news-new-game-launch-announcement__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-new-game-launch-announcement__step-item {
  padding: 30px;
  text-align: center;
  min-height: 300px;
}

.page-news-new-game-launch-announcement__step-title {
  font-size: 1.6rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news-new-game-launch-announcement__step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
  text-align: justify;
}

.page-news-new-game-launch-announcement__promo-list,
.page-news-new-game-launch-announcement__advantages-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: var(--text-main);
}

.page-news-new-game-launch-announcement__promo-item,
.page-news-new-game-launch-announcement__advantage-item {
  background: rgba(var(--primary-color), 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-main);
}

.page-news-new-game-launch-announcement__promo-item a,
.page-news-new-game-launch-announcement__advantage-item a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-news-new-game-launch-announcement__faq-list {
  margin-top: 40px;
}

.page-news-new-game-launch-announcement__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-main);
  text-align: left;
}

.page-news-new-game-launch-announcement__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--deep-green-color);
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--divider-color);
  list-style: none;
}

.page-news-new-game-launch-announcement__faq-question::-webkit-details-marker {
  display: none;
}

.page-news-new-game-launch-announcement__faq-question .page-news-new-game-launch-announcement__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-color);
  transition: transform 0.3s ease;
}

.page-news-new-game-launch-announcement__faq-item[open] .page-news-new-game-launch-announcement__faq-toggle {
  transform: rotate(45deg);
}

.page-news-new-game-launch-announcement__faq-answer {
  padding: 20px 25px;
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 1rem;
  border-top: 1px solid var(--divider-color);
}

.page-news-new-game-launch-announcement__cta-final {
  text-align: center;
  padding: 60px 20px;
}

.page-news-new-game-launch-announcement__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news-new-game-launch-announcement__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-news-new-game-launch-announcement__hero-description {
    font-size: 1rem;
  }
  .page-news-new-game-launch-announcement__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-news-new-game-launch-announcement__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-news-new-game-launch-announcement__hero-image {
    min-height: 250px;
  }

  .page-news-new-game-launch-announcement__hero-content {
    margin-top: 20px;
  }

  .page-news-new-game-launch-announcement__btn-primary,
  .page-news-new-game-launch-announcement__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto 10px auto; /* Center buttons and add space */
  }

  .page-news-new-game-launch-announcement__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-news-new-game-launch-announcement__game-cards,
  .page-news-new-game-launch-announcement__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news-new-game-launch-announcement__card,
  .page-news-new-game-launch-announcement__step-item {
    min-height: auto;
    padding: 20px;
  }

  .page-news-new-game-launch-announcement__card-image,
  .page-news-new-game-launch-announcement__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-news-new-game-launch-announcement__container,
  .page-news-new-game-launch-announcement__intro-new-games,
  .page-news-new-game-launch-announcement__featured-games,
  .page-news-new-game-launch-announcement__access-guide,
  .page-news-new-game-launch-announcement__promotions,
  .page-news-new-game-launch-announcement__why-crown88,
  .page-news-new-game-launch-announcement__faq-section,
  .page-news-new-game-launch-announcement__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
  }

  .page-news-new-game-launch-announcement p,
  .page-news-new-game-launch-announcement li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news-new-game-launch-announcement__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-news-new-game-launch-announcement__faq-answer {
    padding: 15px 20px;
  }
}