/* General styles for the page-https-www-nustargame-ph scope */
.page-https-www-nustargame-ph {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0;
  background-color: #1a1a2e; /* Dark background */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll from floating buttons */
}

.page-https-www-nustargame-ph__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-https-www-nustargame-ph__section-title {
  font-size: 2.5em;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-https-www-nustargame-ph__section-description {
  font-size: 1.1em;
  color: #c0c0c0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-https-www-nustargame-ph__hero-section,
.page-https-www-nustargame-ph__about-section,
.page-https-www-nustargame-ph__games-section,
.page-https-www-nustargame-ph__promotions-section,
.page-https-www-nustargame-ph__payments-section,
.page-https-www-nustargame-ph__faq-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-https-www-nustargame-ph__hero-section {
  background-color: #0f0f20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding-top: 80px; /* Small decorative padding, assuming body padding handles header offset */
  padding-bottom: 80px;
}

.page-https-www-nustargame-ph__hero-content {
  z-index: 10;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.page-https-www-nustargame-ph__hero-title {
  font-size: 3.5em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-https-www-nustargame-ph__hero-subtitle {
  font-size: 1.5em;
  color: #ddd;
  margin-bottom: 40px;
}

.page-https-www-nustargame-ph__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-https-www-nustargame-ph__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-https-www-nustargame-ph__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 0;
}

/* Buttons */
.page-https-www-nustargame-ph__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-https-www-nustargame-ph__button--primary {
  background-color: #e63946; /* Red accent */
  color: #fff;
}

.page-https-www-nustargame-ph__button--primary:hover {
  background-color: #c42d38;
  transform: translateY(-2px);
}

.page-https-www-nustargame-ph__button--secondary {
  background-color: transparent;
  color: #e63946;
  border: 2px solid #e63946;
}

.page-https-www-nustargame-ph__button--secondary:hover {
  background-color: #e63946;
  color: #fff;
  transform: translateY(-2px);
}

.page-https-www-nustargame-ph__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Highlight for keywords */
.page-https-www-nustargame-ph .highlight {
  color: #e63946; /* Red accent */
  font-weight: bold;
}

/* About Section */
.page-https-www-nustargame-ph__about-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-https-www-nustargame-ph__feature-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(33% - 40px); /* 3 items per row */
  max-width: calc(33% - 40px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.page-https-www-nustargame-ph__feature-item:hover {
  transform: translateY(-10px);
}

.page-https-www-nustargame-ph__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

.page-https-www-nustargame-ph__feature-title {
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 15px;
}

.page-https-www-nustargame-ph__feature-text {
  font-size: 1em;
  color: #c0c0c0;
}

/* Games Section */
.page-https-www-nustargame-ph__games-section {
  background-color: #141424;
}

.page-https-www-nustargame-ph__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-https-www-nustargame-ph__game-card {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.page-https-www-nustargame-ph__game-card:hover {
  transform: translateY(-10px);
}

.page-https-www-nustargame-ph__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-https-www-nustargame-ph__game-title {
  font-size: 1.4em;
  color: #fff;
  margin: 20px 15px 10px 15px;
}

.page-https-www-nustargame-ph__game-text {
  font-size: 0.95em;
  color: #c0c0c0;
  padding: 0 15px 20px 15px;
}

.page-https-www-nustargame-ph__game-card .page-https-www-nustargame-ph__button {
  margin-bottom: 20px;
}

.page-https-www-nustargame-ph__providers-list {
  text-align: center;
  margin-top: 50px;
}

.page-https-www-nustargame-ph__providers-title {
  font-size: 1.8em;
  color: #fff;
  margin-bottom: 30px;
}

.page-https-www-nustargame-ph__provider-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-https-www-nustargame-ph__provider-logo-item {
  flex: 0 0 auto;
  background-color: #2a2a4a;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 180px; /* Limit width for logos */
}

.page-https-www-nustargame-ph__provider-logo-item:hover {
  transform: translateY(-5px);
}

.page-https-www-nustargame-ph__provider-logo-item img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%); /* Example: make logos grayscale */
  transition: filter 0.3s ease;
}

.page-https-www-nustargame-ph__provider-logo-item:hover img {
  filter: grayscale(0%); /* Colorize on hover */
}

/* Promotions Section */
.page-https-www-nustargame-ph__promotions-section {
  background-color: #1a1a2e;
}

.page-https-www-nustargame-ph__promo-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-https-www-nustargame-ph__promo-card {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex: 1 1 calc(50% - 40px); /* 2 items per row */
  max-width: calc(50% - 40px);
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.page-https-www-nustargame-ph__promo-card:hover {
  transform: translateY(-10px);
}

.page-https-www-nustargame-ph__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-https-www-nustargame-ph__promo-title {
  font-size: 1.6em;
  color: #fff;
  margin: 20px 15px 10px 15px;
}

.page-https-www-nustargame-ph__promo-text {
  font-size: 1em;
  color: #c0c0c0;
  padding: 0 15px 20px 15px;
}

.page-https-www-nustargame-ph__promo-card .page-https-www-nustargame-ph__button {
  margin-bottom: 20px;
}

/* Payments Section */
.page-https-www-nustargame-ph__payments-section {
  background-color: #141424;
}

.page-https-www-nustargame-ph__payment-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
}

.page-https-www-nustargame-ph__payment-item {
  background-color: #2a2a4a;
  border-radius: 8px;
  padding: 15px 25px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.page-https-www-nustargame-ph__payment-item:hover {
  background-color: #3b3b5c;
}

.page-https-www-nustargame-ph__payment-item img {
  max-height: 30px;
  width: auto;
  object-fit: contain;
}

.page-https-www-nustargame-ph__payment-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
  color: #c0c0c0;
}

/* FAQ Section */
.page-https-www-nustargame-ph__faq-section {
  background-color: #1a1a2e;
}

.page-https-www-nustargame-ph__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-https-www-nustargame-ph__faq-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  box-sizing: border-box;
}

.page-https-www-nustargame-ph__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background-color: #2a2a4a;
  transition: background-color 0.3s ease;
}

.page-https-www-nustargame-ph__faq-question:hover {
  background-color: #3b3b5c;
}

.page-https-www-nustargame-ph__faq-title {
  font-size: 1.2em;
  color: #fff;
  margin: 0;
  flex-grow: 1;
  text-align: left;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-https-www-nustargame-ph__faq-toggle {
  font-size: 1.8em;
  color: #e63946;
  font-weight: bold;
  margin-left: 15px;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent span from blocking click event */
}

.page-https-www-nustargame-ph__faq-item.active .page-https-www-nustargame-ph__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-https-www-nustargame-ph__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Initial padding */
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
}

.page-https-www-nustargame-ph__faq-item.active .page-https-www-nustargame-ph__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important; /* Final padding */
  opacity: 1;
}

.page-https-www-nustargame-ph__faq-answer p {
  color: #c0c0c0;
  margin: 0;
}

/* Floating Buttons */
.page-https-www-nustargame-ph__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-https-www-nustargame-ph__floating-button {
  display: block;
  padding: 12px 25px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.3s ease;
  min-width: 120px;
}

.page-https-www-nustargame-ph__floating-button--register {
  background-color: #e63946;
}

.page-https-www-nustargame-ph__floating-button--register:hover {
  background-color: #c42d38;
  transform: translateY(-3px);
}

.page-https-www-nustargame-ph__floating-button--login {
  background-color: #457b9d; /* Blue accent */
}

.page-https-www-nustargame-ph__floating-button--login:hover {
  background-color: #3b6b8b;
  transform: translateY(-3px);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-https-www-nustargame-ph__hero-title {
    font-size: 3em;
  }
  .page-https-www-nustargame-ph__hero-subtitle {
    font-size: 1.3em;
  }
  .page-https-www-nustargame-ph__section-title {
    font-size: 2em;
  }
  .page-https-www-nustargame-ph__feature-item {
    flex: 1 1 calc(50% - 30px); /* 2 items per row */
    max-width: calc(50% - 30px);
  }
  .page-https-www-nustargame-ph__promo-card {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .page-https-www-nustargame-ph__hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .page-https-www-nustargame-ph__hero-title {
    font-size: 2.2em;
  }
  .page-https-www-nustargame-ph__hero-subtitle {
    font-size: 1.1em;
  }
  .page-https-www-nustargame-ph__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-https-www-nustargame-ph__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-https-www-nustargame-ph__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-https-www-nustargame-ph__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-https-www-nustargame-ph__feature-item {
    flex: 1 1 100% !important; /* 1 item per row */
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-https-www-nustargame-ph__feature-item .page-https-www-nustargame-ph__feature-icon {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-https-www-nustargame-ph__game-categories {
    grid-template-columns: 1fr;
  }
  .page-https-www-nustargame-ph__game-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-https-www-nustargame-ph__game-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-https-www-nustargame-ph__promo-cards {
    flex-direction: column;
  }
  .page-https-www-nustargame-ph__promo-card {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-https-www-nustargame-ph__promo-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-https-www-nustargame-ph__payment-list,
  .page-https-www-nustargame-ph__provider-logos {
    flex-direction: column;
    align-items: center;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-https-www-nustargame-ph__payment-item,
  .page-https-www-nustargame-ph__provider-logo-item {
    width: 100% !important;
    max-width: 250px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .page-https-www-nustargame-ph__payment-item img,
  .page-https-www-nustargame-ph__provider-logo-item img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-https-www-nustargame-ph__faq-question {
    padding: 15px 20px;
  }
  .page-https-www-nustargame-ph__faq-title {
    font-size: 1.1em;
  }
  .page-https-www-nustargame-ph__faq-answer {
    padding: 0 20px;
  }
  .page-https-www-nustargame-ph__faq-item.active .page-https-www-nustargame-ph__faq-answer {
    padding: 15px 20px !important;
  }

  .page-https-www-nustargame-ph__floating-buttons {
    bottom: 15px;
    right: 15px;
    flex-direction: row;
    gap: 8px;
  }
  .page-https-www-nustargame-ph__floating-button {
    font-size: 0.85em;
    padding: 8px 12px;
    min-width: unset;
    flex: 1;
  }
}

@media (max-width: 480px) {
  .page-https-www-nustargame-ph__hero-title {
    font-size: 1.8em;
  }
  .page-https-www-nustargame-ph__hero-subtitle {
    font-size: 1em;
  }
  .page-https-www-nustargame-ph__section-title {
    font-size: 1.5em;
  }
  .page-https-www-nustargame-ph__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-https-www-nustargame-ph__feature-item,
  .page-https-www-nustargame-ph__game-card,
  .page-https-www-nustargame-ph__promo-card {
    padding: 20px;
  }
  .page-https-www-nustargame-ph__promo-image {
    height: 180px;
  }
  .page-https-www-nustargame-ph__floating-buttons {
    bottom: 10px;
    right: 10px;
    left: 10px; /* Stretch across bottom */
    width: auto;
    flex-direction: row;
    justify-content: space-around;
  }
  .page-https-www-nustargame-ph__floating-button {
    font-size: 0.85em;
    padding: 8px 12px;
    min-width: unset;
  }
}