/* style/promotions-latest-offers.css */
/* Custom Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-promotions-latest-offers {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for the page content, based on dark background */
  background-color: var(--color-background); /* Explicitly set for main content area if needed, though body handles it */
}

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

/* Hero Section */
.page-promotions-latest-offers__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: var(--color-deep-green); /* Fallback/base for hero */
}

.page-promotions-latest-offers__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions-latest-offers__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-latest-offers__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  margin-top: -80px; /* Pull content up slightly over the image if needed, but not *on* the image */
  background: linear-gradient(0deg, var(--color-background) 0%, rgba(8, 22, 15, 0.8) 50%, transparent 100%); /* Gradient to blend with image */
  color: var(--color-text-main);
  border-radius: 8px;
}

.page-promotions-latest-offers__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions-latest-offers__hero-description {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

/* General Section Styling */
.page-promotions-latest-offers__section {
  padding: 60px 0;
  background-color: var(--color-background);
}

.page-promotions-latest-offers__section-title {
  font-size: 2.5rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions-latest-offers__section-text {
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-promotions-latest-offers__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions-latest-offers__btn-primary {
  background: var(--color-button-gradient-start);
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  border: 2px solid var(--color-button-gradient-start);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions-latest-offers__btn-primary:hover {
  background: var(--color-button-gradient-end);
  background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

.page-promotions-latest-offers__btn-secondary {
  background-color: var(--color-card-bg);
  color: var(--color-button-gradient-start);
  border: 2px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-promotions-latest-offers__btn-secondary:hover {
  background-color: var(--color-deep-green);
  color: var(--color-glow);
  border-color: var(--color-glow);
  transform: translateY(-2px);
}

.page-promotions-latest-offers__cta-container {
  text-align: center;
  margin-top: 50px;
}

/* Image Styling */
.page-promotions-latest-offers__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  margin: 40px auto;
}

/* Grid for Offer Types */
.page-promotions-latest-offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-latest-offers__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-latest-offers__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-promotions-latest-offers__card-title {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-latest-offers__card-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Guide Section */
.page-promotions-latest-offers__guide-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-promotions-latest-offers__guide-steps {
  flex: 2;
}

.page-promotions-latest-offers__guide-image-wrapper {
  flex: 1;
}

.page-promotions-latest-offers__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-promotions-latest-offers__step-number {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(17, 168, 78, 0.4);
}

.page-promotions-latest-offers__step-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 5px;
  font-weight: 600;
}

.page-promotions-latest-offers__step-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

/* VIP Privileges Section */
.page-promotions-latest-offers__vip-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-promotions-latest-offers__vip-text {
  flex: 2;
}

.page-promotions-latest-offers__vip-image-wrapper {
  flex: 1;
}

/* FAQ Section */
.page-promotions-latest-offers__faq-list {
  margin-top: 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.page-promotions-latest-offers__faq-item {
  background-color: var(--color-card-bg);
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-divider);
}

.page-promotions-latest-offers__faq-item:last-child {
  border-bottom: none;
}

.page-promotions-latest-offers__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-main);
  transition: background-color 0.3s ease;
}

.page-promotions-latest-offers__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-latest-offers__faq-item summary:hover {
  background-color: var(--color-deep-green);
}

.page-promotions-latest-offers__faq-qtext {
  flex-grow: 1;
}

.page-promotions-latest-offers__faq-toggle {
  font-size: 2rem;
  line-height: 1;
  color: var(--color-glow);
  margin-left: 20px;
}

.page-promotions-latest-offers__faq-item[open] .page-promotions-latest-offers__faq-toggle {
  content: '−';
}

.page-promotions-latest-offers__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-latest-offers__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-promotions-latest-offers__section-title {
    font-size: 2rem;
  }
  .page-promotions-latest-offers__guide-content,
  .page-promotions-latest-offers__vip-content {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions-latest-offers__guide-image-wrapper,
  .page-promotions-latest-offers__vip-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
  .page-promotions-latest-offers__image {
    margin-top: 20px;
  }
  .page-promotions-latest-offers__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-promotions-latest-offers__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions-latest-offers__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-promotions-latest-offers__hero-content {
    margin-top: -50px;
  }
  .page-promotions-latest-offers__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-promotions-latest-offers__hero-description {
    font-size: 1rem;
  }
  .page-promotions-latest-offers__section {
    padding: 40px 0;
  }
  .page-promotions-latest-offers__section-title {
    font-size: 1.8rem;
  }
  .page-promotions-latest-offers__section-text {
    font-size: 0.95rem;
  }
  .page-promotions-latest-offers__grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-latest-offers__card {
    padding: 20px;
  }
  .page-promotions-latest-offers__card-title {
    font-size: 1.5rem;
  }
  .page-promotions-latest-offers__btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-promotions-latest-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-latest-offers__section,
  .page-promotions-latest-offers__card,
  .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__hero-section,
  .page-promotions-latest-offers__hero-image-wrapper,
  .page-promotions-latest-offers__guide-content,
  .page-promotions-latest-offers__vip-content,
  .page-promotions-latest-offers__cta-container,
  .page-promotions-latest-offers__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Mobile button responsiveness */
  .page-promotions-latest-offers__cta-button,
  .page-promotions-latest-offers__btn-primary,
  .page-promotions-latest-offers__btn-secondary,
  .page-promotions-latest-offers a[class*="button"],
  .page-promotions-latest-offers a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-latest-offers__cta-buttons,
  .page-promotions-latest-offers__button-group,
  .page-promotions-latest-offers__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex; /* Ensure flex is applied for wrapping */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-promotions-latest-offers__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-promotions-latest-offers__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Fixed Header Spacing: body handles padding-top, this page's sections should not duplicate it */
.page-promotions-latest-offers__hero-section {
  padding-top: 10px; /* Small decorative top padding, not header offset */
}

/* Ensure contrast for text */
.page-promotions-latest-offers h1, .page-promotions-latest-offers h2, .page-promotions-latest-offers h3 {
  color: var(--color-gold); /* Gold for titles for visibility */
}
.page-promotions-latest-offers p, .page-promotions-latest-offers li, .page-promotions-latest-offers__faq-answer p {
  color: var(--color-text-main); /* Main text color */
}
.page-promotions-latest-offers__hero-description, .page-promotions-latest-offers__card-text, .page-promotions-latest-offers__step-text, .page-promotions-latest-offers__faq-answer p {
  color: var(--color-text-secondary); /* Secondary text color for slightly less prominence */
}

/* Ensure button contrast */
.page-promotions-latest-offers__btn-primary {
  color: var(--color-text-main);
}
.page-promotions-latest-offers__btn-secondary {
  color: var(--color-button-gradient-start); /* Ensure contrast with card background */
}