/* style/promotions.css */

/* Variables from custom palette */
:root {
  --svplay-primary-color: #11A84E;
  --svplay-secondary-color: #22C768;
  --svplay-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --svplay-card-bg: #11271B;
  --svplay-background: #08160F;
  --svplay-text-main: #F2FFF6;
  --svplay-text-secondary: #A7D9B8;
  --svplay-border-color: #2E7A4E;
  --svplay-glow-color: #57E38D;
  --svplay-gold-color: #F2C14E;
  --svplay-divider-color: #1E3A2A;
  --svplay-deep-green: #0A4B2C;
  --header-offset: 122px; /* Default value, assumed to be handled by shared.css body padding-top */
}

.page-promotions {
  background-color: var(--svplay-background);
  color: var(--svplay-text-main); /* Dark background, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Fixed header spacing for the first content block */
.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  margin-bottom: 40px;
}

.page-promotions__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: auto; /* Ensures image wrapper scales */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover */
  border-radius: 10px;
}

.page-promotions__hero-content {
  text-align: center;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--svplay-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__intro-text {
  font-size: 1.1em;
  color: var(--svplay-text-secondary);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
  overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--svplay-button-gradient);
  color: var(--svplay-text-main);
  border: none;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--svplay-text-main);
  border: 2px solid var(--svplay-primary-color);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--svplay-primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__section {
  padding: 40px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--svplay-divider-color);
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--svplay-gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--svplay-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__promo-card {
  background-color: var(--svplay-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  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.3);
}

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

.page-promotions__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card-title {
  font-size: 1.5em;
  color: var(--svplay-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__promo-card-text {
  font-size: 0.95em;
  color: var(--svplay-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  align-self: flex-start; /* Align button to start of card content */
  margin-top: auto; /* Push button to bottom */
}

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

.page-promotions__step-card {
  background-color: var(--svplay-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(87, 227, 141, 0.5)); /* Glow effect */
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: var(--svplay-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__step-text {
  font-size: 0.95em;
  color: var(--svplay-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__terms-conditions {
  background-color: var(--svplay-deep-green);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  color: var(--svplay-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__btn-text-link {
  color: var(--svplay-gold-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}

.page-promotions__btn-text-link:hover {
  color: var(--svplay-glow-color);
}

.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__benefit-item {
  background-color: var(--svplay-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(87, 227, 141, 0.5)); /* Glow effect */
}

.page-promotions__benefit-title {
  font-size: 1.4em;
  color: var(--svplay-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__benefit-text {
  font-size: 0.95em;
  color: var(--svplay-text-secondary);
  flex-grow: 1;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: var(--svplay-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}