/* style/promotions.css */

/* --- General Page Styles --- */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Ensure light background for main content */
}

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

.page-promotions__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions__section:last-of-type {
  border-bottom: none;
}

.page-promotions__section-title {
  font-size: 32px;
  color: #26A9E0; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-promotions__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__text-link:hover {
  color: #1a7bb5;
}

/* --- 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: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Gradient background for hero */
  overflow: hidden; /* Prevent content overflow */
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any background effects */
}

.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: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff; /* White text on hero gradient */
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-promotions__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
  color: #ffffff;
}

.page-promotions__intro-text {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 10px; /* Space between buttons */
}

.page-promotions__cta-button--primary {
  background: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
}

.page-promotions__cta-button--primary:hover {
  background: #d66b05;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
  background: #26A9E0; /* Primary brand color for secondary CTA */
  color: #ffffff;
}

.page-promotions__cta-button--secondary:hover {
  background: #1a8cc4;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- Feature List (Intro Section) --- */
.page-promotions__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-promotions__feature-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__feature-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid #26A9E0;
}

.page-promotions__feature-item h3 {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-promotions__feature-item p {
  font-size: 16px;
  color: #555555;
  text-align: center;
}

/* --- Quick Access Links --- */
.page-promotions__link-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promotions__quick-link {
  display: block;
  padding: 18px 30px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 250px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__quick-link:hover {
  background: #1a8cc4;
  transform: translateY(-2px);
}

.page-promotions__quick-link--register { background-color: #EA7C07; }
.page-promotions__quick-link--register:hover { background-color: #d66b05; }
.page-promotions__quick-link--login { background-color: #EA7C07; }
.page-promotions__quick-link--login:hover { background-color: #d66b05; }
.page-promotions__quick-link--download { background-color: #26A9E0; }
.page-promotions__quick-link--download:hover { background-color: #1a8cc4; }
.page-promotions__quick-link--vip { background-color: #26A9E0; }
.page-promotions__quick-link--vip:hover { background-color: #1a8cc4; }
.page-promotions__quick-link--affiliate { background-color: #26A9E0; }
.page-promotions__quick-link--affiliate:hover { background-color: #1a8cc4; }

.page-promotions__backup-text {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #555555;
}

/* --- Promotion Grid (Game Promos) --- */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__promo-card-title {
  font-size: 22px;
  color: #26A9E0;
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-promotions__promo-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-promotions__promo-card-title a:hover {
  text-decoration: underline;
}

.page-promotions__promo-card p {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1; /* Ensure paragraphs take available space */
  text-align: left;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 20px;
  text-align: center;
  background: #EA7C07;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__promo-card .page-promotions__btn-primary:hover {
  background: #d66b05;
}

/* --- Main Promotion List --- */
.page-promotions__promo-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__promo-item {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-promotions__promo-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions__promo-item img {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}}