/* Base styles for the deposit-promotions page */
.page-deposit-promotions {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light body background */
  background-color: #ffffff; /* Body background color from shared.css */
  line-height: 1.6;
}

.page-deposit-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small padding, relying on body for header offset */
  background-color: #f0f0f0;
}

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

.page-deposit-promotions__hero-content {
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-deposit-promotions__main-title {
  font-size: 3em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-deposit-promotions__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555555;
}

.page-deposit-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container doesn't overflow */
  box-sizing: border-box;
}

.page-deposit-promotions__btn-primary,
.page-deposit-promotions__btn-secondary,
.page-deposit-promotions__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Button max-width */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-deposit-promotions__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-deposit-promotions__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-deposit-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-deposit-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-deposit-promotions__btn-link {
  background: none;
  border: none;
  color: #017439;
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid #017439;
  border-radius: 0;
}

.page-deposit-promotions__btn-link:hover {
  color: #005a2e;
  border-color: #005a2e;
}

.page-deposit-promotions__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-deposit-promotions__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-deposit-promotions__dark-section .page-deposit-promotions__section-title {
  color: #ffffff;
}

.page-deposit-promotions__dark-section .page-deposit-promotions__btn-link {
  color: #FFFF00; /* Register/Login font color for links in dark sections */
  border-color: #FFFF00;
}
.page-deposit-promotions__dark-section .page-deposit-promotions__btn-link:hover {
  color: #FFD700;
  border-color: #FFD700;
}


.page-deposit-promotions__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  width: 100%; /* Ensure container takes full width */
  }

.page-deposit-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
}

.page-deposit-promotions__introduction p {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
}

.page-deposit-promotions__introduction .page-deposit-promotions__btn-secondary {
  margin: 30px auto 0;
  display: block;
  width: fit-content;
}

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

.page-deposit-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-deposit-promotions__promo-card:hover {
  transform: translateY(-5px);
}

.page-deposit-promotions__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure image doesn't overflow */
  display: block;
}

.page-deposit-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-deposit-promotions__how-to-claim .page-deposit-promotions__section-title {
  color: #ffffff;
}

.page-deposit-promotions__how-to-claim p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}