/* style/index-latest-promotions.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A202C; /* Dark Blue */
    --accent-color: #E53E3E; /* Red for emphasis */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212; /* Body background from shared.css */
    --background-light: #f8f9fa;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
}

.page-index-latest-promotions__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    background: linear-gradient(135deg, var(--secondary-color), #000000);
    overflow: hidden;
}

.page-index-latest-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-index-latest-promotions__main-title {
    font-size: 4.2em;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-index-latest-promotions__highlight-text {
    color: var(--primary-color);
}

.page-index-latest-promotions__subtitle {
    font-size: 1.5em;
    color: #cccccc;
    margin-bottom: 30px;
}

.page-index-latest-promotions__inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-latest-promotions__inline-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-index-latest-promotions__keyword {
    font-weight: bold;
    color: var(--primary-color);
}

.page-index-latest-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-index-latest-promotions__btn-primary:hover {
    background: #e0b800;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index-latest-promotions__btn-secondary:hover {
    background: #0d121b;
    color: #e0b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-index-latest-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6);
}

.page-index-latest-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-index-latest-promotions__section-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-light);
}

.page-index-latest-promotions__section-description {
    font-size: 1.1em;
    color: #ccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-index-latest-promotions__light-bg .page-index-latest-promotions__section-title,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__section-description,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__card-title,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__card-text,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__step-title,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__step-text,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__terms-list p,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__feature-title,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__feature-text,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__faq-question h3,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__faq-answer p,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__news-title,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__news-excerpt,
.page-index-latest-promotions__light-bg .page-index-latest-promotions__read-more {
    color: var(--text-dark);
}

.page-index-latest-promotions__light-bg {
    background-color: var(--background-light);
}

.page-index-latest-promotions__dark-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-index-latest-promotions__promotion-categories {
    padding: 80px 0;
}

.page-index-latest-promotions__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-latest-promotions__card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-latest-promotions__card-image {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-latest-promotions__card-title {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-index-latest-promotions__card-text {
    font-size: 1em;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-index-latest-promotions__how-to-claim {
    padding: 80px 0;
    background: var(--secondary-color);
}

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

.page-index-latest-promotions__step-item {
    text-align: center;
    background: #2b3547;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__step-icon {
    margin-bottom: 20px;
}

.page-index-latest-promotions__step-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.page-index-latest-promotions__step-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-latest-promotions__step-text {
    font-size: 1em;
    color: #cccccc;
}

.page-index-latest-promotions__center-button {
    text-align: center;
    margin-top: 50px;
}

.page-index-latest-promotions__terms-conditions {
    padding: 80px 0;
}

.page-index-latest-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
}

.page-index-latest-promotions__terms-list li {
    background: var(--card-background);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-latest-promotions__terms-list p {
    margin: 0;
    color: var(--text-dark);
}

.page-index-latest-promotions__why-choose-us {
    padding: 80px 0;
}

.page-index-latest-promotions__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-latest-promotions__feature-item {
    background: #2b3547;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__feature-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-latest-promotions__feature-text {
    font-size: 1em;
    color: #cccccc;
}

/* FAQ Section */
.page-index-latest-promotions__faq-section {
    padding: 80px 0;
}

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

.page-index-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-latest-promotions__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-latest-promotions__faq-question:active {
  background: #eeeeee;
}

.page-index-latest-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-index-latest-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-index-latest-promotions__related-news {
    padding: 80px 0;
    background: var(--secondary-color);
}

.page-index-latest-promotions__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-latest-promotions__news-card {
    background: #2b3547;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-latest-promotions__news-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.page-index-latest-promotions__news-link {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-latest-promotions__news-link:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__news-excerpt {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-index-latest-promotions__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0 20px 20px;
    transition: color 0.3s ease;
}

.page-index-latest-promotions__read-more:hover {
    color: #e0b800;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-latest-promotions__main-title {
        font-size: 3.5em;
    }
    .page-index-latest-promotions__subtitle {
        font-size: 1.3em;
    }
    .page-index-latest-promotions__section-title {
        font-size: 2.2em;
    }
    .page-index-latest-promotions__card-grid,
    .page-index-latest-promotions__steps-grid,
    .page-index-latest-promotions__feature-grid,
    .page-index-latest-promotions__news-grid {
        gap: 20px;
    }
    .page-index-latest-promotions__container {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
    }
    .page-index-latest-promotions__hero-content {
        margin-bottom: 30px;
    }
    .page-index-latest-promotions__main-title {
        font-size: 2.5em;
    }
    .page-index-latest-promotions__subtitle {
        font-size: 1em;
    }
    .page-index-latest-promotions__cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }
    .page-index-latest-promotions__section-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .page-index-latest-promotions__card-grid,
    .page-index-latest-promotions__steps-grid,
    .page-index-latest-promotions__feature-grid,
    .page-index-latest-promotions__news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-index-latest-promotions__card,
    .page-index-latest-promotions__step-item,
    .page-index-latest-promotions__feature-item,
    .page-index-latest-promotions__news-card {
        padding: 25px;
    }
    .page-index-latest-promotions__card-image {
        height: 200px;
    }
    .page-index-latest-promotions__container {
        padding: 20px 15px;
    }
    .page-index-latest-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-latest-promotions__section,
    .page-index-latest-promotions__card,
    .page-index-latest-promotions__container,
    .page-index-latest-promotions__hero-banner,
    .page-index-latest-promotions__promotion-categories,
    .page-index-latest-promotions__how-to-claim,
    .page-index-latest-promotions__terms-conditions,
    .page-index-latest-promotions__why-choose-us,
    .page-index-latest-promotions__faq-section,
    .page-index-latest-promotions__related-news {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-latest-promotions__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-latest-promotions__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-latest-promotions__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-latest-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
        padding: 15px !important;
    }
    .page-index-latest-promotions__news-title {
        font-size: 1.2em;
    }
    .page-index-latest-promotions__news-excerpt {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions__main-title {
        font-size: 2em;
    }
    .page-index-latest-promotions__subtitle {
        font-size: 0.9em;
    }
    .page-index-latest-promotions__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-index-latest-promotions__section-title {
        font-size: 1.5em;
    }
    .page-index-latest-promotions__card-image {
        height: 180px;
    }
    .page-index-latest-promotions__step-image {
        width: 100px;
        height: 100px;
    }
    .page-index-latest-promotions__news-image {
        height: 160px;
    }
}