@media (max-width: 1023px) {
  .page-news__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-news__hero-brand,
  .page-news__hero-jackpot {
    display: none !important;
  }
  .page-news__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-news__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial-topbar,
  .page-news__game-trial-bottombar {
    display: none !important;
  }
  .page-news__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-news__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-news__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-news__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-news__hero-brand,
  .page-news__hero-jackpot,
  .page-news__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-news__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-news__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-news__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-news__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* General styles for .page-news scope */
.page-news {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */\  line-height: 1.6;
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFB04D; /* Glow color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__section-description {
  font-size: 18px;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.3);
}

.page-news__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A;
}

.page-news__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.2);
}

.page-news__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* For mobile */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: #0D0E12;
  box-sizing: border-box;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 450px;
}

.page-news__hero-content {
  text-align: center;
  padding: 30px 15px;
  max-width: 800px;
  margin-top: 20px;
}

.page-news__main-title {
  font-size: 48px;
  color: #FFB04D;
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: 700;
}

.page-news__hero-description {
  font-size: 20px;
  color: #FFF3E6;
  margin-bottom: 30px;
}

/* Latest Articles */
.page-news__latest-articles {
  padding: 60px 0;
  background: #0D0E12;
}

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

.page-news__article-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-news__article-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: #FFF3E6;
}

.page-news__article-date {
  font-size: 14px;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 10px;
  display: block;
}

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__article-title a {
  color: #FFB04D; /* Glow color for title links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #FFA53A;
}

.page-news__article-excerpt {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-btn {
  display: inline-block;
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-news__read-more-btn:hover {
  color: #FFB04D;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
  background: #17191F; /* Card BG */
}

.page-news__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #0D0E12; /* Background */
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6;
  font-size: 18px;
  font-weight: 600;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Title color for questions */
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 165, 58, 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
}
.page-news__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}
.page-news__faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.page-news__cta-section {
  padding: 60px 0;
  background: #0D0E12;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 40px;
  }
  .page-news__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* General mobile text and padding */
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-news__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-news__main-title {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .page-news__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-news__hero-image {
    max-height: 250px;
  }

  /* Buttons */
  .page-news__btn-primary,
  .page-news__btn-secondary {
    padding: 10px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Section Titles */
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-news__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Article Grid */
  .page-news__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-news__article-card {
    border-radius: 10px;
  }
  .page-news__article-thumbnail {
    height: 180px;
  }
  .page-news__article-content {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .page-news__article-excerpt {
    font-size: 15px;
    margin-bottom: 15px;
  }

  /* FAQ */
  .page-news__faq-list {
    margin-top: 30px;
  }
  details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
  .page-news__faq-qtext { font-size: 16px; }
  .page-news__faq-toggle { font-size: 20px; width: 24px; }
  details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }
  .page-news__faq-answer p { font-size: 15px; }

  /* Images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure images are never too small */
.page-news img {
  min-width: 200px;
  min-height: 200px;
}

/* Dark/Light BG for contrast (based on body color being dark) */
.page-news__dark-bg {
  color: #FFF3E6;
  background: #0D0E12;
}
.page-news__light-bg {
  color: #FFF3E6; /* Text Main */
  background: #17191F; /* Card BG */
}
.page-news__dark-section {
  background: #17191F;
  color: #FFF3E6;
}

/* Homepage specific CSS rules (mandatory for output, but inert on news.html) */
.page-news__game-trial-overlay { z-index: 5; pointer-events: auto; }
.page-news__game-trial-overlay.is-hidden { display: none !important; pointer-events: none !important; }
.page-news__game-trial-start { z-index: 6; pointer-events: auto; touch-action: manipulation; }
.page-news__game-trial-shell { border: 1px solid rgba(212,175,55,.45); border-radius: 10px; overflow: hidden; }
.page-news__reward-modal { position:fixed; inset:0; z-index:10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); }
.page-news__reward-modal.is-hidden { display: none !important; }
.page-news__reward-modal-content { background: #17191F; padding: 30px; border-radius: 10px; text-align: center; max-width: 500px; width: 90%; box-shadow: 0 5px 15px rgba(0,0,0,0.5); position: relative; }
.page-news__reward-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; color: #FFF3E6; cursor: pointer; }
.page-news__reward-modal-title { color: #FFB04D; font-size: 28px; margin-bottom: 15px; }
.page-news__reward-modal-description { color: #FFF3E6; font-size: 16px; margin-bottom: 25px; }
.page-news__reward-modal .page-news__btn-primary { margin: 0 auto; }