/* style/resources-fi88-promotions-guide.css */

/* Variables */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --dark-bg-color: #1a1a2e; /* From shared.css body background */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --button-register-color: #C30808;
  --button-login-color: #C30808;
  --button-text-color: #FFFF00; /* For register/login buttons */
}

.page-resources-fi88-promotions-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default text color for the page, as body is dark */
  background-color: var(--dark-bg-color); /* Ensure consistency with body bg */
}

/* Hero Section */
.page-resources-fi88-promotions-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  box-sizing: border-box;
}

.page-resources-fi88-promotions-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-resources-fi88-promotions-guide__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-resources-fi88-promotions-guide__hero-content {
  position: relative;
  z-index: 3;
  color: var(--light-text-color);
  max-width: 900px;
  padding: 20px;
}

.page-resources-fi88-promotions-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-fi88-promotions-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-resources-fi88-promotions-guide__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-resources-fi88-promotions-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
}

.page-resources-fi88-promotions-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark-text-color); /* Default for light background */
}

.page-resources-fi88-promotions-guide__section-title--light {
  color: var(--light-text-color); /* For dark background sections */
}

.page-resources-fi88-promotions-guide__paragraph {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dark-text-color); /* Default for light background */
}

.page-resources-fi88-promotions-guide__paragraph--light {
  color: var(--light-text-color); /* For dark background sections */
}

/* Color Contrast Specifics */
.page-resources-fi88-promotions-guide__dark-bg {
  background-color: var(--dark-bg-color); /* Ensure consistency with body bg */
  color: var(--light-text-color);
}

.page-resources-fi88-promotions-guide__light-bg {
  background-color: var(--secondary-color); /* White background */
  color: var(--dark-text-color);
}

.page-resources-fi88-promotions-guide__card {
  background: var(--secondary-color); /* White background for card */
  color: var(--dark-text-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-fi88-promotions-guide__card:hover {
  transform: translateY(-5px);
}

.page-resources-fi88-promotions-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-resources-fi88-promotions-guide__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-resources-fi88-promotions-guide__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-fi88-promotions-guide__list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1em;
}

.page-resources-fi88-promotions-guide__list-icon {
  color: var(--primary-color);
  font-size: 1.2em;
  margin-right: 10px;
  line-height: 1.5;
}

.page-resources-fi88-promotions-guide__list-strong {
  color: var(--dark-text-color); /* Ensure strong text is readable on light bg */
}

/* Promotion Cards */
.page-resources-fi88-promotions-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-fi88-promotions-guide__promo-card {
  background: rgba(255, 255, 255, 0.1); /* Light background on dark section */
  color: var(--light-text-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-fi88-promotions-guide__promo-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources-fi88-promotions-guide__promo-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Buttons */
.page-resources-fi88-promotions-guide__btn-primary,
.page-resources-fi88-promotions-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources-fi88-promotions-guide__btn-primary {
  background-color: var(--button-register-color); /* Red for register/login */
  color: var(--button-text-color); /* Yellow for register/login text */
  border: 2px solid var(--button-register-color);
}

.page-resources-fi88-promotions-guide__btn-primary:hover {
  background-color: #a30606; /* Darker red */
  border-color: #a30606;
}

.page-resources-fi88-promotions-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-fi88-promotions-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-fi88-promotions-guide__btn-primary--small,
.page-resources-fi88-promotions-guide__btn-secondary--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-resources-fi88-promotions-guide__btn-primary--large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Steps Grid */
.page-resources-fi88-promotions-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}