/* style/promotions.css */

:root {
    --page-promotions-primary-color: #003366;
    --page-promotions-secondary-color: #FFCC00;
    --page-promotions-text-on-dark: #FFFFFF;
    --page-promotions-text-on-light: #333333;
    --page-promotions-link-color: #FFCC00;
    --page-promotions-link-hover: #E0B300;
    --page-promotions-background-light: #F0F2F5;
    --page-promotions-card-background: #FFFFFF;
}

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

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

.page-promotions__hero-section {
    background: linear-gradient(135deg, var(--page-promotions-primary-color), #004d99);
    padding: 80px 0;
    text-align: center;
    color: var(--page-promotions-text-on-dark);
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-promotions__hero-section > div {
    position: relative;
    z-index: 1;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-promotions-text-on-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--page-promotions-text-on-dark);
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-primary-color);
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-promotions-secondary-color);
    border-radius: 2px;
}

.page-promotions__why-hm88-promotions, .page-promotions__how-to-claim, .page-promotions__terms-conditions, .page-promotions__final-cta {
    padding: 60px 0;
    background-color: var(--page-promotions-card-background);
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__why-hm88-promotions p, .page-promotions__how-to-claim p, .page-promotions__terms-conditions p, .page-promotions__final-cta p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions__list li {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--page-promotions-secondary-color);
    border-radius: 5px;
    font-size: 1.05em;
    line-height: 1.8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-promotions__list li strong {
    color: var(--page-promotions-primary-color);
}

.page-promotions__numbered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-promotions__numbered-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-promotions__inline-link {
    color: var(--page-promotions-primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-promotions__inline-link:hover {
    color: var(--page-promotions-secondary-color);
}

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

.page-promotions__cta-button.primary-button {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    border: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__cta-button.primary-button:hover {
    background-color: #E0B300;
    border-color: #E0B300;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button.secondary-button {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-on-dark);
    border: 2px solid var(--page-promotions-primary-color);
    margin-left: 20px;
}

.page-promotions__cta-button.secondary-button:hover {
    background-color: #004d99;
    border-color: #004d99;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-buttons {
    text-align: center;
    margin-top: 40px;
}

.page-promotions__featured-promotions {
    padding: 60px 0;
}

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

.page-promotions__promotion-card {
    background-color: var(--page-promotions-card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-promotions__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

.page-promotions__promotion-title {
    font-size: 1.8em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 15px;
}

.page-promotions__promotion-description {
    font-size: 1.05em;
    color: var(--page-promotions-text-on-light);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__detail-button,
.page-promotions__claim-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    text-align: center;
    margin-right: 10px;
    margin-top: 10px;
}

.page-promotions__detail-button {
    background-color: #e0e0e0;
    color: var(--page-promotions-primary-color);
    border: 2px solid #e0e0e0;
}

.page-promotions__detail-button:hover {
    background-color: #cccccc;
    border-color: #cccccc;
}

.page-promotions__claim-button.primary-button {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    border: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__claim-button.primary-button:hover {
    background-color: #E0B300;
    border-color: #E0B300;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__claim-button.secondary-button {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-on-dark);
    border: 2px solid var(--page-promotions-primary-color);
}

.page-promotions__claim-button.secondary-button:hover {
    background-color: #004d99;
    border-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__final-cta {
    text-align: center;
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-on-dark);
    padding: 80px 0;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__final-cta .page-promotions__section-title {
    color: var(--page-promotions-text-on-dark);
    margin-top: 0;
    margin-bottom: 20px;
}

.page-promotions__final-cta .page-promotions__section-title::after {
    background-color: var(--page-promotions-secondary-color);
}

.page-promotions__final-cta p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
}

.page-promotions__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--page-promotions-secondary-color);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    color: var(--page-promotions-primary-color);
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-promotions__floating-ad a {
    text-decoration: none;
    color: var(--page-promotions-primary-color);
    display: flex;
    align-items: center;
}

.page-promotions__floating-ad a:hover {
    color: #001A33;
}

.page-promotions__floating-ad-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

.page-promotions__floating-ad-text {
    line-height: 1.2;
}

.page-promotions__floating-ad-close {
    background: none;
    border: none;
    color: var(--page-promotions-primary-color);
    font-size: 1.5em;
    margin-left: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-promotions__floating-ad-close:hover {
    color: #001A33;
}

.highlight {
    color: var(--page-promotions-secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promotion-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-promotions__floating-ad {
        bottom: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 1em;
    }
    .page-promotions__floating-ad-icon {
        width: 30px;
        height: 30px;
    }
    .page-promotions__floating-ad-close {
        font-size: 1.2em;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__cta-button.secondary-button {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .page-promotions__promotion-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .page-promotions__hero-section {
        padding: 60px 0;
    }
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 0.95em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-promotions__promotion-list {
        grid-template-columns: 1fr;
    }
    .page-promotions__floating-ad {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .page-promotions__floating-ad-icon {
        width: 25px;
        height: 25px;
    }
    .page-promotions__floating-ad-close {
        font-size: 1em;
        margin-left: 8px;
    }
}