/* style/index-latest-promotions.css */

:root {
    --primary-color: #B80000; /* Deep Red */
    --secondary-color: #FFD700; /* Golden Yellow */
    --text-light: #f8f8f8;
    --text-dark: #000000;
    --bg-dark: #1a1a1a;
    --bg-medium: #2a2a2a;
    --border-color: #444;
}

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

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

.page-index-latest-promotions-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-latest-promotions-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    overflow: hidden;
}

.page-index-latest-promotions-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
    transform: scale(1.1);
}

.page-index-latest-promotions-hero .page-index-latest-promotions-container {
    position: relative;
    z-index: 1;
}

.page-index-latest-promotions-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-index-latest-promotions-subtitle {
    font-size: 1.2em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-index-latest-promotions-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--button-text-light);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.page-index-latest-promotions-button:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.page-index-latest-promotions-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-index-latest-promotions-section:last-of-type {
    border-bottom: none;
}

.page-index-latest-promotions-section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-index-latest-promotions-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-index-latest-promotions-text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-index-latest-promotions-feature-list, .page-index-latest-promotions-terms-list, .page-index-latest-promotions-responsible-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-index-latest-promotions-feature-list li, .page-index-latest-promotions-terms-list li, .page-index-latest-promotions-responsible-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

.page-index-latest-promotions-promotion-card {
    background-color: var(--bg-medium);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    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-promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

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

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

.page-index-latest-promotions-card-description {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-index-latest-promotions-card-details {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.page-index-latest-promotions-card-details li {
    background-color: #333;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: var(--text-light);
}

.page-index-latest-promotions-how-to-claim-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 30px auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-steps-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-index-latest-promotions-steps-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-index-latest-promotions-steps-list li strong {
    color: var(--secondary-color);
}

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

.page-index-latest-promotions-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index-latest-promotions-accordion {
    margin-top: 30px;
}

.page-index-latest-promotions-accordion-item {
    background-color: var(--bg-medium);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-accordion-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-index-latest-promotions-accordion-header:hover {
    background-color: #d42d2d;
}

.page-index-latest-promotions-accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-index-latest-promotions-accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-latest-promotions-accordion-content {
    padding: 0 25px;
    background-color: #2a2a2a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-index-latest-promotions-accordion-content.active {
    max-height: 500px; /* Adjust as needed for content height */
    padding: 25px;
}

.page-index-latest-promotions-accordion-content p {
    margin: 0;
    color: var(--text-light);
}

.page-index-latest-promotions-app-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 30px auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-responsible-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 30px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-final-cta {
    margin-top: 40px;
    font-size: 1.3em;
    padding: 18px 35px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
}

.page-index-latest-promotions-final-cta:hover {
    background-color: var(--primary-color);
    color: var(--button-text-light);
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-latest-promotions-title {
        font-size: 2.8em;
    }

    .page-index-latest-promotions-section-title {
        font-size: 2em;
    }

    .page-index-latest-promotions-promotion-grid {
        grid-template-columns: 1fr;
    }

    .page-index-latest-promotions-promotion-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions-hero {
        padding: 60px 0;
    }

    .page-index-latest-promotions-title {
        font-size: 2.2em;
    }

    .page-index-latest-promotions-subtitle {
        font-size: 1em;
    }

    .page-index-latest-promotions-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-latest-promotions-section {
        padding: 40px 0;
    }

    .page-index-latest-promotions-section-title {
        font-size: 1.8em;
    }

    .page-index-latest-promotions-text-content,
    .page-index-latest-promotions-feature-list li,
    .page-index-latest-promotions-terms-list li,
    .page-index-latest-promotions-responsible-list li,
    .page-index-latest-promotions-steps-list li {
        font-size: 0.95em;
    }

    .page-index-latest-promotions-card-title {
        font-size: 1.5em;
    }

    .page-index-latest-promotions-accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-index-latest-promotions-accordion-content.active {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions-hero {
        padding: 40px 0;
    }

    .page-index-latest-promotions-title {
        font-size: 1.8em;
    }

    .page-index-latest-promotions-subtitle {
        font-size: 0.9em;
    }

    .page-index-latest-promotions-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-index-latest-promotions-section-title {
        font-size: 1.5em;
    }

    .page-index-latest-promotions-promotion-card {
        padding: 20px;
    }

    .page-index-latest-promotions-card-title {
        font-size: 1.3em;
    }
}