:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --text-on-dark-bg: #ffffff;
  --text-on-light-bg: #333333;
  --link-text-color: var(--primary-color);
  --border-color: #e0e0e0;
  --background-light: #f9f9f9; /* for subtle section differentiation */
}

/* Base styles for the page content */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-light-bg); /* Body background is white, so dark text */
  background: var(--secondary-color); /* Explicitly set to white */
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Adjust as needed */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 40%, #c0e0c0 100%); /* Green gradient */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-promotions__hero-title {
  font-size: 48px;
  color: var(--text-on-dark-bg); /* White text on green background */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 20px;
  color: #f0f0f0; /* Slightly off-white for description */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-promotions__cta-button--register {
  background: var(--register-button-color); /* #C30808 */
  color: #FFFF00; /* #FFFF00 */
  border: 2px solid var(--register-button-color);
}

.page-promotions__cta-button--register:hover {
  background: #a80707;
  border-color: #a80707;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button--login {
  background: var(--login-button-color); /* #C30808 */
  color: #FFFF00; /* #FFFF00 */
  border: 2px solid var(--login-button-color);
}

.page-promotions__cta-button--login:hover {
  background: #a80707;
  border-color: #a80707;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Module 1: Introduction */
.page-promotions__introduction-section {
  background: var(--secondary-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-promotions__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-bottom: 60px;
}

.page-promotions__content-text {
  flex: 1;
}

.page-promotions__content-text p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #444;
}

.page-promotions__content-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__content-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-promotions__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions__feature-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

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

/* Module 2: Quick Access Links */
.page-promotions__quick-access-section {
  background: var(--primary-color); /* Dark background */
  color: var(--text-on-dark-bg); /* Light text */
}

.page-promotions__quick-access-section .page-promotions__section-title {
  color: var(--text-on-dark-bg);
}

.page-promotions__quick-access-section .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__link-card {
  display: block;
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
  color: var(--text-on-dark-bg);
  padding: 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.page-promotions__link-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__link-title {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-on-dark-bg);
}

.page-promotions__link-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Module 3: Core Games/Services Introduction */
.page-promotions__games-section {
  background: var(--secondary-color);
}

.page-promotions__game-category {
  margin-bottom: 80px;
}

.page-promotions__game-title {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-promotions__game-content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-promotions__game-content-grid--reverse {
  flex-direction: row-reverse;
}

.page-promotions__game-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__game-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-promotions__game-description {
  flex: 1;
}

.page-promotions__game-description p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #444;
}