/* style/promotions.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --dark-text: #333333;
  --light-text: #ffffff;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-text); /* Default for light body background */
  background-color: #fff;
}

.page-promotions__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main-color);
}

.page-promotions__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: var(--dark-text);
}

.page-promotions__text-main {
  color: var(--text-main-color);
}

.page-promotions__text-contrast-fix {
  color: var(--dark-text);
}

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-promotions__section-description {
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

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

/* 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, main offset from body */
  padding-bottom: 80px;
  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;
  width: 100%;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border-color);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main-color);
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  color: var(--text-main-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: var(--button-gradient);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 20px var(--glow-color);
}

/* Introduction Section */
.page-promotions__introduction-section {
  padding: 80px 0;
}

.page-promotions__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-promotions__text-block {
  flex: 1;
  padding-right: 20px;
}

.page-promotions__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-main-color);
}

.page-promotions__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

/* Quick Access Section */
.page-promotions__quick-access-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

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

.page-promotions__btn-primary {
  display: block;
  padding: 15px 25px;
  background: var(--button-gradient);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Core Games Section */
.page-promotions__core-games-section {
  padding: 80px 0;
}

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

.page-promotions__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__game-card .page-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-promotions__game-card .page-promotions__card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__game-card .page-promotions__card-title a:hover {
  color: var(--secondary-color);
}

.page-promotions__game-card .page-promotions__card-text {
  font-size: 16px;
  color: var(--text-main-color);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 0 20px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Offers Section */
.page-promotions__offers-section {
  padding: 80px 0;
}

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

.page-promotions__offer-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__offer-card .page-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-promotions__offer-card .page-promotions__card-text {
  font-size: 16px;
  color: var(--dark-text);
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

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

.page-promotions__feature-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__feature-item .page-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-promotions__feature-item .page-promotions__card-text {
  font-size: 16px;
  color: var(--text-main-color);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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;
}

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: #f5f5f5;
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--dark-text);
}

.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: #f9f9f9;
  border-radius: 0 0 12px 12px;
}

details.page-promotions__faq-item .page-promotions__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text);
}

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

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

.page-promotions__blog-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__blog-card .page-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: var(--primary-color);
  line-height: 1.3;
}

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

.page-promotions__blog-card .page-promotions__card-title a:hover {
  color: var(--secondary-color);
}

.page-promotions__blog-card .page-promotions__card-text {
  font-size: 16px;
  color: var(--text-main-color);
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

/* Global image reset */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    padding-bottom: 60px;
  }
  .page-promotions__hero-image {
    margin-bottom: 20px;
  }
  .page-promotions__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-promotions__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-promotions__cta-button {
    padding: 14px 35px;
    font-size: 18px;
  }
  .page-promotions__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-promotions__text-block {
    padding-right: 0;
  }
  .page-promotions__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-promotions__section-description {
    font-size: clamp(15px, 1.8vw, 17px);
    margin-bottom: 40px;
  }
  .page-promotions__game-card img, .page-promotions__offer-card img, .page-promotions__blog-card img {
    
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-image img {
    border-radius: 8px;
  }
  .page-promotions__main-title {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 30px;
  }
  .page-promotions__cta-button {
    padding: 12px 30px;
    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-promotions__btn-primary, .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__button-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }
  .page-promotions__game-cards-grid, .page-promotions__offer-cards-grid, .page-promotions__blog-cards-grid, .page-promotions__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-promotions__container {
    padding: 30px 15px;
  }
  .page-promotions__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 15px;
  }
  .page-promotions__section-description {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 30px;
  }
  .page-promotions__game-card img, .page-promotions__offer-card img, .page-promotions__blog-card img {
    
  }
  .page-promotions__game-card .page-promotions__card-title, .page-promotions__offer-card .page-promotions__card-title, .page-promotions__blog-card .page-promotions__card-title {
    font-size: 20px;
    margin: 15px 15px 5px;
  }
  .page-promotions__game-card .page-promotions__card-text, .page-promotions__offer-card .page-promotions__card-text, .page-promotions__blog-card .page-promotions__card-text {
    font-size: 15px;
    padding: 0 15px 15px;
  }
  .page-promotions__btn-secondary {
    margin: 0 15px 15px;
    padding: 10px 20px;
    font-size: 15px;
  }
  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer p {
    font-size: 15px;
  }
  /* All images */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  /* All image containers */
  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__quick-access-section,
  .page-promotions__core-games-section,
  .page-promotions__offers-section,
  .page-promotions__security-support-section,
  .page-promotions__faq-section,
  .page-promotions__blog-section,
  .page-promotions__container,
  .page-promotions__content-wrapper,
  .page-promotions__image-block,
  .page-promotions__button-grid,
  .page-promotions__game-cards-grid,
  .page-promotions__offer-cards-grid,
  .page-promotions__feature-grid,
  .page-promotions__blog-cards-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific button containers */
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Ensure vertical stacking for multiple buttons */
    gap: 10px; /* Space between buttons */
  }
}