/* style/promotions-welcome.css */
.page-promotions-welcome {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000000; /* Inherited from body, explicit for clarity */
  padding-top: 120px; /* Spacing for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-promotions-welcome {
    padding-top: 100px; /* Spacing for fixed header on mobile */
  }
}

.page-promotions-welcome__hero-banner {
  position: relative;
  width: 100%;
  height: 450px; /* Adjusted height for a banner with text */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
}

.page-promotions-welcome__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-promotions-welcome__hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-promotions-welcome__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Brand gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-promotions-welcome__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-promotions-welcome__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Brand gold for CTA */
  color: #000000; /* Black text for gold button for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  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-promotions-welcome__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-promotions-welcome__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-promotions-welcome__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-promotions-welcome__section-subtitle {
  font-size: 2em;
  color: #FFD700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-promotions-welcome__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-promotions-welcome__text-block a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions-welcome__text-block a:hover {
  text-decoration: underline;
}

/* Quick Access Section */
.page-promotions-welcome__quick-access-section {
  background-color: #1a1a1a;
  padding: 40px 0;
}

.page-promotions-welcome__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-promotions-welcome__link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-decoration: none;
  color: #f0f0f0;
  transition: background 0.3s ease, transform 0.3s ease;
  text-align: center;
  min-height: 180px; /* Ensure sufficient height */
}

.page-promotions-welcome__link-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.page-promotions-welcome__link-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-promotions-welcome__link-text {
  font-size: 1.1em;
  font-weight: bold;
  color: #FFD700;
}

/* Promotions Detail Section */
.page-promotions-welcome__promotions-detail-section {
  background-color: #000000;
}

.page-promotions-welcome__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions-welcome__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-promotions-welcome__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-welcome__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions-welcome__card-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 20px 10px;
  margin: 0;
  line-height: 1.3;
}

.page-promotions-welcome__card-description {
  font-size: 1em;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions-welcome__card-button {
  display: block;
  background-color: #8B0000; /* Auxiliary color for card buttons */
  color: #ffffff; /* White text for dark red button */
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

.page-promotions-welcome__card-button:hover {
  background-color: #a00000;
}

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

.page-promotions-welcome__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #f0f0f0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-welcome__step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background-color: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promotions-welcome__step-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-promotions-welcome__step-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions-welcome__step-description {
  font-size: 0.95em;
}

/* Games Overview Section */
.page-promotions-welcome__games-overview-section {
  background-color: #1a1a1a;
}

.page-promotions-welcome__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions-welcome__game-category-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-promotions-welcome__game-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-welcome__game-category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions-welcome__game-category-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px 15px 5px;
  margin: 0;
}

.page-promotions-welcome__game-category-description {
  font-size: 0.95em;
  padding: 0 15px 15px;
  flex-grow: 1;
}

/* Security & Support Section */
.page-promotions-welcome__security-support-section {
  background-color: #000000;
}

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

.page-promotions-welcome__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #f0f0f0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-welcome__feature-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions-welcome__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions-welcome__feature-description {
  font-size: 0.95em;
}

/* FAQ Section */
.page-promotions-welcome__faq-section {
  background-color: #1a1a1a;
}

.page-promotions-welcome__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-welcome__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for items */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions-welcome__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions-welcome__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-promotions-welcome__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f0f0;
  pointer-events: none;
}

.page-promotions-welcome__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 28px;
  height: 28px;
}

.page-promotions-welcome__faq-item.active .page-promotions-welcome__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Change to X on active */
}

.page-promotions-welcome__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 20px;
  opacity: 0;
  color: #cccccc;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-welcome__faq-item.active .page-promotions-welcome__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

/* Blog Section */
.page-promotions-welcome__blog-section {
  background-color: #000000;
}

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

.page-promotions-welcome__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions-welcome__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-welcome__blog-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-promotions-welcome__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-promotions-welcome__blog-title {
  font-size: 1.3em;
  color: #FFD700;
  padding: 15px 20px 5px;
  margin: 0;
  line-height: 1.3;
}

.page-promotions-welcome__blog-summary {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-promotions-welcome__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Conclusion Section */
.page-promotions-welcome__conclusion-section {
  background-color: #1a1a1a;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-welcome__main-title {
    font-size: 2.8em;
  }
  .page-promotions-welcome__section-title {
    font-size: 2.2em;
  }
  .page-promotions-welcome__promotion-cards, .page-promotions-welcome__game-categories, .page-promotions-welcome__features-grid, .page-promotions-welcome__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome__hero-banner {
    height: 400px;
  }
  .page-promotions-welcome__hero-overlay {
    padding: 15px;
  }
  .page-promotions-welcome__main-title {
    font-size: 2.2em;
  }
  .page-promotions-welcome__hero-description {
    font-size: 1em;
  }
  .page-promotions-welcome__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions-welcome__section {
    padding: 40px 0;
  }
  .page-promotions-welcome__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-welcome__section-subtitle {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-promotions-welcome__text-block {
    font-size: 1em;
  }
  .page-promotions-welcome__link-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-welcome__link-icon {
    width: 60px;
    height: 60px;
  }
  .page-promotions-welcome__link-text {
    font-size: 1em;
  }
  .page-promotions-welcome__promotion-cards, .page-promotions-welcome__game-categories, .page-promotions-welcome__features-grid, .page-promotions-welcome__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-welcome__card-image {
    height: 200px;
  }
  .page-promotions-welcome__card-title {
    font-size: 1.3em;
    padding: 15px 15px 8px;
  }
  .page-promotions-welcome__card-description {
    font-size: 0.9em;
    padding: 0 15px 15px;
  }
  .page-promotions-welcome__card-button {
    font-size: 0.95em;
    padding: 10px 15px;
  }
  .page-promotions-welcome__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-welcome__step-icon {
    width: 80px;
    height: 80px;
  }
  .page-promotions-welcome__step-image {
    width: 50px;
    height: 50px;
  }
  .page-promotions-welcome__step-title {
    font-size: 1.2em;
  }
  .page-promotions-welcome__game-category-image {
    height: 180px;
  }
  .page-promotions-welcome__game-category-title {
    font-size: 1.2em;
  }
  .page-promotions-welcome__feature-icon {
    width: 70px;
    height: 70px;
  }
  .page-promotions-welcome__feature-title {
    font-size: 1.2em;
  }
  .page-promotions-welcome__faq-question {
    padding: 15px;
  }
  .page-promotions-welcome__faq-question h3 {
    font-size: 1em;
  }
  .page-promotions-welcome__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-promotions-welcome__faq-answer {
    padding: 0 15px;
  }
  .page-promotions-welcome__faq-item.active .page-promotions-welcome__faq-answer {
    padding: 15px !important;
  }
  .page-promotions-welcome__blog-image {
    height: 180px;
  }
  .page-promotions-welcome__blog-title {
    font-size: 1.1em;
    padding: 12px 15px 5px;
  }
  .page-promotions-welcome__blog-summary {
    font-size: 0.85em;
    padding: 0 15px 12px;
  }
}

/* Ensure all images are responsive */
.page-promotions-welcome img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-promotions-welcome img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions-welcome__container,
  .page-promotions-welcome__section,
  .page-promotions-welcome__hero-banner,
  .page-promotions-welcome__promotion-card,
  .page-promotions-welcome__game-category-card,
  .page-promotions-welcome__feature-item,
  .page-promotions-welcome__blog-card,
  .page-promotions-welcome__link-item,
  .page-promotions-welcome__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-welcome__hero-overlay {
    padding-left: 15px;
    padding-right: 15px;
  }
}