/* style/promotions.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --bg-color-main: #0D0E12;
  --card-bg-color: #17191F;
  --text-color-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-main); /* Default text color for the page */
  background-color: var(--bg-color-main);
  padding-bottom: 50px; /* Space before footer */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.page-promotions__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

/* HERO Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(23, 25, 31, 0.8); /* Card BG with transparency */
  border-radius: 12px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  padding-top: 100px;
}

.page-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: var(--text-color-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-promotions__cta-button:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 60px 0;
}

/* Quick Access Section */
.page-promotions__quick-access-section {
  padding: 60px 0;
  background-color: rgba(255, 140, 26, 0.05); /* Light tint of primary color */
}

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

.page-promotions__quick-link-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-color-main);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-promotions__quick-link-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__link-text {
  display: block;
  padding: 20px 15px;
  font-size: 18px;
  font-weight: 600;
}

/* Games Showcase Section */
.page-promotions__games-showcase-section {
  padding: 60px 0;
}

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

.page-promotions__game-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-promotions__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__game-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions__game-description {
  font-size: 15px;
  margin-bottom: 20px;
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--card-bg-color);
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-main);
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

/* Promotions Detail Section */
.page-promotions__promotions-detail-section {
  padding: 60px 0;
  background-color: rgba(255, 140, 26, 0.05);
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-promotions__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__promo-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__promo-description {
  font-size: 15px;
  margin-bottom: 25px;
}

.page-promotions__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: var(--text-color-main);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Security & Support Section */
.page-promotions__security-support-section {
  padding: 60px 0;
}

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

.page-promotions__feature-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__feature-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__feature-description {
  font-size: 15px;
}

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

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 140, 26, 0.05);
}

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--secondary-color);
  font-weight: 600;
}

details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: rgba(255, 140, 26, 0.1);
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter than card bg */
  border-radius: 0 0 10px 10px;
  font-size: 15px;
  color: var(--text-color-main);
}

/* Blog Section */
.page-promotions__blog-section {
  padding: 60px 0;
}

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

.page-promotions__blog-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-promotions__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-promotions__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__blog-card-content {
  padding: 20px;
}

.page-promotions__blog-title {
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-promotions__blog-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__blog-title a:hover {
  color: var(--primary-color);
}

.page-promotions__blog-excerpt {
  font-size: 15px;
  color: rgba(255, 243, 230, 0.8);
  margin-bottom: 15px;
}

.page-promotions__blog-date {
  font-size: 14px;
  color: rgba(255, 243, 230, 0.6);
  display: block;
  margin-bottom: 10px;
}

/* General responsive styles */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__hero-image img {
    border-radius: 8px;
  }

  .page-promotions__hero-content {
    margin-top: -60px;
    padding-top: 80px;
    border-radius: 8px;
  }

  .page-promotions__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-promotions__description {
    font-size: 16px;
  }

  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__links-grid,
  .page-promotions__game-categories,
  .page-promotions__promo-grid,
  .page-promotions__features-grid,
  .page-promotions__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__quick-link-card,
  .page-promotions__game-card,
  .page-promotions__promo-card,
  .page-promotions__feature-item,
  .page-promotions__blog-card {
    padding: 15px;
    border-radius: 8px;
  }

  .page-promotions__quick-link-card img,
  .page-promotions__game-card img,
  .page-promotions__promo-card img,
  .page-promotions__blog-card img {
    
    border-radius: 6px;
  }

  .page-promotions__link-text {
    font-size: 16px;
    padding: 15px;
  }

  .page-promotions__game-title,
  .page-promotions__promo-title,
  .page-promotions__feature-title,
  .page-promotions__blog-title {
    font-size: 20px;
  }

  .page-promotions__game-description,
  .page-promotions__promo-description,
  .page-promotions__feature-description,
  .page-promotions__blog-excerpt {
    font-size: 14px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px 20px;
  }

  .page-promotions__faq-qtext {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 24px;
  }

  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__intro-section,
  .page-promotions__quick-access-section,
  .page-promotions__games-showcase-section,
  .page-promotions__promotions-detail-section,
  .page-promotions__security-support-section,
  .page-promotions__faq-section,
  .page-promotions__blog-section {
    padding: 40px 0;
  }
}

/* Button containers for mobile responsiveness */
.page-promotions__cta-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-promotions__cta-wrapper {
    padding: 0 15px;
  }
}