/* style/promotions.css */
.page-promotions {
    color: #333333; /* Dark text for light background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

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

.page-promotions__hero-section {
    background: linear-gradient(135deg, #017439, #4CAF50); /* Gradient from primary to a slightly lighter green */
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-promotions__hero-button {
    display: inline-block;
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFFF00;
}

.page-promotions__hero-button:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    color: #017439;
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-promotions__overview-section, .page-promotions__featured-promotions, .page-promotions__claiming-guide, .page-promotions__terms-conditions, .page-promotions__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-promotions__promo-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-promotions__promo-card-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__promo-card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-promotions__promo-card-button {
    display: inline-block;
    background-color: #017439;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions__promo-card-button:hover {
    background-color: #005a2e;
}

.page-promotions__promo-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-promotions__list-item {
    display: flex;
    flex-direction: column;
    background-color: #f0fdf5;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #d0e0d0;
}

.page-promotions__list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.page-promotions__list-item-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.page-promotions__list-item-content {
    padding: 30px;
}

.page-promotions__list-item-title {
    font-size: 2em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__list-item-text {
    font-size: 1.1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-promotions__list-item-button {
    display: inline-block;
    background-color: #017439;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions__list-item-button:hover {
    background-color: #005a2e;
}

.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__guide-item {
    background-color: #f8f8f8;
    border-left: 5px solid #017439;
    margin-bottom: 25px;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__guide-item-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__guide-item-text {
    font-size: 1em;
    color: #666666;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__terms-item {
    background-color: #f0fdf5;
    border-bottom: 1px dashed #d0e0d0;
    margin-bottom: 20px;
    padding: 20px 0;
}

.page-promotions__terms-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.page-promotions__terms-item-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__terms-item-text {
    font-size: 1em;
    color: #666666;
}

.page-promotions__responsible-gambling {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #888888;
}

.page-promotions__cta-button {
    display: block;
    width: fit-content;
    margin: 50px auto 0 auto;
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFFF00;
}

.page-promotions__cta-button:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-promotions__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
}

.page-promotions__faq-answer {
    font-size: 1em;
    color: #666666;
    display: none; /* Hidden by default, will be toggled by JS */
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.page-promotions__faq-question.active + .page-promotions__faq-answer {
    display: block;
}

.page-promotions__inline-link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-promotions__inline-link:hover {
    color: #005a2e;
    text-decoration: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-promotions__list-item {
        flex-direction: row;
    }

    .page-promotions__list-item-image {
        width: 40%;
        height: auto;
    }

    .page-promotions__list-item-content {
        width: 60%;
    }
}

@media (max-width: 767px) {
    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

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

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__promo-card-title {
        font-size: 1.5em;
    }

    .page-promotions__list-item-title {
        font-size: 1.7em;
    }

    .page-promotions__guide-item-title {
        font-size: 1.4em;
    }

    .page-promotions__terms-item-title {
        font-size: 1.3em;
    }

    .page-promotions__faq-question {
        font-size: 1.2em;
    }
}