
/* General Styling for .page-newwu scope */
.page-newwu {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0; /* Light grey text */
  background-color: #1a1a2e; /* Dark background */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  box-sizing: border-box;
}

/* Container for consistent width */
.page-newwu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

/* Section titles */
.page-newwu__section-title {
  font-size: 2.5em;
  color: #f7b32b; /* Gold accent */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-newwu__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #f7b32b;
  border-radius: 2px;
}

/* Highlight text */
.page-newwu__highlight {
  color: #f7b32b; /* Gold accent for keywords */
  font-weight: bold;
}

/* Text content */
.page-newwu__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #cccccc;
}

/* CTA buttons */
.page-newwu__cta-button {
  display: inline-block;
  background-color: #f7b32b; /* Gold */
  color: #1a1a2e; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  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-newwu__cta-button:hover {
  background-color: #e0a020; /* Darker gold */
  transform: translateY(-2px);
}

.page-newwu__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-newwu__hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Responsive height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 400px; /* Minimum height for larger screens */
  padding-top: 10px; /* Small top padding as per instruction */
  box-sizing: border-box;
}

.page-newwu__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  max-width: 100%; /* Mobile image responsiveness */
  height: auto; /* Mobile image responsiveness */
  box-sizing: border-box;
}

.page-newwu__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.page-newwu__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-newwu__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-newwu__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-newwu__hero-cta-button {
  background-color: #f7b32b;
  color: #1a1a2e;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 8px;
}

.page-newwu__hero-cta-button:hover {
  background-color: #e0a020;
  transform: translateY(-3px);
}

/* About Section */
.page-newwu__about-section {
  padding: 60px 0;
  background-color: #22223b; /* Slightly lighter dark background */
}

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

.page-newwu__feature-item {
  background-color: #1a1a2e;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box; /* Ensure padding is included */
}

.page-newwu__feature-image {
  width: 100%; /* Mobile image responsiveness */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  box-sizing: border-box;
}

.page-newwu__feature-title {
  font-size: 1.5em;
  color: #f7b32b;
  margin-bottom: 15px;
}

.page-newwu__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Games Section */
.page-newwu__games-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

.page-newwu__game-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-newwu__game-category-item {
  background-color: #22223b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included */
}

.page-newwu__game-category-item:hover {
  transform: translateY(-5px);
}

.page-newwu__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 3px solid #f7b32b;
  max-width: 100%; /* Mobile image responsiveness */
  height: auto; /* Mobile image responsiveness */
  box-sizing: border-box;
}

.page-newwu__game-title {
  font-size: 1.4em;
  color: #f7b32b;
  margin: 20px 0 10px;
}

.page-newwu__game-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 20px;
}

/* Promotions Section */
.page-newwu__promotions-section {
  padding: 60px 0;
  background-color: #22223b;
}

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

.page-newwu__promo-item {
  background-color: #1a1a2e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included */
}

.page-newwu__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #f7b32b;
  max-width: 100%; /* Mobile image responsiveness */
  height: auto; /* Mobile image responsiveness */
  box-sizing: border-box;
}

.page-newwu__promo-title {
  font-size: 1.4em;
  color: #f7b32b;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-newwu__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px;
}

/* Providers Section */
.page-newwu__providers-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

.page-newwu__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Smaller items for logos */
  gap: 20px;
  margin-top: 50px;
  justify-items: center;
  align-items: center;
}

.page-newwu__provider-item {
  background-color: #22223b;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 120px; /* Fixed height for uniform appearance */
  width: 100%;
  max-width: 180px; /* Control width for smaller logos */
  box-sizing: border-box; /* Ensure padding is included */
}

.page-newwu__provider-logo {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  max-width: 100%; /* Mobile image responsiveness */
  height: auto; /* Mobile image responsiveness */
  box-sizing: border-box;
}

.page-newwu__provider-item:hover .page-newwu__provider-logo {
  opacity: 1;
}

.page-newwu__provider-name {
  font-size: 0.9em;
  color: #f7b32b;
  font-weight: bold;
}

/* FAQ Section */
.page-newwu__faq-section {
  padding: 60px 0;
  background-color: #22223b;
}

.page-newwu__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.page-newwu__faq-item {
  background-color: #1a1a2e;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box; /* Crucial for list item mobile responsiveness */
}

.page-newwu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background-color: #2c2c4a; /* Slightly different background for question */
  border-bottom: 1px solid rgba(247, 179, 43, 0.2);
  transition: background-color 0.3s ease;
}

.page-newwu__faq-question:hover {
  background-color: #3a3a5a;
}

.page-newwu__faq-question-text {
  margin: 0;
  font-size: 1.2em;
  color: #f7b32b;
  pointer-events: none; /* Prevent text from blocking click event */
}

.page-newwu__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #f7b32b;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent toggle icon from blocking click event */
}

.page-newwu__faq-item.active .page-newwu__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'X' or '-' */
}

.page-newwu__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  color: #cccccc;
  font-size: 1em;
}

.page-newwu__faq-item.active .page-newwu__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px 25px !important; /* Expanded padding */
  opacity: 1;
}

/* Call to Action Section (Bottom) */
.page-newwu__cta-section {
  padding: 60px 0;
  background-color: #1a1a2e;
  text-align: center;
}

.page-newwu__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Floating Register/Login Buttons */
.page-newwu__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-newwu__floating-button {
  display: block;
  width: 120px;
  padding: 12px 0;
  text-align: center;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.page-newwu__floating-button:hover {
  transform: translateY(-3px);
}

.page-newwu__floating-button--register {
  background-color: #f7b32b; /* Gold */
  color: #1a1a2e;
}

.page-newwu__floating-button--login {
  background-color: #334d70; /* Darker blue */
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-newwu__hero-title {
    font-size: 3em;
  }
  .page-newwu__hero-description {
    font-size: 1.2em;
  }
  .page-newwu__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-newwu {
    padding-top: 0 !important; /* Remove small padding, let body handle it */
  }
  .page-newwu__hero-section {
    height: 50vh;
    min-height: 350px;
  }
  .page-newwu__hero-title {
    font-size: 2.2em;
  }
  .page-newwu__hero-description {
    font-size: 1em;
  }
  .page-newwu__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-newwu__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-newwu__text-content {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-newwu__container {
    padding: 15px 10px;
  }

  /* List item mobile responsiveness */
  .page-newwu__features-grid,
  .page-newwu__game-categories-grid,
  .page-newwu__promo-grid,
  .page-newwu__providers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-newwu__feature-item,
  .page-newwu__game-category-item,
  .page-newwu__promo-item,
  .page-newwu__provider-item,
  .page-newwu__faq-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 15px !important; /* Adjust padding for smaller screens */
  }

  .page-newwu__feature-item {
    padding: 20px !important;
  }

  .page-newwu__feature-image,
  .page-newwu__game-image,
  .page-newwu__promo-image,
  .page-newwu__provider-logo {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .page-newwu__game-image,
  .page-newwu__promo-image {
    height: 180px;
  }

  .page-newwu__provider-item {
    height: auto;
    max-width: 250px;
    margin: 0 auto;
  }

  .page-newwu__faq-list {
    margin-top: 30px;
  }

  .page-newwu__faq-question {
    padding: 15px 20px;
  }
  .page-newwu__faq-question-text {
    font-size: 1.1em;
  }
  .page-newwu__faq-answer {
    padding: 0 20px;
  }
  .page-newwu__faq-item.active .page-newwu__faq-answer {
    padding: 15px 20px !important;
  }

  .page-newwu__floating-buttons {
    bottom: 15px;
    right: 15px;
    flex-direction: row;
    gap: 8px;
  }
  .page-newwu__floating-button {
    width: 100px;
    padding: 10px 0;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-newwu__hero-title {
    font-size: 1.8em;
  }
  .page-newwu__hero-description {
    font-size: 0.9em;
  }
  .page-newwu__section-title {
    font-size: 1.5em;
  }
  .page-newwu__hero-section {
    min-height: 300px;
  }
  .page-newwu__floating-buttons {
    bottom: 10px;
    right: 10px;
    gap: 5px;
  }
  .page-newwu__floating-button {
    width: 90px;
    font-size: 0.8em;
    padding: 8px 0;
  }
}
  