/* style/promotions.css */

/* Base styles for the page content */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  background-color: #0a0a0a; /* Ensure consistency, though body handles main bg */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Default height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top: var(--header-offset); */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* General Sections */
.page-promotions__section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 50px;
  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-color: #26A9E0;
  border-radius: 2px;
}

.page-promotions__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-promotions__text-block a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__btn-primary:hover {
  background-color: #1a8cc7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

/* Specific button for Login (if needed, but using primary for now) */
.page-promotions__btn-login {
  background-color: #EA7C07; /* Custom color for Login */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-login:hover {
  background-color: #c46400;
  border-color: #c46400;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 124, 7, 0.4);
}


/* Introduction Section */
.page-promotions__introduction-section .page-promotions__container {
  max-width: 900px;
}

/* Promo Types Section */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-promotions__promo-card-description {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-promotions__promo-card .page-promotions__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Guide Section */
.page-promotions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.page-promotions__guide-item {
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__guide-icon {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions__guide-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-promotions__guide-item .page-promotions__btn-primary {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
}

.page-promotions__guide-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure no extra space below image */
}

/* Terms Section */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}